Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26651 - gtoaster ebuild goes into loop, then errors out
Summary: gtoaster ebuild goes into loop, then errors out
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
: 32635 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-08-14 18:22 UTC by Simon Branton-Housley
Modified: 2004-01-29 10:15 UTC (History)
3 users (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 Simon Branton-Housley 2003-08-14 18:22:29 UTC
when building gtoaster 1.0beta6, it gets to Creating Makefile, then loops over
and over, eventually stopping with a too many files open error.  Below is the
begining of the emerge output:

 >>> Unpacking source...
>>> Unpacking gtoaster1.0Beta6.tgz to /var/tmp/portage/gtoaster-1.0_beta6/work
patching file cddrives.c
patching file gtoasterr
>>> Source unpacked.
nls
esd
oss
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for strerror in -lcposix... no
checking for a BSD-compatible install... /bin/install -c
checking whether ln -s works... yes
checking for i686-pc-linux-gnu-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes 
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yeschecking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking linux/ucdrom.h usability... no
checking linux/ucdrom.h presence... no
checking for linux/ucdrom.h... no
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for mkdir... yes
checking for rmdir... yes
checking for strstr... yes
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking for gnome-config... /usr/bin/gnome-config
*** FOUND GNOME ***
no
checking for orbit-config... /usr/bin/orbit-config
*** FOUND ORBIT ***
no
checking for esd-config... /usr/bin/esd-config
*** FOUND ESD (enlightenment sound daemon) ***
yes
compiling enlightenment sound support.
*** open sound system header file detected ***
yes
compiling oss sound support.
*** Pthread header file detected,compiling with pthreads support ***
compiling pthreads support.
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking build system type...
checking host system type...
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes

checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes  
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getc_unlocked... yes
checking for getcwd... yes
checking for getegid... yeschecking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft,
char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 1.35, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
configure: creating ./config.status
config.status: creating Makefile  
config.status: creating m4/Makefile
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating po/Makefile.in
config.status: creating gtoaster.spec
config.status: creating intl/Makefile  
config.status: creating config.h
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: creating po/POTFILES 
config.status: creating po/Makefile
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing default commands
<------------------ repeats this over and over --------------------->
cd . \
  && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating Makefile
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: executing default commands
<------------------ repeats this over and over --------------------->
Comment 1 Nick Hadaway 2003-08-17 14:05:47 UTC
can you paste on the bug the output of "emerge info"
I don't experience the same problem.
Comment 2 Simon Branton-Housley 2003-08-17 21:54:09 UTC
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.6.0-test3 i686 AMD Athlon(tm) XP 1900+
GENTOO_MIRRORS="http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://www.ibiblio.org/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/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/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 avi crypt cups foomaticdb libg++ mad mikmod nls pdflib quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts aalib svga sdl gpm tcpd pam libwww ssl perl python imlib qt motif gphoto2 X gtk -gnome -kde alsa acpi cdr directfb encode esd gif gtk2 imap java jpeg mmx mozilla mpeg mysql ncurses oggvorbis opengl png samba tcltk"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -funroll-loops -fprefetch-loop-arrays -pipe"
CXXFLAGS="-march=athlon-xp -O2 -funroll-loops -fprefetch-loop-arrays -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 3 Max 2003-08-27 08:04:44 UTC
Has a sollution to this probleem been found in the meanwhile? I am experiencing the exact same problem as the reporter
Comment 4 John Youells 2003-10-12 07:55:59 UTC
Same error here -  
CX686 root # emerge --info
Portage 2.0.49-r10 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1,
2.6.0-test6-mm4)=================================================================
System uname: 2.6.0-test6-mm4 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.4.3.10
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
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/gconf /etc/env.d"
CXXFLAGS="-march=athlon -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox ccache fixpackages"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt encode foomaticdb gif jpeg libg++ mad mikmod mpeg
nls pdflib png quicktime spell xml2 xv zlib gdbm berkdb slang readline arts
bonobo svga java guile sdl gpm tcpd pam libwww ssl perl python esd imlib
oggvorbis gnome qt kde motif opengl mozilla cdr scanner X gtk gtk2 -xmms
3dnow 3dfx voodoo3 matrox truetype bindist prebuilt cups alsa tcltk ncurses
video_cards_3dfx video_cards_matrox video_cards_radeon"
Comment 5 Rafael Lukas Moe 2003-10-18 05:06:08 UTC
I had the same error as you guys, but when I booted with a 2.4.x-kernel it
compiled fine. Has to be something there... 
Comment 6 Nick Hadaway 2003-10-18 10:54:38 UTC
okay... here's the deal.

even though you are running 2.6 kernels... you aren't compiling any programs
against the 2.6 headers... 

/usr/include/linux and /usr/include/asm are headers from a modified 2.4.19
kernel so this is most likely where the problem is.  If you run a 2.4 kernel
you should have no problems.

The other fun way to go about this is to rebuild your system against the
2.6 headers (which may or may not work).

mv /usr/include/asm /usr/include/asm-2.4
mv /usr/include/linux /usr/include/linux-2.4
ln -s /usr/src/linux-2.6.0-whatever/include/asm /usr/include/asm
ln -s /usr/src/linux-2.6.0-whatever/include/asm-generic /usr/include/asm-generic
ln -s /usr/src/linux-2.6.0-whatever/include/linux /usr/include/linux
emerge -e world
emerge gtoaster

You might just want to run the 2.4 kernel. :)
Comment 7 Nicolai Lissner 2003-12-04 14:39:24 UTC
no problems here with that ebuild.
and I'm using kernel-2.6.0-test11, too. 
So there is no relation to the kernel-version.
Comment 8 Surakshan Mendis 2003-12-14 05:40:33 UTC
I'm on the 2.6test11 kernel and it won't build,
Why is it just this software? IS there any fix yet?
Comment 9 Darrell Bellerive 2003-12-22 09:16:58 UTC
I get the same error on a system running gentoo-sources-2.4.20-r9. I don't think this is kernel related.
Comment 10 Thomas Herzog 2003-12-25 13:43:35 UTC
Same error here, running 2.6.0
Comment 11 Josh Hurtado 2003-12-26 10:01:22 UTC
Problem still occurs. Ebaild will go into loop and will never stop (until error). 
You can see a thread of people having this same problem at http://forums.gentoo.org/viewtopic.php?t=67048
Comment 12 Simon Branton-Housley 2004-01-13 16:32:51 UTC
opeing bug.  problem is still happing
Comment 13 Nick Hadaway 2004-01-23 21:29:18 UTC
*** Bug 32635 has been marked as a duplicate of this bug. ***
Comment 14 Brad House 2004-01-29 10:15:06 UTC
I had the same problem, so I fixed it ...
up your sync and try again.
-Brad