Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#23343 closed defect (invalid)

trouble installing gettext on Snow leopard

Reported by: CelindaVielh@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: clytie@…
Port: gettext

Description (last modified by mf2k (Frank Schima))

I'm in trouble installing gettext on Snow Leopard:

sudo port -d install gettext +universal

[...]

--->  Configuring gettext
DEBUG: Using compiler 'Mac OS X gcc 4.2'
DEBUG: Executing proc-pre-org.macports.configure-configure-0
Error: You cannot install gettext for the architecture(s) x86_64 i386 because
Error: its dependency libiconv only contains the architecture(s) cputype 16777223 cpusubtype 3.
Error: Target org.macports.configure returned: incompatible architectures in dependencies
DEBUG: Backtrace: incompatible architectures in dependencies
    while executing
"$pre $targetname"
Warning: the following items did not execute (for gettext): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

and:

bash-3.2$ sudo port installed libiconv
The following ports are currently installed:
  libiconv @1.13_0+universal (active)

I have tried the installation with and without the option +universal, always the same error. I'don't know how to solve this problem. thanks a lot for your help.

Change History (15)

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

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Port: gettext added

comment:2 in reply to:  description Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Status: newassigned

Replying to CelindaVielh@…:

Error: You cannot install gettext for the architecture(s) x86_64 i386 because
Error: its dependency libiconv only contains the architecture(s) cputype 16777223 cpusubtype 3.

We appear to have a malfunction in the archcheck portgroup. Could you please send the output of

lipo -info /opt/local/lib/libiconv.dylib

and also tell us more about which computer you have? What kind of processor does it have?

comment:3 Changed 14 years ago by CelindaVielh@…

It's a MacBook Pro with an Intel core 2 duo running Mac OS 10.6.2

lipo -info /opt/local/lib/libiconv.dylib

gives

Architectures in the fat file: /opt/local/lib/libiconv.dylib are: i386 (cputype (16777223) cpusubtype (3))

comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Ok, I hadn't anticipated the parenthetical cputype and cpusubtype clause when designing the archcheck portgroup. Looking at the lipo source code, it seems that's what it prints when it doesn't know a cputype/cpusubtype combination. I'm not sure why this would occur though. cputype 16777223 is CPU_TYPE_X86_64 and cpusubtype 3 is CPU_SUBTYPE_X86_64_ALL which are defined in machine.h and should lead lipo to output the architecture "x86_64". I don't know why it doesn't for you. I'm also unclear why the parentheses are absent in the output MacPorts displayed to you initially; I'm unable to reproduce that here.

Possibilities that come to mind are: do you have the latest developer tools installed? If not, please upgrade to Xcode 3.2.1. If that's not it, then I'd suspect your lipo is not Apple's lipo. What does "which lipo" say?

comment:5 in reply to:  4 Changed 14 years ago by CelindaVielh@…

I have re-installed (upgrade) Xcode 3.2.1 when I had this problem the first time, but it persists

which lipo

gives

/usr/bin/lipo

comment:6 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Some Googling of "(cputype (16777223) cpusubtype (3))" leads me to wonder if you have a file like /usr/local/lib/libgcc_s.10.4.dylib on your machine.

comment:7 Changed 14 years ago by clytie@…

Cc: clytie@… added

Cc Me!

comment:8 Changed 14 years ago by clytie@…

I'm having a very similar problem. I upgraded to Snow Leopard quite a while back, and I'm not sure I've used MacPorts since then, since I've been too sick. However, I tried selfupdating today, got the "can't find package macports" message, installed the latest MacPorts binary (MacPorts-1.8.2-10.6-SnowLeopard.dmg), selfupdated successfully via Porticus, and then tried to update git-core. Here's the complete debug (and yes, I did install XCode with Snow Leopard):

