Gentoo Archives: gentoo-alpha

From: Allen Ziegenfus <listmail@××××××.net>
To: gentoo-alpha@l.g.o
Subject: [gentoo-alpha] Error building PyQt on Alpha: failed to set dynamic section sizes: File format not recognized
Date: Mon, 07 Jun 2004 15:45:31
Message-Id: 20040607114520.7eea0dee.listmail@allenz.net
1 Has anyone got PyQt to build on Alpha? I was trying to emerge this last
2 night and the compile was literally keeping me from sleeping because it
3 was thrashing to swap (I have an old HD that is too loud). I have 256 MB
4 memory, which is apparently not enough.
5
6 I changed my swap configuration to use a faster drive, and now at
7 least I am getting an error message: Failed to set dynamic section
8 sizes: file format not recognized. Googling this error gives me a bunch
9 of hits on people having trouble compiling different packages on
10 alpha, but not solution.
11
12 Anybody know what to do? Does this have anything to do with running out
13 of memory? Below is a log of my emerge attempt
14
15 Thanks,
16
17 Allen
18
19 Script started on Mon Jun 7 10:40:00 2004
20 [01;31mopus [01;34mpyqt # [00memerb ge py Pyu Qt
21 Calculating dependencies \ ...done!
22 >>> emerge (1 of 1) dev-python/PyQt-3.12 to /
23 >>> md5 src_uri ;-) PyQt-x11-gpl-3.12.tar.gz
24 >>> Unpacking source...
25 >>> Unpacking PyQt-x11-gpl-3.12.tar.gz to
26 >/var/tmp/portage/PyQt-3.12/work>> Source unpacked.
27 SIP 4.0rc4 is being used.
28 QScintilla 1.3 is being used.
29 Checking to see if the qtcanvas module should be built...
30 Checking to see if the qtnetwork module should be built...
31 Checking to see if the qttable module should be built...
32 Checking to see if the qtxml module should be built...
33 Checking to see if the qtgl module should be built...
34 Checking to see if the qtui module should be built...
35 Checking to see if the qtsql module should be built...
36 Checking to see if the qtext module should be built...
37 Checking to see if the QAssistantClient class is available...
38 Creating features file...
39 Checking to see if the QCDEStyle class is built in...
40 Checking to see if the QInterlaceStyle class is built in...
41 Checking to see if the QMotifStyle class is built in...
42 Checking to see if the QMotifPlusStyle class is built in...
43 Checking to see if the QPlatinumStyle class is built in...
44 Checking to see if the QSGIStyle class is built in...
45 Checking to see if the QWindowsStyle class is built in...
46 These PyQt modules will be built: qt qtcanvas qtnetwork qttable qtxml
47 qtgl qtui qtsql qtext.
48 Support for these Qt classes has been disabled: QInterlaceStyle.
49 The PyQt modules will be installed in /usr/lib/python2.3/site-packages.
50 The PyQt .sip files will be installed in /usr/share/sip.
51 pyuic will be installed in /usr/bin.
52 pylupdate will be installed in /usr/bin.
53 Generating the C++ source for the qt module...
54 Creating the Makefile for the qt module...
55 Generating the C++ source for the qtext module...
56 Creating the Makefile for the qtext module...
57 Generating the C++ source for the qtgl module...
58 Creating the Makefile for the qtgl module...
59 Generating the C++ source for the qtsql module...
60 Creating the Makefile for the qtsql module...
61 Generating the C++ source for the qtui module...
62 Creating the Makefile for the qtui module...
63 Generating the C++ source for the qtcanvas module...
64 Creating the Makefile for the qtcanvas module...
65 Generating the C++ source for the qtnetwork module...
66 Creating the Makefile for the qtnetwork module...
67 Generating the C++ source for the qttable module...
68 Creating the Makefile for the qttable module...
69 Generating the C++ source for the qtxml module...
70 Creating the Makefile for the qtxml module...
71 Creating pyuic Makefile...
72 Creating pylupdate Makefile...
73 Creating top level Makefile...
74 Creating pyqtconfig.py...
75 make[1]: Entering directory
76 `/var/tmp/portage/PyQt-3.12/work/PyQt-x11-gpl-3.12/qt' g++ -c -pipe
77 -mcpu=ev56 -O3 -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG
78 -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.3 -I/usr/qt/3/include
79 -I/usr/X11R6/include -o sipqtpart0.o sipqtpart0.cpp/usr/qt/3/bin/moc -o
80 moc_sipqtpart0.cpp sipqtpart0.h g++ -c -pipe -mcpu=ev56 -O3 -pipe -fPIC
81 -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I.
82 -I/usr/include/python2.3 -I/usr/qt/3/include -I/usr/X11R6/include -o
83 moc_sipqtpart0.o moc_sipqtpart0.cpp g++ -shared -Wl,-rpath,/usr/qt/3/lib
84 -o qt.so sipqtpart0.o moc_sipqtpart0.o -L/usr/qt/3/lib -L/usr/X11R6/lib
85 -lqassistantclient -lqt-mt -lXext -lX11 -lm
86 -lpthread/usr/lib/gcc-lib/alphaev56-unknown-linux-gnu/3.3.3/../../../..
87 /alphaev56-unknown-linux-gnu/bin/ld: sipqtpart0.o: .got subsegment
88 exceeds 64K (size
89 112792)/usr/lib/gcc-lib/alphaev56-unknown-linux-gnu/3.3.3/../../../../a
90 lphaev56-unknown-linux-gnu/bin/ld: failed to set dynamic section sizes:
91 File format not recognized collect2: ld returned 1 exit status
92 make[1]: *** [qt.so] Error 1
93 make[1]: Leaving directory
94 `/var/tmp/portage/PyQt-3.12/work/PyQt-x11-gpl-3.12/qt' make: *** [all]
95 Error 2
96
97 !!! ERROR: dev-python/PyQt-3.12 failed.
98 !!! Function src_compile, Line 36, Exitcode 2
99 !!! (no error message)
100
101 [01;31mopus [01;34mpyqt # [00mexit
102
103 Script done on Mon Jun 7 11:23:29 2004
104
105
106
107 --