Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59220 - PyQt fails to create 'features file' on build
Summary: PyQt fails to create 'features file' on build
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-02 20:12 UTC by Florian Neukamm
Modified: 2004-08-09 11:39 UTC (History)
0 users

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


Attachments
backtrace of mkfeatures' segmentation fault (trace,1.46 KB, text/plain)
2004-08-08 09:14 UTC, Florian Neukamm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Neukamm 2004-08-02 20:12:37 UTC
When giving 'emerge dev-python/PyQt' a try it first checks whether to build various modules then it complains about not being able to create the 'features file'.


Reproducible: Always
Steps to Reproduce:
1. emerge dev-python/PyQt

Actual Results:  
SIP 4.0.1 is being used.
QScintilla 1.2 is being used.
Checking to see if the qtcanvas module should be built...
Checking to see if the qtnetwork module should be built...
Checking to see if the qttable module should be built...
Checking to see if the qtxml module should be built...
Checking to see if the qtgl module should be built...
Checking to see if the qtui module should be built...
Checking to see if the qtsql module should be built...
Checking to see if the qtext module should be built...
Checking to see if the QAssistantClient class is available...
Creating features file...
Error: There was an error creating the features file.
make: *** No targets specified and no makefile found.  Stop.


Expected Results:  
Flawless compilation


Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.4)
=================================================================
System uname: 2.6.4 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.9
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.
2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="http://gentoo.inode.at/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apache2 apm avi berkdb cdr cgi crypt cups dvd dvdr 
encode ethereal foomaticdb gdbm gif gpm gtk gtk2 guile imlib ipv6 java jpeg kde 
libg++ libwww lirc mad mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl 
oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga 
tcltk tcpd tetex truetype usb x86 xml2 xmms xv xvid zlib"
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2004-08-05 10:03:02 UTC
QScintilla 1.2? Which Qt/PyQt versions you are using? Does `emerge qscintilla PyQt` help?
Comment 2 Florian Neukamm 2004-08-06 14:29:15 UTC
I tried both QScintilla version 1.54 and 1.60 (most recent version in portage). The installed PyQt version is 3.8.1, the update to version 3.12 fails. I'm using Qt 3.3.2. `emerge qscintilla PyQt` doesn't change the result.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2004-08-06 15:23:44 UTC
Please go with qscintilla 1.60. It's the better choice. I don't think it will help anything, but could you test if MAKEOPTS="-j1" helps? As you can see, the install script does not provide any useful output and if possible I would like to avoid to hack on it.
Comment 4 Florian Neukamm 2004-08-06 16:26:48 UTC
As you already guessed, changing MAKEOPTS doesn't affect the error...
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2004-08-07 06:04:13 UTC
o.k. please do
`FEATURES="keepwork" emerge PyQt`
`cd /var/tmp/portage/PyQt-3.12/work/PyQt-x11-gpl-3.12`
and have a look if "mkfeatures.cpp" exists
Comment 6 Florian Neukamm 2004-08-07 07:20:36 UTC
Both the files 'mkfeatures.cpp' and a binary called 'mkfeatures' do exist.
Comment 7 Carsten Lohrke (RETIRED) gentoo-dev 2004-08-07 14:23:38 UTC
The script tests only if the file is accessible. Did you change the umask or have the subtree mounted in an unusual way (e.g. smb)? What are the permissions of mkfeatures.cpp? 
Comment 8 Carsten Lohrke (RETIRED) gentoo-dev 2004-08-07 14:32:41 UTC
bullsh*t - forget the last comment. What happens if you run `mkfeatures`? It shouldcreate a file named "features".
Comment 9 Florian Neukamm 2004-08-08 06:39:28 UTC
I'm starting to get nervous: Segmentation fault
Comment 10 Carsten Lohrke (RETIRED) gentoo-dev 2004-08-08 06:56:02 UTC
a traceback would be fine
Comment 11 Florian Neukamm 2004-08-08 08:21:04 UTC
Since I'm actually not familiar with tracing et al programming stuff, here's the full output:

