Re: Lossage due to sys-devel/odcctools-20080820

View: New views
14 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: Lossage due to sys-devel/odcctools-20080820

by Fabian Groffen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 21-08-2008 15:39:42 +0100, Mietek Bąk wrote:
> Hi,
>
> Attempting to emerge sys-devel/odcctools-20080820 broke my Gentoo; I
> can no longer emerge anything due to broken symlinks.  This is on Mac
> OS X 10.5 x86.  A slightly abridged log is attached.
>
> Also, there's a spurious warning message for media-libs/libpng-1.2.31_rc01:
>  *   Darwin patch set 'darwin-ltmain' failed to apply!

% binutils-config 1

solves it.

However, did you update portage first?  Your output suggests so, that
means unfortunately that I didn't fix that bug good enough :(

>     others_in_slot=others_in_slot)
>   File "/Library/Gentoo/usr/lib/portage/pym/portage/dbapi/vartree.py", line 2164, in unmerge
>     consumers = self.vartree.dbapi.linkmap.findConsumers(f)
>   File "/Library/Gentoo/usr/lib/portage/pym/portage/dbapi/vartree.py", line 751, in findConsumers
>     raise KeyError("%s not in object list" % obj)
> KeyError: '/Library/Gentoo/usr/lib/libpng12.0.27.0.dylib not in object list'

