Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25367 - all versions of qt fail while compiling
Summary: all versions of qt fail while compiling
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-27 06:19 UTC by madwurst
Modified: 2003-07-28 14:05 UTC (History)
1 user (show)

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 madwurst 2003-07-27 06:19:32 UTC
_all_ versions of qt fail while compiling:

g++ -c -o qiodevice.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Ige
nerators/mac -I/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/include/qmake
 -I/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/include -I/var/tmp/portag
e/qt-3.1.2-r3/work/qt-x11-free-3.1.2/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETA
BLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/var/tmp/portage/qt-3.1.2-
r3/work/qt-x11-free-3.1.2/mkspecs/linux-g++ /var/tmp/portage/qt-3.1.2-r3/work/qt
-x11-free-3.1.2/src/tools/qiodevice.cpp
g++ -c -o qglobal.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igene
rators/mac -I/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/include/qmake -
I/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/include -I/var/tmp/portage/
qt-3.1.2-r3/work/qt-x11-free-3.1.2/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABL
ES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/var/tmp/portage/qt-3.1.2-r3
/work/qt-x11-free-3.1.2/mkspecs/linux-g++ /var/tmp/portage/qt-3.1.2-r3/work/qt-x
11-free-3.1.2/src/tools/qglobal.cpp
In file included from /var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/src/to
ols/qglobal.cpp:38:
/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/mkspecs/linux-g++/qplatformd
efs.h:58:26: arpa/nameser.h: No such file or directory
In file included from /var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/mkspec
s/linux-g++/qplatformdefs.h:59,
                 from /var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/src/to
ols/qglobal.cpp:38:
/usr/include/resolv.h:65:27: arpa/nameser.h: No such file or directory
gmake: *** [qglobal.o] Error 1
qmake failed to build. Aborting.

!!! ERROR: x11-libs/qt-3.1.2-r3 failed.
!!! Function src_compile, Line 115, Exitcode 2
!!! (no error message)


As I said it's the same thing with the other versions.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




bash-2.05b# emerge info
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gaming-r3 i686 AMD Athlon(tm) XP 1800+
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 crypt foomaticdb zlib gdbm berkdb slang esd -gnome mmx 3dnow pda
gphoto2 cups X directfb qtmt mikmod tetex gd apm acpi dga opengl xv kde qt arts
gtk gtkhtml gtk2 motif tcltk aalib imlib ncurses readline sdl svga lcms gif jpeg
png tiff avi mpeg quicktime alsa oss ggi dvd xmms oggvorbis flash java encode
snmp pam ssl crzpt socks5 imap ldap tcpd mozilla spell truetype xml xml2 pdflib
perl python libwww libg++ mysql samba nls doc gpm acl cdr dedicated mad joystick
prelude scanner usb ethereal xinerama"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2003-07-27 13:21:32 UTC
Do you have the file /usr/include/arpa/nameser.h on your system? 
 
 
Comment 2 madwurst 2003-07-27 13:40:31 UTC
no
Comment 3 Patrick Kursawe (RETIRED) gentoo-dev 2003-07-27 23:45:01 UTC
Which glibc version are you using? On my system the glibc package provides this file.
Comment 4 madwurst 2003-07-28 02:48:50 UTC
I didn't know how to figure it out so I tried emerge glibc again (#emerge glibc), but there I also get an error (glibc-2.3.2-r1):

echo '' > /var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/catgets/stamp.oST
mv -f /var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/catgets/stamp.oST /var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/catgets/stamp.oS
echo 'catgets/catgets.o catgets/open_catalog.o' > /var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/catgets/stamp.oT
mv -f /var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/catgets/stamp.oT /var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/catgets/stamp.o
echo 'catgets/catgets.os catgets/open_catalog.os' > /var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/catgets/stamp.osT
mv -f /var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/catgets/stamp.osT /var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/catgets/stamp.os
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/catgets'
make -j2 -C math subdir_lib
make[2]: Entering directory `/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/math'
.././scripts/mkinstalldirs /var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/math
mkdir /var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/math
/usr/bin/perl gen-libm-test.pl -u ../sysdeps/i386/fpu/libm-test-ulps -o "/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/math/"
Can't locate strict.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i586-linux /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i586-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i586-linux /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at gen-libm-test.pl line 44.
BEGIN failed--compilation aborted at gen-libm-test.pl line 44.
make[2]: *** [/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/math/libm-test.stmp] Error 2
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/math'
make[1]: *** [math/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.2-r1 failed.
!!! Function src_compile, Line 417, Exitcode 2
!!! (no error message)




so I tried the rc3 with ACCEPT_KEYWORDS="~x86" (masked).
It also fails:

make[2]: Entering directory `/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/math'
.././scripts/mkinstalldirs /var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/math
.././scripts/mkinstalldirs /var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/math
mkdir /var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/math
/usr/bin/perl gen-libm-test.pl -u ../sysdeps/i386/fpu/libm-test-ulps -o "/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/math/"
.././scripts/mkinstalldirs /var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/math
echo '' > /var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/math/stamp.oST
mv -f /var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/math/stamp.oST /var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/math/stamp.oS
Can't locate strict.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i586-linux /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i586-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i586-linux /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at gen-libm-test.pl line 44.
BEGIN failed--compilation aborted at gen-libm-test.pl line 44.
make[2]: *** [/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/math/libm-test.stmp] Error 2
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/math'
make[1]: *** [math/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.2-r3 failed.
!!! Function src_compile, Line 442, Exitcode 2
!!! (no error message)
Comment 5 Patrick Kursawe (RETIRED) gentoo-dev 2003-07-28 03:15:59 UTC
Which perl version do you have?
Comment 6 madwurst 2003-07-28 05:33:57 UTC
5.8.0-r10 ...but here some sort of strange code again :) :

bash-2.05b# per
perl       perl5.8.0  perlbug    perlcc     perldl     perldoc    perlivp    perror     
bash-2.05b# emerge -p perl

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[blocks B    ] <dev-perl/ExtUtils-MakeMaker-6.05-r6 (from pkg dev-lang/perl-5.8.0-r12)
[blocks B    ] <dev-perl/Test-Simple-0.47-r1 (from pkg dev-lang/perl-5.8.0-r12)
[blocks B    ] <dev-perl/File-Spec-0.84-r1 (from pkg dev-lang/perl-5.8.0-r12)
[ebuild    U ] dev-lang/perl-5.8.0-r12 [5.8.0-r10] 

bash-2.05b# emerge perl
Calculating dependencies ...done!

!!! Error: the <dev-perl/ExtUtils-MakeMaker-6.05-r6 package conflicts with this package and both can't be installed on the same system together.
bash-2.05b# 
Comment 7 Patrick Kursawe (RETIRED) gentoo-dev 2003-07-28 05:43:28 UTC
emerge unmerge ExtUtils-MakeMaker Test-Simple File-Spec
then update perl.
Comment 8 madwurst 2003-07-28 12:27:19 UTC
Thanks!! That's it!
- updating perl
- updating glibc
- emerge qt
...and everything runs fine :)
Comment 9 Caleb Tennis (RETIRED) gentoo-dev 2003-07-28 14:05:33 UTC
not a qt bug