[MacPorts] #67710: pandoc upgrade from 3.1.0 to 3.1.1 fails
MacPorts
noreply at macports.org
Sat Jul 1 13:21:54 UTC 2023
#67710: pandoc upgrade from 3.1.0 to 3.1.1 fails
----------------------------------+--------------------
Reporter: AttentionalM | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: pandoc upgrade arm64 | Port: pandoc
----------------------------------+--------------------
"port upgrade pandoc" fails to build; tried port clean pandoc; port
install pandoc +stack (note: -stack still used cabal) as per #66764 but
this fails with an architecture issue - see second error;
Apple M1 Max; Ventura 13.4.1; Mac Studio 64GB
Falling back to 3.1.0 for now
port upgrade pandoc - fails to build Network.connection
{{{
:info:build Configuring library for connection-0.3.1..
:info:build Preprocessing library for connection-0.3.1..
:info:build Building library for connection-0.3.1..
:info:build [1 of 2] Compiling Network.Connection.Types (
Network/Connection/Types.hs, dist/build/Network/Connection/Types.o,
dist/build/Network/Connection/Types.dyn_o )
:info:build [2 of 2] Compiling Network.Connection ( Network/Connection.hs,
dist/build/Network/Connection.o, dist/build/Network/Connection.dyn_o )
:info:build Network/Connection.hs:122:43: error: [GHC-83865]
:info:build • Couldn't match expected type
‘crypton-x509-store-1.6.9:Data.X509.CertificateStore.CertificateStore’
:info:build with actual type
‘Data.X509.CertificateStore.CertificateStore’
:info:build NB:
‘crypton-x509-store-1.6.9:Data.X509.CertificateStore.CertificateStore’
:info:build is defined in ‘Data.X509.CertificateStore’
:info:build in package ‘crypton-x509-store-1.6.9’
:info:build ‘Data.X509.CertificateStore.CertificateStore’
:info:build is defined in ‘Data.X509.CertificateStore’
:info:build in package ‘x509-store-1.6.9’
:info:build • In the expression: globalCertificateStore cg
:info:build In a record update at fields ‘TLS.sharedCAStore’,
:info:build
‘TLS.sharedValidationCache’,
:info:build with type constructor ‘TLS.Shared’
:info:build and data constructor ‘TLS.Shared’.
:info:build In the expression:
:info:build def
:info:build {TLS.sharedCAStore = globalCertificateStore cg,
:info:build TLS.sharedValidationCache = validationCache}
:info:build |
:info:build 122 | { TLS.sharedCAStore =
globalCertificateStore cg
:info:build |
^^^^^^^^^^^^^^^^^^^^^^^^^
:info:build Error: cabal: Failed to build connection-0.3.1 (which is
required by
:info:build exe:pandoc from pandoc-cli-0.1). See the build log above for
details.
}}}
Second error (with port install pandoc +stack) builds an incompatible
architecture but does compile Network.connections...:
{{{
:info:build pandoc > [ 6 of 206] Compiling
Text.Pandoc.Citeproc.Data
:info:build pandoc > <command line>:
dlopen(/opt/local/lib/libz.dylib, 0x0005): tried:
'/opt/local/lib/libz.dylib' (mach-o file, but is an incompatible
architecture (have 'arm64', need 'x86_64')),
'/System/Volumes/Preboot/Cryptexes/OS/opt/local/lib/libz.dylib' (no such
file), '/opt/local/lib/libz.dylib' (mach-o file, but is an incompatible
architecture (have 'arm64', need 'x86_64')),
'/opt/local/lib/libz.1.2.13.dylib' (mach-o file, but is an incompatible
architecture (have 'arm64', need 'x86_64')),
'/System/Volumes/Preboot/Cryptexes/OS/opt/local/lib/libz.1.2.13.dylib' (no
such file), '/opt/local/lib/libz.1.2.13.dylib' (mach-o file, but is an
incompatible architecture (have 'arm64', need 'x86_64'))
:info:build -- While building package pandoc-3.1.1 (scroll up to its
section to see the error) using:
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_pandoc/pandoc/work/.home/.stack
/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_3.6.3.0_ghc-9.2.5
--verbose=1 --builddir=.stack-work/dist/x86_64-osx/Cabal-3.6.3.0 build
lib:pandoc lib:xml-light --ghc-options ""
:info:build Process exited with code: ExitFailure 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/67710>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list