[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#932834: marked as done (FTBFS: relocation R_X86_64_32 against symbol `PyVersion_Type' can not be used when making a shared object; recompile with -fPIC)



Your message dated Mon, 25 Nov 2019 11:36:01 +0100
with message-id <20191125112628.GA19513@debian.org>
and subject line Re: Bug#932834: FTBFS: relocation R_X86_64_32 against symbol `PyVersion_Type' can not be used when making a shared object; recompile with -fPIC
has caused the Debian Bug report #932834,
regarding FTBFS: relocation R_X86_64_32 against symbol `PyVersion_Type' can not be used when making a shared object; recompile with -fPIC
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
932834: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932834
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: python-apt
Version: 1.8.4
Severity: serious
Justification: FTBFS
User: devel@kali.org
Usertags: origin-kali

Trying to rebuild python-apt in unstable currently fails with:

x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -specs=/usr/share/dpkg/no-pie-link.specs -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wno-write-strings -DDATE="Mar 11 2019" -DTIME="11:49:18" -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.7/python/acquire.o build/temp.linux-x86_64-3.7/python/acquire-item.o build/temp.linux-x86_64-3.7/python/apt_pkgmodule.o build/temp.linux-x86_64-3.7/python/cache.o build/temp.linux-x86_64-3.7/python/cachegroup.o build/temp.linux-x86_64-3.7/python/cdrom.o build/temp.linux-x86_64-3.7/python/configuration.o build/temp.linux-x86_64-3.7/python/depcache.o build/temp.linux-x86_64-3.7/python/generic.o build/temp.linux-x86_64-3.7/python/hashes.o build/temp.linux-x86_64-3.7/python/hashstring.o build/temp.linux-x86_64-3.7/python/hashstringlist.o build/temp.linux-x86_64-3.7/python/indexfile.o build/temp.linux-x86_64-3.7/python/lock.o build/temp.linux-x86_64-3.7/python/metaindex.o build/temp.linux-x86_64-3.7/python/orderlist.o build/temp.linux-x86_64-3.7/python/pkgmanager.o build/temp.linux-x86_64-3.7/python/pkgrecords.o build/temp.linux-x86_64-3.7/python/pkgsrcrecords.o build/temp.linux-x86_64-3.7/python/policy.o build/temp.linux-x86_64-3.7/python/progress.o build/temp.linux-x86_64-3.7/python/python-apt-helpers.o build/temp.linux-x86_64-3.7/python/sourcelist.o build/temp.linux-x86_64-3.7/python/string.o build/temp.linux-x86_64-3.7/python/tag.o -lapt-pkg -o build/lib.linux-x86_64-3.7/apt_pkg.cpython-37m-x86_64-linux-gnu.so
/usr/bin/ld: /tmp/ccZYGg3M.ltrans0.ltrans.o: relocation R_X86_64_32 against symbol `PyVersion_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /tmp/ccZYGg3M.ltrans1.ltrans.o: relocation R_X86_64_32 against symbol `PyPolicy_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /tmp/ccZYGg3M.ltrans2.ltrans.o: relocation R_X86_64_32 against symbol `PyAcquire_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: nonrepresentable section on output
collect2: error: ld returned 1 exit status
error: command 'x86_64-linux-gnu-g++' failed with exit status 1
dh_auto_build: python3.7 setup.py build --force returned exit code 1
make[1]: *** [debian/rules:19: override_dh_auto_build] Error 255
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:16: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2019-07-23T16:52:03Z


-- System Information:
Debian Release: bullseye/sid
  APT prefers oldoldstable
  APT policy: (500, 'oldoldstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- no debconf information

--- End Message ---
--- Begin Message ---
On Tue, Jul 23, 2019 at 08:49:22PM +0200, Raphaël Hertzog wrote:
> Source: python-apt
> Version: 1.8.4
> Severity: serious
> Justification: FTBFS
> User: devel@kali.org
> Usertags: origin-kali
> 
> Trying to rebuild python-apt in unstable currently fails with:
> 
> x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -specs=/usr/share/dpkg/no-pie-link.specs -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wno-write-strings -DDATE="Mar 11 2019" -DTIME="11:49:18" -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.7/python/acquire.o build/temp.linux-x86_64-3.7/python/acquire-item.o build/temp.linux-x86_64-3.7/python/apt_pkgmodule.o build/temp.linux-x86_64-3.7/python/cache.o build/temp.linux-x86_64-3.7/python/cachegroup.o build/temp.linux-x86_64-3.7/python/cdrom.o build/temp.linux-x86_64-3.7/python/configuration.o build/temp.linux-x86_64-3.7/python/depcache.o build/temp.linux-x86_64-3.7/python/generic.o build/temp.linux-x86_64-3.7/python/hashes.o build/temp.linux-x86_64-3.7/python/hashstring.o build/temp.linux-x86_64-3.7/python/hashstringlist.o build/temp.linux-x86_64-3.7/python/indexfile.o build/temp.linux-x86_64-3.7/python/lock.o build/temp.linux-x86_64-3.7/python/metaindex.o build/temp.linux-x86_64-3.7/python/orderlist.o build/temp.linux-x86_64-3.7/python/pkgmanager.o build/temp.linux-x86_64-3.7/python/pkgrecords.o build/temp.linux-x86_64-3.7/python/pkgsrcrecords.o build/temp.linux-x86_64-3.7/python/policy.o build/temp.linux-x86_64-3.7/python/progress.o build/temp.linux-x86_64-3.7/python/python-apt-helpers.o build/temp.linux-x86_64-3.7/python/sourcelist.o build/temp.linux-x86_64-3.7/python/string.o build/temp.linux-x86_64-3.7/python/tag.o -lapt-pkg -o build/lib.linux-x86_64-3.7/apt_pkg.cpython-37m-x86_64-linux-gnu.so
> /usr/bin/ld: /tmp/ccZYGg3M.ltrans0.ltrans.o: relocation R_X86_64_32 against symbol `PyVersion_Type' can not be used when making a shared object; recompile with -fPIC
> /usr/bin/ld: /tmp/ccZYGg3M.ltrans1.ltrans.o: relocation R_X86_64_32 against symbol `PyPolicy_Type' can not be used when making a shared object; recompile with -fPIC
> /usr/bin/ld: /tmp/ccZYGg3M.ltrans2.ltrans.o: relocation R_X86_64_32 against symbol `PyAcquire_Type' can not be used when making a shared object; recompile with -fPIC
> /usr/bin/ld: final link failed: nonrepresentable section on output
> collect2: error: ld returned 1 exit status
> error: command 'x86_64-linux-gnu-g++' failed with exit status 1
> dh_auto_build: python3.7 setup.py build --force returned exit code 1
> make[1]: *** [debian/rules:19: override_dh_auto_build] Error 255
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make: *** [debian/rules:16: build] Error 2
> dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
> --------------------------------------------------------------------------------
> Build finished at 2019-07-23T16:52:03Z

I cannot reproduce this in a current chroot, and it does not sound like a bug
in python-apt anyway, so closing.

-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en

--- End Message ---

Reply to: