[MacPorts] #64477: git-annex fails to build with getProtocolNumber compile error message
MacPorts
noreply at macports.org
Thu Jan 20 17:14:33 UTC 2022
#64477: git-annex fails to build with getProtocolNumber compile error message
--------------------+--------------------
Reporter: hmeine | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port:
--------------------+--------------------
`port install git-annex` fails for me (I never installed it before, so I
cannot give any details on changes between versions or so) on Big Sur
11.6.2.
The compile error seems to refer to some Haskell module `Network.BSD` that
no longer supports the `getProtocolNumber` used by git-annex:
{{{
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_devel_git-annex/git-annex/work
/git-annex-7.20190819/Utility/Url.hs:59:1: warning: [-Wdeprecations]
:info:build Module ‘Network.BSD’ is deprecated:
:info:build This platform dependent module is no longer supported.
:info:build |
:info:build 59 | import Network.BSD (getProtocolNumber)
:info:build | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_devel_git-annex/git-annex/work
/git-annex-7.20190819/Utility/Url.hs:607:26: warning: [-Wdeprecations]
:info:build In the use of ‘getProtocolNumber’ (imported from
Network.BSD):
:info:build Deprecated: "This platform dependent module is no longer
supported."
:info:build |
:info:build 607 | proto <- getProtocolNumber "tcp"
:info:build | ^^^^^^^^^^^^^^^^^
}}}
I got a few hits for the same error message, often on ARM architectures,
but no related discussion or bug reports. I am also not familiar with
Haskell.
--
Ticket URL: <https://trac.macports.org/ticket/64477>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list