Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed to emerge : emake failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Bob Leny
Apprentice
Apprentice


Joined: 18 Aug 2006
Posts: 189

PostPosted: Sun Sep 05, 2010 2:17 pm    Post subject: Failed to emerge : emake failed Reply with quote

I'm trying to install Gentoo on my computer, and I'm at step 9.a in the handbook. I am supposed to install a system logger, I chose to install metalog.
Code:

emerge metalog
...
>>> Failed to emerge app-arch/xz-utils-4.999.9_beta
* ERROR: app-arch/xz-utils-4.999.9_beta failed:
*    emake failed


I'm installing Gentoo on an amd64 machine. I tried to emerge sysklogd and syslog-ng and I receive a similar error with a different package...

This is the build log for app-arch/xz-utils-4.999.9_beta
Quote:

* CPV: app-arch/xz-utils-4.999.9_beta
* REPO: gentoo
* USE: amd64 elibc_glibc kernel_linux nls threads userland_GNU
>>> Unpacking source...
>>> Unpacking xz-4.999.9beta.tar.gz to /var/tmp/portage/app-arch/xz-utils-4.999.9_beta/work
>>> Source unpacked in /var/tmp/portage/app-arch/xz-utils-4.999.9_beta/work
>>> Preparing source in /var/tmp/portage/app-arch/xz-utils-4.999.9_beta/work/xz-4.999.9beta ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-arch/xz-utils-4.999.9_beta/work/xz-4.999.9beta ...
* econf: updating xz-4.999.9beta/build-aux/config.sub with /usr/share/gnuconfig/config.sub
* econf: updating xz-4.999.9beta/build-aux/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --enable-dynamic=yes --enable-nls --enable-threads --disable-static

XZ Utils 4.999.9beta

System type:
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu

Configure options:
checking if debugging code should be compiled... no
checking which encoders to build... lzma1 lzma2 delta x86 powerpc ia64 arm armthumb sparc
checking which decoders to build... lzma1 lzma2 delta x86 powerpc ia64 arm armthumb sparc
checking which match finders to build... hc3 hc4 bt2 bt3 bt4
checking which integrity checks to build... crc32 crc64 sha256
checking if assembler optimizations should be used... x86_64
checking if unaligned memory access should be used... yes
checking if small size is preferred over speed... no
checking if threading support is wanted... yes
checking how programs should be linked against liblzma... dynamically

checking for a shell that conforms to POSIX... /bin/sh

Initializing Automake:
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 whether ln -s works... yes
checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... x86_64-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 x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C99... -std=gnu99
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 and cc understand -c and -o together... yes
checking dependency style of x86_64-pc-linux-gnu-gcc -std=gnu99... gcc3
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -std=gnu99 -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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes

Threading support:
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no

Initializing Libtool:
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc -std=gnu99... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc -std=gnu99 object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc -std=gnu99 linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for x86_64-pc-linux-gnu-windres... no
checking for windres... no

Initializing gettext:
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc

System headers and functions:
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/param.h... yes
checking for sys/sysctl.h... yes
checking for byteswap.h... yes
checking if bswap_16 is available... yes
checking if bswap_32 is available... yes
checking if bswap_64 is available... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for int32_t... yes
checking for uint32_t... yes
checking for int64_t... yes
checking for uint64_t... yes
checking for uintptr_t... yes
checking size of size_t... 8
checking for struct stat.st_atim.tv_nsec... yes
checking for struct stat.st_atimespec.tv_nsec... no
checking for struct stat.st_atimensec... no
checking for struct stat.st_uatime... no
checking for struct stat.st_atim.st__tim.tv_nsec... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether byte ordering is bigendian... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long... yes
checking whether optreset is declared... no
checking for futimens... yes
checking how to detect the amount of physical memory... sysconf
checking how to detect the number of available CPU cores... sysconf

GCC extensions:
checking for simple visibility declarations... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wall... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wextra... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wformat=2... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Winit-self... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wmissing-include-dirs... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wstrict-aliasing... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wfloat-equal... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wundef... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wshadow... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wpointer-arith... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wbad-function-cast... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wwrite-strings... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wlogical-op... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Waggregate-return... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wstrict-prototypes... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wold-style-definition... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wmissing-prototypes... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wmissing-declarations... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wmissing-noreturn... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wredundant-decls... yes

configure: creating ./config.status
config.status: creating Doxyfile
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating lib/Makefile
config.status: creating src/Makefile
config.status: creating src/liblzma/liblzma.pc
config.status: creating src/liblzma/Makefile
config.status: creating src/liblzma/api/Makefile
config.status: creating src/xz/Makefile
config.status: creating src/xzdec/Makefile
config.status: creating src/lzmainfo/Makefile
config.status: creating src/scripts/Makefile
config.status: creating src/scripts/xzdiff
config.status: creating src/scripts/xzgrep
config.status: creating src/scripts/xzmore
config.status: creating src/scripts/xzless
config.status: creating tests/Makefile
config.status: creating debug/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-arch/xz-utils-4.999.9_beta/work/xz-4.999.9beta ...
make -J5
make: invalid option -- 'J'
make: invalid option -- '5'
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 x86_64-pc-linux-gnu
Report bugs to <bug-make@gnu.org>
* ERROR: app-arch/xz-utils-4.999.9_beta failed:
* emake failed
*
* Call stack:
* ebuild.sh, line 54: Called src_compile
* environment, line 2272: Called _eapi2_src_compile
* ebuild.sh, line 646: Called die
* The specific snippet of code:
* emake || die "emake failed"
*
* If you need support, post the output of 'emerge --info =app-arch/xz-utils-4.999.9_beta',
* the complete build log and the output of 'emerge -pqv =app-arch/xz-utils-4.999.9_beta'.
* The complete build log is located at '/var/tmp/portage/app-arch/xz-utils-4.999.9_beta/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-arch/xz-utils-4.999.9_beta/temp/environment'.
* S: '/var/tmp/portage/app-arch/xz-utils-4.999.9_beta/work/xz-4.999.9beta'


What should I do to resolve this issue?

Thanks!
Back to top
View user's profile Send private message
Bob Leny
Apprentice
Apprentice


Joined: 18 Aug 2006
Posts: 189

PostPosted: Sun Sep 05, 2010 3:22 pm    Post subject: Reply with quote

Hmm... I think I may have found the problem:
Quote:

>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-arch/xz-utils-4.999.9_beta/work/xz-4.999.9beta ...
make -J5
make: invalid option -- 'J'
make: invalid option -- '5'
Usage: make [options] [target] ...


Yup, I just tested it. That'd be the problem! It should be -j5 not -J5... Typos, gotta love 'em.

Thanks for your time though!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum