Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 397331 - emerging dev-libs/gobject-introspection-1.30.0-r1 failed (compile phase)
Summary: emerging dev-libs/gobject-introspection-1.30.0-r1 failed (compile phase)
Status: RESOLVED DUPLICATE of bug 396609
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-02 04:32 UTC by Mark Purtill
Modified: 2012-01-03 01:00 UTC (History)
2 users (show)

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


Attachments
emerge --info =dev-libs/gobject-introspection-1.30.0-r1 output (emerge.info,5.80 KB, text/plain)
2012-01-02 04:33 UTC, Mark Purtill
Details
The complete build log (dev-libs:gobject-introspection-1.30.0-r1:20120102-042004.log,79.75 KB, text/plain)
2012-01-02 04:34 UTC, Mark Purtill
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Purtill 2012-01-02 04:32:34 UTC
Reproducible: Always

Steps to Reproduce:
1. env MAKEOPTS="V=1" emerge =dev-libs/gobject-introspection-1.30.0-r1 > /tmp/emerge.out
Actual Results:  
Emerge crashes as follows.  The error is always in the same place but the number in front of "Segmentation fault" varies and occasionally I get "Illegal instruction" instead of "Segmentation fault".

/bin/sh: line 1:   318 Segmentation fault      env PATH=.libs:/usr/lib64/portage/bin/ebuild-helpers/4:/usr/lib64/portage/bin/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3:/opt/intel/Compiler/11.1/046/bin/intel64:/usr/qt/3/bin:/usr/x86_64-pc-linux-gnu/gnat-gcc-bin/4.3:/usr/libexec/gnat-gcc/x86_64-pc-linux-gnu/4.3:/usr/x86_64-pc-linux-gnu/gnat-gcc-bin/4.4:/usr/libexec/gnat-gcc/x86_64-pc-linux-gnu/4.4 LPATH=.libs PYTHONPATH=.:. UNINSTALLED_INTROSPECTION_SRCDIR=. UNINSTALLED_INTROSPECTION_BUILDDIR=. ./g-ir-scanner --quiet --verbose -I. --add-include-path=. --add-include-path=./gir --add-include-path=. --add-include-path=. --namespace=GLib --nsversion=2.0 --libtool="/bin/sh ./libtool" --pkg=glib-2.0 --library=glib-2.0 --library=gobject-2.0 --external-library --reparse-validate --identifier-prefix=G --symbol-prefix=g --symbol-prefix=glib --c-include="glib.h" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DGETTEXT_PACKAGE=Dummy -DGLIB_COMPILATION -D__G_I18N_LIB_H__ /usr/lib64/glib-2.0/include/glibconfig.h /usr/include/glib-2.0/glib/gutils.h /usr/include/glib-2.0/glib/gthreadpool.h /usr/include/glib-2.0/glib/gasyncqueue.h /usr/include/glib-2.0/glib/gspawn.h /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gcompletion.h /usr/include/glib-2.0/glib/gprintf.h /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gmacros.h /usr/include/glib-2.0/glib/gprimes.h /usr/include/glib-2.0/glib/gstrfuncs.h /usr/include/glib-2.0/glib/gvariant.h /usr/include/glib-2.0/glib/garray.h /usr/include/glib-2.0/glib/gdatetime.h /usr/include/glib-2.0/glib/gmappedfile.h /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gi18n-lib.h /usr/include/glib-2.0/glib/gkeyfile.h /usr/include/glib-2.0/glib/gqueue.h /usr/include/glib-2.0/glib/gsequence.h /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h /usr/include/glib-2.0/glib/gscanner.h /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/gbase64.h /usr/include/glib-2.0/glib/gpoll.h /usr/include/glib-2.0/glib/gdataset.h /usr/include/glib-2.0/glib/ghmac.h /usr/include/glib-2.0/glib/gurifuncs.h /usr/include/glib-2.0/glib/gslice.h /usr/include/glib-2.0/glib/gthread.h /usr/include/glib-2.0/glib/grel.h /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/ghostutils.h /usr/include/glib-2.0/glib/gi18n.h /usr/include/glib-2.0/glib/gtimezone.h /usr/include/glib-2.0/glib/glist.h /usr/include/glib-2.0/glib/gmessages.h /usr/include/glib-2.0/glib/gfileutils.h /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gtestutils.h /usr/include/glib-2.0/glib/galloca.h /usr/include/glib-2.0/glib/gwin32.h /usr/include/glib-2.0/glib/gregex.h /usr/include/glib-2.0/glib/gbookmarkfile.h /usr/include/glib-2.0/glib/gstring.h /usr/include/glib-2.0/glib/ghook.h /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/glib-2.0/glib/gmarkup.h /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gslist.h /usr/include/glib-2.0/glib/gconvert.h /usr/include/glib-2.0/glib/gpattern.h /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gstdio.h /usr/include/glib-2.0/glib/gatomic.h /usr/include/glib-2.0/glib/giochannel.h /usr/include/glib-2.0/glib/gbitlock.h /usr/include/glib-2.0/glib/gchecksum.h /usr/include/glib-2.0/glib/gtree.h /usr/include/glib-2.0/glib/gquark.h /usr/include/glib-2.0/glib/gvarianttype.h /usr/include/glib-2.0/glib/gunicode.h /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/gdir.h /usr/include/glib-2.0/glib/gtypes.h /usr/include/glib-2.0/gobject/glib-types.h gir/glib-2.0.c g-ir-scanner g-ir-compiler --output GLib-2.0.gir
make[2]: *** [GLib-2.0.gir] Error 139
make[2]: Leaving directory `/var/tmp/portage/dev-libs/gobject-introspection-1.30.0-r1/work/gobject-introspection-1.30.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/gobject-introspection-1.30.0-r1/work/gobject-introspection-1.30.0'
make: *** [all] Error 2
 * ERROR: dev-libs/gobject-introspection-1.30.0-r1 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of 'emerge --info =dev-libs/gobject-introspection-1.30.0-r1',
 * the complete build log and the output of 'emerge -pqv =dev-libs/gobject-introspection-1.30.0-r1'.
 * The complete build log is located at '/var/log/portage/dev-libs:gobject-introspection-1.30.0-r1:20120102-042004.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/gobject-introspection-1.30.0-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-libs/gobject-introspection-1.30.0-r1/work/gobject-introspection-1.30.0'

>>> Failed to emerge dev-libs/gobject-introspection-1.30.0-r1, Log file:

>>>  '/var/log/portage/dev-libs:gobject-introspection-1.30.0-r1:20120102-042004.log'



Expected Results:  
Compilation doesn't crash.

A similar problem is discussed in the forums at <http://forums.gentoo.org/viewtopic-t-897374-start-0.html>.  As in that discussion, with FEATURES="keeptemp keepwork", if I go to the work directory (/var/tmp/portage/dev-libs/gobject-introspection-1.30.0-r1/work/gobject-introspection-1.30.0) and type 'make', I don't get a crash and then can rerun emerge to get gobject-introspection-1.30.0 to install.

I will attach emerge --info and the complete build log to the bug.
Comment 1 Mark Purtill 2012-01-02 04:33:22 UTC
Created attachment 297603 [details]
emerge --info =dev-libs/gobject-introspection-1.30.0-r1 output
Comment 2 Mark Purtill 2012-01-02 04:34:15 UTC
Created attachment 297605 [details]
The complete build log
Comment 3 Mark Purtill 2012-01-02 04:46:27 UTC
It looks like my work-around (running the make myself) is not useful; the installed g-ir-scanner crashes when (e.g.) udev-171-r5 is emerged, preventing it (and presumably other dependencies) from emerging.
Comment 4 Pacho Ramos gentoo-dev 2012-01-02 12:14:31 UTC
Try rebuilding it with CFLAGS="-O2 -pipe"
Comment 5 niknyby 2012-01-02 20:26:55 UTC
(In reply to comment #4)
> Try rebuilding it with CFLAGS="-O2 -pipe"

Hmm, this didn't work for me. I changed my CFLAGS to "-O2 -pipe" from my usual "-march=native" and still got the same error when emerging gobject-introspection.
Comment 6 Mark Purtill 2012-01-02 22:32:42 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > Try rebuilding it with CFLAGS="-O2 -pipe"
> 
> Hmm, this didn't work for me. I changed my CFLAGS to "-O2 -pipe" from my usual
> "-march=native" and still got the same error when emerging
> gobject-introspection.

Likewise.  I also tried CFLAGS="" and got the same error.
Comment 7 Pacho Ramos gentoo-dev 2012-01-03 00:50:19 UTC
Please show "emerge -pv gobject-introspection glib sandbox portage"
Comment 8 Pacho Ramos gentoo-dev 2012-01-03 00:54:45 UTC
I guess you reemerged dbus-glib and gobject-introspection after updating to glib-2.30.x no?
Comment 9 Pacho Ramos gentoo-dev 2012-01-03 01:00:58 UTC
We go to bug 396609, please reply there as we still don't know why some people are getting this problems we cannot reproduce :(

*** This bug has been marked as a duplicate of bug 396609 ***