| Summary: | emerge xfree results in "no rule to make target 'includes'" | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Henri Walter <hwPro> |
| Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
| Status: | RESOLVED INVALID | ||
| Severity: | critical | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
In the meantime I found out, that one of my DDR-RAM modules made problems when under temperature (Running the memtest from the gentoo boot-cd showed that). So, if the problem is not reproducable on the first run, that bug can be regarded as invalid. I'm really sorry about possible inconvenience. The idea to check for a RAM bug I had while suffering a segmentation fault in gcc while building Xorg-x11... ...let's just forget about that. |
This problem relates to defect 17102. When emerging xfree-4.3.0-r7 the compile stops rather early with the following output: ... [32;01m*[0m Building XFree86... Building XFree86 version 4.3.0.1 (15 August 2003). I hope you checked the configuration parameters in ./config/cf to see if you need to pass BOOTSTRAPCFLAGS. Sat Sep 25 12:19:00 CEST 2004 cd ./config/imake && make -f Makefile.ini BOOTSTRAPCFLAGS="" CC="gcc" clean ... ... make[1]: Entering directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc' Building XFree86 version 4.3.0.1 (15 August 2003). Building on Linux 2.6.7-hardened-r8 i686 [ELF] (2.6.7). Linux Distribution: Unknown libc version: 6.3.3 binutils version: 2.9 GCC version: 3.3 make[1]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc' make -f xmakefile Makefiles ... ... make[3]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc/include/DPS' make[2]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc/include' including in ./config... make[2]: Entering directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc/config' including in config/cf... make[3]: Entering directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc/config/cf' make[3]: Nothing to be done for `includes'. make[3]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc/config/cf' including in config/imake... make[3]: Entering directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc/config/imake' make[3]: Nothing to be done for `includes'. make[3]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc/config/imake' including in config/makedepend... make[3]: Entering directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc/config/makedepend' make[3]: Nothing to be done for `includes'. make[3]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc/config/makedepend' including in config/util... make[3]: Entering directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc/config/util' gcc -O2 -mcpu=athlon -pipe -ansi -pedantic -Wno-return-type -w -I../.. -I../../exports/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -c -o makestrs.o makestrs.c rm -f makestrs gcc -o makestrs -O2 -mcpu=athlon -pipe -ansi -pedantic -Wno-return-type -w makestrs.o -Wl,-rpath-link,../../exports/lib rm -f rman.c ln -s ../../extras/rman/rman.c rman.c rm -f rman.man ln -s ../../extras/rman/rman.1 rman.man make[3]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc/config/util' including in config/pswrap... make[3]: Entering directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc/config/pswrap' make[3]: Nothing to be done for `includes'. make[3]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc/config/pswrap' make[2]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc/config' including in ./lib... make[2]: Entering directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc/lib' including in lib/xtrans... make[3]: Entering directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc/lib/xtrans' + cd ../../exports/include/X11 + rm -f Xtrans.h + ln -s ../../../lib/xtrans/Xtrans.h . make[3]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc/lib/xtrans' including in lib/Xau... make[3]: Entering directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc/lib/Xau' + mkdir unshared + cd ../../exports/include/X11 + rm -f Xauth.h + ln -s ../../../lib/Xau/Xauth.h . make[3]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc/lib/Xau' including in lib/Xdmcp... make[3]: Entering directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc/lib/Xdmcp' + cd ../../exports/include/X11 + rm -f Xdmcp.h + ln -s ../../../lib/Xdmcp/Xdmcp.h . make[3]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc/lib/Xdmcp' including in lib/X11... make[3]: Entering directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc/lib/X11' + mkdir unshared + cd ../../exports/include/X11 + rm -f Xlib.h + ln -s ../../../lib/X11/Xlib.h . + rm -f Xresource.h + ln -s ../../../lib/X11/Xresource.h . + rm -f Xutil.h + ln -s ../../../lib/X11/Xutil.h . + rm -f cursorfont.h + ln -s ../../../lib/X11/cursorfont.h . + rm -f Xlibint.h + ln -s ../../../lib/X11/Xlibint.h . + rm -f Xcms.h + ln -s ../../../lib/X11/Xcms.h . + rm -f Xlocale.h + ln -s ../../../lib/X11/Xlocale.h . + rm -f XKBlib.h + ln -s ../../../lib/X11/XKBlib.h . rm -f x11trans.c ln -s ../../lib/xtrans/transport.c x11trans.c rm -f ximtrans.c ln -s ../../lib/xtrans/transport.c ximtrans.c rm -f AuDispose.c ln -s ../../lib/Xau/AuDispose.c AuDispose.c rm -f AuGetBest.c ln -s ../../lib/Xau/AuGetBest.c AuGetBest.c rm -f AuFileName.c ln -s ../../lib/Xau/AuFileName.c AuFileName.c rm -f AuRead.c ln -s ../../lib/Xau/AuRead.c AuRead.c rm -f ks_tables.h makekeys makekeys.o gcc -o makekeys -O2 -mcpu=athlon -pipe -ansi -pedantic -Wno-return-type -w -I../.. -I../../exports/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DMALLOC_0_RETURNS_NULL -DHAS_SNPRINTF -DLIBX11 -DPOSTLOCALELIBDIR=\"lib\" util/makekeys.c -lpthread -Wl,-rpath-link,../../exports/lib ./makekeys < ../../exports/include/X11/keysymdef.h > ks_tables_h mv -f ks_tables_h ks_tables.h rm -f makekeys makekeys.o ks_tables_h + cd ../../exports/include/X11 + rm -f Xlib.h + ln -s ../../../lib/X11/Xlib.h . + rm -f Xresource.h + ln -s ../../../lib/X11/Xresource.h . + rm -f Xutil.h + ln -s ../../../lib/X11/Xutil.h . + rm -f cursorfont.h + ln -s ../../../lib/X11/cursorfont.h . + rm -f Xlibint.h + ln -s ../../../lib/X11/Xlibint.h . + rm -f Xcms.h + ln -s ../../../lib/X11/Xcms.h . + rm -f Xlocale.h + ln -s ../../../lib/X11/Xlocale.h . + rm -f XKBlib.h + ln -s ../../../lib/X11/XKBlib.h . including in lib/X11/xlibi18n... make[4]: Entering directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc/lib/X11/xlibi18n' including in lib/X11/xlibi18n/lc... make[5]: Entering directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc/lib/X11/xlibi18n/lc' including in lib/X11/xlibi18n/lc/gen... make[6]: Entering directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc/lib/X11/xlibi18n/lc/gen' make[6]: *** No rule to make target `includes'. Stop. make[6]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc/lib/X11/xlibi18n/lc/gen' make[5]: *** [includes] Error 2 make[5]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc/lib/X11/xlibi18n/lc' make[4]: *** [includes] Error 2 make[4]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc/lib/X11/xlibi18n' make[3]: *** [includes] Error 2 make[3]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc/lib/X11' make[2]: *** [includes] Error 2 make[2]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc/lib' make[1]: *** [includes] Error 2 make[1]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r7/work/xc' make: *** [World] Error 2 !!! ERROR: x11-base/xfree-4.3.0-r7 failed. !!! Function src_compile, Line 606, Exitcode 2 !!! (no error message) Calculating dependencies ...done! ... Neither of the described solutions seem to work for me. My environment: $ gcc --version gcc (GCC) 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ make -v GNU Make 3.80 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ uname -a Linux darthmaul 2.6.7-hardened-r8 #5 Sun Sep 19 13:02:45 CEST 2004 i686 AMD Athlon(tm) XP 1800+ AuthenticAMD GNU/Linux $ cat /etc/make.conf | grep -v "^#" USE="X truetype alsa avi cdr cups divx4linux dvd ftp jabber java mpeg oggvorbis perl python scanner" CHOST="i686-pc-linux-gnu" CFLAGS="-O2 -mcpu=athlon -pipe" CXXFLAGS="${CFLAGS}" MAKEOPTS="-dkj 1" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://ftp.join.uni-muenster.de/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo" The relevant section with my changes in /usr/portage/x11-base/xfree/xfree-4.3.0-r7.ebuild: ... src_compile() { # Set MAKEOPTS to have proper -j? option .. >> #get_number_of_jobs >> unset MAKEOPTS >> unset MAKE_OPTS # Compile ucs2any C implementation (patch #9142) ebegin "Compiling ucs2any C implementation" cd ${S}/fonts/util gcc -Wall -o ucs2any ucs2any.c ... My emerge -u system was run about one week ago for the last time. Reproducible: Always Steps to Reproduce: 1. emerge xfree 2. 3. Actual Results: Make fails. It seems to be related with empty/zero-length Makefiles that are located at different directories under /var/tmp/portage/xfree-4.3.0-r7 A manual: $ ebuild /usr/portage/x11-base/xfree/xfree-4.3.0-r7.ebuild compile provides no other information Expected Results: Hmm. A successful compile would be great. Gentoo Base System version 1.4.16 Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.7-hardened-r8) ================================================================= System uname: 2.6.7-hardened-r8 i686 AMD Athlon(tm) XP 1800+ Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=athlon -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/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="-O2 -mcpu=athlon -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://ftp.join.uni-muenster.de/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo" MAKEOPTS="-dkj 1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups divx4linux dvd encode foomaticdb ftp gdbm gif gnome gpm gtk gtk2 imlib jabber java jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline scanner sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xprint xv zlib"