[MacPorts] #64494: sqlite3 @3.37.2_0: configure fails installing +universal variant
MacPorts
noreply at macports.org
Sat Jan 22 17:41:10 UTC 2022
#64494: sqlite3 @3.37.2_0: configure fails installing +universal variant
-------------------------+-------------------------
Reporter: bal-agates | Owner: Schamschula
Type: defect | Status: assigned
Priority: Low | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords:
Port: sqlite3 |
-------------------------+-------------------------
Old description:
> Attached are a sqlite3 config.log and main.log where the config failed.
> The failure appears to due to a compiler test trying to build an x86_64
> object while linking against a library (/opt/local/lib/libunwind.dylib)
> that is only built for arm64.
>
> I am not sure how to solve this. Is this a config tool problem or port
> problem? I suppose one of those could have a dependency added to make
> sure whatever port is providing libundind.dylib checks that it is built
> universal?
>
> I put this at low priority because this doesn't really affect me. It was
> the result of another port errantly wanting to rebuild everything
> "+universal". See #64488.
New description:
Attached are a sqlite3 config.log and main.log where the config failed.
The failure appears to due to a compiler test trying to build an x86_64
object while linking against a library (/opt/local/lib/libunwind.dylib)
that is only built for arm64.
I am not sure how to solve this. Is this a config tool problem or port
problem? I suppose one of those could have a dependency added to make
sure whatever port is providing libundind.dylib checks that it is built
universal?
I put this at low priority because this doesn't really affect me. It was
the result of another port errantly wanting to rebuild everything
"+universal". See [https://trac.macports.org/ticket/64488 #64488].
--
Comment (by bal-agates):
{{{
$ port provides /opt/local/lib/libunwind.dylib
/opt/local/lib/libunwind.dylib is provided by: libunwind
}}}
I am not sure what libunwind is. After encountering the sqlite3 issue I
updated my ports a got the message
{{{
Error: libgcc-devel cannot be built while libunwind-headers is active.
Error: Please forcibly deactivate libunwind-headers, e.g. by running:
Error:
Error: sudo port -f deactivate libunwind-headers
Error:
Error: Then try again. You can reactivate libunwind-headers again later.
}}}
Possible multiple ports provide the same thing? I inactivated libunwind-
headers, upgraded libgcc-devel, that activated libunwind-headers. That
seemed to work. So they might be related to gcc?
{{{
$ port rdependents libunwind
The following ports are dependent on libunwind:
PDAL
grass7
qgis3
}}}
I suspect "configure script opportunistically finds it" is true.
--
Ticket URL: <https://trac.macports.org/ticket/64494#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list