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
System: NetBSD mickey 5.1 NetBSD 5.1 (MICKEY) #0: Sun Nov 7 08:21:58 CST 2010 
Architecture: x86_64
Machine: amd64

        /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.

        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 
Making all in examples
gmake[4]: Entering directory 
/bin/sh ../../libtool --mode=execute ../../dbus/dbus-binding-tool 
--prefix=some_object --mode=glib-server --output=example-service-glue.h 
[1]   Segmentation fault      /usr/pkg/bin/lib...
gmake[4]: *** [example-service-glue.h] Error 139
gmake[4]: Leaving directory 
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory 
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
gmake: *** [all] Error 2
*** Error code 2

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


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