pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45959: dbus-glib fails to build in chroot



>Number:         45959
>Category:       pkg
>Synopsis:       dbus-glib fails to build in chroot
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 09 21:00:00 +0000 2012
>Originator:     Greg Oster
>Release:        NetBSD 5.1
>Organization:
>Environment:
System: NetBSD mickey 5.1 NetBSD 5.1 (MICKEY) #0: Sun Nov 7 08:21:58 CST 2010 
oster@quad:/u1/builds/build184/src/obj/amd64/u1/builds/build184/src/sys/arch/amd64/compile/MICKEY
 amd64
Architecture: x86_64
Machine: amd64
>Description:

        /usr/pkgsrc/sysutils/dbus-glib fails to build if built
within a chroot and dbus is not running in the chroot.  The build
failure is seen as a Segmentation fault by dbus-binding-tool , but
it's enough to cause things not to package.

>How-To-Repeat:
        In a chrooted environment, without dbus-daemon running, do:

           cd /usr/pkgsrc/sysutils/dbus-glib
           make install

watch things blow up with a Segmentation Fault thusly:

...
gmake[4]: Leaving directory 
`/usr/pkgsrc/sysutils/dbus-glib/work.mickey/dbus-glib-0.92/dbus'
Making all in examples
gmake[4]: Entering directory 
`/usr/pkgsrc/sysutils/dbus-glib/work.mickey/dbus-glib-0.92/dbus/examples'
/bin/sh ../../libtool --mode=execute ../../dbus/dbus-binding-tool 
--prefix=some_object --mode=glib-server --output=example-service-glue.h 
./example-service.xml
[1]   Segmentation fault      /usr/pkg/bin/lib...
gmake[4]: *** [example-service-glue.h] Error 139
gmake[4]: Leaving directory 
`/usr/pkgsrc/sysutils/dbus-glib/work.mickey/dbus-glib-0.92/dbus/examples'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
`/usr/pkgsrc/sysutils/dbus-glib/work.mickey/dbus-glib-0.92/dbus'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory 
`/usr/pkgsrc/sysutils/dbus-glib/work.mickey/dbus-glib-0.92/dbus'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/pkgsrc/sysutils/dbus-glib/work.mickey/dbus-glib-0.92'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/sysutils/dbus-glib
...


>Fix:

A workaround is to build dbus-glib in an environment where dbus-daemon
is running.  Unfortunately, that's not something really desirable to
have to run in a chroot that's used just to build packages!  




Home | Main Index | Thread Index | Old Index