[Pkg-samba-maint] Bug#541171: smbd SIGSEGV when breaking oplocks

Steve Langasek vorlon at debian.org
Mon Aug 24 18:04:41 UTC 2009


On Thu, Aug 20, 2009 at 02:27:28PM +0200, Christian Perrier wrote:
> Other samba maintainers, what do you think of this? samba does not
> FTBFS on my build machine, with pbuilder.

I can reproduce this is my standard (non-pristine) build environment, but
not in a pristine chroot.

There are two bugs here, that manage to negate each other in a clean chroot:

- the system-level talloc detection depends on pkg-config, which is not a
  build-dependency of the package; so in a clean chroot, this fails.

- if pkg-config is installed and the detection of the system-level libtalloc
  *succeeds*, the Makefile breaks in horrible ways because of a missing
  substitution.

> Quoting Petr Vandrovec (petr at vmware.com):
> 
> 
> > 
> > Thanks.  Should I file another bug for FTBFS, or is it PEBCAK?
> > 							Petr
> > 
> > 
> > petr-dev3:/usr/src/debian/samba-3.4.0# make -f debian/rules binary
> > dh_testdir
> > make -C source3 # headers
> > make[1]: Entering directory `/usr/src/debian/samba-3.4.0/source3'
> > Using CFLAGS     = -g -Wall -O2 -I.
> > -I/usr/src/debian/samba-3.4.0/source3
> > -I/usr/src/debian/samba-3.4.0/source3/iniparser/src -Iinclude
> > -I./include  -I. -I. -I./../lib/replace   -I./../lib/tevent
> > -I./../lib/tdb/include -I./libaddns -I./librpc -I./..
> > -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
> > -D_GNU_SOURCE -Iinclude -I./include -I. -I. -I./../lib/replace
> > -I./../lib/tevent -I./../lib/tdb/include -I./libaddns -I./librpc
> > -I./.. -I./../lib/popt -DLDAP_DEPRECATED
> > -I/usr/src/debian/samba-3.4.0/source3/lib -I.. -I../source4
> > -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3
> >       PICFLAG    = -fPIC
> >       LIBS       = -lcap -lresolv -lnsl -ldl
> >       LDFLAGS    = -Wl,-z,relro -L./bin
> >       DYNEXP     = -Wl,--export-dynamic
> >       LDSHFLAGS  = -shared -Wl,-Bsymbolic -Wl,-z,relro -L./bin
> >       SHLIBEXT   = so
> >       SONAMEFLAG = -Wl,-soname=
> > make[1]: *** No rule to make target
> > `/usr/src/debian/samba-3.4.0/source3//talloc.h', needed by
> > `/usr/src/debian/samba-3.4.0/source3/exports/libtalloc.syms'.  Stop.
> > make[1]: Leaving directory `/usr/src/debian/samba-3.4.0/source3'
> > make: *** [build-stamp] Error 2
> > petr-dev3:/usr/src/debian/samba-3.4.0# dpkg -l | grep talloc
> > ii  libtalloc-dev   1.3.1-2   hierarchical pool based memory
> > allocator - development
> > ii  libtalloc1      1.3.1-2   hierarchical pool based memory allocator
> 
> -- 
> 
> 



> _______________________________________________
> Pkg-samba-maint mailing list
> Pkg-samba-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-samba-maint


-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20090824/be8cd4cb/attachment.pgp>


More information about the Pkg-samba-maint mailing list