$ sudo /opt/local/bin/port -d upgrade git-core +doc +bash_completion
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/git-core
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: git-core 1.7.0.3_0 exists in the ports tree
DEBUG: git-core 1.5.4.4_0 +doc is the latest installed
DEBUG: git-core 1.5.4.4_0 +doc is active
DEBUG: Merging existing variants doc into variants
DEBUG: new fully merged portvariants: doc + bash_completion +
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/git-core
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: not using configure, so not adding the default universal variant
DEBUG: Requested variant darwin is not provided by port git-core.
DEBUG: Requested variant i386 is not provided by port git-core.
DEBUG: Requested variant macosx is not provided by port git-core.
DEBUG: Executing variant doc provides doc
DEBUG: Executing variant bash_completion provides bash_completion
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/curl
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: curl 7.20.0_0 exists in the ports tree
DEBUG: curl 7.18.0_0  is the latest installed
DEBUG: curl 7.18.0_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: doc + bash_completion +
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/curl
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 curl.
DEBUG: Requested variant i386 is not provided by port curl.
DEBUG: Requested variant doc is not provided by port curl.
DEBUG: Requested variant macosx is not provided by port curl.
DEBUG: Requested variant bash_completion is not provided by port curl.
DEBUG: Executing variant ssl provides ssl
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/pkgconfig
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: pkgconfig 0.23_1 exists in the ports tree
DEBUG: pkgconfig 0.23_1  is the latest installed
DEBUG: pkgconfig 0.23_1  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: doc + bash_completion +
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/pkgconfig
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 pkgconfig.
DEBUG: Requested variant i386 is not provided by port pkgconfig.
DEBUG: Requested variant doc is not provided by port pkgconfig.
DEBUG: Requested variant macosx is not provided by port pkgconfig.
DEBUG: Requested variant bash_completion is not provided by port pkgconfig.
DEBUG: No need to upgrade! pkgconfig 0.23_1 >= pkgconfig 0.23_1
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: zlib 1.2.4_1 exists in the ports tree
DEBUG: zlib 1.2.4_1  is the latest installed
DEBUG: zlib 1.2.4_1  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: doc + bash_completion +
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
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 zlib.
DEBUG: Requested variant i386 is not provided by port zlib.
DEBUG: Requested variant doc is not provided by port zlib.
DEBUG: Requested variant macosx is not provided by port zlib.
DEBUG: Requested variant bash_completion is not provided by port zlib.
DEBUG: No need to upgrade! zlib 1.2.4_1 >= zlib 1.2.4_1
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/mail/libidn
DEBUG: libidn is *not* installed by MacPorts
DEBUG: Searching for dependency: libidn
DEBUG: Didn't find receipt, going to depspec regex for: libidn
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/mail/libidn
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 libidn.
DEBUG: Requested variant i386 is not provided by port libidn.
DEBUG: Requested variant doc is not provided by port libidn.
DEBUG: Requested variant macosx is not provided by port libidn.
DEBUG: Requested variant bash_completion is not provided by port libidn.
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: doc + bash_completion +
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 doc is not provided by port libiconv.
DEBUG: Requested variant macosx is not provided by port libiconv.
DEBUG: Requested variant bash_completion 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: doc + bash_completion +
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 doc is not provided by port gperf.
DEBUG: Requested variant macosx is not provided by port gperf.
DEBUG: Requested variant bash_completion 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/gettext
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: gettext 0.17_4 exists in the ports tree
DEBUG: gettext 0.17_3  is the latest installed
DEBUG: gettext 0.17_3  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: doc + bash_completion +
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 doc is not provided by port gettext.
DEBUG: Requested variant macosx is not provided by port gettext.
DEBUG: Requested variant bash_completion is not provided by port gettext.
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: doc + bash_completion +
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 doc is not provided by port ncurses.
DEBUG: Requested variant macosx is not provided by port ncurses.
DEBUG: Requested variant bash_completion 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: doc + bash_completion +
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 doc is not provided by port ncursesw.
DEBUG: Requested variant macosx is not provided by port ncursesw.
DEBUG: Requested variant bash_completion 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: doc + bash_completion +
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 doc is not provided by port expat.
DEBUG: Requested variant macosx is not provided by port expat.
DEBUG: Requested variant bash_completion is not provided by port expat.
DEBUG: No need to upgrade! expat 2.0.1_0 >= expat 2.0.1_0
--->  Computing dependencies for gettext
DEBUG: Searching for dependency: libiconv
DEBUG: Found Dependency: receipt exists for libiconv
DEBUG: Searching for dependency: ncurses
DEBUG: Found Dependency: receipt exists for ncurses
DEBUG: Searching for dependency: expat
DEBUG: Found Dependency: receipt exists for expat
DEBUG: Executing org.macports.main (gettext)
DEBUG: Skipping completed org.macports.fetch (gettext)
DEBUG: Skipping completed org.macports.checksum (gettext)
DEBUG: Skipping completed org.macports.extract (gettext)
DEBUG: Skipping completed org.macports.patch (gettext)
--->  Configuring gettext
DEBUG: Using compiler 'Mac OS X gcc 4.2'
DEBUG: Executing proc-pre-org.macports.configure-configure-0
Error: You cannot install gettext for the architecture(s) x86_64 because
Error: its dependency expat only contains the architecture(s) i386.
Error: 
Error: Did you upgrade to a new version of Mac OS X? If so, please see
Error: 
Error:     http://trac.macports.org/wiki/Migration
Error: 
Error: Target org.macports.configure returned: incompatible architectures in dependencies
DEBUG: Backtrace: incompatible architectures in dependencies
    while executing
