Opened 12 years ago

Closed 12 years ago

#37922 closed defect (fixed)

libcomerr fails to build +universal

Reported by: jeremyhu (Jeremy Huddleston Sequoia) Owned by: neverpanic (Clemens Lang)
Priority: High Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: jakub.moskal@…
Port: libcomerr

Description

I installed libcomerr +universal, but it's not:

$ ls /opt/local/var/macports/software/libcomerr/
libcomerr-1.42.7_0+universal.darwin_12.i386-x86_64.tbz2

$ /usr/bin/file /opt/local/lib/libcom_err.dylib 
/opt/local/lib/libcom_err.dylib: Mach-O 64-bit dynamically linked shared library x86_64

Change History (5)

comment:1 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Yeah, it looks like e2fsprogs was set to 'universal_variant no' because it's a nontrivial port. muniversal doesn't "just work" and setting this port to 'universal_variant no' isn't really an option since so much depends on it...

comment:2 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Priority: NormalHigh

Marked as 'universal_variant no' in the interim, so users see more relevant error messages, but this is not a permanent solution.

r102471

comment:3 Changed 12 years ago by jakub.moskal@…

Cc: jakub.moskal@… added

Cc Me!

comment:4 in reply to:  description Changed 12 years ago by dev@…

Replying to jeremyhu@…:

I installed libcomerr +universal, but it's not:

$ ls /opt/local/var/macports/software/libcomerr/
libcomerr-1.42.7_0+universal.darwin_12.i386-x86_64.tbz2

$ /usr/bin/file /opt/local/lib/libcom_err.dylib 
/opt/local/lib/libcom_err.dylib: Mach-O 64-bit dynamically linked shared library x86_64

I just got the same while upgrading Kerberos5:

danielk-macbook:~ $ sudo port upgrade outdated
Password:
--->  Computing dependencies for libcomerr
--->  Fetching archive for libcomerr
--->  Attempting to fetch libcomerr-1.42.7_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/libcomerr
--->  Attempting to fetch libcomerr-1.42.7_0.darwin_12.x86_64.tbz2.rmd160 from http://packages.macports.org/libcomerr
--->  Installing libcomerr @1.42.7_0
--->  Deactivating kerberos5 @1.7.2_0+universal
--->  Activating libcomerr @1.42.7_0
--->  Cleaning libcomerr
--->  Computing dependencies for kerberos5
Error: Cannot install kerberos5 for the arch(s) 'i386 x86_64' because
Error: its dependency libcomerr does not build for the required arch(s) by default
Error: and does not have a universal variant.
Error: Unable to upgrade port: architecture mismatch
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
danielk-macbook:~ $ sudo port upgrade outdated
--->  Computing dependencies for kerberos5
Error: Cannot install kerberos5 for the arch(s) 'i386 x86_64' because
Error: its dependency libcomerr does not build for the required arch(s) by default
Error: and does not have a universal variant.
Error: Unable to upgrade port: architecture mismatch
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
danielk-macbook:~ $

comment:5 Changed 12 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed

Fixed in r102564.

Note: See TracTickets for help on using tickets.