ERROR : sys-boot/grub-0.97-r9 failed. call stack : ebuild.sh, line 49: called src_compile environtment, line 4003 : called die The specific snippet of code : emake || die "making regular stuff" The die message : making regular stuff Reproducible: Always
Please include emerge --info sys-boot/grub thanks
And the build.log
(In reply to comment #2) > And the build.log > aspan@server1:/media/ASPANSMKTI$ cat build.log >>> Unpacking source... >>> Unpacking grub-0.97.tar.gz to /var/tmp/portage/sys-boot/grub-0.97-r9/work >>> Unpacking splash.xpm.gz to /var/tmp/portage/sys-boot/grub-0.97-r9/work >>> Unpacking grub-0.97-patches-1.9.tar.bz2 to /var/tmp/portage/sys-boot/grub-0.97-r9/work * Grub will support the default maximum kernel size of 3 Mb (GRUB_MAX_KERNEL_SIZE) * Applying various patches (bugfixes/updates) ... * 001_all_grub-0.95.20040823-splash.patch ... [ ok ] * 003_all_grub-0.97-example-rescue-shell.patch ... [ ok ] * 005_all_grub-0.96-PIC.patch ... [ ok ] * 008_all_grub-0.97-AM_PROG_AS.patch ... [ ok ] * 010_all_grub-0.96-bounced-checks.patch ... [ ok ] * 015_all_grub-0.96-unsigned-addresses.patch ... [ ok ] * 016_all_grub-0.97-multiboot-memory-amount.patch ... [ ok ] * 040_all_grub-0.96-nxstack.patch ... [ ok ] * 060_all_grub-0.96-netboot-pic.patch ... [ ok ] * 070_all_grub-0.97-initrd_max_address.patch ... [ ok ] * 090_all_grub-0.97-intelmac.patch ... [ ok ] * 100_all_grub-0.97-splashimage-example.patch ... [ ok ] * 110_all_grub-0.97-ptable-fix.patch ... [ ok ] * 550_all_grub-0.97-long-commandline.patch ... [ ok ] * 600_all_grub-0.97-gpt-partition-table.patch ... [ ok ] * 700_all_grub-0.97-grub-install_addsyncs.patch ... [ ok ] * 710_all_grub-0.97-grub-install_regexp.patch ... [ ok ] * 720_all_grub-0.97-grub-install_aoe_support.patch ... [ ok ] * 800_all_grub-0.97-crossreference_manpages.patch ... [ ok ] * 810_all_grub-0.97-ext3_256byte_inode.patch ... [ ok ] * 820_all_grub-0.97-cvs-sync.patch ... [ ok ] * 821_all_grub-0.97-grub-special_device_names.patch ... [ ok ] * 822_all_grub-0.97-geometry-26kernel.patch ... [ ok ] * 830_all_grub-0.97-raid_cciss.patch ... [ ok ] * 850_all_grub-0.97_ext4.patch ... [ ok ] * Done with patching * Running eautoreconf in '/var/tmp/portage/sys-boot/grub-0.97-r9/work/grub-0.97' ... * Running aclocal ... [ ok ] * Running autoconf ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy ... [ ok ] >>> Source unpacked in /var/tmp/portage/sys-boot/grub-0.97-r9/work >>> Compiling source in /var/tmp/portage/sys-boot/grub-0.97-r9/work/grub-0.97 ... * econf: updating grub-0.97/config.guess with /usr/share/gnuconfig/config.guess * econf: updating grub-0.97/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/lib --datadir=/usr/lib/grub --exec-prefix=/ --disable-auto-linux-mem-opt --with-curses checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking whether to enable maintainer-specific portions of Makefiles... no checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc checking for C compiler default output file name... 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 i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking whether optimization for size works... yes checking whether gcc has -fno-stack-protector... yes checking whether -Wundef works... yes checking whether -falign-loops works... yes checking whether linker accepts `--build-id=none'... yes checking for i686-pc-linux-gnu-objcopy... i686-pc-linux-gnu-objcopy checking if C symbols get an underscore after compilation... no checking whether i686-pc-linux-gnu-objcopy works for absolute addresses... (cached) yes checking whether addr32 must be in the same line as the instruction... yes checking for .code16 addr32 assembler support... yes checking whether an absolute indirect call/jump must not be prefixed with an asterisk... no checking if start is defined by the compiler... no checking if _start is defined by the compiler... yes checking if __bss_start is defined by the compiler... yes checking if _edata is defined by the compiler... yes checking if edata is defined by the compiler... yes checking if end is defined by the compiler... yes checking if _end is defined by the compiler... yes checking for opendisk in -lutil... no checking for wgetch in -lncurses... yes checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... 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... yes checking for unistd.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking ncurses/curses.h usability... no checking ncurses/curses.h presence... no checking for ncurses/curses.h... no checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating stage1/Makefile config.status: creating stage2/Makefile config.status: creating docs/Makefile config.status: creating lib/Makefile config.status: creating util/Makefile config.status: creating grub/Makefile config.status: creating netboot/Makefile config.status: creating util/grub-image config.status: creating util/grub-install config.status: creating util/grub-md5-crypt config.status: creating util/grub-terminfo config.status: creating util/grub-set-default config.status: creating config.h config.status: executing depfiles commands make -J2 make: invalid option -- 'J' make: invalid option -- '2' Usage: make [options] [target] ... Options: -b, -m Ignored for compatibility. -B, --always-make Unconditionally make all targets. -C DIRECTORY, --directory=DIRECTORY Change to DIRECTORY before doing anything. -d Print lots of debugging information. --debug[=FLAGS] Print various types of debugging information. -e, --environment-overrides Environment variables override makefiles. -f FILE, --file=FILE, --makefile=FILE Read FILE as a makefile. -h, --help Print this message and exit. -i, --ignore-errors Ignore errors from commands. -I DIRECTORY, --include-dir=DIRECTORY Search DIRECTORY for included makefiles. -j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg. -k, --keep-going Keep going when some targets can't be made. -l [N], --load-average[=N], --max-load[=N] Don't start multiple jobs unless load is below N. -L, --check-symlink-times Use the latest mtime between symlinks and target. -n, --just-print, --dry-run, --recon Don't actually run any commands; just print them. -o FILE, --old-file=FILE, --assume-old=FILE Consider FILE to be very old and don't remake it. -p, --print-data-base Print make's internal database. -q, --question Run no commands; exit status says if up to date. -r, --no-builtin-rules Disable the built-in implicit rules. -R, --no-builtin-variables Disable the built-in variable settings. -s, --silent, --quiet Don't echo commands. -S, --no-keep-going, --stop Turns off -k. -t, --touch Touch targets instead of remaking them. -v, --version Print the version number of make and exit. -w, --print-directory Print the current directory. --no-print-directory Turn off -w, even if it was turned on implicitly. -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE Consider FILE to be infinitely new. --warn-undefined-variables Warn when an undefined variable is referenced. This program built for i686-pc-linux-gnu Report bugs to <bug-make@gnu.org> * * ERROR: sys-boot/grub-0.97-r9 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4003: Called die * The specific snippet of code: * emake || die "making regular stuff" * The die message: * making regular stuff * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-boot/grub-0.97-r9/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-0.97-r9/temp/environment'. *
(In reply to comment #3) > (In reply to comment #2) > > And the build.log > > > > aspan@server1:/media/ASPANSMKTI$ cat build.log > >>> Unpacking source... > >>> Unpacking grub-0.97.tar.gz to /var/tmp/portage/sys-boot/grub-0.97-r9/work > >>> Unpacking splash.xpm.gz to /var/tmp/portage/sys-boot/grub-0.97-r9/work > >>> Unpacking grub-0.97-patches-1.9.tar.bz2 to /var/tmp/portage/sys-boot/grub-0.97-r9/work > * Grub will support the default maximum kernel size of 3 Mb > (GRUB_MAX_KERNEL_SIZE) > * Applying various patches (bugfixes/updates) ... > * 001_all_grub-0.95.20040823-splash.patch ... > [ ok ] > * 003_all_grub-0.97-example-rescue-shell.patch ... > [ ok ] > * 005_all_grub-0.96-PIC.patch ... > [ ok ] > * 008_all_grub-0.97-AM_PROG_AS.patch ... > [ ok ] > * 010_all_grub-0.96-bounced-checks.patch ... > [ ok ] > * 015_all_grub-0.96-unsigned-addresses.patch ... > [ ok ] > * 016_all_grub-0.97-multiboot-memory-amount.patch ... > [ ok ] > * 040_all_grub-0.96-nxstack.patch ... > [ ok ] > * 060_all_grub-0.96-netboot-pic.patch ... > [ ok ] > * 070_all_grub-0.97-initrd_max_address.patch ... > [ ok ] > * 090_all_grub-0.97-intelmac.patch ... > [ ok ] > * 100_all_grub-0.97-splashimage-example.patch ... > [ ok ] > * 110_all_grub-0.97-ptable-fix.patch ... > [ ok ] > * 550_all_grub-0.97-long-commandline.patch ... > [ ok ] > * 600_all_grub-0.97-gpt-partition-table.patch ... > [ ok ] > * 700_all_grub-0.97-grub-install_addsyncs.patch ... > [ ok ] > * 710_all_grub-0.97-grub-install_regexp.patch ... > [ ok ] > * 720_all_grub-0.97-grub-install_aoe_support.patch ... > [ ok ] > * 800_all_grub-0.97-crossreference_manpages.patch ... > [ ok ] > * 810_all_grub-0.97-ext3_256byte_inode.patch ... > [ ok ] > * 820_all_grub-0.97-cvs-sync.patch ... > [ ok ] > * 821_all_grub-0.97-grub-special_device_names.patch ... > [ ok ] > * 822_all_grub-0.97-geometry-26kernel.patch ... > [ ok ] > * 830_all_grub-0.97-raid_cciss.patch ... > [ ok ] > * 850_all_grub-0.97_ext4.patch ... > [ ok ] > * Done with patching > * Running eautoreconf in > '/var/tmp/portage/sys-boot/grub-0.97-r9/work/grub-0.97' ... > * Running aclocal ... > [ ok ] > * Running autoconf ... > [ ok ] > * Running autoheader ... > [ ok ] > * Running automake --add-missing --copy ... > [ ok ] > >>> Source unpacked in /var/tmp/portage/sys-boot/grub-0.97-r9/work > >>> Compiling source in /var/tmp/portage/sys-boot/grub-0.97-r9/work/grub-0.97 ... > * econf: updating grub-0.97/config.guess with > /usr/share/gnuconfig/config.guess > * econf: updating grub-0.97/config.sub with /usr/share/gnuconfig/config.sub > ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu > --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share > --sysconfdir=/etc --localstatedir=/var/lib --libdir=/lib > --datadir=/usr/lib/grub --exec-prefix=/ --disable-auto-linux-mem-opt > --with-curses > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > checking whether to enable maintainer-specific portions of Makefiles... no > checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc > checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc > checking for C compiler default output file name... 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 i686-pc-linux-gnu-gcc accepts -g... yes > checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed > checking for style of include used by make... GNU > checking dependency style of i686-pc-linux-gnu-gcc... gcc3 > checking dependency style of i686-pc-linux-gnu-gcc... gcc3 > checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib > checking whether optimization for size works... yes > checking whether gcc has -fno-stack-protector... yes > checking whether -Wundef works... yes > checking whether -falign-loops works... yes > checking whether linker accepts `--build-id=none'... yes > checking for i686-pc-linux-gnu-objcopy... i686-pc-linux-gnu-objcopy > checking if C symbols get an underscore after compilation... no > checking whether i686-pc-linux-gnu-objcopy works for absolute addresses... > (cached) yes > checking whether addr32 must be in the same line as the instruction... yes > checking for .code16 addr32 assembler support... yes > checking whether an absolute indirect call/jump must not be prefixed with an > asterisk... no > checking if start is defined by the compiler... no > checking if _start is defined by the compiler... yes > checking if __bss_start is defined by the compiler... yes > checking if _edata is defined by the compiler... yes > checking if edata is defined by the compiler... yes > checking if end is defined by the compiler... yes > checking if _end is defined by the compiler... yes > checking for opendisk in -lutil... no > checking for wgetch in -lncurses... yes > checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for ANSI C header files... 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... yes > checking for unistd.h... yes > checking for string.h... (cached) yes > checking for strings.h... (cached) yes > checking ncurses/curses.h usability... no > checking ncurses/curses.h presence... no > checking for ncurses/curses.h... no > checking ncurses.h usability... yes > checking ncurses.h presence... yes > checking for ncurses.h... yes > checking curses.h usability... yes > checking curses.h presence... yes > checking for curses.h... yes > configure: creating ./config.status > config.status: creating Makefile > config.status: creating stage1/Makefile > config.status: creating stage2/Makefile > config.status: creating docs/Makefile > config.status: creating lib/Makefile > config.status: creating util/Makefile > config.status: creating grub/Makefile > config.status: creating netboot/Makefile > config.status: creating util/grub-image > config.status: creating util/grub-install > config.status: creating util/grub-md5-crypt > config.status: creating util/grub-terminfo > config.status: creating util/grub-set-default > config.status: creating config.h > config.status: executing depfiles commands > make -J2 > make: invalid option -- 'J' > make: invalid option -- '2' > Usage: make [options] [target] ... > Options: > -b, -m Ignored for compatibility. > -B, --always-make Unconditionally make all targets. > -C DIRECTORY, --directory=DIRECTORY > Change to DIRECTORY before doing anything. > -d Print lots of debugging information. > --debug[=FLAGS] Print various types of debugging information. > -e, --environment-overrides > Environment variables override makefiles. > -f FILE, --file=FILE, --makefile=FILE > Read FILE as a makefile. > -h, --help Print this message and exit. > -i, --ignore-errors Ignore errors from commands. > -I DIRECTORY, --include-dir=DIRECTORY > Search DIRECTORY for included makefiles. > -j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg. > -k, --keep-going Keep going when some targets can't be made. > -l [N], --load-average[=N], --max-load[=N] > Don't start multiple jobs unless load is below N. > -L, --check-symlink-times Use the latest mtime between symlinks and target. > -n, --just-print, --dry-run, --recon > Don't actually run any commands; just print them. > -o FILE, --old-file=FILE, --assume-old=FILE > Consider FILE to be very old and don't remake it. > -p, --print-data-base Print make's internal database. > -q, --question Run no commands; exit status says if up to date. > -r, --no-builtin-rules Disable the built-in implicit rules. > -R, --no-builtin-variables Disable the built-in variable settings. > -s, --silent, --quiet Don't echo commands. > -S, --no-keep-going, --stop > Turns off -k. > -t, --touch Touch targets instead of remaking them. > -v, --version Print the version number of make and exit. > -w, --print-directory Print the current directory. > --no-print-directory Turn off -w, even if it was turned on implicitly. > -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE > Consider FILE to be infinitely new. > --warn-undefined-variables Warn when an undefined variable is referenced. > > This program built for i686-pc-linux-gnu > Report bugs to <bug-make@gnu.org> > * > * ERROR: sys-boot/grub-0.97-r9 failed. > * Call stack: > * ebuild.sh, line 49: Called src_compile > * environment, line 4003: Called die > * The specific snippet of code: > * emake || die "making regular stuff" > * The die message: > * making regular stuff > * > * If you need support, post the topmost build error, and the call stack if > relevant. > * A complete build log is located at > '/var/tmp/portage/sys-boot/grub-0.97-r9/temp/build.log'. > * The ebuild environment file is located at > '/var/tmp/portage/sys-boot/grub-0.97-r9/temp/environment'. > * > I realize the error causes by : make -J2 make: invalid option -- 'J' make: invalid option -- '2' It should written "make -j2". The different of both is "J" and "j". I change it at : # nano -w /etc/make.conf MAKEOPTS="-j2" and now, # emerge grub not causes an error anymore. Problems are solve. Thanks for David Abbott to refers me at build.log.