Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 328903 - dev-libs/dbus-glib-0.86 - make[4]: *** [example-service-glue.h] Segmentation fault
Summary: dev-libs/dbus-glib-0.86 - make[4]: *** [example-service-glue.h] Segmentation ...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
: 423659 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-19 04:25 UTC by fernercc
Modified: 2022-04-03 08:44 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fernercc 2010-07-19 04:25:57 UTC
build log:

 [32;01m*[0m CPV:  dev-libs/dbus-glib-0.86
 [32;01m*[0m REPO: gentoo
 [32;01m*[0m USE:  amd64 elibc_glibc kernel_linux multilib userland_GNU
>>> Unpacking source...
>>> Unpacking dbus-glib-0.86.tar.gz to /var/tmp/portage/dev-libs/dbus-glib-0.86/work
>>> Source unpacked in /var/tmp/portage/dev-libs/dbus-glib-0.86/work
>>> Preparing source in /var/tmp/portage/dev-libs/dbus-glib-0.86/work/dbus-glib-0.86 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/dbus-glib-0.86/work/dbus-glib-0.86 ...
 [32;01m*[0m Running configure in /var/tmp/portage/dev-libs/dbus-glib-0.86/work/dbus-glib-0.86-build
 * econf: updating dbus-glib-0.86/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating dbus-glib-0.86/config.sub with /usr/share/gnuconfig/config.sub
/var/tmp/portage/dev-libs/dbus-glib-0.86/work/dbus-glib-0.86/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --localstatedir=/var --disable-bash-completion --disable-verbose-mode --disable-asserts --disable-doxygen-docs --disable-gtk-doc
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking for library containing strerror... none required
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking whether gcc understands -Wfloat-equal... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for library containing socket... none required
checking whether socklen_t is defined... yes
checking abstract socket namespace... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
/var/tmp/portage/dev-libs/dbus-glib-0.86/work/dbus-glib-0.86/configure: line 13694: /var/tmp/portage/dev-libs/dbus-glib-0.86/work/dbus-glib-0.86/po/POTFILES.in: No such file or directory
checking for XML_ParserCreate_MM in -lexpat... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for DBUS... yes
checking for DBUS_GLIB... yes
checking for DBUS_GLIB_THREADS... yes
checking whether to build gtk-doc documentation... no
checking for gtkdoc-check... no
checking for doxygen... no
checking whether to build Doxygen documentation... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating m4/Makefile
config.status: creating doc/Makefile
config.status: creating doc/reference/Makefile
config.status: creating doc/reference/version.xml
config.status: creating dbus/Makefile
config.status: creating dbus/examples/Makefile
config.status: creating dbus/examples/statemachine/Makefile
config.status: creating test/Makefile
config.status: creating test/core/Makefile
config.status: creating test/interfaces/Makefile
config.status: creating test/data/valid-service-files/debug-glib.service
config.status: creating test/data/valid-service-files/debug-echo.service
config.status: creating test/data/valid-service-files/interfaces-test.service
config.status: creating tools/Makefile
config.status: creating dbus-glib-1.pc
config.status: creating dbus-glib-1-uninstalled.pc
config.status: creating Doxyfile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands

                    D-BUS GLIB BINDINGS 0.86
                  ==============

	prefix:                   /usr
	exec_prefix:              ${prefix}
        libdir:                   /usr/lib64
        bindir:                   /usr/bin
        sysconfdir:               /etc
        localstatedir:            /var
	datadir:                  /usr/share
	source code location:	  /var/tmp/portage/dev-libs/dbus-glib-0.86/work/dbus-glib-0.86
	compiler:		  x86_64-pc-linux-gnu-gcc
	cflags:		          -O2 -fomit-frame-pointer -march=native -pipe -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare -fno-strict-aliasing
	cppflags:		  
        Doxygen:                  no

        Maintainer mode:          no
        gcc coverage profiling:   no
        Building unit tests:      no
        Building verbose mode:    no
        Building assertions:      no
        Building checks:          yes
        Building Doxygen docs:    no
        Building Gtk-doc docs:    no
        Bash Completion:          no
        Gettext libs (empty OK):  
        Using XML parser:         
        'make check' socket dir:  

>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-libs/dbus-glib-0.86/work/dbus-glib-0.86 ...
 [32;01m*[0m Running make in /var/tmp/portage/dev-libs/dbus-glib-0.86/work/dbus-glib-0.86-build
make -j1 
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/dev-libs/dbus-glib-0.86/work/dbus-glib-0.86-build'
Making all in dbus
make[2]: Entering directory `/var/tmp/portage/dev-libs/dbus-glib-0.86/work/dbus-glib-0.86-build/dbus'
make  all-recursive
make[3]: Entering directory `/var/tmp/portage/dev-libs/dbus-glib-0.86/work/dbus-glib-0.86-build/dbus'
Making all in .
make[4]: Entering directory `/var/tmp/portage/dev-libs/dbus-glib-0.86/work/dbus-glib-0.86-build/dbus'
  CC     dbus-glib.lo
  CC     dbus-gmain.lo
  CC     dbus-gmarshal.lo
  CC     dbus-gobject.lo
  CC     dbus-gproxy.lo
  CC     dbus-gtest.lo
  CC     dbus-gvalue.lo
  CC     dbus-gthread.lo
  CC     dbus-gtype-specialized.lo
  CC     dbus-gutils.lo
  CC     dbus-gsignature.lo
  CC     dbus-gvalue-utils.lo
  CCLD   libdbus-glib-1.la
  CC     dbus-gidl.lo
  CC     dbus-gloader-expat.lo
  CC     dbus-gparser.lo
  CCLD   libdbus-gtool.la
  CC     dbus-binding-tool-glib.o
  CC     dbus-glib-tool.o
  CCLD   dbus-binding-tool
make[4]: Leaving directory `/var/tmp/portage/dev-libs/dbus-glib-0.86/work/dbus-glib-0.86-build/dbus'
Making all in examples
make[4]: Entering directory `/var/tmp/portage/dev-libs/dbus-glib-0.86/work/dbus-glib-0.86-build/dbus/examples'
/bin/sh ../../libtool --mode=execute ../../dbus/dbus-binding-tool --prefix=some_object --mode=glib-server --output=example-service-glue.h /var/tmp/portage/dev-libs/dbus-glib-0.86/work/dbus-glib-0.86/dbus/examples/example-service.xml
make[4]: *** [example-service-glue.h] Segmentation fault
make[4]: Leaving directory `/var/tmp/portage/dev-libs/dbus-glib-0.86/work/dbus-glib-0.86-build/dbus/examples'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-libs/dbus-glib-0.86/work/dbus-glib-0.86-build/dbus'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-libs/dbus-glib-0.86/work/dbus-glib-0.86-build/dbus'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/dbus-glib-0.86/work/dbus-glib-0.86-build'
make: *** [all] Error 2
 [31;01m*[0m ERROR: dev-libs/dbus-glib-0.86 failed:
 [31;01m*[0m   make failed
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, line  54:  Called src_compile
 [31;01m*[0m   environment, line 222:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m       emake || die "make failed";
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of 'emerge --info =dev-libs/dbus-glib-0.86',
 [31;01m*[0m the complete build log and the output of 'emerge -pqv =dev-libs/dbus-glib-0.86'.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-libs/dbus-glib-0.86/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-libs/dbus-glib-0.86/temp/environment'.
 [31;01m*[0m S: '/var/tmp/portage/dev-libs/dbus-glib-0.86/work/dbus-glib-0.86'



emerge --info::

Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9550_@_2.66GHz-with-gentoo-1.12.13
Timestamp of tree: Mon, 19 Jul 2010 01:45:01 +0000
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.5-r2, 3.1.2-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -fomit-frame-pointer -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -fomit-frame-pointer -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync26.us.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm hal iconv ipv6 laptop mmx modules mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl sysfs tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Reproducible: Always
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-07-19 08:11:38 UTC
> ../../dbus/dbus-binding-tool
> --prefix=some_object --mode=glib-server --output=example-service-glue.h
> /var/tmp/portage/dev-libs/dbus-glib-0.86/work/dbus-glib-0.86/dbus/examples /example-service.xml
> make[4]: *** [example-service-glue.h] Segmentation fault

this is crashing, please run this command from within gdb and attach the backtrace.

Comment 2 fernercc 2010-07-21 05:09:33 UTC
dbus-binding-tool is a shell script
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-07-21 07:55:36 UTC
it must be starting so binary otherwise it wouldn't segfault.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2012-06-27 17:57:10 UTC
*** Bug 423659 has been marked as a duplicate of this bug. ***