the ebuild for jam 2.4 does not build on my system. Looking carefully at it, the Makefile assumes that there is a compiler named cc and that . is in the PATH. Here is my patch to make it work: --- Makefile 2002-03-20 18:39:47.000000000 +0100 +++ /root/jam-Makefile.phil 2003-03-02 21:07:19.000000000 +0100 @@ -1,6 +1,6 @@ # Makefile for jam -CC = cc +CC = gcc TARGET = -o jam0 CFLAGS = @@ -65,7 +65,7 @@ rules.c scan.c search.c timestamp.c variable.c all: jam0 - jam0 + ./jam0 jam0: $(CC) $(TARGET) $(CFLAGS) $(SOURCES) $(LINKLIBS) Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.47-r6 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2) ================================================================= System uname: 2.4.19-gentoo-r9 i686 Pentium III (Coppermine) GENTOO_MIRRORS="http://ftp.tu-clausthal.de/pub/linux/gentoo/ http://mirrors.sunsite.dk/gentoo/ http://www.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/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/init.d /etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 3dnow apm avi crypt gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline arts tetex svga tcltk guile X sdl tcpd pam libwww ssl perl python imlib oggvorbis gtk qt kde motif scanner bonobo dvd encode -esd evo flash ggz gpm -gnome gphoto2 java libgda mozilla nas opengl oss usb cups alsa" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j3" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache userpriv usersandbox"
It works here no problem. PLease include a build log. -------------------------------------- >>> Unpacking source... >>> Unpacking jam-2.4.zip to /space/var/tmp/portage/jam-2.4/work >>> Source unpacked. cc -o jam0 builtins.c command.c compile.c execunix.c execvms.c expand.c filent.c fileos2.c fileunix.c filevms.c glob.c hash.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c newstr.c option.c parse.c pathunix.c pathvms.c regexp.c rules.c scan.c search.c timestamp.c variable.c jam0 ...found 204 target(s)... ...updating 33 target(s)... MkDir1 bin.linuxx86 Cc bin.linuxx86/builtins.o Cc bin.linuxx86/command.o Cc bin.linuxx86/compile.o Cc bin.linuxx86/execunix.o Cc bin.linuxx86/fileunix.o Cc bin.linuxx86/pathunix.o Yacc1 jamgram.c jamgram.h YaccMv jamgram.c jamgram.h Cc bin.linuxx86/jamgram.o Cc bin.linuxx86/expand.o Cc bin.linuxx86/glob.o Cc bin.linuxx86/hash.o Cc bin.linuxx86/headers.o Cc bin.linuxx86/lists.o Cc bin.linuxx86/make.o Cc bin.linuxx86/make1.o Cc bin.linuxx86/newstr.o Cc bin.linuxx86/option.o Cc bin.linuxx86/parse.o Cc bin.linuxx86/regexp.o Cc bin.linuxx86/rules.o Cc bin.linuxx86/scan.o Cc bin.linuxx86/search.o Cc bin.linuxx86/timestamp.o Cc bin.linuxx86/variable.o Archive bin.linuxx86/libjam.a Ranlib bin.linuxx86/libjam.a Cc bin.linuxx86/mkjambase.o Link bin.linuxx86/mkjambase Chmod1 bin.linuxx86/mkjambase Cc bin.linuxx86/jam.o GenFile1 jambase.c Cc bin.linuxx86/jambase.o jambase.c:4:1: warning: multi-line string literals are deprecated ... jambase.c:3074:1: warning: multi-line string literals are deprecated Link bin.linuxx86/jam Chmod1 bin.linuxx86/jam ...updated 33 target(s)... >>> Install jam-2.4 into /space/var/tmp/portage/jam-2.4/image/ category dev-util ...found 209 target(s)... ...updating 3 target(s)... MkDir1 /space/var/tmp/portage/jam-2.4/image//usr MkDir1 /space/var/tmp/portage/jam-2.4/image//usr/bin Install /space/var/tmp/portage/jam-2.4/image//usr/bin/jam Chmod1 /space/var/tmp/portage/jam-2.4/image//usr/bin/jam ...updated 3 target(s)... man: strip: /space/var/tmp/portage/jam-2.4/image//usr/bin/jam >>> Completed installing into /space/var/tmp/portage/jam-2.4/image/ >>> Merging dev-util/jam-2.4 to / --- /usr/ --- /usr/bin/ >>> /usr/bin/jam --- /usr/share/ --- /usr/share/doc/ >>> /usr/share/doc/jam-2.4/ >>> /usr/share/doc/jam-2.4/html/ >>> /usr/share/doc/jam-2.4/html/Jam.html >>> /usr/share/doc/jam-2.4/html/Jambase.html >>> /usr/share/doc/jam-2.4/html/Jamfile.html >>> /usr/share/doc/jam-2.4/README.gz >>> /usr/share/doc/jam-2.4/RELNOTES.gz >>> /usr/share/doc/jam-2.4/Porting.gz >>> Regenerating /etc/ld.so.cache... >>> dev-util/jam-2.4 merged. >>> Recording dev-util/jam in "world" favorites file... dev-util/jam selected: none protected: 2.4 omitted: none >>> clean: No packages selected for removal. >>> Regenerating /etc/ld.so.cache... >>> Auto-cleaning packages ... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date.
I had a problem with my gcc installation and did not have the /usr/bin/cc program. So compiling with just "cc" did not work for me. It is fixed now so please mark this bug as fixed.
closing