Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39446 - unable to compile qt-x11-free-3.2.3, this was during "emerge php"
Summary: unable to compile qt-x11-free-3.2.3, this was during "emerge php"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Sparc Linux
: High major (vote)
Assignee: Sparc Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-26 06:04 UTC by Jason Qualkenbush
Modified: 2006-02-04 06:05 UTC (History)
1 user (show)

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


Attachments
php doesn't compile with kerberos support (t,3.20 KB, text/plain)
2004-05-02 11:36 UTC, Alexander Henry
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Qualkenbush 2004-01-26 06:04:46 UTC
while emerging qt-x11-free-3.2.3, I get this message:

g++ -c -pipe -fno-exceptions -fPIC -Wall -W -O2 -D_REENTRANT  -DDESIGNER -DQT_INTERNAL_XML -DQT_INTERNAL_WORKSPACE -DQT_INTERNAL_ICONVIEW -DQT_INTERNAL_TABLE -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/qt-3.2.3-r1/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../uilib -I../../../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o ./command.o command.cpp
g++ -c -pipe -fno-exceptions -fPIC -Wall -W -O2 -D_REENTRANT  -DDESIGNER -DQT_INTERNAL_XML -DQT_INTERNAL_WORKSPACE -DQT_INTERNAL_ICONVIEW -DQT_INTERNAL_TABLE -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/qt-3.2.3-r1/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../uilib -I../../../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o ./formwindow.o formwindow.cpp
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[3]: *** [command.o] Error 1
{standard input}: Assembler messages:
{standard input}:1689: Warning: end of file not at end of a line; newline inserted
{standard input}:2826: Error: Unknown opcode: `cal'
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/qt-3.2.3-r1/work/qt-x11-free-3.2.3/tools/designer/designer'
make[2]: *** [sub-designer] Error 2
make[2]: Leaving directory `/var/tmp/portage/qt-3.2.3-r1/work/qt-x11-free-3.2.3/tools/designer'
make[1]: *** [sub-designer] Error 2
make[1]: Leaving directory `/var/tmp/portage/qt-3.2.3-r1/work/qt-x11-free-3.2.3/tools'
make: *** [sub-tools] Error 2
 
!!! ERROR: x11-libs/qt-3.2.3-r1 failed.
!!! Function src_compile, Line 109, Exitcode 2
!!! (no error message)
 
Here is the result of emerge info:

Portage 2.0.49-r20 (default-sparc64-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.23-sparc-r1)
=================================================================
System uname: 2.4.23-sparc-r1 sparc64 sun4u
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="sparc ~sparc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="sparc64-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="sparc X arts avi berkdb crypt cups encode esd fbcon foomaticdb gdbm gif gnome gtk imlib jpeg kde libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt readline sdl slang spell ssl tcpd truetype xml2 xmms xv zlib"
 


Reproducible: Always
Steps to Reproduce:
1. Every time I emerge php, I get to this dependancy and it fails.
Comment 1 Sven Blumenstein (RETIRED) gentoo-dev 2004-01-27 02:14:56 UTC
Your CHOST is wrong and should be "sparc-unknown-linux-gnu".
Comment 2 Jason Qualkenbush 2004-01-27 11:09:34 UTC
"Your CHOST is wrong and should be 'sparc-unknown-linux-gnu'."

I changed my make.conf file to sparc-unknown-linux-gnu and then ran it again.  It still failed on the same point.  Here is the message:

g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TA BLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_ SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_N O_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPA CT -I/var/tmp/portage/qt-3.2.3-r1/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. - I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I /usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qmessageb ox.o dialogs/qmessagebox.cpp
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TA BLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_ SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_N O_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPA CT -I/var/tmp/portage/qt-3.2.3-r1/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. - I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I /usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qworkspac e.o workspace/qworkspace.cpp
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
{standard input}: Assembler messages:
{standard input}:11401: Warning: end of file not at end of a line; newline inser ted
make[1]: *** [.obj/release-shared-mt/qworkspace.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/qt-3.2.3-r1/work/qt-x11-free-3.2.3/ src'
make: *** [sub-src] Error 2
 
!!! ERROR: x11-libs/qt-3.2.3-r1 failed.
!!! Function src_compile, Line 109, Exitcode 2
!!! (no error message)
Comment 3 Jason Wever (RETIRED) gentoo-dev 2004-01-27 12:10:46 UTC
You will probably need to recompile gcc and glibc among other packages if you built them with this CHOST.  I'm surprised your system hasn't been tripped up by this before as sparc64-* in a CHOST often times triggers a program to build in 64-bit mode, which is not currently supported in Gentoo/SPARC
Comment 4 Jason Qualkenbush 2004-01-28 06:02:25 UTC
I have - CHOST="sparc-unknown-linux-gnu" in /etc/make.conf

I ran this command and let it run all night:
emerge gcc ; emerge -u system ; emerge php

emerge -u system included glibc and about 40 other packages.  There was still a compile error with qt-x11-free-3.2.3.  I ran "emerge -up system" and all files were up-to-date, so I assume all 40 packages compiled just fine.  Could this be a kernel problem?

oscar linux # uname -a
Linux oscar 2.4.23-sparc-r1 #6 SMP Sat Jan 10 19:04:20 EST 2004 sparc64 sun4u TI UltraSparc IIi (Sabre) GNU/Linux

This is an Ultra5, any other info I should send?

Error was:
G -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.2.3-r1/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qworkspace.o workspace/qworkspace.cpp
{standard input}: Assembler messages:
{standard input}:30258: Warning: partial line at end of file ignored
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[1]: *** [.obj/release-shared-mt/qfiledialog.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/qt-3.2.3-r1/work/qt-x11-free-3.2.3/src'
make: *** [sub-src] Error 2
 
!!! ERROR: x11-libs/qt-3.2.3-r1 failed.
!!! Function src_compile, Line 109, Exitcode 2
!!! (no error message)
Comment 5 Jason Wever (RETIRED) gentoo-dev 2004-02-21 19:39:45 UTC
Nothing overly sticks out at me.  I've added the Gentoo KDE team to the bug to see if they have any suggestions.

One thing I am noticing though is that you are running an SMP kernel on a UP box.  This probably won't cause problems but it isn't needed and could be taking up precious size in your kernel (depending on how your config is setup).
Comment 6 Alexander Henry 2004-05-02 11:36:55 UTC
Created attachment 30544 [details]
php doesn't compile with kerberos  support
Comment 7 Jason Wever (RETIRED) gentoo-dev 2004-05-22 17:00:17 UTC
Now that qt-3.3.1-r2 is stable on sparc, can you test that out and see if you still have problems compiling it?
Comment 8 Jason Qualkenbush 2004-06-07 18:34:05 UTC
Compiled clean.  Thanks!