samba-users August 2010 archive
Main Archive Page > Month Archives  > samba-users archives
samba-users: [Samba] [3.4.8/Debian Testing amd64] dpkg-build-pac

[Samba] [3.4.8/Debian Testing amd64] dpkg-build-package fails with linker error

From: René Geile <rene.geile_at_nospam>
Date: Thu Aug 05 2010 - 18:03:21 GMT
To: samba@lists.samba.org

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

-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba