Opened 14 years ago

Closed 14 years ago

#24102 closed defect (fixed)

i386-elf-gcc conflicts with i386-elf-binutils on libiberty.a

Reported by: rzilibowitz@… Owned by: stepan@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: jinksys@…, jeffrey.m.engel+macports@…, nevil (Anders Hasselqvist)
Port: i386-elf-gcc i386-elf-binutils

Description

Debug output is copy pasted in below:

DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/cross/i386-elf-gcc
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/cross/i386-elf-gcc
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant darwin is not provided by port i386-elf-gcc.
DEBUG: Requested variant i386 is not provided by port i386-elf-gcc.
DEBUG: Requested variant macosx is not provided by port i386-elf-gcc.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/cross/i386-elf-binutils
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: i386-elf-binutils 2.18.50.0.9_0 exists in the ports tree
DEBUG: i386-elf-binutils 2.18.50.0.9_0 +darwin_10 is the latest installed
DEBUG: i386-elf-binutils 2.18.50.0.9_0 +darwin_10 is active
DEBUG: Merging existing variants darwin_10 into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/cross/i386-elf-binutils
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: adding the default universal variant
DEBUG: Requested variant darwin is not provided by port i386-elf-binutils.
DEBUG: Requested variant i386 is not provided by port i386-elf-binutils.
DEBUG: Requested variant macosx is not provided by port i386-elf-binutils.
DEBUG: Executing variant darwin_10 provides darwin_10
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gettext
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: gettext 0.17_4 exists in the ports tree
DEBUG: gettext 0.17_4  is the latest installed
DEBUG: gettext 0.17_4  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gettext
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/archcheck-1.0.tcl
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port gettext.
DEBUG: Requested variant i386 is not provided by port gettext.
DEBUG: Requested variant macosx is not provided by port gettext.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: libiconv 1.13.1_0 exists in the ports tree
DEBUG: libiconv 1.13.1_0  is the latest installed
DEBUG: libiconv 1.13.1_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port libiconv.
DEBUG: Requested variant i386 is not provided by port libiconv.
DEBUG: Requested variant macosx is not provided by port libiconv.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gperf
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: gperf 3.0.4_0 exists in the ports tree
DEBUG: gperf 3.0.4_0  is the latest installed
DEBUG: gperf 3.0.4_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gperf
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port gperf.
DEBUG: Requested variant i386 is not provided by port gperf.
DEBUG: Requested variant macosx is not provided by port gperf.
DEBUG: No need to upgrade! gperf 3.0.4_0 >= gperf 3.0.4_0
DEBUG: No need to upgrade! libiconv 1.13.1_0 >= libiconv 1.13.1_0
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: ncurses 5.7_0 exists in the ports tree
DEBUG: ncurses 5.7_0 +darwin_10 is the latest installed
DEBUG: ncurses 5.7_0 +darwin_10 is active
DEBUG: Merging existing variants darwin_10 into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port ncurses.
DEBUG: Requested variant i386 is not provided by port ncurses.
DEBUG: Requested variant macosx is not provided by port ncurses.
DEBUG: Executing variant darwin_10 provides darwin_10
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: ncursesw 5.7_0 exists in the ports tree
DEBUG: ncursesw 5.7_0 +darwin_10 is the latest installed
DEBUG: ncursesw 5.7_0 +darwin_10 is active
DEBUG: Merging existing variants darwin_10 into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port ncursesw.
DEBUG: Requested variant i386 is not provided by port ncursesw.
DEBUG: Requested variant macosx is not provided by port ncursesw.
DEBUG: Executing variant darwin_10 provides darwin_10
DEBUG: No need to upgrade! ncursesw 5.7_0 >= ncursesw 5.7_0
DEBUG: No need to upgrade! ncurses 5.7_0 >= ncurses 5.7_0
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/expat
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: expat 2.0.1_0 exists in the ports tree
DEBUG: expat 2.0.1_0  is the latest installed
DEBUG: expat 2.0.1_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/expat
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant darwin is not provided by port expat.
DEBUG: Requested variant i386 is not provided by port expat.
DEBUG: Requested variant macosx is not provided by port expat.
DEBUG: No need to upgrade! expat 2.0.1_0 >= expat 2.0.1_0
DEBUG: No need to upgrade! gettext 0.17_4 >= gettext 0.17_4
DEBUG: No need to upgrade! i386-elf-binutils 2.18.50.0.9_0 >= i386-elf-binutils 2.18.50.0.9_0
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gmp
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: gmp 5.0.1_0 exists in the ports tree
DEBUG: gmp 5.0.1_0  is the latest installed
DEBUG: gmp 5.0.1_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gmp
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port gmp.
DEBUG: Requested variant i386 is not provided by port gmp.
DEBUG: Requested variant macosx is not provided by port gmp.
DEBUG: No need to upgrade! gmp 5.0.1_0 >= gmp 5.0.1_0
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/mpfr
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: mpfr 2.4.2-p1_0 exists in the ports tree
DEBUG: mpfr 2.4.2-p1_0  is the latest installed
DEBUG: mpfr 2.4.2-p1_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/mpfr
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port mpfr.
DEBUG: Requested variant i386 is not provided by port mpfr.
DEBUG: Requested variant macosx is not provided by port mpfr.
DEBUG: No need to upgrade! mpfr 2.4.2-p1_0 >= mpfr 2.4.2-p1_0
--->  Computing dependencies for i386-elf-gcc
DEBUG: Searching for dependency: i386-elf-binutils
DEBUG: Found Dependency: receipt exists for i386-elf-binutils
DEBUG: Searching for dependency: gmp
DEBUG: Found Dependency: receipt exists for gmp
DEBUG: Searching for dependency: mpfr
DEBUG: Found Dependency: receipt exists for mpfr
DEBUG: Searching for dependency: gettext
DEBUG: Found Dependency: receipt exists for gettext
--->  Activating i386-elf-gcc @4.3.2_0
DEBUG: Image error: /opt/local/lib/x86_64/libiberty.a is being used by the active i386-elf-binutils port.  Please deactivate this port first, or use 'port -f activate i386-elf-gcc' to force the activation.
    while executing
