Opened 14 years ago

Closed 14 years ago

#26643 closed defect (invalid)

gettext won't build

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

Description (last modified by dbevans (David B. Evans))

sh-3.2# port upgrade --enforce-variants libiconv +universal
--->  Computing dependencies for gperf
--->  Fetching gperf
--->  Verifying checksum(s) for gperf
--->  Extracting gperf
--->  Configuring gperf
--->  Building gperf
--->  Staging gperf into destroot
--->  Computing dependencies for gperf
--->  Installing gperf @3.0.4_0+universal
--->  Deactivating gperf @3.0.4_0
--->  Activating gperf @3.0.4_0+universal
--->  Cleaning gperf
--->  Computing dependencies for libiconv
--->  Fetching libiconv
--->  Verifying checksum(s) for libiconv
--->  Extracting libiconv
--->  Applying patches to libiconv
--->  Configuring libiconv
--->  Building libiconv
--->  Staging libiconv into destroot
--->  Computing dependencies for libiconv
--->  Installing libiconv @1.13.1_0+universal
--->  Deactivating libiconv @1.13.1_0
--->  Activating libiconv @1.13.1_0+universal
--->  Cleaning libiconv
sh-3.2# port upgrade installed
--->  Computing dependencies for clisp
--->  Dependencies to be installed: gettext readline
--->  Configuring gettext
Error: You cannot install gettext for the architecture(s) x86_64 i386 because
Error: its dependency ncurses only contains the architecture(s) x86_64.
Error: 
Error: Try rebuilding ncurses (and all its dependencies) with
Error: the +universal variant by running
Error: 
Error:     sudo port upgrade --enforce-variants ncurses +universal
Error: 
Error: Target org.macports.configure returned: incompatible architectures in dependencies
Log for gettext is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/main.log
Error: The following dependencies failed to build: gettext readline
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>

Attachments (1)

main.log (1.5 KB) - added by darrell@… 14 years ago.

Download all attachments as: .zip

Change History (9)

Changed 14 years ago by darrell@…

Attachment: main.log added

comment:1 Changed 14 years ago by dbevans (David B. Evans)

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

Please

  • use wiki formatting to make text listings readable
  • copy the port maintainer so he/she sees your ticket
  • enter the name of the port in the port field

Have you tried doing what the error message suggested?

comment:3 Changed 14 years ago by darrell@…

Sorry that I didn't use the wiki formatting. Indeed, I did do exactly what the error message suggested before trying to build again. It's in the transcript below.

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

The transcript shows you rebuilding libiconv, not ncurses as the error message suggested.

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

Probably you first got a message advising you to rebuild libiconv, which you did, and then you got a second message about rebuilding ncurses, which you still need to do. And there may be more after that.

comment:6 Changed 14 years ago by darrell@…

I did actually. It comes right after libiconv:

sh-3.2# port upgrade installed
--->  Computing dependencies for clisp
--->  Dependencies to be installed: gettext readline
--->  Configuring gettext
Error: You cannot install gettext for the architecture(s) x86_64 i386 because
Error: its dependency ncurses only contains the architecture(s) x86_64.
Error: 
Error: Try rebuilding ncurses (and all its dependencies) with
Error: the +universal variant by running
Error: 
Error:     sudo port upgrade --enforce-variants ncurses +universal
Error: 
Error: Target org.macports.configure returned: incompatible architectures in dependencies
Log for gettext is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/main.log
Error: The following dependencies failed to build: gettext readline
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>

comment:7 Changed 14 years ago by darrell@…

Dang it. Hold on...

comment:8 Changed 14 years ago by darrell@…

Logjam broken. Ports seem to build now. But I hope this gets fixed so manual intervention isn't required.

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

Resolution: invalid
Status: newclosed

I'm glad you got it working. FYI, MacPorts 1.9.x already resolves upgrades to universal automatically, provided everything was built with MacPorts 1.9.0 or later; you're only seeing a need to manually intervene because presumably some ports were built with MacPorts 1.8.x or earlier. But since the error message we print out in this case tells you exactly what command to run to resolve the situation, hopefully this is not overly onerous.

Note: See TracTickets for help on using tickets.