Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 149667

Summary: FAIL TO EMERGE qt-4.1.4 - Segmentation Fault
Product: Gentoo Linux Reporter: Gabriel Madureira <fogolinos>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Gabriel Madureira 2006-09-30 15:56:04 UTC
Problem while emerging qt-4.1.4 on x86 with new USE.

/usr/include/freetype2 -I../3rdparty/opentype -I.moc/release-shared -I/usr/include -I. -o .obj/release-shared/qbitmap.o image/qbitmap.cpp
g++ -c -pipe -I/usr/include/mysql -O2 -march=pentium4 -pipe -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC  -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_CAST_TO_ASCII -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_RASTER_IMAGEENGINE -DQT_HAVE_SSE -DQT_PDF_SUPPORT -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSXP -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I/usr/include/freetype2 -I../3rdparty/opentype -I.moc/release-shared -I/usr/include -I. -o .obj/release-shared/qicon.o image/qicon.cpp
g++ -c -pipe -I/usr/include/mysql -O2 -march=pentium4 -pipe -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC  -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_CAST_TO_ASCII -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_RASTER_IMAGEENGINE -DQT_HAVE_SSE -DQT_PDF_SUPPORT -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSXP -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I/usr/include/freetype2 -I../3rdparty/opentype -I.moc/release-shared -I/usr/include -I. -o .obj/release-shared/qimage.o image/qimage.cpp
image/qimage.cpp: In function 'void convert_Indexed8_to_X32(QImageData*, const QImageData*, Qt::ImageConversionFlags)':
image/qimage.cpp:2565: internal compiler error: Falha de segmenta
Comment 1 Gabriel Madureira 2006-09-30 15:56:04 UTC
Problem while emerging qt-4.1.4 on x86 with new USE.

/usr/include/freetype2 -I../3rdparty/opentype -I.moc/release-shared -I/usr/include -I. -o .obj/release-shared/qbitmap.o image/qbitmap.cpp
g++ -c -pipe -I/usr/include/mysql -O2 -march=pentium4 -pipe -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC  -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_CAST_TO_ASCII -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_RASTER_IMAGEENGINE -DQT_HAVE_SSE -DQT_PDF_SUPPORT -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSXP -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I/usr/include/freetype2 -I../3rdparty/opentype -I.moc/release-shared -I/usr/include -I. -o .obj/release-shared/qicon.o image/qicon.cpp
g++ -c -pipe -I/usr/include/mysql -O2 -march=pentium4 -pipe -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC  -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_CAST_TO_ASCII -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_RASTER_IMAGEENGINE -DQT_HAVE_SSE -DQT_PDF_SUPPORT -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSXP -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I/usr/include/freetype2 -I../3rdparty/opentype -I.moc/release-shared -I/usr/include -I. -o .obj/release-shared/qimage.o image/qimage.cpp
image/qimage.cpp: In function 'void convert_Indexed8_to_X32(QImageData*, const QImageData*, Qt::ImageConversionFlags)':
image/qimage.cpp:2565: internal compiler error: Falha de segmentação
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[3]: ** [.obj/release-shared/qimage.o] Erro 1
make[3]: Saindo do diretório `/var/tmp/portage/qt-4.1.4/work/qt-x11-opensource-src-4.1.4/src/gui'
make[2]: ** [release-all] Erro 2
make[2]: Saindo do diretório `/var/tmp/portage/qt-4.1.4/work/qt-x11-opensource-src-4.1.4/src/gui'
make[1]: ** [sub-gui-all-ordered] Erro 2
make[1]: Saindo do diretório `/var/tmp/portage/qt-4.1.4/work/qt-x11-opensource-src-4.1.4/src'
make: ** [sub-src-all-ordered] Erro 2

!!! ERROR: x11-libs/qt-4.1.4 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  qt-4.1.4.ebuild, line 169:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.





Portage 2.1.1 (default-linux/x86/no-nptl, gcc-4.1.1, glibc-2.3.6-r4, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.5
Last Sync: Sat, 30 Sep 2006 20:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/app-defaults /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pt_BR"
LC_ALL="pt_BR"
LINGUAS="pt_BR"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X acpi alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bzlib cdb cdparanoia cdr cli clisp crypt cups divx4linux dlloader dri dvd eds elibc_glibc emacs emboss encode fbcon firefox flash foomaticdb fortran ftp gdbm gif gimp gmail gmp gphoto2 gpm gstreamer gtk2 hal imagemagick imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jack java javascript jpeg kde kdeenablefinal kdexdeltas kernel_linux libg++ libwww linguas_pt_BR lm_sensors mad mikmod mime motif mozilla mp3 mpeg msn mysql mysqli ncurses nls nsplugins ogg opengl oss pam pcre pdflib perl php png pnp ppds pppd python qt qt3 qt4 quicktime readline reflection samba scanner sdl session slang sockets spell spl ssl svga symlink sysfs tcltk tcpd tetex threads truetype truetype-fonts type1-fonts unicode usb userland_GNU userlocales v4l vcd video_cards_nv video_cards_nvidia video_cards_vesa video_cards_vga vorbis w32codecs win32codecs wxwindows xine xml xml2 xmms xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2006-09-30 16:39:54 UTC
In almost all cases this is a sign of a flaky system (overheating box, bad ram, etc.). When you try to build it again, does it fail in the same line?
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-09-30 22:58:45 UTC
> The bug is not reproducible, so it is likely a hardware or OS problem.

See comment #1 and reopen with proprecessed source if you can make if fail at *exactly* the same place.
Comment 4 Gabriel Madureira 2006-10-01 12:00:31 UTC
I did as you said and the emerge worked.(I don't know why because I've trieded that before many times)... I don't know why but I am always having my emerges failing because of Segmentation Faults. How can I check meu hardware to see if there are any problem? What could cause these segmentation faults?
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-10-01 12:22:20 UTC
See Bug 20600 for tips.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-10-01 12:23:12 UTC

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