[MacPorts] #66613: flac @1.4.2 fails to build on Lion - Undefined symbols ___cpuid and ___cpuid_count

MacPorts noreply at macports.org
Tue Jan 3 16:36:57 UTC 2023


#66613: flac @1.4.2 fails to build on Lion - Undefined symbols ___cpuid and
___cpuid_count
---------------------+--------------------
  Reporter:  RobK88  |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.8.0
Resolution:          |   Keywords:  lion
      Port:  flac    |
---------------------+--------------------

Comment (by RobK88):

 Until the port is fixed, the workaround is to use a newer compiler such as
 clang-9.0. See below:

 bash-3.2$ sudo port clean flac
 Password:
 --->  Cleaning flac
 bash-3.2$
 bash-3.2$ sudo port upgrade flac configure.compiler=macports-clang-9.0
 --->  Computing dependencies for flac
 --->  Fetching distfiles for flac
 --->  Verifying checksums for flac
 --->  Extracting flac
 --->  Configuring flac
 --->  Building flac
 --->  Staging flac into destroot
 --->  Installing flac @1.4.2_0
 --->  Cleaning flac
 --->  Computing dependencies for flac
 --->  Deactivating flac @1.3.4_0
 --->  Cleaning flac
 --->  Activating flac @1.4.2_0
 --->  Cleaning flac
 --->  Updating database of binaries
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 --->  No broken ports found.
 bash-3.2$
 bash-3.2$ flac --version
 flac 1.4.2
 bash-3.2$

-- 
Ticket URL: <https://trac.macports.org/ticket/66613#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list