Opened 14 years ago

Closed 14 years ago

#26397 closed defect (invalid)

Conflicting versions of libiconv when building ncursesw

Reported by: Themanwithoutaplan Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: ncursesw

Description

Got this while trying to install pgAdmin3. libiconv was installed as a dependency but it seems there is a version conflict.

Attachments (1)

main.log (4.8 KB) - added by Themanwithoutaplan 14 years ago.
Error log

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by Themanwithoutaplan

Attachment: main.log added

Error log

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

Cc: ryandesign@… added

What architecture is /opt/local/lib/libiconv.2.dylib? I suspect it is not x86_64 as it needs to be. Verify with:

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

The common reason for this is if you had libiconv installed, then upgraded from Tiger or Leopard to Snow Leopard, then tried to install another port that relies on libiconv without following the Migration instructions.

comment:2 in reply to:  1 Changed 14 years ago by Themanwithoutaplan

That does seem to be the problem, although not from an upgrade. This is what happened immediately prior to the build failure.

sudo port install pgAdmin3
--->  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
--->  Computing dependencies for ncursesw
--->  Fetching ncursesw
--->  Verifying checksum(s) for ncursesw
--->  Extracting ncursesw
--->  Applying patches to ncursesw
--->  Configuring ncursesw

So it looks like the port I wanted to install was insisting on @universal libraries. I'll change the portfile(s) and give it another go. Thanks for the pointe.

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

Resolution: invalid
Status: newclosed

pgAdmin3 only supports 32-bit archs. Dependencies need to be installed with the union of the archs of their dependents.

Note: See TracTickets for help on using tickets.