samba-3.6.3 (precise) fails to build from source

Bug #1052952 reported by gcc
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
samba (Debian)
Fix Released
Unknown
samba (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Checking for -lc not needed : ok
'configure' finished successfully (38.933s)
cd .. && WAF_MAKE=1 buildtools/bin/waf --targets=smbtorture
Waf: Entering directory `/tmp/samba-3.6.3/bin'
Checking project rules ...
Project rules pass
Waf: Leaving directory `/tmp/samba-3.6.3/bin'
input file '../heimdal/lib/wind/rfc3454.txt' could not be found ('/tmp/samba-3.6.3/source4/heimdal_build')
make[3]: *** [bin/smbtorture4] Error 1
make[3]: Leaving directory `/tmp/samba-3.6.3/source3'
make[2]: *** [bin/smbtorture4] Error 2
make[2]: Leaving directory `/tmp/samba-3.6.3/source3'
dh_auto_build: make -j1 everything nsswitch returned exit code 2
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/tmp/samba-3.6.3'
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 -i -b failed

chris@lap-x201:/tmp/samba-3.6.3$ lsb_release -rd
Description: Ubuntu 12.04.1 LTS
Release: 12.04

chris@lap-x201:/tmp/samba-3.6.3$ apt-cache policy samba
samba:
  Installed: 2:3.6.3-2ubuntu2.3
  Candidate: 2:3.6.3-2ubuntu2.3
  Version table:
 *** 2:3.6.3-2ubuntu2.3 0
        500 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages
        100 /var/lib/dpkg/status
     2:3.6.3-2ubuntu2.1 0
        500 http://security.ubuntu.com/ubuntu/ precise-security/main i386 Packages
     2:3.6.3-2ubuntu2 0
        500 http://gb.archive.ubuntu.com/ubuntu/ precise/main i386 Packages

Revision history for this message
James Page (james-page) wrote :

I build tested samba from precise on precise - works just fine.

Marking Invalid.

Changed in samba (Ubuntu):
status: New → Invalid
Revision history for this message
gcc (chris+ubuntu-qwirx) wrote :

Then how is it possible that it failed for me? Did you use i386 or x86_64? I was using i386, I found some reports that the build works on x86_64 but fails with this error on i386.

I built 3.6.6 from Debian and that worked fine on this machine (running precise).

Changed in samba (Debian):
status: Unknown → Fix Released
Revision history for this message
James Rice (jrice-77) wrote :

Exact same issue, building on i386, on a completely update precise. This is recent, as I was able to compile this in the same environment with 3.6.3-2ubuntu2.1. Also, not sure why this was moved to fix released. I refered to the debian bug report, and as far as I can tell, the debian bug was closed invalid.

Revision history for this message
wei zhou (zhouweiz) wrote :

This issue should exit in samba-3.6.3 ubuntu2.9 version, build will fail using the current 3.6.3 source which get from apt-get source

same issue

Waf: Leaving directory `/tmp/samba-3.6.3/bin'
 input file '../heimdal/lib/wind/rfc3454.txt' could not be found

copy the rfc3454.txt to that directory and continue:

then issue will come out:

Build failed: -> task failed (err #1):
        {task: cc_link pytdb_1.o -> pytdb.so}
make[3]: *** [bin/smbtorture4] Error 1
make[3]: Leaving directory

Build on Ubuntu precise 12.04

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.