Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36717 - qt-3.2.3 does not compile
Summary: qt-3.2.3 does not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-29 04:25 UTC by Lim Swee Tat (RETIRED)
Modified: 2004-03-16 05:03 UTC (History)
0 users

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 Lim Swee Tat (RETIRED) gentoo-dev 2003-12-29 04:25:25 UTC
I am having the following problem with qt compiling on my machine.  This is in the middle of a emerge -euD world.

[root@asuka (Mon Dec 29 20:21:00)][/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/tools/designer/designer]
# LD_LIBRARY_PATH=/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/lib /tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/bin/uic -L /tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/plugins -l/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/lib listboxeditor.ui -o listboxeditor.h
Segmentation fault

This is happened in the midst of emerging qt.  Could this be caused by using glibc with nptl?

Doing an strace gives me:
open("/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/lib/libexpat.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libexpat.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200!\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=192576, ...}) = 0
mmap2(NULL, 150308, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x41183000
mmap2(0x411a6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x22) = 0x411a6000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x411a8000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x411a9000
mprotect(0x40c81000, 4800512, PROT_READ|PROT_WRITE) = 0
mprotect(0x40c81000, 4800512, PROT_READ|PROT_EXEC) = 0
mprotect(0x40823000, 307200, PROT_READ|PROT_WRITE) = 0
mprotect(0x40823000, 307200, PROT_READ|PROT_EXEC) = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0x411a9420, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0x406d9000, 93973)               = 0
set_tid_address(0x411a9468)             = 13039
rt_sigaction(SIGRTMIN, {0x40a634c0, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
brk(0)                                  = 0x8093000
brk(0x80b4000)                          = 0x80b4000
futex(0x40a5e1b0, FUTEX_WAKE, 2147483647) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

# emerge info
Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 2.6.0-mm1-asuka1)
=================================================================
System uname: 2.6.0-mm1-asuka1 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.4.3.12
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -msse -mmmx -m3dnow -mfpmath=sse,387 -w"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /home/kde/share/config /opt/tomcat/conf /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/lib/jboss /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -msse -mmmx -m3dnow -mfpmath=sse,387 -w"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache digest fixpackages sandbox"
GENTOO_MIRRORS="ftp://ftp.planetmirror.com/pub/gentoo/ ftp://linux.thai.net/pub/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/st_lim/Incoming/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="3dnow S3TC X X509 aalib acl activefilter alsa antlr apache2 apm arts artswrappersuid avi bcel berkdb bonobo bsf caps cdr cjk clamav crypt cscope cups curl dga dvd encode esd ethereal evo faad fam fastcgi fax fbcon fbdev flac flash foomaticdb foreign-package foreign-sysvinit freetds freetype fs gb gd gdbm gif gnome gnomedb gphoto2 gpm gtk2 gtkhtml guile hyriand imagemagick imap imlib imlib2 innodb ipv6 irda irmc j-noaim j-nojud j-nomsn j-nomuconf j-noyahoo java javascript jbig jdepend joystick jpeg js junit jython kde kerberos krb4 lcms ldap libg++ libgda libwww lids mad maildir migemo mikmod mldonkeypango mmx mng motif mozaccess mozcalendar mozctl mozinterfaceinfo mozp3p mozsvg mozxmlterm mpeg music mysql ncurses nls nowin nptl oav oci8 offensive ofx oggvorbis opengl oro ospfapi oss pam parse-clocks pcmcia pdflib perl php pic png pnp postgres ppds prelude psyco pwdb python qt quicktime radeon rage128 readline regexp ruby samba sasl scanner sdl skey slang slp speedo speex spell sse ssl svga tcltk tcpd tetex threads tiff truetype trusted type1 unicode usagi usb wmf x86 xine xinerama xml xml2 xmms xosd xv zeo zlib"

kernel = 2.6.0-mm1
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2003-12-29 05:32:45 UTC
yep.  i haven't heard any success stories yet of Qt + ntpl.
Comment 2 Lim Swee Tat (RETIRED) gentoo-dev 2003-12-29 07:16:04 UTC
Hi,
  That's strange,  I had qt installed properly just before doing the "emerge -euD world", and I'm sure redhat has qt running properly somehow.

Ciao
ST Lim
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2003-12-30 11:57:30 UTC
quite possibly a bug in gcc, perhaps a newer ebuild revision works better?
Comment 4 Lim Swee Tat (RETIRED) gentoo-dev 2003-12-30 16:50:45 UTC
Now using gcc-3.3.2-r5, and it still has exactly the same problem.  I have this problem on both my laptop (intel P3 1GHz) and on my desktop (Athlon 2.5GHz) so it can't be a faulty hardware problem.

Ciao
ST Lim
Comment 5 Lim Swee Tat (RETIRED) gentoo-dev 2004-01-02 00:36:33 UTC
Hi,
  Compiling qt-3.3.0beta works though.  But it would be great if someone has a solution for this problem.

Ciao
ST Lim
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2004-03-16 05:03:57 UTC
yeah, should be fixed in the 3.3 series of the ebuilds.