[Pkg-samba-maint] Bug#670561: samba: debuild -us -uc fails at smbtorture4 on amd64

Andrew Klaassen clawsoon at yahoo.com
Thu Apr 26 17:59:58 UTC 2012


Package: samba
Version: 3.6.4-1
Severity: normal

Dear Maintainer,

I'm getting a Samba build failure with latest Debian Samba sources and build dependencies.  I'm running on amd64.  99% of the files compile with no problem; it's only at smbtorture4 that the compile fails.

I'm building with "debuild -us -uc".

Error output:

make -f Makefile-smbtorture4 bin/smbtorture4
make[3]: Entering directory `/usr/src/samba-3.6.4/source3'
configure has not been run
Checking for program gcc or cc           : /usr/bin/gcc
Checking for program cpp                 : /usr/bin/cpp
Checking for program ar                  : /usr/bin/ar
Checking for program ranlib              : /usr/bin/ranlib
Checking for gcc                         : ok
Checking for program git                 : /usr/bin/git
Check for -MD                            : yes
Checking for program gdb                 : /usr/bin/gdb
Checking build system                    : Linux aksandbox1 3.1.0-1-amd64 #1 SMP Tue Jan 10 05:01:58 UTC 2012 x86_64 GNU/Linux
Checking for header sys/utsname.h        : yes
Checking uname sysname type              : not found
Checking uname machine type              : not found
Checking uname release type              : not found
Checking uname version type              : not found
Checking for header stdio.h              : yes
Checking simple C program                : /usr/src/samba-3.6.4/lib/replace/../../buildtools/wafsamba/wscript:271: error: the configuration failed (see '/usr/src/samba-3.6.4/bin/config.log')
make[3]: *** [samba4-configure] Error 1
make[3]: Leaving directory `/usr/src/samba-3.6.4/source3'
make[2]: *** [bin/smbtorture4] Error 2
make[2]: Leaving directory `/usr/src/samba-3.6.4/source3'
dh_auto_build: make -j1 everything nsswitch returned exit code 2
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/usr/src/samba-3.6.4'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1350:
dpkg-buildpackage -rfakeroot -D -us -uc failed


Error in config.log:

[1/2] Compiling test.c
['/usr/bin/gcc', '-I/usr/src/samba-3.6.4/lib/replace/../../buildtools/wafsamba', '-MD', '-DHAVE_CONFIG_H', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_GNU_SOURCE', '-D_FORTIFY_SOURCE=2', '-Iinclude', '-I./include', '-I.', '-I.', '-I./../lib/replace', '-I./../lib/tevent', '-I./librpc', '-I./..', '-I./../lib/popt', '-DLDAP_DEPRECATED', '-Idefault', '-I..', '-Idefault', '-I..', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
/usr/bin/ld: default/test_1.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
default/test_1.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
['/usr/bin/gcc', 'default/test_1.o', '-o', '/usr/src/samba-3.6.4/bin/.conf_check_0/testbuild/default/testprog', '-pie', '-Wl,-z,relro', '-L/usr/lib/x86_64-linux-gnu', '-Wl,-z,relro', '-Wl,-z,relro', '-Wl,-z,now', '-L./bin']
command returned 'Build failed:  -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'

Thanks.

Andrew



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages samba depends on:
ii  adduser                3.113
ii  debconf [debconf-2.0]  1.5.41
ii  libacl1                2.2.51-5
ii  libattr1               1:2.4.46-5
ii  libc6                  2.13-24
ii  libcap2                1:2.22-1
ii  libcomerr2             1.42-1
ii  libcups2               1.5.2-5
ii  libgssapi-krb5-2       1.10+dfsg~beta1-2
ii  libk5crypto3           1.10+dfsg~beta1-2
ii  libkrb5-3              1.10+dfsg~beta1-2
ii  libldap-2.4-2          2.4.28-1.1
ii  libpam-modules         1.1.3-6
ii  libpam-runtime         1.1.3-6
ii  libpam0g               1.1.3-7
ii  libpopt0               1.16-3
ii  libtalloc2             2.0.7+git20120207-1
ii  libtdb1                1.2.9-4+b1
ii  libwbclient0           2:3.6.4-1
ii  lsb-base               3.2-28
ii  procps                 1:3.2.8-11
ii  samba-common           2:3.6.4-1
ii  update-inetd           4.41
ii  zlib1g                 1:1.2.6.dfsg-2

Versions of packages samba recommends:
ii  logrotate  3.8.1-1
ii  tdb-tools  1.2.9-4+b1

Versions of packages samba suggests:
pn  ctdb                              1.11+git20111102-2
pn  ldb-tools                         <none>
pn  openbsd-inetd | inet-superserver  <none>
pn  smbldap-tools                     <none>





More information about the Pkg-samba-maint mailing list