Ahhhhh, you found a new (another) bug :(


--
Fabian Groffen
Gentoo on a different level


Re: Lossage due to sys-devel/odcctools-20080820

by Svoop :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

I'm having the same problem, no longer able to emerge after updating to odcctools-20080820.

>% binutils-config 1
>solves it.

Unfortunately not for me:

 * Switching to i686-apple-darwin9-20080820 ...
/Gentoo/usr/bin/binutils-config: line 286: /Gentoo/etc/env.d/binutils/i686-apple-darwin9-20080215: No such file or directory
binutils-config error: Could not run/locate "i686-apple-darwin9/ld" ( * i686-apple-darwin9-20080215 is invalid (no $TARGET defined) :(
/ld)
collect2: ld returned 1 exit status

Any ideas? Big thx...   -sven

Re: Lossage due to sys-devel/odcctools-20080820

by Fabian Groffen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 22-08-2008 12:09:46 -0700, Svoop wrote:

>
> Hi
>
> I'm having the same problem, no longer able to emerge after updating to
> odcctools-20080820.
>
> >% binutils-config 1
> >solves it.
>
> Unfortunately not for me:
>
>  * Switching to i686-apple-darwin9-20080820 ...
> /Gentoo/usr/bin/binutils-config: line 286:
> /Gentoo/etc/env.d/binutils/i686-apple-darwin9-20080215: No such file or
> directory
> binutils-config error: Could not run/locate "i686-apple-darwin9/ld" ( *
> i686-apple-darwin9-20080215 is invalid (no $TARGET defined) :(
> /ld)
> collect2: ld returned 1 exit status
>
> Any ideas? Big thx...   -sven

That seems like a different problem to me...  Indeed 20080215 should not
be there as it was just unmerged.  What gcc-config do you have
installed?
>
> --
> View this message in context: http://www.nabble.com/Re%3A-Lossage-due-to-sys-devel-odcctools-20080820-tp19090754p19113789.html
> Sent from the gentoo-alt mailing list archive at Nabble.com.
>
>

--
Fabian Groffen
Gentoo on a different level


Re: Lossage due to sys-devel/odcctools-20080820

by Svoop :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>That seems like a different problem to me...  Indeed 20080215 should not
>be there as it was just unmerged.  What gcc-config do you have
>installed?

That's 686-apple-darwin9-4.0.1

Here's the whole rap :-)

Portage 2.2.00.11445-prefix (default-prefix/darwin/macos/10.5/x86, gcc-4.0.1, unavailable, 9.4.0 i386)
=================================================================
System uname: Darwin-9.4.0-i386-32bit
Timestamp of tree: Fri, 22 Aug 2008 17:58:12 +0000
distcc 2.18.5-Apple.1 i386-apple-darwin9.0 (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r7
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.10.1-r1
sys-devel/gcc-config: 1.4.0-r04.5
sys-devel/libtool:   1.5.26
ACCEPT_KEYWORDS="~x86-macos"
CBUILD="i686-apple-darwin9"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="i686-apple-darwin9"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/Gentoo/usr/portage/distfiles"
EPREFIX="/Gentoo"
FEATURES="collision-protect distlocks nostrip parallel-fetch preserve-libs sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS=""
PKGDIR="/Gentoo/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/Gentoo/var/tmp"
PORTDIR="/Gentoo/usr/portage"
SYNC="svn://overlays.gentoo.org/proj/alt/trunk/prefix-overlay"
USE="aqua coreaudio cracklib midi mmx mmxext ncurses nls objc objc++ prefix readline sse ssl unicode x86-macos zlib" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Re: Lossage due to sys-devel/odcctools-20080820

by Svoop :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Now that's weird. I've emerged odcctools-20080820, but it's not installed:

=== emerge.log ===
1219305180: Started emerge on: Aug 21, 2008 09:53:00
1219305180:  *** emerge --newuse --deep --ask --update world
1219305186:  >>> emerge (1 of 3) sys-apps/portage-2.2.00.11445 to /
1219305194:  === (1 of 3) Cleaning (sys-apps/portage-2.2.00.11445::/Gentoo/usr/portage/sys-apps/portage/portage-2.2.00.11445.ebuild)
1219305194:  === (1 of 3) Compiling/Merging (sys-apps/portage-2.2.00.11445::/Gentoo/usr/portage/sys-apps/portage/portage-2.2.00.11445.ebuild)
1219305244:  === (1 of 3) Merging (sys-apps/portage-2.2.00.11445::/Gentoo/usr/portage/sys-apps/portage/portage-2.2.00.11445.ebuild)
1219305256:  === (1 of 3) Post-Build Cleaning (sys-apps/portage-2.2.00.11445::/Gentoo/usr/portage/sys-apps/portage/portage-2.2.00.11445.ebuild)
1219305256:  ::: completed emerge (1 of 3) sys-apps/portage-2.2.00.11445 to /
1219305256:  ::: completed emerge (1 of 3) sys-apps/portage-2.2.00.11445 to /
1219305256:  *** RESTARTING emerge via exec() after change of portage version.
1219305256:  *** terminating.
1219305257: Started emerge on: Aug 21, 2008 09:54:17
1219305257:  *** emerge --newuse --deep --resume --ignore-default-opts --update
1219305257:  *** Resuming merge...
1219305257:  >>> emerge (1 of 2) sys-devel/gettext-0.17 to /
1219305258:  === (1 of 2) Cleaning (sys-devel/gettext-0.17::/Gentoo/usr/portage/sys-devel/gettext/gettext-0.17.ebuild)
1219305258:  === (1 of 2) Compiling/Merging (sys-devel/gettext-0.17::/Gentoo/usr/portage/sys-devel/gettext/gettext-0.17.ebuild)
1219305769:  === (1 of 2) Merging (sys-devel/gettext-0.17::/Gentoo/usr/portage/sys-devel/gettext/gettext-0.17.ebuild)
1219305779:  === (1 of 2) Post-Build Cleaning (sys-devel/gettext-0.17::/Gentoo/usr/portage/sys-devel/gettext/gettext-0.17.ebuild)
1219305779:  ::: completed emerge (1 of 2) sys-devel/gettext-0.17 to /
1219305779:  >>> emerge (2 of 2) sys-devel/odcctools-20080820 to /
1219305781:  === (2 of 2) Cleaning (sys-devel/odcctools-20080820::/Gentoo/usr/portage/sys-devel/odcctools/odcctools-20080820.ebuild)
1219305781:  === (2 of 2) Compiling/Merging (sys-devel/odcctools-20080820::/Gentoo/usr/portage/sys-devel/odcctools/odcctools-20080820.ebuild)
1219305936:  === (2 of 2) Merging (sys-devel/odcctools-20080820::/Gentoo/usr/portage/sys-devel/odcctools/odcctools-20080820.ebuild)
1219305939:  *** terminating.
=== ===

[ Searching for package 'odcctools' in all categories among: ]
 * installed packages
[I--] [ ~] sys-devel/odcctools-20080215 (0)

The emerge did not produce any messages, at least there's nothing recorded in elog/summary.log.



Re: Lossage due to sys-devel/odcctools-20080820

by Fabian Groffen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 23-08-2008 08:14:33 -0700, Svoop wrote:
>
> Now that's weird. I've emerged odcctools-20080820, but it's not installed:

Correct observation, portage crashes before it records that it is
installed.  That's why binutils-config 1 should have worked.

I don't understand why you get a compiler-wrapper error though.


--
Fabian Groffen
Gentoo on a different level


Re: Lossage due to sys-devel/odcctools-20080820

by Svoop :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Anything I can do to get a working compiler again and clean the mess? Right now my Prefix is locked dead and I have no idea what to try.

Re: Lossage due to sys-devel/odcctools-20080820

by Svoop :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How could I forget the backup :-) I recovered a pre-incident version of /Gentoo and tried a fresh system update on it. Here's how the emerge of odcctools-20080820 dies with "KeyError: '/Gentoo/usr/lib/libaprutil-1.0.3.0.dylib not in object list'":

>>> Completed installing odcctools-20080820 into /Gentoo/var/tmp/portage/sys-devel/odcctools-20080820/image/Gentoo/

ecompressdir: bzip2 -9 /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man

>>> Installing sys-devel/odcctools-20080820
* checking 54 files for package collisions
--- /Gentoo/etc/
--- /Gentoo/etc/env.d/
--- /Gentoo/etc/env.d/binutils/
>>> /Gentoo/etc/env.d/binutils/i686-apple-darwin9-20080820
--- /Gentoo/usr/
--- /Gentoo/usr/i686-apple-darwin9/
--- /Gentoo/usr/i686-apple-darwin9/binutils-bin/
>>> /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080820/
>>> /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080820/ar
>>> /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080820/as
>>> /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080820/checksyms
>>> /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080820/indr
>>> /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080820/install_name_tool
>>> /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080820/ld
>>> /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080820/ld64 -> ld
>>> /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080820/libtool
>>> /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080820/lipo
>>> /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080820/nm
>>> /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080820/nmedit
>>> /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080820/otool
>>> /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080820/otool64
>>> /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080820/pagestuff
>>> /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080820/ranlib
>>> /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080820/redo_prebinding
>>> /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080820/seg_addr_table
>>> /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080820/seg_hack
>>> /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080820/segedit
>>> /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080820/size
>>> /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080820/strings
>>> /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080820/strip
--- /Gentoo/usr/lib/
--- /Gentoo/usr/lib/binutils/
--- /Gentoo/usr/lib/binutils/i686-apple-darwin9/
>>> /Gentoo/usr/lib/binutils/i686-apple-darwin9/20080820/
>>> /Gentoo/usr/lib/binutils/i686-apple-darwin9/20080820/as/
>>> /Gentoo/usr/lib/binutils/i686-apple-darwin9/20080820/as/i386/
>>> /Gentoo/usr/lib/binutils/i686-apple-darwin9/20080820/as/i386/as
>>> /Gentoo/usr/lib/binutils/i686-apple-darwin9/20080820/as/ppc/
>>> /Gentoo/usr/lib/binutils/i686-apple-darwin9/20080820/as/ppc/as
>>> /Gentoo/usr/lib/binutils/i686-apple-darwin9/20080820/as/ppc64/
>>> /Gentoo/usr/lib/binutils/i686-apple-darwin9/20080820/as/ppc64/as
>>> /Gentoo/usr/lib/binutils/i686-apple-darwin9/20080820/as/x86_64/
>>> /Gentoo/usr/lib/binutils/i686-apple-darwin9/20080820/as/x86_64/as
>>> /Gentoo/usr/lib/binutils/i686-apple-darwin9/20080820/libmacho.a
--- /Gentoo/usr/share/
--- /Gentoo/usr/share/binutils-data/
--- /Gentoo/usr/share/binutils-data/i686-apple-darwin9/
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man/
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man/man1/
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man/man1/ar.1.bz2
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man/man1/as.1.bz2
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man/man1/checksyms.1.bz2
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man/man1/gprof.1.bz2
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man/man1/install_name_tool.1.bz2
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man/man1/ld.1.bz2
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man/man1/ld64.1.bz2
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man/man1/libtool.1.bz2
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man/man1/lipo.1.bz2
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man/man1/nm.1.bz2
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man/man1/nmedit.1.bz2
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man/man1/otool.1.bz2
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man/man1/pagestuff.1.bz2
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man/man1/ranlib.1.bz2
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man/man1/redo_prebinding.1.bz2
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man/man1/seg_addr_table.1.bz2
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man/man1/segedit.1.bz2
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man/man1/size.1.bz2
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man/man1/strings.1.bz2
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man/man1/strip.1.bz2
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man/man3/
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man/man3/arch.3.bz2
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man/man5/
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man/man5/a.out.5.bz2
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man/man5/ar.5.bz2
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man/man5/Mach-O.5.bz2
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man/man5/ranlib.5.bz2
>>> /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080820/man/man5/stab.5.bz2
>>> Safely unmerging already-installed instance...
No package files given... Grabbing a set.
<<<          obj /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215/man/man5/stab.5.bz2
<<<          obj /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215/man/man5/ranlib.5.bz2
<<<          obj /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215/man/man5/ar.5.bz2
<<<          obj /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215/man/man5/a.out.5.bz2
<<<          obj /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215/man/man5/Mach-O.5.bz2
<<<          obj /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215/man/man3/arch.3.bz2
<<<          obj /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215/man/man1/strip.1.bz2
<<<          obj /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215/man/man1/strings.1.bz2
<<<          obj /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215/man/man1/size.1.bz2
<<<          obj /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215/man/man1/segedit.1.bz2
<<<          obj /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215/man/man1/seg_addr_table.1.bz2
<<<          obj /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215/man/man1/redo_prebinding.1.bz2
<<<          obj /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215/man/man1/ranlib.1.bz2
<<<          obj /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215/man/man1/pagestuff.1.bz2
<<<          obj /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215/man/man1/otool.1.bz2
<<<          obj /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215/man/man1/nmedit.1.bz2
<<<          obj /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215/man/man1/nm.1.bz2
<<<          obj /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215/man/man1/lipo.1.bz2
<<<          obj /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215/man/man1/libtool.1.bz2
<<<          obj /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215/man/man1/ld64.1.bz2
<<<          obj /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215/man/man1/ld.1.bz2
<<<          obj /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215/man/man1/install_name_tool.1.bz2
<<<          obj /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215/man/man1/gprof.1.bz2
<<<          obj /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215/man/man1/checksyms.1.bz2
<<<          obj /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215/man/man1/as.1.bz2
<<<          obj /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215/man/man1/ar.1.bz2
--- replaced dir /Gentoo/usr/share/binutils-data/i686-apple-darwin9
--- replaced dir /Gentoo/usr/share/binutils-data
--- replaced dir /Gentoo/usr/share
<<<          obj /Gentoo/usr/lib/binutils/i686-apple-darwin9/20080215/libmacho.a
<<<          obj /Gentoo/usr/lib/binutils/i686-apple-darwin9/20080215/as/x86_64/as
<<<          obj /Gentoo/usr/lib/binutils/i686-apple-darwin9/20080215/as/ppc64/as
<<<          obj /Gentoo/usr/lib/binutils/i686-apple-darwin9/20080215/as/ppc/as
<<<          obj /Gentoo/usr/lib/binutils/i686-apple-darwin9/20080215/as/i386/as
--- replaced dir /Gentoo/usr/lib/binutils/i686-apple-darwin9
--- replaced dir /Gentoo/usr/lib/binutils
--- replaced dir /Gentoo/usr/lib
<<<          obj /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080215/strip
<<<          obj /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080215/strings
<<<          obj /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080215/size
<<<          obj /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080215/segedit
<<<          obj /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080215/seg_hack
<<<          obj /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080215/seg_addr_table
<<<          obj /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080215/redo_prebinding
<<<          obj /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080215/ranlib
<<<          obj /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080215/pagestuff
<<<          obj /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080215/otool64
<<<          obj /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080215/otool
<<<          obj /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080215/nmedit
<<<          obj /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080215/nm
<<<          obj /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080215/lipo
<<<          obj /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080215/libtool
<<<          sym /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080215/ld64
<<<          obj /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080215/ld
<<<          obj /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080215/install_name_tool
<<<          obj /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080215/indr
<<<          obj /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080215/checksyms
<<<          obj /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080215/as
<<<          obj /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080215/ar
--- replaced dir /Gentoo/usr/i686-apple-darwin9/binutils-bin
--- replaced dir /Gentoo/usr/i686-apple-darwin9
--- replaced dir /Gentoo/usr
<<<          obj /Gentoo/etc/env.d/binutils/i686-apple-darwin9-20080215
--- replaced dir /Gentoo/etc/env.d/binutils
--- replaced dir /Gentoo/etc/env.d
--- replaced dir /Gentoo/etc
<<<          dir /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215/man/man5
<<<          dir /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215/man/man3
<<<          dir /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215/man/man1
<<<          dir /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215/man
<<<          dir /Gentoo/usr/share/binutils-data/i686-apple-darwin9/20080215
<<<          dir /Gentoo/usr/lib/binutils/i686-apple-darwin9/20080215/as/x86_64
<<<          dir /Gentoo/usr/lib/binutils/i686-apple-darwin9/20080215/as/ppc64
<<<          dir /Gentoo/usr/lib/binutils/i686-apple-darwin9/20080215/as/ppc
<<<          dir /Gentoo/usr/lib/binutils/i686-apple-darwin9/20080215/as/i386
<<<          dir /Gentoo/usr/lib/binutils/i686-apple-darwin9/20080215/as
<<<          dir /Gentoo/usr/lib/binutils/i686-apple-darwin9/20080215
<<<          dir /Gentoo/usr/i686-apple-darwin9/binutils-bin/20080215
Traceback (most recent call last):
  File "/Gentoo/usr/bin/emerge", line 20, in <module>
    retval = _emerge.emerge_main()
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 13901, in emerge_main
    myopts, myaction, myfiles, spinner)
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 12982, in action_build
    retval = mergetask.merge()
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 9458, in merge
    rval = self._merge()
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 9716, in _merge
    self._main_loop()
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 9837, in _main_loop
    self._poll_loop()
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 8430, in _poll_loop
    handler(f, event)
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 2201, in _output_handler
    self.wait()
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 1654, in wait
    self._wait_hook()
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 1727, in _wait_hook
    self._exit_listener_stack.pop()(self)
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 2883, in _post_phase_exit
    self.wait()
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 1654, in wait
    self._wait_hook()
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 1727, in _wait_hook
    self._exit_listener_stack.pop()(self)
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 1959, in _task_exit_handler
    self.wait()
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 1654, in wait
    self._wait_hook()
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 1727, in _wait_hook
    self._exit_listener_stack.pop()(self)
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 1910, in _default_final_exit
    return self.wait()
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 1654, in wait
    self._wait_hook()
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 1727, in _wait_hook
    self._exit_listener_stack.pop()(self)
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 2525, in _build_exit
    self.wait()
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 1654, in wait
    self._wait_hook()
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 1727, in _wait_hook
    self._exit_listener_stack.pop()(self)
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 3535, in _ebuild_exit
    self.wait()
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 1654, in wait
    self._wait_hook()
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 1727, in _wait_hook
    self._exit_listener_stack.pop()(self)
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 9696, in _build_exit
    self._schedule()
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 8343, in _schedule
    return self._schedule_tasks()
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 9852, in _schedule_tasks
    if q.schedule():
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 8235, in schedule
    task.start()
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 1635, in start
    self._start()
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 3611, in _start
    self.returncode = self.merge.merge()
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 3578, in merge
    retval = self._install_task.install()
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 2608, in install
    rval = merge.execute()
  File "/Gentoo/usr/lib/portage/pym/_emerge/__init__.py", line 2942, in execute
    blockers=self.find_blockers)
  File "/Gentoo/usr/lib/portage/pym/portage/__init__.py", line 6032, in merge
    mydbapi=mydbapi, prev_mtimes=prev_mtimes)
  File "/Gentoo/usr/lib/portage/pym/portage/dbapi/vartree.py", line 3701, in merge
    mydbapi=mydbapi, prev_mtimes=prev_mtimes)
  File "/Gentoo/usr/lib/portage/pym/portage/dbapi/vartree.py", line 3709, in _merge
    cleanup=cleanup, mydbapi=mydbapi, prev_mtimes=prev_mtimes)
  File "/Gentoo/usr/lib/portage/pym/portage/dbapi/vartree.py", line 3313, in treewalk
    others_in_slot=others_in_slot)
  File "/Gentoo/usr/lib/portage/pym/portage/dbapi/vartree.py", line 2164, in unmerge
    consumers = self.vartree.dbapi.linkmap.findConsumers(f)
  File "/Gentoo/usr/lib/portage/pym/portage/dbapi/vartree.py", line 751, in findConsumers
    raise KeyError("%s not in object list" % obj)
