[MacPorts] #60018: libjpeg-turbo @2.0.3+universal: Undefined symbols for architecture x86_64
MacPorts
noreply at macports.org
Mon Jan 18 21:58:17 UTC 2021
#60018: libjpeg-turbo @2.0.3+universal: Undefined symbols for architecture x86_64
----------------------------+----------------------
Reporter: Cor0n4V1rus | Owner: larryv
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: libjpeg-turbo |
----------------------------+----------------------
Comment (by jmroot):
A couple of things to try:
* 2.0.6 update: https://github.com/macports/macports-ports/pull/9760
* Try disabling use of nasm when building universal? That could be
accomplished by making this change (diff against the 2.0.6 Portfile):
{{{
#!diff
diff --git a/graphics/libjpeg-turbo/Portfile b/graphics/libjpeg-
turbo/Portfile
index e78fc7c1764..2eff408b042 100644
--- a/graphics/libjpeg-turbo/Portfile
+++ b/graphics/libjpeg-turbo/Portfile
@@ -32,8 +32,7 @@ checksums sha1
5406c7676d7df89fb4da791ad5af51202910fb25 \
sha256
d74b92ac33b0e3657123ddcf6728788c90dc84dcb6a52013d758af3c4af481bb \
size 2192315
-if {${build_arch} in {i386 x86_64} || ([variant_isset universal] &&
- ("x86_64" in ${universal_archs} || "i386" in ${universal_archs}))} {
+if {${build_arch} in {i386 x86_64} && ![variant_isset universal]} {
depends_build-append port:nasm
configure.env ASM_NASM=${prefix}/bin/nasm
}}}
If all else fails, we'll just have to enable muniversal.
--
Ticket URL: <https://trac.macports.org/ticket/60018#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list