"_activate_contents $name $imagefiles $imagedir"
    (procedure "portimage::activate" line 56)
    invoked from within
"registry_activate $name ${version}_${revision}${portvariants} [array get user_options]"
    (procedure "eval_targets" line 21)
    invoked from within
"eval_targets activate"
    invoked from within
"$workername eval eval_targets $target"
    (procedure "mportexec" line 85)
    invoked from within
"mportexec $workername $target"
Error: Unable to execute port: Image error: /opt/local/lib/x86_64/libiberty.a is being used by the active i386-elf-binutils port.  Please deactivate this port first, or use 'port -f activate i386-elf-gcc' to force the activation.
To report a bug, see <http://guide.macports.org/#project.tickets>

Change History (7)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to stepan@…
Port: i386-elf-gcc added

Please remember to fill in the Port field and cc the maintainer.

comment:2 Changed 14 years ago by jeffrey.m.engel+macports@…

Cc: jeffrey.m.engel+macports@… added

Cc Me!

comment:3 Changed 14 years ago by nevil (Anders Hasselqvist)

Cc: anders.hasselqvist@… added

Cc Me!

comment:4 Changed 14 years ago by stepan@…

i386-elf-gcc should not touch /opt/local/lib/x86_64/libiberty.a at all. It's part of i386-elf-binutils, or it should be.

Can someone with more experience in the macports PortFile magic jump in and help here?

comment:5 Changed 14 years ago by mf2k (Frank Schima)

I have a patch to try, but I cannot get past #21706.

comment:6 Changed 14 years ago by jmroot (Joshua Root)

Cc: jinksys@… added
Port: i386-elf-binutils added
Summary: i386-elf-gcc activation failsi386-elf-gcc conflicts with i386-elf-binutils on libiberty.a

comment:7 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.