[MacPorts] #71852: mesa @24.3.2_0+llvm+universal: Failing to configure

MacPorts noreply at macports.org
Thu Jan 16 14:07:03 UTC 2025


#71852: mesa @24.3.2_0+llvm+universal: Failing to configure
-----------------------------+--------------------
 Reporter:  isolated-matrix  |      Owner:  (none)
     Type:  defect           |     Status:  new
 Priority:  Normal           |  Milestone:
Component:  ports            |    Version:  2.10.5
 Keywords:                   |       Port:  mesa
-----------------------------+--------------------
 I was trying to update my ports to their latest versions (`sudo port
 upgrade outdated`) when I came across an error which I cannot get past.
 For some reason, mesa does not seem to be able to configure. The relevant
 parts of the terminal output say:

 {{{
 --->  Computing dependencies for mesa
 --->  Fetching archive for mesa
 --->  Attempting to fetch
 mesa-24.3.2_0+llvm+universal.darwin_24.arm64-x86_64.tbz2 from
 https://packages.macports.org/mesa
 --->  Attempting to fetch
 mesa-24.3.2_0+llvm+universal.darwin_24.arm64-x86_64.tbz2 from
 https://nue.de.packages.macports.org/mesa
 --->  Attempting to fetch
 mesa-24.3.2_0+llvm+universal.darwin_24.arm64-x86_64.tbz2 from
 https://fra.de.packages.macports.org/mesa
 --->  Fetching distfiles for mesa
 --->  Verifying checksums for mesa
 --->  Extracting mesa
 --->  Applying patches to mesa
 --->  Applying patches to mesa
 --->  Configuring mesa
 Error: Failed to configure mesa: consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_mesa/mesa/work
 /build-x86_64/meson-logs/meson-log.txt
 Error: Failed to configure mesa: configure failure: command execution
 failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_mesa/mesa/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 }}}

 I have checked the log files, but I am not sure what they mean. In the
 meson-log.txt file, the first error pops up on line 26, saying `clang:
 error: linker command failed with exit code 1 (use -v to see invocation)`.
 Periodically throughout the log file, other errors pop up stating:

 {{{
 stderr:
 Undefined symbols for architecture x86_64:
   "_popcount", referenced from:
       _main in testfile-f2e07b.o
 ld: symbol(s) not found for architecture x86_64
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 }}}

 I'm not sure if they are related or not. I will attach both log files to
 this ticket, just in case they help.

 If anyone has any ideas what the problem might be, and if there is
 something I can do to help, please let me know!

 I am using a MacBook Pro M1 Max running the latest version of macOS
 (15.2). Xcode 16.2 is installed.

-- 
Ticket URL: <https://trac.macports.org/ticket/71852>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list