KeyError: '/Gentoo/usr/lib/libaprutil-1.0.3.0.dylib not in object list'

Re: Lossage due to sys-devel/odcctools-20080820

by Fabian Groffen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 24-08-2008 00:54:20 -0700, Svoop wrote:
>
> Anything I can do to get a working compiler again and clean the mess? Right
> now my Prefix is locked dead and I have no idea what to try.

Yesterday someone else with the exact same problem gave me some more
information.
At this point it looks pretty bad, because the script to switch the
linker (binutils-config) needs to compile a piece of code, which of
course doesn't work, because the linker is messed up.

I'm looking now if this can be avoided for this case somehow.  Haubi,
input is appreciated.


--
Fabian Groffen
Gentoo on a different level


Re: Lossage due to sys-devel/odcctools-20080820

by Fabian Groffen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 24-08-2008 01:38:47 -0700, Svoop wrote:
>
> How could I forget the backup :-) I recovered a pre-incident version of
> /Gentoo and tried a fresh system update on it. Here's how the emerge of
> odcctools-20080820 dies with "KeyError:
> '/Gentoo/usr/lib/libaprutil-1.0.3.0.dylib not in object list'":

could you try redoing that but with env FEATURES="-preserve-libs"?


--
Fabian Groffen
Gentoo on a different level


