[MacPorts] #57222: hugs98 @plus-Sep2006_2 (lang): Installation fails
MacPorts
noreply at macports.org
Sat Apr 16 12:08:00 UTC 2022
#57222: hugs98 @plus-Sep2006_2 (lang): Installation fails
-------------------------+--------------------
Reporter: MightyHugs | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: hugs98 |
-------------------------+--------------------
Comment (by barracuda156):
Replying to [comment:4 jmroot]:
> This port blacklists clang, which is the only available compiler in any
recent Xcode version. Needs to be either patched so it builds with clang,
or to have a different, macports-provided compiler added to its fallback
list.
I cannot build it with gcc. Build fails on these errors:
{{{
ld: duplicate symbol ___hscore_s_isreg in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_hugs98/hugs98/work/.tmp/ccy30c9b.o
and
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_hugs98/hugs98/work/.tmp/cciUdveq.o
collect2: ld returned 1 exit status
runhugs: Error occurred
ERROR "libraries/bootlib/Foreign/C/Error.hs" - Error while running
compilation command '/usr/bin/gcc-4.2 -std=gnu99 -DNDEBUG=1 -pipe -Os
-arch ppc -no-cpp-precomp -I/opt/local/include -L/opt/local/lib
-Wl,-headerpad_max_install_names -arch ppc -flat_namespace -shared -fPIC
-D__HUGS__ "-Ihugsdir/include" -o "libraries/bootlib/Foreign/C/Error.so"
"libraries/bootlib/Foreign/C/Error.c" -Ipackages/base/include
-Ighc/includes packages/base/cbits/PrelIOUtils.c'
}}}
With gcc10 even configure fails.
--
Ticket URL: <https://trac.macports.org/ticket/57222#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list