"$pre $targetname"
Warning: the following items did not execute (for gettext): org.macports.destroot org.macports.configure org.macports.build
DEBUG: Registry error: libidn not registered as installed & active.
    while executing
"registry::active $portname"
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>

I hope it helps.

comment:9 Changed 14 years ago by clytie@…

I checked, and I do not have any file similar to "/usr/local/lib/libgcc_s.10.4.dylib" on my system. There are no "libgcc" files in that directory. This is a mid-2009 MacBook Pro: I upgraded it from Leopard to Snow Leopard, IIRC.

comment:10 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

And did you take a look at the Migration page as the error message says to? When you upgrade to Snow Leopard, you must uninstall and reinstall all ports. But this isn't related to the error originally reported in this ticket, about which I haven't received any further feedback....

comment:11 Changed 14 years ago by clytie@…

Yes, I did look at the Migration page, several times. However, I was unsure if, having installed the latest MacPorts binary, and selfupdated successfully, if I needed to go through all that rigmarole. <sigh> Seems like I do...

comment:12 Changed 14 years ago by clytie@…

OK, I went through the process, including installing ALL my needed ports again. It works, but it's laborious if you have many ports. Let us hope whatever OSX is next will not necessitate reinstalling everything again.

comment:13 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: assignedclosed

Whenever you upgrade to a new major version of Mac OS X, you should perform the Migration procedure.

comment:14 Changed 13 years ago by vona@…

I also had this issue. To my knowledge, I have never "upgraded to a new major version of Mac OS X".

$ lipo -info /opt/local/lib/libiconv.dylib
Non-fat file: /opt/local/lib/libiconv.dylib is architecture: cputype 16777223 cpusubtype 3
$ which lipo
/usr/bin/lipo
$ ls -l /usr/bin/lipo
-r-xr-xr-x  1 root  wheel  140936 Mar 15  2006 /usr/bin/lipo

This is the same old version of lipo that was reported in #24825.

Something is going on here, this has happened to several people. It's not strictly just due to system upgrade or "broken os install" as was the resolution in #24825.

So if you are looking for a solution, the suggestions here are helpful http://comments.gmane.org/gmane.os.apple.macports.user/20593

In detail:

  1. install pacifist from http://www.charlessoft.com/
  2. insert os x dvd
  3. launch pacifist, wait the shareware 15 seconds
  4. click "open apple install disks", wait a lot more time
  5. get impatient, click "stop"
  6. click "open package"
  7. navigate to mac os x install dvd
  8. not see the System directory
  9. go look up again how to see hidden files in the finder
  10. hit shift-cmd-period
  11. finally open System/Installation/Packages/BSD.pkg
  12. search for lipo within the package, find lipo and lipo.1 (the manpage)
  13. extract, wait more time
  14. replace the bad files:
    $ sudo cp lipo /usr/bin
    $ ls -l /usr/bin/lipo
    -r-xr-xr-x  1 root  wheel  138384 Oct 19 20:13 /usr/bin/lipo
    $ ls -l /usr/share/man/man1/lipo.1
    -r--r--r--  1 root  wheel  3818 Mar 15  2006 /usr/share/man/man1/lipo.1
    $ ls -l lipo.1
    -r--r--r--  1 root  wheel  4296 Jul  2  2009 lipo.1
    $ sudo mv /usr/share/man/man1/lipo.1 /usr/share/man/man1/lipo.1-BAD
    $ sudo cp lipo.1 /usr/share/man/man1/
    
  15. observe that my attempt to "port install opencv" is finally getting past building gettext...

comment:15 in reply to:  14 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to vona@…:

Something is going on here, this has happened to several people. It's not strictly just due to system upgrade or "broken os install" as was the resolution in #24825.

Toby may not have been very verbose in his comment in #24825, but it is a "broken OS", in that some process that was not MacPorts and not an Apple-approved software update (perhaps some as-yet-unidentified third-party software installer) has replaced /usr/bin/lipo with an older version that was not designed for Snow Leopard. And the solution is to put back the /usr/bin/lipo that came with Snow Leopard.

Note: See TracTickets for help on using tickets.