Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #14397 (new defect)

Opened 10 months ago

Last modified 2 days ago

libmikmod not universal, despite specification in variants.conf

Reported by: dhaines@… Owned by: eridius@…
Priority: Normal Milestone: Port Bugs
Component: ports Version: 1.6.0
Keywords: libmikmod Cc:
Port: libmikmod

Description (last modified by ryandesign@…) (diff)

With "+universal" in variants.conf, libmikmod doesn't fully compile as universal. A sudo port install libmikmod (even with +universal) creates a universal libmikmod.3.0.0.dylib, but the libmikmod.a is i386 only (on a MacBook Pro).

"file libmikmod*" gives the following:
libmikmod.3.0.0.dylib: Mach-O dynamically linked shared library i386
libmikmod.3.dylib:     Mach-O dynamically linked shared library i386
libmikmod.a:           Mach-O universal binary with 2 architectures
libmikmod.a (for architecture i386):	current ar archive random library
libmikmod.a (for architecture ppc):	current ar archive random library
libmikmod.dylib:       Mach-O dynamically linked shared library i386
libmikmod.la:          ASCII English text

I don't know where to file this, as universal isn't in the Portfile.

Change History

Changed 9 months ago by afb@…

This might be because libmikmod port hardcodes configure.cflags ?

configure.cflags    "-no-cpp-precomp -Os"

Changed 9 months ago by afb@…

  • keywords libmikmod added
  • component changed from base to ports
  • milestone changed from MacPorts base bugs to Port Bugs

Changed 9 months ago by jmr@…

  • owner changed from macports-tickets@… to eridius@…

Assigning to maintainer.

Changed 2 days ago by ryandesign@…

  • description modified (diff)
  • port set to libmikmod

Other way around: the .a is universal but the .dylib is not. It's not surprising though, since libmikmod 3.2.0-beta2 is from Feb 20, 2004, well before there were any Intel Macs. And there isn't a later version available.

Since the maintainer hasn't responded, I turned off the universal variant for now, in r42922.

Note: See TracTickets for help on using tickets.