[MacPorts] #66612: lzma Fails to Build on Lion
MacPorts
noreply at macports.org
Tue Jan 3 14:00:14 UTC 2023
#66612: lzma Fails to Build on Lion
--------------------+--------------------
Reporter: RobK88 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.0
Keywords: lion | Port: lzma
--------------------+--------------------
The latest port for lzma fails to build again on Lion. Ken fixed it a
couple of months ago. I do not what has changed.
Until the port is fixed, the workaround is to use a newer compiler such as
clang-9.0.
See below:
{{{
---> Scanning binaries for linking errors
---> No broken files found.
---> Found 1 broken port, determining rebuild order
---> Rebuilding in order
lzma @22.01_1
---> Computing dependencies for lzma
---> Fetching distfiles for lzma
---> Verifying checksums for lzma
---> Extracting lzma
---> Applying patches to lzma
---> Configuring lzma
---> Building lzma
---> Staging lzma into destroot
---> Unable to uninstall lzma @22.01_1, the following ports depend on it:
---> boost171 @1.71.0_6+no_single+no_static+python310
---> boost176 @1.76.0_6+no_single+no_static+python310
Warning: Uninstall forced. Proceeding despite dependencies.
---> Deactivating lzma @22.01_1
---> Cleaning lzma
---> Uninstalling lzma @22.01_1
---> Cleaning lzma
---> Computing dependencies for lzma
---> Installing lzma @22.01_1
---> Activating lzma @22.01_1
---> Cleaning lzma
---> Scanning binaries for linking errors
---> No broken files found.
Error: Port lzma is still broken (cxx_stdlib mismatch) after rebuilding it
more than 3 times.
Error: Please run port -d -y rev-upgrade and use the output to report a
bug.
Error: rev-upgrade failed: Port lzma still broken after rebuilding 3 times
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
---> Some of the ports you installed have notes:
lzma has the following notes:
The LZMA SDK program is installed as "lzma_alone", to avoid conflict
with LZMA Utils
py311-cython has the following notes:
To make the Python 3.11 version of Cython the one that is run when you
execute the commands without a version suffix, e.g. 'cython', run:
port select --set cython cython311
bash-3.2$
bash-3.2$ sudo port upgrade lzma configure.compiler=macports-clang-9.0
Password:
---> Computing dependencies for lzma
---> Fetching distfiles for lzma
---> Verifying checksums for lzma
---> Extracting lzma
---> Applying patches to lzma
---> Configuring lzma
---> Building lzma
---> Staging lzma into destroot
---> Unable to uninstall lzma @22.01_1, the following ports depend on it:
---> boost171 @1.71.0_6+no_single+no_static+python310
---> boost176 @1.76.0_6+no_single+no_static+python310
Warning: Uninstall forced. Proceeding despite dependencies.
---> Deactivating lzma @22.01_1
---> Cleaning lzma
---> Uninstalling lzma @22.01_1
---> Cleaning lzma
---> Computing dependencies for lzma
---> Installing lzma @22.01_1
---> Activating lzma @22.01_1
---> Cleaning lzma
---> Scanning binaries for linking errors
---> No broken files found.
---> No broken ports found.
---> Some of the ports you installed have notes:
lzma has the following notes:
The LZMA SDK program is installed as "lzma_alone", to avoid conflict
with LZMA Utils
bash-3.2$
}}}
--
Ticket URL: <https://trac.macports.org/ticket/66612>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list