Re: Lossage due to sys-devel/odcctools-20080820

by Fabian Groffen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok, for all:

the solution appears to execute the following steps:
% emerge native-cctools
% binutils-config 1
% emerge --clean native-cctools
% env FEATURES="-collision-protect" emerge -u odcctools

I'm trying to fix more things to avoid this next time odcctools gets an
upgrade :(

Sorry for the inconvenience...


On 24-08-2008 10:51:23 +0200, Fabian Groffen wrote:

> On 24-08-2008 00:54:20 -0700, Svoop wrote:
> >
> > Anything I can do to get a working compiler again and clean the mess? Right
> > now my Prefix is locked dead and I have no idea what to try.
>
> Yesterday someone else with the exact same problem gave me some more
> information.
> At this point it looks pretty bad, because the script to switch the
> linker (binutils-config) needs to compile a piece of code, which of
> course doesn't work, because the linker is messed up.
>
> I'm looking now if this can be avoided for this case somehow.  Haubi,
> input is appreciated.
>
>
> --
> Fabian Groffen
> Gentoo on a different level
>

--
Fabian Groffen
Gentoo on a different level


Re: Lossage due to sys-devel/odcctools-20080820

by Fabian Groffen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 24-08-2008 11:43:59 +0200, Fabian Groffen wrote:
> Ok, for all:
>
> the solution appears to execute the following steps:
> % emerge native-cctools
> % binutils-config 1
> % emerge --clean native-cctools

ehrm... this should have been
% emerge --unmerge native-cctools
of course

> % env FEATURES="-collision-protect" emerge -u odcctools
>
> I'm trying to fix more things to avoid this next time odcctools gets an
> upgrade :(
>
> Sorry for the inconvenience...


--
Fabian Groffen
Gentoo on a different level


Re: Lossage due to sys-devel/odcctools-20080820

by mattmatteh-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, 24 Aug 2008, Fabian Groffen wrote:

> Ok, for all:
>
> the solution appears to execute the following steps:
> % emerge native-cctools
> % binutils-config 1
> % emerge --clean native-cctools

powerpc-apple-darwin8-gcc -x objective-c -fobjc-abi-version=1 -Wall
-Wno-import  -DHAVE_CONFIG_H    -I. -I. -I../include -I../include -include
../include/extern.h  -02 -pipe -maltivec -mcpu=G4 -mtune=G4
-fno-builtin-round -fno-builtin-trunc -mdynamic-no-pic  -c -o print_objc.o
print_objc.c
powerpc-apple-darwin8-gcc: unrecognized option '-02'
cc1obj: error: unrecognized command line option "-fobjc-abi-version=1"
make[1]: *** [print_objc.o] Error 1
make[1]: Leaving directory
`/Users/matt/gentoo/var/tmp/portage/sys-devel/odcctools-20080820/work/odcctools-20080820/otool'
make: *** [otool] Error 2
  * ERROR: sys-devel/odcctools-20080820 failed:
  *   emake failed

> % env FEATURES="-collision-protect" emerge -u odcctools
>
> I'm trying to fix more things to avoid this next time odcctools gets an
> upgrade :(
>
> Sorry for the inconvenience...


Re: Lossage due to sys-devel/odcctools-20080820

by Fabian Groffen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 24-08-2008 13:17:13 -0500, mattmatteh@... wrote:
> powerpc-apple-darwin8-gcc -x objective-c -fobjc-abi-version=1 -Wall  
> -Wno-import  -DHAVE_CONFIG_H    -I. -I. -I../include -I../include
> -include ../include/extern.h  -02 -pipe -maltivec -mcpu=G4 -mtune=G4  
> -fno-builtin-round -fno-builtin-trunc -mdynamic-no-pic  -c -o
> print_objc.o print_objc.c
> powerpc-apple-darwin8-gcc: unrecognized option '-02'
> cc1obj: error: unrecognized command line option "-fobjc-abi-version=1"

These are errors caused by not using gcc-apple (4.0.1 or 4.2.1), but FSF
gcc.

You'll have to switch back to an gcc-apple compiler for odcctools to
compile.


--
Fabian Groffen
Gentoo on a different level