Opened 6 years ago
Closed 21 months ago
#57222 closed defect (fixed)
hugs98 @plus-Sep2006_2 (lang): Installation fails
Reported by: | MightyHugs | Owned by: | barracuda156 |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | hugs98 |
Description (last modified by mf2k (Frank Schima))
Hi,
I have followed the instructions for installing macports, I have installed xcode and agreed to the licenses.
When I start the installation of hugs98 I get following error messag in the log file:
:error:build Failed to build hugs98: command execution failed :debug:build Error code: CHILDSTATUS 49614 2 :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec build" :debug:build (procedure "portbuild::build_main" line 8) :debug:build invoked from within :debug:build "$procedure $targetname"
Additionally I have attached the log file.
Can you please help me out?
Thank you!
Attachments (2)
Change History (11)
Changed 6 years ago by MightyHugs
comment:1 Changed 6 years ago by mf2k (Frank Schima)
Port: | @plus-Sep2006_2 (lang) removed |
---|
comment:2 Changed 6 years ago by mf2k (Frank Schima)
comment:3 Changed 6 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:4 follow-up: 5 Changed 6 years ago by jmroot (Joshua Root)
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.
comment:5 Changed 3 years ago by barracuda156
Replying to 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.
comment:6 Changed 3 years ago 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
Changed 3 years ago by barracuda156
Attachment: | main-Tiger.log added |
---|
comment:7 Changed 2 years ago by barracuda156
Also broken on FreeBSD: https://svnweb.freebsd.org/ports/head/lang/hugs/?pathrev=534092
comment:8 Changed 2 years ago by barracuda156
Fixed for 10.6 (ppc & x86) here: https://github.com/macports/macports-ports/pull/15652 New OS still fail.
comment:9 Changed 21 months ago by barracuda156
Owner: | set to barracuda156 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
In the future, please use WikiFormatting.