Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 16693

Summary: emerge xfree fails in compilation with 20030301 portage snapshot
Product: Gentoo Linux Reporter: Manuel Baptista <mbaptist>
Component: Current packagesAssignee: Martin Schlemmer (RETIRED) <azarah>
Status: RESOLVED DUPLICATE    
Severity: critical CC: mholzer
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Manuel Baptista 2003-03-02 18:04:34 UTC
Compilation aborts:

cleaning in ./include...
make[2]: Entering directory `/var/tmp/portage/xfree-4.2.1-r2/work/xc/include'
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log
MakeOut   "#"*
cleaning in include/bitmaps...
make[3]: Entering directory
`/var/tmp/portage/xfree-4.2.1-r2/work/xc/include/bitmaps'
make[3]: *** No rule to make target `clean'.  Stop.
make[3]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r2/work/xc/include/bitmaps'
make[2]: *** [clean] Error 2
make[2]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r2/work/xc/include'
make[1]: *** [clean] Error 2
make[1]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r2/work/xc'
make: *** [World] Error 2

!!! ERROR: x11-base/xfree-4.2.1-r2 failed.
!!! Function src_compile, Line 330, Exitcode 2
!!! (no error message)





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

Actual Results:  
The Packages were downloaded
The packages were decompressed and patched
The compilation began
The compilation aborted

Expected Results:  
The packege is expected to compile compile and get merged!

Portage 2.0.47-r7 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 AMD Athlon(TM) XP 2100+
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/
http://mirrors.twobit.net/gentoo/ http://gentoo.oregonstate.edu/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/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 oss 3dnow apm arts avi crypt cups encode gif imlib java jpeg kde libg++
mikmod mmx motif mpeg ncurses nls oggvorbis opengl pdflib png quicktime sdl
spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline gpm tcpd pam
libwww ssl perl python esd X gtk gnome alsa qt"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-xp -march=athlon-xp -O3 -pipe"
CXXFLAGS="-mcpu=athlon-xp -march=athlon-xp -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-03-02 18:20:07 UTC
*** Bug 16696 has been marked as a duplicate of this bug. ***
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-03-02 18:21:45 UTC
*** Bug 16694 has been marked as a duplicate of this bug. ***
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2003-03-02 18:21:56 UTC
*** Bug 16695 has been marked as a duplicate of this bug. ***
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-03-12 17:39:23 UTC
is this still a issue ?
Comment 5 Michael Högler 2003-03-13 19:08:02 UTC
Got the same prob:

Portage 2.0.47-r8 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz
GENTOO_MIRRORS="http://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://distro.ibiblio.org/gentoo "
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/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 mmx 3dnow aalib acl acpi afs alsa apm arts avi berkdb bonobo canna cdr cjk crypt cups dga directfb doc dvb dvd encode esd ethereal evo fbcon flash freewnn gb gd gdbm ggi gif gnome gphoto2 gpm gtk gtkhtml guile imap imlib innodb java jpeg junit kde kerberos lcms ldap leim libg++ libgda libwww lirc mbox mikmod motif mozilla mpeg mule mysql nas ncurses nls oav odbc oggvorbis opengl oss pam pdflib perl pic png postgres python qt quicktime readline samba sasl scanner sdl slang slp snmp socks5 spell ssl svga tcltk tcpd tetex tiff truetype usb wmf X xface xml2 xmms xv zeo zlib"
COMPILER="gcc3"
CHOST="i586-pc-linux-gnu"
CFLAGS="-O3 -mcpu=i586 -pipe -fomit-frame-pointer"
CXXFLAGS="-O3 -mcpu=i586 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"

when compiling xfree
--------------------
>>> emerge (1 of 1) x11-base/xfree-4.2.1-r2 to /
...
make[3]: Entering directory `/var/tmp/portage/xfree-4.2.1-r2/work/xc/doc'
make[3]: xmakefile: No such file or directory
make[3]: *** No rule to make target `xmakefile'.  Stop.
make[3]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r2/work/xc/doc'
make[2]: [Makefiles] Error 2 (ignored)
make[2]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r2/work/xc/doc'
make[1]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r2/work/xc'
/usr/bin/make -f xmakefile  BOOTSTRAPSUBDIRS= clean
make[1]: Entering directory `/var/tmp/portage/xfree-4.2.1-r2/work/xc'
rm -f -r ./exports/include
rm -f -r ./exports/lib
rm -f -r ./exports/bin
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut   "#"*
cleaning in ./include...
make[2]: Entering directory `/var/tmp/portage/xfree-4.2.1-r2/work/xc/include'
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut   "#"*
cleaning in include/bitmaps...
make[3]: Entering directory `/var/tmp/portage/xfree-4.2.1-r2/work/xc/include/bitmaps'
make[3]: *** No rule to make target `clean'.  Stop.
make[3]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r2/work/xc/include/bitmaps'
make[2]: *** [clean] Error 2
make[2]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r2/work/xc/include'
make[1]: *** [clean] Error 2
make[1]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r2/work/xc'
make: *** [World] Error 2

(an ebuild /usr/portage/x11-base/xfree/xfree-4.2.1-r2.ebuild compile 
leads to the same error)

but when 
---------
cd /var/tmp/portage/xfree-4.2.1-r2/work/xc
make Wolrd

all seems to compile.
unfortunatley an ebuild  /usr/portage/x11-base/xfree/xfree-4.2.1-r2.ebuild install tries to
recompile all and leads again to the error ...



As I am am a complete newbie to gentoo I m not sure, if my examinations are useful.

I found, then the Makefile should have done a make Makefile in all subdirs, but
in /var/tmp/portage/xfree-4.2.1-r2/work/xc/include/bitmaps was the Makefile NOT generated.
Even manipulating the /usr/portage/x11-base/xfree/xfree-4.2.1-r2.ebuild not to || die did and calling
a "make World" did not help.
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-13 23:51:46 UTC

*** This bug has been marked as a duplicate of 17102 ***