From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 11 Dec 2003 18:49:38 +0300 From: Sergey Vlasov To: devel@altlinux.org Subject: Re: [devel] Re: TORCS-1.2.1-alt1: rebuild failed Message-ID: <20031211154938.GD21913@master.mivlgu.local> Mail-Followup-To: devel@altlinux.org References: <20031211131928.AF61216C71@julia.office.altlinux.ru> <3FD88EEF.8030804@sicex.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="n/aVsWSeQ4JHkrmm" Content-Disposition: inline In-Reply-To: <3FD88EEF.8030804@sicex.ru> Cc: X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.1.3 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Dec 2003 15:49:41 -0000 Archived-At: List-Archive: List-Post: --n/aVsWSeQ4JHkrmm Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit On Thu, Dec 11, 2003 at 09:36:15PM +0600, Alexander Belov wrote: > Просветите плз, что это такое и как бороться? > > QA Team Robot пишет: > > >QA Team Robot is watching you! > > > >Package: TORCS-1.2.1-alt1 > >Packager: Alexander Belov > >Status: rebuild failed; please fix. > > > >Why: > > > >Verifying ELF objects in /usr/src/RPM/tmp/TORCS-buildroot > >(rpath=normal,textrel=normal) > >verify-elf: ./usr/lib/libtgf.so: TEXTREL entry found: 0x0 > >verify-elf: ./usr/lib/librobottools.so: TEXTREL entry found: 0x0 > >verify-elf: ./usr/lib/libtxml.so: TEXTREL entry found: 0x0 > >verify-elf: ./usr/lib/libraceengine.so: TEXTREL entry found: 0x0 > >verify-elf: ./usr/lib/libtorcs.so: TEXTREL entry found: 0x0 > >verify-elf: ./usr/lib/libracemantools.so: TEXTREL entry found: 0x0 Это нарушение правил сборки разделяемых библиотек. Как правило, проблема в том, что сборка шла без ключа -fPIC (хотя иногда бывают и более глубокие проблемы - например, при наличии ассемблерного кода). > >verify-elf: ./usr/share/games/torcs/drivers/tita/tita.so: TEXTREL entry > >found: 0x0 > >verify-elf: ./usr/share/games/torcs/drivers/K1999/K1999.so: TEXTREL entry > >found: 0x0 > >verify-elf: ./usr/share/games/torcs/drivers/human/human.so: TEXTREL entry > >found: 0x0 > >verify-elf: ./usr/share/games/torcs/drivers/lliaw/lliaw.so: TEXTREL entry > >found: 0x0 > >verify-elf: ./usr/share/games/torcs/drivers/berniw/berniw.so: TEXTREL > >entry found: 0x0 > >verify-elf: ./usr/share/games/torcs/drivers/damned/damned.so: TEXTREL > >entry found: 0x0 > >verify-elf: ./usr/share/games/torcs/drivers/cylos1/cylos1.so: TEXTREL > >entry found: 0x0 > >verify-elf: ./usr/share/games/torcs/drivers/tanhoj/tanhoj.so: TEXTREL > >entry found: 0x0 > >verify-elf: ./usr/share/games/torcs/drivers/berniw2/berniw2.so: TEXTREL > >entry found: 0x0 > >verify-elf: ./usr/share/games/torcs/drivers/inferno2/inferno2.so: TEXTREL > >entry found: 0x0 > >verify-elf: ./usr/share/games/torcs/drivers/inferno3/inferno3.so: TEXTREL > >entry found: 0x0 > >verify-elf: ./usr/share/games/torcs/drivers/inferno4/inferno4.so: TEXTREL > >entry found: 0x0 > >verify-elf: ./usr/share/games/torcs/drivers/inferno5/inferno5.so: TEXTREL > >entry found: 0x0 > >verify-elf: ./usr/share/games/torcs/drivers/inferno6/inferno6.so: TEXTREL > >entry found: 0x0 > >verify-elf: ./usr/share/games/torcs/drivers/inferno/inferno.so: TEXTREL > >entry found: 0x0 > >verify-elf: ./usr/share/games/torcs/modules/simu/simuv2.so: TEXTREL entry > >found: 0x0 > >verify-elf: ./usr/share/games/torcs/modules/track/track.so: TEXTREL entry > >found: 0x0 > >verify-elf: ./usr/share/games/torcs/modules/graphic/ssggraph.so: TEXTREL > >entry found: 0x0 > >verify-elf: ./usr/share/games/torcs/modules/telemetry/telemetry.so: > >TEXTREL entry found: 0x0 А вот это, помимо неправильной сборки shared object, ещё и нарушение FHS. В /usr/share не дожно быть никаких файлов, зависимых от архитектуры. --n/aVsWSeQ4JHkrmm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/2JISW82GfkQfsqIRAiN3AJ4+nq0s1BoPW8MiJP1a1uYSKGXJmQCffAuQ FI0ZP5atLHIY0e7vw5oAOxE= =Nbgk -----END PGP SIGNATURE----- --n/aVsWSeQ4JHkrmm--