Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge fails for MANY important packages [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
supercollider
n00b
n00b


Joined: 21 Apr 2005
Posts: 19

PostPosted: Tue Oct 09, 2007 8:33 pm    Post subject: Emerge fails for MANY important packages [SOLVED] Reply with quote

I did a new gentoo amd64 install on this machine last week, and tried to 'emerge -u world' for the first time today. A few updated ebuilds installed cleanly, but many have failed to compile.

The first ebuild in line for 'emerge -u world' is bash; it fails with
Code:
execute_cmd.c:3933: error: 'ENOEXEC' undeclared (first use in this function)
execute_cmd.c:3933: error: (Each undeclared identifier is reported only once
execute_cmd.c:3933: error: for each function it appears in.)
execute_cmd.c:3943: error: 'E2BIG' undeclared (first use in this function)
execute_cmd.c:3943: error: 'ENOMEM' undeclared (first use in this function)
execute_cmd.c:3977: error: 'ENOENT' undeclared (first use in this function)
make: *** [execute_cmd.o] Error 1
 *
 * ERROR: app-shells/bash-3.2_p17 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   bash-3.2_p17.ebuild, line 107:   Called die
 *
 * make failed
 * 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/app-shells/bash-3.2_p17/temp/build.log'


emerge glibc:
Code:
loadlocale.c: In function '_nl_load_locale':
loadlocale.c:184: error: '__NR_close' undeclared (first use in this function)
loadlocale.c:184: error: (Each undeclared identifier is reported only once
loadlocale.c:184: error: for each function it appears in.)
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.5-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/locale/loadlocale.o] Error 1
make[2]: *** Waiting for unfinished jobs....
loadarchive.c: In function '_nl_load_locale_from_archive':
loadarchive.c:216: error: '__NR_close' undeclared (first use in this function)
loadarchive.c:216: error: (Each undeclared identifier is reported only once
loadarchive.c:216: error: for each function it appears in.)
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.5-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/locale/loadarchive.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.5-r4/work/glibc-2.5/locale'
make[1]: *** [locale/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.5-r4/work/glibc-2.5'
make: *** [all] Error 2
 *
 * ERROR: sys-libs/glibc-2.5-r4 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   glibc-2.5-r4.ebuild, line 1160:   Called src_compile
 *   glibc-2.5-r4.ebuild, line 1171:   Called toolchain-glibc_src_compile
 *   glibc-2.5-r4.ebuild, line 272:   Called die
 *
 * make for x86 failed
 * 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-libs/glibc-2.5-r4/temp/build.log'.
 *


emerge gcc:
Code:
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/config/i386/linux-unwind.h:152: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/config/i386/linux-unwind.h:159: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/config/i386/linux-unwind.h:161: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/config/i386/linux-unwind.h:163: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/config/i386/linux-unwind.h:165: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/config/i386/linux-unwind.h:167: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/config/i386/linux-unwind.h:169: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/config/i386/linux-unwind.h:171: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/config/i386/linux-unwind.h:173: error: dereferencing pointer to incomplete type
make[3]: *** [libgcc/32/unwind-dw2.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc'
make: *** [profiledbootstrap] Error 2
 *
 * ERROR: sys-devel/gcc-4.1.2 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   ebuild.sh, line 1334:   Called toolchain_src_compile
 *   toolchain.eclass, line 26:   Called gcc_src_compile
 *   toolchain.eclass, line 1546:   Called gcc_do_make
 *   toolchain.eclass, line 1420:   Called die
 *
 * emake failed with profiledbootstrap
 * 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-devel/gcc-4.1.2/temp/build.log'.
 *


Here is output from emerge --info
Code:
Portage 2.1.3.9 (default-linux/amd64/2007.0/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.22-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Tue, 09 Oct 2007 19:20:01 +0000
app-shells/bash:     3.1_p17
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://64.50.236.52/ http://212.219.56.134/sites/www.ibiblio.org/gentoo/ http://gentoo.modulix.net/gentoo/ http://212.219.56.139/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/enlightenment"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cli cracklib crypt cups dri dvd dvdr dvdread emboss encode evo fam fbcon ffmpeg firefox flac fortran gdbm gif gpm gtk gtk2 iconv ieee1394 ipv6 isdnlog jpeg kerberos ldap mad midi mikmod mmx mp3 mpeg mplayer mudflap ncurses nls nocd nptl nptlonly nsplugin offensive ogg openal opengl openmp oss pam pcre pdf perl png pppd python qt3support quicktime readline reflection scanner sdl session spell spl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vcd vorbis xcomposite xml xorg xv xvid zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


I hope I've provided all the relevant info. Thanks in advance for any help.


Last edited by supercollider on Thu Oct 11, 2007 3:34 am; edited 1 time in total
Back to top
View user's profile Send private message
OneOfMany
Tux's lil' helper
Tux's lil' helper


Joined: 19 Nov 2003
Posts: 108
Location: Portland, OR USA

PostPosted: Tue Oct 09, 2007 9:20 pm    Post subject: Reply with quote

Shooting in the dark here, but have you tried a recent "env-update", "etc-update", and "source /etc/profile"? I assume "gcc-config -l" (that's lower case L) shows you're using the gcc version you mean to.

I don't see any wacked out CFLAGS or anything, so I'm kind of stumped. I'm not sure what would give that kind of error except something wrong in the toolchain somehow. For example the "ENOEXEC" I think refers to a system header usually in "libc\sys\errno.h" somewhere.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9559
Location: beyond the rim

PostPosted: Tue Oct 09, 2007 9:20 pm    Post subject: Reply with quote

Well, the first two errors look like you've got some broken header files, so you might try remerging sys-kernel/linux-headers.
Back to top
View user's profile Send private message
supercollider
n00b
n00b


Joined: 21 Apr 2005
Posts: 19

PostPosted: Tue Oct 09, 2007 9:57 pm    Post subject: Reply with quote

I've tried env-update, etc-update, source /etc/profile, and I remerged linux-headers. No dice yet.
gcc-config -l shows "[1] x86_64-pc-linux-gnu-4.1.1 *"
gcc 4.1.1-r3 is installed.
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Wed Oct 10, 2007 6:11 am    Post subject: Reply with quote

your most likely not pasting the entire errors, can't see what header files it's missing.
Back to top
View user's profile Send private message
Neo2
Apprentice
Apprentice


Joined: 25 Sep 2006
Posts: 224
Location: Italy

PostPosted: Wed Oct 10, 2007 9:14 am    Post subject: Reply with quote

Try rebuilding in this order:
Code:
emerge --sync
env-update && source /etc/profile
emerge -u portage
emerge --oneshot linux-headers
emerge glibc
emerge gcc

Also, as neuron said, please post the log files specified by emerge compiles (for instance, glibc's one is /var/tmp/portage/sys-libs/glibc-2.5-r4/temp/build.log)
_________________
Neo2
Unofficial minimal liveCD for x86/amd64 w/reiser4+truecrypt
Back to top
View user's profile Send private message
supercollider
n00b
n00b


Joined: 21 Apr 2005
Posts: 19

PostPosted: Wed Oct 10, 2007 5:55 pm    Post subject: Reply with quote

Here are the ends of the log files. If you need other info from these files, let me know, but it's a pain to get them into my browser because I can't install a text editor I'm comfortable with until these problems are solved.


glibc build log:
Code:
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.5-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/locale/loadlocale.o] $
make[2]: *** Waiting for unfinished jobs....
loadarchive.c: In function '_nl_load_locale_from_archive':
loadarchive.c:216: error: '__NR_close' undeclared (first use in this function)
loadarchive.c:216: error: (Each undeclared identifier is reported only once
loadarchive.c:216: error: for each function it appears in.)
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.5-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/locale/loadarchive.o]$
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.5-r4/work/glibc-2.5/locale'
make[1]: *** [locale/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.5-r4/work/glibc-2.5'
make: *** [all] Error 2
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m ERROR: sys-libs/glibc-2.5-r4 failed.
 ^[[31;01m*^[[0m Call stack:
 ^[[31;01m*^[[0m   ebuild.sh, line 1654:   Called dyn_compile
 ^[[31;01m*^[[0m   ebuild.sh, line 990:   Called qa_call 'src_compile'
 ^[[31;01m*^[[0m   ebuild.sh, line 44:   Called src_compile
 ^[[31;01m*^[[0m   glibc-2.5-r4.ebuild, line 1160:   Called src_compile
 ^[[31;01m*^[[0m   glibc-2.5-r4.ebuild, line 1171:   Called toolchain-glibc_src_compile
 ^[[31;01m*^[[0m   glibc-2.5-r4.ebuild, line 272:   Called die
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m make for x86 failed
 ^[[31;01m*^[[0m If you need support, post the topmost build error, and the call stack if relevant.
 ^[[31;01m*^[[0m A complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.5-r4/temp/build.log'.
 ^[[31;01m*^[[0m

Should I be concerned that it says it's making for x86? I'm not using the multilib USE flag.

bash log file:
Code:

x86_64-pc-linux-gnu-gcc  -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -$
rm -f execute_cmd.o
x86_64-pc-linux-gnu-gcc  -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -$
execute_cmd.c: In function 'shell_execve':
execute_cmd.c:3933: error: 'ENOEXEC' undeclared (first use in this function)
execute_cmd.c:3933: error: (Each undeclared identifier is reported only once
execute_cmd.c:3933: error: for each function it appears in.)
execute_cmd.c:3943: error: 'E2BIG' undeclared (first use in this function)
execute_cmd.c:3943: error: 'ENOMEM' undeclared (first use in this function)
execute_cmd.c:3977: error: 'ENOENT' undeclared (first use in this function)
make: *** [execute_cmd.o] Error 1
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m ERROR: app-shells/bash-3.2_p17 failed.
 ^[[31;01m*^[[0m Call stack:
 ^[[31;01m*^[[0m   ebuild.sh, line 1654:   Called dyn_compile
 ^[[31;01m*^[[0m   ebuild.sh, line 990:   Called qa_call 'src_compile'
 ^[[31;01m*^[[0m   ebuild.sh, line 44:   Called src_compile
 ^[[31;01m*^[[0m   bash-3.2_p17.ebuild, line 107:   Called die
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m make failed
^[[31;01m*^[[0m If you need support, post the topmost build error, and the call stack if relevant.
 ^[[31;01m*^[[0m A complete build log is located at '/var/tmp/portage/app-shells/bash-3.2_p17/temp/build.log'.
 ^[[31;01m*^[[0m


gcc build log:
Code:

x86_64-pc-linux-gnu-ar  rc 32/libgcov.a libgcc/32/_gcov.o libgcc/32/_gcov_merge_add.o libgcc/32/_gcov_merge_single.o libgcc/32/_gcov_merge_d$
x86_64-pc-linux-gnu-ranlib 32/libgcov.a
./xgcc -B./ -B/usr/x86_64-pc-linux-gnu/bin/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -L/var/t$
In file included from /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/unwind-dw2.c:257:
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/config/i386/linux-unwind.h: In function 'x86_fallback_frame_state':
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/config/i386/linux-unwind.h:152: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/config/i386/linux-unwind.h:159: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/config/i386/linux-unwind.h:161: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/config/i386/linux-unwind.h:163: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/config/i386/linux-unwind.h:165: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/config/i386/linux-unwind.h:167: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/config/i386/linux-unwind.h:169: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/config/i386/linux-unwind.h:171: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/config/i386/linux-unwind.h:173: error: dereferencing pointer to incomplete type
make[3]: *** [libgcc/32/unwind-dw2.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc'
make: *** [profiledbootstrap] Error 2
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m ERROR: sys-devel/gcc-4.1.2 failed.
 ^[[31;01m*^[[0m Call stack:
 ^[[31;01m*^[[0m   ebuild.sh, line 1654:   Called dyn_compile
 ^[[31;01m*^[[0m   ebuild.sh, line 990:   Called qa_call 'src_compile'
 ^[[31;01m*^[[0m   ebuild.sh, line 44:   Called src_compile
 ^[[31;01m*^[[0m   ebuild.sh, line 1334:   Called toolchain_src_compile
 ^[[31;01m*^[[0m   toolchain.eclass, line 26:   Called gcc_src_compile
 ^[[31;01m*^[[0m   toolchain.eclass, line 1546:   Called gcc_do_make
 ^[[31;01m*^[[0m   toolchain.eclass, line 1420:   Called die
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m emake failed with profiledbootstrap
 ^[[31;01m*^[[0m If you need support, post the topmost build error, and the call stack if relevant.
 ^[[31;01m*^[[0m A complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.1.2/temp/build.log'.
 ^[[31;01m*^[[0m

Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Wed Oct 10, 2007 6:05 pm    Post subject: Reply with quote

whats your ls -l /etc/make.profile?
Back to top
View user's profile Send private message
supercollider
n00b
n00b


Joined: 21 Apr 2005
Posts: 19

PostPosted: Wed Oct 10, 2007 6:22 pm    Post subject: Reply with quote

ls -l /etc/make.profile/
total 12
-rw-r--r-- 1 root root 524 Jun 19 12:06 make.defaults
-rw-r--r-- 1 root root 3 Apr 13 17:11 parent
-rw-r--r-- 1 root root 273 Jun 19 12:06 virtuals
Back to top
View user's profile Send private message
supercollider
n00b
n00b


Joined: 21 Apr 2005
Posts: 19

PostPosted: Thu Oct 11, 2007 2:56 am    Post subject: Reply with quote

Bump. I pretty much can't compile anything, and this is a week-old clean installation of Gentoo. The only unstable things on it are e17 and vmware-server. Any more ideas? Is there a way to see portage history so I can figure out what I installed that broke the system?
Back to top
View user's profile Send private message
supercollider
n00b
n00b


Joined: 21 Apr 2005
Posts: 19

PostPosted: Thu Oct 11, 2007 3:36 am    Post subject: Reply with quote

Solution: I downgraded linux-headers to version 2.6.17. Version 2.6.21 is apparently buggy.
Back to top
View user's profile Send private message
Brother Blackshirt
n00b
n00b


Joined: 23 Dec 2005
Posts: 4
Location: Ontario, Canada

PostPosted: Fri Oct 12, 2007 1:36 am    Post subject: Reply with quote

I've been having the same issue, though downgrading the linux headers isn't and option for me as it won't compile, just like everything else.

Quote:
>>> Unpacking source...
>>> Unpacking linux-2.6.17.tar.bz2 to /var/tmp/portage/sys-kernel/linux-headers-2.6.17/work
* gentoo-headers-2.6.17-3.tar.bz2 unpacked
* Applying linux-2.6.17-m68k-headers.patch.patch (-p0+) ... [ ok ]
* Applying 2.6.0-fb.patch (-p0+) ... [ ok ]
* Applying 2.6.0-sysctl_h-compat.patch (-p0+) ... [ ok ]
* Applying 2.6.10-generic-arm-prepare.patch (-p0+) ... [ ok ]
* Applying 2.6.16-compat_alloc_user_space._k_ify.patch (-p0+) ... [ ok ]
* Applying 2.6.16-ia64-fix-ptrace.patch (-p0+) ... [ ok ]
* Applying 2.6.16-powerpc-pte_t.patch (-p0+) ... [ ok ]
* Applying 2.6.16-ppc-memory.patch (-p0+) ... [ ok ]
* Applying 2.6.16-ppc-timex.patch (-p0+) ... [ ok ]
* Applying 2.6.16-ppc64-mc_types.patch (-p0+) ... [ ok ]
* Applying 2.6.16-ppc64-smp_wmb.patch (-p0+) ... [ ok ]
* Applying 2.6.16-xfsprogs-swab-collision.patch (-p0+) ... [ ok ]
* Applying 2.6.17-appCompat.patch (-p0+) ... [ ok ]
* Applying 2.6.17-fix-143804.patch (-p0+) ... [ ok ]
* Applying 2.6.17-fix-ext3_fs.patch (-p0+) ... [ ok ]
* Applying 2.6.17-fix-i2c.patch (-p0+) ... [ ok ]
* Applying 2.6.17-fix-joystick.patch (-p0+) ... [ ok ]
* Applying 2.6.17-no-nls.patch (-p0+) ... [ ok ]
* Applying 2.6.8.1-strict-ansi-fix.patch (-p0+) ... [ ok ]
* make defconfig failed.
* assuming you dont have any headers installed yet and continuing
CHK include/linux/version.h
UPD include/linux/version.h
* Applying automated fixes:
asm-alpha/ asm-arm/ asm-arm26/ asm-cris/ asm-frv/ asm-generic/ asm-h8300/ asm-i386/ asm-ia64/ asm-m32r/ asm-m68k/ asm-m68knommu/ asm-mips/ asm-parisc/ asm-powerpc/ asm-ppc/ asm-s390/ asm-sh/ asm-sh64/ asm-sparc/ asm-sparc64/ asm-um/ asm-v850/ asm-x86_64/ asm-xtensa/ linux/
* ... done
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-kernel/linux-headers-2.6.17/work/linux-2.6.17 ...
* QA Notice: USE Flag 'crosscompile_opts_headers-only' not in IUSE for sys-kernel/linux-headers-2.6.17
HOSTCC scripts/basic/fixdep
/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.2.3/../../../../lib64/libgcc_s.so: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2

!!! ERROR: sys-kernel/linux-headers-2.6.17 failed.
Call stack:
ebuild.sh, line 1638: Called dyn_compile
ebuild.sh, line 985: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
ebuild.sh, line 1328: Called kernel-2_src_compile
kernel-2.eclass, line 1040: Called compile_headers
kernel-2.eclass, line 457: Called die

!!! defconfig failed (defconfig)
!!! 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-kernel/linux-headers-2.6.17/temp/build.log'.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9559
Location: beyond the rim

PostPosted: Fri Oct 12, 2007 4:12 am    Post subject: Reply with quote

Quote:
/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.2.3/../../../../lib64/libgcc_s.so: file not recognized: File format not recognized

That's a very different problem. What does
Code:
file /bin/../lib/gcc/x86_64-unknown-linux-gnu/4.2.3/../../../../lib64/libgcc_s.so
say?
Back to top
View user's profile Send private message
Brother Blackshirt
n00b
n00b


Joined: 23 Dec 2005
Posts: 4
Location: Ontario, Canada

PostPosted: Fri Oct 12, 2007 4:22 am    Post subject: Reply with quote

Code:
file /bin/../lib/gcc/x86_64-unknown-linux-gnu/4.2.3/../../../../lib64/libgcc_s.so


gives me

Code:
/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.2.3/../../../../lib64/libgcc_s.so: symbolic link to `libgcc_s.so.1'


It's worth mentioning that just now I removed gcc and re-installed a binary I extracted from a stage 3 tarball. Running

Code:
gcc-config -l


Gives me

Code:
[1] x86_64-pc-linux-gnu-4.1.1 *


Which is consistent with the new binary gcc I installed. Still nothing compiles, no progress with this.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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