Summary: | libgpg-error-1.3 fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bjoern Sander <bsander3> |
Component: | Current packages | Assignee: | Crypto team [DISABLED] <crypto+disabled> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | bsander3 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Bjoern Sander
2006-07-07 08:04:01 UTC
Sorry, I cannot reproduce this. Are there more errors further up? Can you give the emerge info please? (In reply to comment #1) > Sorry, I cannot reproduce this. Are there more errors further up? Can you give > the emerge info please? > The output of emerge --info is emerge --info Portage 2.1.1_pre2-r8 (default-linux/x86/2006.0, gcc-3.4.6/vanilla, glibc-2.4-r3, 2.6.15-gentoo-r2 i686) ================================================================= System Settings ================================================================= System uname: 2.6.15-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz Gentoo Base System version 1.12.1 app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.2.3-r5, 2.3.5, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.4.19-r1, 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O -march=pentiumpro" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cli crypt cups dlloader dri eds emboss encode esd foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection samba sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_radeon video_cards_fglrx video_cards_ati" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY The complete error message was if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I../intl -O -march=pentiumpro -MT libgpg_error_la-code-from-errno.lo -MD -MP -MF ".deps/libgpg_error_la-code-from-errno.Tpo" -c -o libgpg_error_la-code-from-errno.lo `test -f 'code-from-errno.c' || echo './'`code-from-errno.c; \ then mv -f ".deps/libgpg_error_la-code-from-errno.Tpo" ".deps/libgpg_error_la-code-from-errno.Plo"; else rm -f ".deps/libgpg_error_la-code-from-errno.Tpo"; exit 1; fi i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I../intl -O -march=pentiumpro -MT libgpg_error_la-code-from-errno.lo -MD -MP -MF .deps/libgpg_error_la-code-from-errno.Tpo -c code-from-errno.c -fPIC -DPIC -o .libs/libgpg_error_la-code-from-errno.o In file included from code-from-errno.c:27: code-from-errno.h:3: error: syntax error before '}' token code-from-errno.c: In function `gpg_err_code_from_errno': code-from-errno.c:35: error: syntax error before ')' token code-from-errno.c:35: error: syntax error before ')' token code-from-errno.c:35: error: syntax error before ')' token code-from-errno.c:43: error: `err_code_from_index' undeclared (first use in this function) code-from-errno.c:43: error: (Each undeclared identifier is reported only once code-from-errno.c:43: error: for each function it appears in.) make[3]: *** [libgpg_error_la-code-from-errno.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/libgpg-error-1.3/work/libgpg-error-1.3/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/libgpg-error-1.3/work/libgpg-error-1.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libgpg-error-1.3/work/libgpg-error-1.3' make: *** [all] Error 2 !!! ERROR: dev-libs/libgpg-error-1.3 failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile libgpg-error-1.3.ebuild, line 26: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. The error was due to a faulty "/etc/portage/bashrc" from "http://gentoo-wiki.com/HOWTO_ICC_and_Portage", the script caused an empty variable "CC_FOR_BUILD". Solution: rm /etc/portage/bashrc |