René Geile
2010-Aug-04 22:03 UTC
[Samba] [3.4.8/Debian Testing amd64] dpkg-build-package fails with linker error
Hello, I am facing a problem when rebuilding Samba 3.4.8dfsg2 on Debian Testing. Command used: "dpkg-buildpackage -uc -us -rfakeroot --source-option=--format=1.0" Linking bin/smbcontrol /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.4.4/../../../../lib/libunwind-ptrace.a(_UPT_access_fpreg.o): relocation R_X86_64_32S against `_UPT_reg_offset' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-linux-gnu/4.4.4/../../../../lib/libunwind-ptrace.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[1]: *** [bin/smbcontrol] Fehler 1 make[1]: Leaving directory `/root/201008042116-samba-3.4.8dfsg2-testing/source3' make: *** [build-stamp] Fehler 2 dpkg-buildpackage: Fehler: debian/rules build gab Fehler-Exitstatus 2 turing:~/201008042116-samba-3.4.8dfsg2-testing# ==The same procedure did work flawless last time when I did it with 3.4.5dfsg1. Command used to build packages: "dpkg-buildpackage -uc -us -rfakeroot" =I found I need to add the "format=1.0" option now because otherwise an error is thrown which had been only a information with 3.4.5. I assume this is not related to the linker error. (sorry logs in German only) 3.4.5 : dpkg-source: Information: Quellformat ?3.0 (quilt)? verworfen: keine orig.tar-Datei gefunden dpkg-source: Information: verwende Quellformat ?1.0? 3.4.8: dpkg-source: Fehler: kann nicht mit Quellformat ?3.0 (quilt)? bauen: keine orig.tar-Datei gefunden dpkg-buildpackage: Fehler: dpkg-source --no-copy -b 201008042116-samba-3.4.8dfsg2-testing gab Fehler-Exitstatus 255 Mit freundlichen Gr??en / Kind Regards Ren? Geile
René Geile
2010-Aug-05 18:03 UTC
[Samba] [3.4.8/Debian Testing amd64] dpkg-build-package fails with linker error
Hello, I am facing a problem when rebuilding Samba 3.4.8dfsg2 on Debian Testing. Any hints how to fix this linker error? Command used: "dpkg-buildpackage -uc -us -rfakeroot --source-option=--format=1.0" Linking bin/smbcontrol /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.4.4/../../../../lib/libunwind-ptrace.a(_UPT_access_fpreg.o): relocation R_X86_64_32S against `_UPT_reg_offset' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-linux-gnu/4.4.4/../../../../lib/libunwind-ptrace.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[1]: *** [bin/smbcontrol] Fehler 1 make[1]: Leaving directory `/root/201008042116-samba-3.4.8dfsg2-testing/source3' make: *** [build-stamp] Fehler 2 dpkg-buildpackage: Fehler: debian/rules build gab Fehler-Exitstatus 2 turing:~/201008042116-samba-3.4.8dfsg2-testing# ==The same procedure did work flawless last time when I did it with 3.4.5dfsg1. Command used to build packages: "dpkg-buildpackage -uc -us -rfakeroot" =I found I need to add the "format=1.0" option now because otherwise an error is thrown which had been only a information with 3.4.5. I assume this is not related to the linker error. (sorry logs in German only) 3.4.5 : dpkg-source: Information: Quellformat ?3.0 (quilt)? verworfen: keine orig.tar-Datei gefunden dpkg-source: Information: verwende Quellformat ?1.0? 3.4.8: dpkg-source: Fehler: kann nicht mit Quellformat ?3.0 (quilt)? bauen: keine orig.tar-Datei gefunden dpkg-buildpackage: Fehler: dpkg-source --no-copy -b 201008042116-samba-3.4.8dfsg2-testing gab Fehler-Exitstatus 255 Mit freundlichen Gr??en / Kind Regards Ren? Geile
Reasonably Related Threads
- Options for dpkg when using package type
- Bug#696810: If using apt-get and not dpkg -i, xcp-xapi/networking_type isn't respected
- Bug#721999: dpkg-shlibdeps: error: couldn't find library libxenstore.so.3.0 needed by debian,/libxen-4.3/usr/lib/libxenlight-4.3.so (ELF format: 'elf64-x86-64'; RPATH: '/usr,/lib')
- [PATCH] configure: Look for dpkg* only in /usr/bin, /bin
- [PATCH v3 13/22] v2v: linux: Properly ignore rpm/dpkg-move-aside kernels.