[MacPorts] #57222: hugs98 @plus-Sep2006_2 (lang): Installation fails

MacPorts noreply at macports.org
Tue Apr 19 07:45:41 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):

 `hugs98` also fails to build on Tiger:

 {{{

 Undefined symbols:
   "_environ", referenced from:
       _environ$non_lazy_ptr in ccqmwgR2.o
      (maybe you meant: _environ$non_lazy_ptr, ___hscore_environ )
   "___hscore_renameFile", referenced from:
       _hugsprim___hscore_renameFile_17 in ccqmwgR2.o
   "___hscore_readdir", referenced from:
       _hugsprim___hscore_readdir_40 in ccqmwgR2.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 runhugs: Error occurred
 ERROR "libraries/bootlib/System/Posix/Internals.hs" - Error while running
 compilation command '/opt/local/bin/gcc-apple-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/System/Posix/Internals.so"
 "libraries/bootlib/System/Posix/Internals.c" -Ipackages/base/include
 -Ighc/includes'


 echo timestamp for bootlib >bootlib/.stamp
 cd ../cpphs; HUGSFLAGS=-P../libraries/bootlib HUGSDIR=../hugsdir
 ../src/runhugs -98 ../packages/Cabal/examples/hapax.hs configure --verbose
 --hugs --prefix='/opt/local' --scratchdir='../hugsdir/packages/cpphs'
 --with-compiler=../src/ffihugs
 runhugs: Error occurred
 ERROR "../libraries/bootlib/Foreign/Ptr.hs" - Error while importing DLL
 "../libraries/bootlib/Foreign/Ptr.so":
 dlopen(../libraries/bootlib/Foreign/Ptr.so, 9): image not found



 make[1]: *** [../hugsdir/programs/cpphs/Main.hs] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_hugs98/hugs98/work/hugs98
 -plus-Sep2006/libraries'
 make: *** [all] Error 2
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/57222#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list