Summary: | arts 1.3.0 fails to compile (can't find qt) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | ta2002 <throw_away_2002> |
Component: | New packages | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED INVALID | ||
Severity: | critical | CC: | geriel |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
ta2002
2004-10-17 11:21:41 UTC
wow, never seen one like this before. do you find any other errors in the config.log? I have studied this some more, and it does seems like some more errors exist. I don't know if all of these represent errors, though. Unfortunately, the log file exceeds 160K. I have tried to only reproduce the relevant parts below: configure:3104: gcc -c -march=pentium3 -O3 -pipe conftest.c >&5 conftest.c:2: error: syntax error before "me" configure:3110: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif and configure:3351: checking how to run the C preprocessor configure:3386: gcc -E conftest.c configure:3392: $? = 0 configure:3424: gcc -E conftest.c conftest.c:11:28: ac_nonexistent.h: No such file or directory configure:3430: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:3531: gcc -E conftest.c conftest.c:11:28: ac_nonexistent.h: No such file or directory configure:3537: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:3922: g++ -c -O2 -mcpu=i686 -pipe conftest.cc >&5 conftest.cc: In function `int main()': conftest.cc:15: error: `exit' undeclared (first use this function) conftest.cc:15: error: (Each undeclared identifier is reported only once for each function it appears in.) configure:3928: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:5891: g++ -E conftest.cc conftest.cc:14:28: ac_nonexistent.h: No such file or directory configure:5897: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:5998: g++ -E conftest.cc conftest.cc:14:28: ac_nonexistent.h: No such file or directory configure:6004: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:7677: checking whether we are using the GNU Fortran 77 compiler configure:7691: -c conftest.F >&5 ./configure: line 1: -c: command not found configure:7697: $? = 127 configure: failed program was: | program main | #ifndef __GNUC__ | choke me | #endif | | end and configure:7729: checking whether accepts -g configure:7741: -c -g conftest.f >&5 ./configure: line 1: -c: command not found configure:7747: $? = 127 configure: failed program was: | program main | | end and configure:10592: checking for shl_load configure:10649: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SO URCE -DNDEBUG -O2 -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute conftest.c >&5 /var/tmp/portage/arts-1.3.0/temp/ccl053qd.o(.text+0x11): In function `main': : undefined reference to `shl_load' /var/tmp/portage/arts-1.3.0/temp/ccl053qd.o(.data+0x0): undefined reference to `shl_load' collect2: ld returned 1 exit status configure:10655: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:10685: checking for shl_load in -ldld configure:10715: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SO URCE -DNDEBUG -O2 -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute conftest.c -ldld >&5 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldld collect2: ld returned 1 exit status configure:10721: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:10752: checking for dlopen configure:10809: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SO URCE -DNDEBUG -O2 -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute conftest.c >&5 /var/tmp/portage/arts-1.3.0/temp/ccc2vA5f.o(.text+0x11): In function `main': : undefined reference to `dlopen' /var/tmp/portage/arts-1.3.0/temp/ccc2vA5f.o(.data+0x0): undefined reference to `dlopen' collect2: ld returned 1 exit status configure:10815: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:21989: checking for dld_link in -ldld configure:22019: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SO URCE -DNDEBUG -O2 -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute conftest.c -ldld >&5 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldld collect2: ld returned 1 exit status configure:22025: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:22384: checking dl.h usability configure:22396: gcc -c -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DND EBUG -O2 -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute conftest.c >&5 conftest.c:72:16: dl.h: No such file or directory configure:22402: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:22429: checking dl.h presence configure:22439: gcc -E conftest.c conftest.c:38:16: dl.h: No such file or directory configure:22445: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:22384: checking dld.h usability configure:22396: gcc -c -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DND EBUG -O2 -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute conftest.c >&5 conftest.c:72:17: dld.h: No such file or directory configure:22402: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:22439: gcc -E conftest.c conftest.c:38:17: dld.h: No such file or directory configure:22445: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:23161: checking for strlcat configure:23209: g++ -c -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall - W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -f no-common -pedantic-errors conftest.cc >&5 conftest.cc: In function `int main()': conftest.cc:54: error: `strlcat' undeclared (first use this function) conftest.cc:54: error: (Each undeclared identifier is reported only once for each function it appears in.) configure:23215: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:23382: checking for strlcpy configure:23429: g++ -c -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall - W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -f no-common -pedantic-errors conftest.cc >&5 conftest.cc: In function `int main()': conftest.cc:53: error: `strlcpy' undeclared (first use this function) conftest.cc:53: error: (Each undeclared identifier is reported only once for each function it appears in.) configure:23435: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:23662: checking for main in -lcompat configure:23686: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SO URCE -DNDEBUG -O2 -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute conftest.c -lcompat >&5 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lcompat collect2: ld returned 1 exit status configure:23692: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:24050: checking for dnet_ntoa in -ldnet configure:24080: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SO URCE -DNDEBUG -O2 -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute conftest.c -ldnet >&5 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldnet collect2: ld returned 1 exit status configure:24086: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:24119: checking for dnet_ntoa in -ldnet_stub configure:24149: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SO URCE -DNDEBUG -O2 -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute conftest.c -ldnet_stub >&5 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldnet_stub collect2: ld returned 1 exit status configure:24155: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:25144: checking for poll in -lpoll configure:25174: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SO URCE -DNDEBUG -O2 -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute conftest.c -lpoll >&5 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lpoll collect2: ld returned 1 exit status configure:25180: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:25224: checking CoreAudio/CoreAudio.h usability configure:25236: gcc -c -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DND EBUG -O2 -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute conftest.c >&5 conftest.c:83:33: CoreAudio/CoreAudio.h: No such file or directory configure:25242: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:25279: gcc -E conftest.c conftest.c:49:33: CoreAudio/CoreAudio.h: No such file or directory configure:25285: $? = 1 configure: failed program was: | /* confdefs.h. */ configure:25661: checking for killpg in -lucb configure:25691: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SO URCE -DNDEBUG -O2 -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute conftest.c -lucb >&5 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lucb collect2: ld returned 1 exit status configure:25697: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:27532: checking for shl_unload in -ldld configure:27562: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SO URCE -DNDEBUG -O2 -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute conftest.c -ldld >&5 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldld collect2: ld returned 1 exit status configure:27568: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:28519: checking crt_externs.h usability configure:28531: gcc -c -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DND EBUG -O2 -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute conftest.c >&5 conftest.c:92:25: crt_externs.h: No such file or directory configure:28537: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:28564: checking crt_externs.h presence configure:28574: gcc -E conftest.c conftest.c:58:25: crt_externs.h: No such file or directory configure:28580: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:28655: checking for _NSGetEnviron configure:28712: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SO URCE -DNDEBUG -O2 -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute conftest.c >&5 /var/tmp/portage/arts-1.3.0/temp/ccMABuug.o(.text+0x11): In function `main': : undefined reference to `_NSGetEnviron' /var/tmp/portage/arts-1.3.0/temp/ccMABuug.o(.data+0x0): undefined reference to `_NSGetEnviron' collect2: ld returned 1 exit status configure:28718: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:29723: checking sysent.h usability configure:29735: gcc -c -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DND EBUG -O2 -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute conftest.c >&5 conftest.c:102:20: sysent.h: No such file or directory configure:29741: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:29768: checking sysent.h presence configure:29778: gcc -E conftest.c conftest.c:68:20: sysent.h: No such file or directory configure:29784: $? = 1 configure: failed program was: | /* confdefs.h. */ configure:29723: checking socketbits.h usability configure:29735: gcc -c -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DND EBUG -O2 -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute conftest.c >&5 conftest.c:107:24: socketbits.h: No such file or directory configure:29741: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:29768: checking socketbits.h presence configure:29778: gcc -E conftest.c conftest.c:73:24: socketbits.h: No such file or directory configure:29784: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:29723: checking sigaction.h usability configure:29735: gcc -c -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DND EBUG -O2 -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute conftest.c >&5 conftest.c:107:23: sigaction.h: No such file or directory configure:29741: $? = 1 configure: failed program was: /* confdefs.h. */ and configure:29768: checking sigaction.h presence configure:29778: gcc -E conftest.c conftest.c:73:23: sigaction.h: No such file or directory configure:29784: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:29723: checking sys/mnttab.h usability configure:29735: gcc -c -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DND EBUG -O2 -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute conftest.c >&5 conftest.c:112:24: sys/mnttab.h: No such file or directory configure:29741: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:29768: checking sys/mnttab.h presence configure:29778: gcc -E conftest.c conftest.c:78:24: sys/mnttab.h: No such file or directory configure:29784: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:30203: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SO URCE -DNDEBUG -O2 -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute conftest.c -lXt >&5 conftest.c: In function `main': conftest.c:85: warning: implicit declaration of function `XtMalloc' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lXt collect2: ld returned 1 exit status configure:30209: $? = 1 configure: failed program was: | /* confdefs.h. */ and configure:31052: checking for libjpeg6b configure:31092: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SO URCE -DNDEBUG -O2 -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute -I/usr/X11R6/include -D_REENTRANT conftest.c -L/usr/X11R6/lib - ljpeg6b -lm >&5 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ljpeg6b collect2: ld returned 1 exit status configure:31098: $? = 1 configure: failed program was: | /* confdefs.h. */ Hope this helps. Let me know if you need anything else. Thanks. In your first message you cutted the instruction used to compile the qt test. I think this is useful to understand why it can't find the qt headers. I think that it's passed a bad some different -I/usr/include/qt/3 and my fear is that QTDIR is badly setted. Do you have also qt2 installed? I'll be interested to look at the full config.log instead of some pieces, can you send it to the kde herd (kde@gentoo.org) or at least to me (motaboy@gentoo.org)? I don't have qt2 (the machine represents a brand new install, and I had no reason for it). I will send the log file. $ ./configure --enable-alsa --enable-vorbis --enable-libmad --disable-jack --host=i686-pc-linux-gnu --prefix=/usr/kde/3.3 --with-x --enable-mitshm --with-xinerama --with-qt-dir= --enable-mt --disable-dependency-tracking --disable-debug --without-debug --with-arts --libdir=${exec_prefix}/lib For a strange reason QTDIR isn't setted: --with-qt-dir= Do you have /etc/env.d/50qtdir3 ? (it's installed with the QTs) and if yes, can you post it? If it's not installed you should try reinstalling are you sure it's not something like what's happening in Bug #67166? I was experiencing the same problem, so on the advice of Bug #67166 I re-compiled qt-3.3.3-r1. Once that was complete the emerge of arts succeeded. Thank you for the responses: I do NOT have /etc/env.d/50qtdir3 (or /etc/env.d/45qt3 that I found in another Gentoo machine). qpkg -l qt only shows the directories /etc /etc/env.d and not those two files I have already reinstalled qt once: # ls -al /var/log/portage/*qt* -rw-rw-r-- 1 root portage 636784 2004-10-15 10:00:45 /var/log/portage/1978-qt-3.3.3.log -rw-rw-r-- 1 root portage 9 2004-10-15 10:00:46 /var/log/portage/1979-qt-3.3.3.log -rw-rw-r-- 1 root portage 636784 2004-10-17 02:08:51 /var/log/portage/1987-qt-3.3.3.log -rw-rw-r-- 1 root portage 22 2004-10-17 02:08:54 /var/log/portage/1988-qt-3.3.3.log I certainly don't mind doing it again (especially if it will solve the problem :) ), but before I do, do you want me to watch for anything? This doesn't seem related to bug 67166 (at least to me), as I have qt 3.3.3 (not 3.3.3-r1), and the stable version of glibc: # qpkg -I -v glibc sys-libs/glibc-2.3.4.20040808-r1 * This is very strange, has these 2 files must be installed by the qt ebuild. from scr_install(): # misc insinto /etc/env.d doins ${FILESDIR}/{45qt3,50qtdir3} I can't understand why they aren't installed. You can try upgrading you portage to 2.0.50-r11 as the was removed for some bugs (the -k one) and try installing the QT again. Probably someone more expert has some better ideas. Found it (a big case of user stupidity). :( The third install didn't work either, but I finally started looking in the correct place (thank you Simone for virtually pointing it out to me). I will omit the details, but basically those files didn't exist in the portage tree. Perhaps (a rationalization) portage should die when it can't find files that should exist. Then I would have noticed what I did right away. Time to disappear for a while. Sorry to waste every one's time. |