camouflage PyQt-x11-gpl-3.12 # strace ./mkfeatures
execve("./mkfeatures", ["./mkfeatures"], [/* 58 vars */]) = 0
uname({sys="Linux", node="camouflage.dopesquad", ...}) = 0
brk(0)                                  = 0x804a000
open("/etc/ld.so.preload", O_RDONLY)    = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40000000
open("/usr/qt/3/lib/i686/mmx/libqt-mt.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/qt/3/lib/i686/mmx", 0xbfffd9a8) = -1 ENOENT (No such file or directory)
open("/usr/qt/3/lib/i686/libqt-mt.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/qt/3/lib/i686", 0xbfffd9a8) = -1 ENOENT (No such file or directory)
open("/usr/qt/3/lib/mmx/libqt-mt.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/qt/3/lib/mmx", 0xbfffd9a8) = -1 ENOENT (No such file or directory)
open("/usr/qt/3/lib/libqt-mt.so.3", 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\0\17\32"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=8494201, ...}) = 0
mmap2(NULL, 7170360, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40001000
mmap2(0x40694000, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x693) = 0x40694000
mmap2(0x406d4000, 14648, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x406d4000
close(3)                                = 0
open("/usr/qt/3/lib/libXext.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=103278, ...}) = 0
mmap2(NULL, 103278, PROT_READ, MAP_PRIVATE, 3, 0) = 0x406d8000
close(3)                                = 0
open("/usr/X11R6/lib/libXext.so.6", 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\20\31*"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=73723, ...}) = 0
mmap2(0x4f29f000, 64252, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4f29f000
mmap2(0x4f2ae000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xe) = 0x4f2ae000
close(3)                                = 0
open("/usr/qt/3/lib/libX11.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/libX11.so.6", 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\300\303"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1021507, ...}) = 0
mmap2(0x4f1ab000, 924604, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4f1ab000
mmap2(0x4f28a000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xde) = 0x4f28a000
close(3)                                = 0
open("/usr/qt/3/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libpthread.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\200R+O"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=89668, ...}) = 0
mmap2(0x4f2b1000, 329696, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4f2b1000
mmap2(0x4f2be000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xc) = 0x4f2be000
mmap2(0x4f2c2000, 260064, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4f2c2000
close(3)                                = 0
open("/usr/qt/3/lib/libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5", 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 .\210O"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=713656, ...}) = 0
mmap2(0x4f846000, 731328, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4f846000
mmap2(0x4f8ef000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xa8) = 0x4f8ef000
mmap2(0x4f8f4000, 18624, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4f8f4000
close(3)                                = 0
open("/usr/qt/3/lib/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libm.so.6", 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\260e\30"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=173352, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x406f2000
mmap2(0x4f183000, 134976, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4f183000
mmap2(0x4f1a3000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1f) = 0x4f1a3000
close(3)                                = 0
open("/usr/qt/3/lib/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc_s.so.1", 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@\305\217"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=842792, ...}) = 0
mmap2(0x4f8fb000, 34380, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4f8fb000
mmap2(0x4f903000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x7) = 0x4f903000
close(3)                                = 0
open("/usr/qt/3/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", 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\0Qr\6O4\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1436196, ...}) = 0
mmap2(0x4f051000, 1243044, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4f051000
mmap2(0x4f176000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x125) = 0x4f176000
mmap2(0x4f17e000, 10148, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4f17e000
close(3)                                = 0
open("/var/tmp/portage/qt-3.3.2/work/qt-x11-free-3.3.2/lib/i686/mmx/libmng.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/var/tmp/portage/qt-3.3.2/work/qt-x11-free-3.3.2/lib/i686/mmx", 0xbfffd800) = -1 ENOENT (No such file or directory)
open("/var/tmp/portage/qt-3.3.2/work/qt-x11-free-3.3.2/lib/i686/libmng.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/var/tmp/portage/qt-3.3.2/work/qt-x11-free-3.3.2/lib/i686", 0xbfffd800) = -1 ENOENT (No such file or directory)
open("/var/tmp/portage/qt-3.3.2/work/qt-x11-free-3.3.2/lib/mmx/libmng.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/var/tmp/portage/qt-3.3.2/work/qt-x11-free-3.3.2/lib/mmx", 0xbfffd800) = -1 ENOENT (No such file or directory)
open("/var/tmp/portage/qt-3.3.2/work/qt-x11-free-3.3.2/lib/libmng.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/var/tmp/portage/qt-3.3.2/work/qt-x11-free-3.3.2/lib", 0xbfffd800) = -1 ENOENT (No such file or directory)
open("/usr/qt/3/lib/libmng.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/qt/3/lib/libmng.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libmng.so.1", 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\"\327"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=308792, ...}) = 0
mmap2(0x41d66000, 271480, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x41d66000
mmap2(0x41da7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x41) = 0x41da7000
close(3)                                = 0
open("/usr/qt/3/lib/libjpeg.so.62", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/qt/3/lib/libjpeg.so.62", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libjpeg.so.62", 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`\304\250"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=144819, ...}) = 0
mmap2(0x4fa8a000, 132716, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4fa8a000
mmap2(0x4faaa000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1f) = 0x4faaa000
close(3)                                = 0
open("/usr/qt/3/lib/libpng.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/qt/3/lib/libpng.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libpng.so.3", 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\240\32"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=190715, ...}) = 0
mmap2(0x4fbdc000, 176036, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4fbdc000
mmap2(0x4fc06000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x29) = 0x4fc06000
close(3)                                = 0
open("/usr/qt/3/lib/libz.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/qt/3/lib/libz.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libz.so.1", 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\320\10"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=56504, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x406f3000
mmap2(0x4f28f000, 57096, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4f28f000
mmap2(0x4f29b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xb) = 0x4f29b000
close(3)                                = 0
open("/usr/qt/3/lib/libXi.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/qt/3/lib/libXi.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/libXi.so.6", 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\260S0O"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=37243, ...}) = 0
mmap2(0x4f304000, 31136, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4f304000
mmap2(0x4f30b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6) = 0x4f30b000
close(3)                                = 0
open("/usr/qt/3/lib/libXrender.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/qt/3/lib/libXrender.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/libXrender.so.1", 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\220\223"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=33049, ...}) = 0
mmap2(0x4f498000, 29820, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4f498000
mmap2(0x4f49f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6) = 0x4f49f000
close(3)                                = 0
open("/usr/qt/3/lib/libXrandr.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/qt/3/lib/libXrandr.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/libXrandr.so.2", 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\240\215"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=14589, ...}) = 0
mmap2(0x4f4b8000, 13384, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4f4b8000
mmap2(0x4f4bb000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2) = 0x4f4bb000
close(3)                                = 0
open("/usr/qt/3/lib/libXcursor.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/qt/3/lib/libXcursor.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/libXcursor.so.1", 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 C\311A"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=44654, ...}) = 0
mmap2(0x41c92000, 39480, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x41c92000
mmap2(0x41c9b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x8) = 0x41c9b000
close(3)                                = 0
open("/usr/qt/3/lib/libXft.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/qt/3/lib/libXft.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/libXft.so.2", 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\220\nE"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=89478, ...}) = 0
mmap2(0x4f44d000, 79696, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4f44d000
mmap2(0x4f460000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x12) = 0x4f460000
close(3)                                = 0
open("/usr/qt/3/lib/libfreetype.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/qt/3/lib/libfreetype.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libfreetype.so.6", 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\360\\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=411330, ...}) = 0
mmap2(0x4f30e000, 367856, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4f30e000
mmap2(0x4f364000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x55) = 0x4f364000
close(3)                                = 0
open("/usr/qt/3/lib/libfontconfig.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/qt/3/lib/libfontconfig.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libfontconfig.so.1", 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\20\363"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=199521, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x406f4000
mmap2(0x4f407000, 175176, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4f407000
mmap2(0x4f42e000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x26) = 0x4f42e000
mmap2(0x4f431000, 3144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4f431000
close(3)                                = 0
open("/usr/qt/3/lib/libSM.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/qt/3/lib/libSM.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/libSM.so.6", 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\0\342?"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=39553, ...}) = 0
mmap2(0x4f3fc000, 35284, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4f3fc000
mmap2(0x4f404000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x7) = 0x4f404000
close(3)                                = 0
open("/usr/qt/3/lib/libICE.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/qt/3/lib/libICE.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/libICE.so.6", 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\340uCO"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=97662, ...}) = 0
mmap2(0x4f434000, 93328, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4f434000
mmap2(0x4f448000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x13) = 0x4f448000
mmap2(0x4f449000, 7312, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4f449000
close(3)                                = 0
open("/usr/qt/3/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/qt/3/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.2", 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\0I{\32O4"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=14299, ...}) = 0
mmap2(0x4f1a6000, 12076, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4f1a6000
mmap2(0x4f1a8000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1) = 0x4f1a8000
close(3)                                = 0
open("/usr/qt/3/lib/libexpat.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/qt/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\0000\301"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=199844, ...}) = 0
mmap2(0x4f36a000, 150756, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4f36a000
mmap2(0x4f38c000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x22) = 0x4f38c000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x406f5000
munmap(0x406d8000, 103278)              = 0
modify_ldt(1, {entry_number:0, base_addr:0x4f2be6a0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}, 16) = 0
getpid()                                = 22179
rt_sigaction(SIGRTMIN, {0x4f2b8ccd, [], SA_RESTORER, 0x4f07a978}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x4f2b8dab, [], SA_RESTORER, 0x4f07a978}, NULL, 8) = 0
rt_sigaction(SIGRT_2, {0x4f2b8f17, [], SA_RESTORER, 0x4f07a978}, NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RT_1], NULL, 8) = 0
_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbfffe134, 35, (nil), 0}) = 0
brk(0)                                  = 0x804a000
brk(0x806b000)                          = 0x806b000
open("/dev/urandom", O_RDONLY)          = 3
read(3, "l4h\277\273n\270\223#\275.\253-\234\263\304\21\301\0q\342"..., 32) = 32
close(3)                                = 0
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=25018176, ...}) = 0
mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0x406f6000
close(3)                                = 0
access("/root/.qt", F_OK)               = 0
lstat64("/root/.qt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/qt/3/etc/settings/qtrc", F_OK) = -1 ENOENT (No such file or directory)
access("/root/.qt/qtrc", F_OK)          = 0
open("/root/.qt/.qtrc.lock", O_RDWR|O_CREAT|O_LARGEFILE, 0600) = 3
fcntl64(3, F_SETLKW64, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}, 0xbfffdc50) = 0
open("/root/.qt/qtrc", O_RDONLY|O_LARGEFILE) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=1150, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=1150, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x408f6000
read(4, "[3.1]\nlibraryPath=/root/.kde/lib"..., 4096) = 1150
fstat64(4, {st_mode=S_IFREG|0644, st_size=1150, ...}) = 0
close(4)                                = 0
munmap(0x408f6000, 4096)                = 0
fcntl64(3, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}, 0xbfffdce0) = 0
close(3)                                = 0
socket(PF_UNIX, SOCK_STREAM, 0)         = 3
uname({sys="Linux", node="camouflage.dopesquad", ...}) = 0
connect(3, {sa_family=AF_UNIX, path="/tmp/.ICE-unix/4023"}, 21) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
write(3, "\0\1\0\0\0\0\0\0", 8)         = 8
read(3, "\0\1\0@\0\0\0\0", 8)           = 8
access("/root/.ICEauthority", R_OK)     = 0
open("/root/.ICEauthority", O_RDONLY)   = 4
fstat64(4, {st_mode=S_IFREG|0600, st_size=217, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x408f6000
read(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 217
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
camouflage PyQt-x11-gpl-3.12 #
Comment 12 Carsten Lohrke (RETIRED) gentoo-dev 2004-08-08 08:56:39 UTC
nah, not strace ;)

emerge gdb
gdb mkfeatures
run
bt

and please attach the output

Comment 13 Florian Neukamm 2004-08-08 09:14:25 UTC
Created attachment 37043 [details]
backtrace of mkfeatures' segmentation fault
Comment 14 Florian Neukamm 2004-08-08 09:16:09 UTC
Sorry for the strace mess.
I first started gdb, but I didn't know how to handle it...
Comment 15 Carsten Lohrke (RETIRED) gentoo-dev 2004-08-08 11:21:39 UTC
Could be a problem with the old glibc. Any reason why you're not using the latest stable one (glibc-2.3.3.20040420)?
Comment 16 Florian Neukamm 2004-08-08 13:17:16 UTC
Erm, no particular reason for that. Just did an update but didn't recognize any changes. Same error consists.
Comment 17 Carsten Lohrke (RETIRED) gentoo-dev 2004-08-08 14:21:59 UTC
Did you emerge Qt again, too? You'll need to emerge everything again that links to glibc. revdep-rebuild -p helps.
Comment 18 Florian Neukamm 2004-08-08 19:53:43 UTC
Hm, I didn't knew I had to do this. I'll give a try but I guess this _could_ take a while.
Comment 19 Florian Neukamm 2004-08-09 11:10:09 UTC
By updating glibc to the latest stable version in portage, resolving the reverse dependencies and updating gcc to gcc-3.3.3-r6 I was able to emerge PyQt-3.12 flawlessly.

Thanks for your help!
Comment 20 Carsten Lohrke (RETIRED) gentoo-dev 2004-08-09 11:39:15 UTC
fine :)