[MacPorts] #20950: Hugs98 - Build problems on Snow Leopard

MacPorts noreply at macports.org
Mon Oct 5 10:32:26 PDT 2009


#20950: Hugs98 - Build problems on Snow Leopard
--------------------------------+-------------------------------------------
 Reporter:  maik@…              |       Owner:  mww@…           
     Type:  defect              |      Status:  new             
 Priority:  Normal              |   Milestone:                  
Component:  ports               |     Version:  1.8.0           
 Keywords:                      |        Port:  hugs98          
--------------------------------+-------------------------------------------

Comment(by jan@…):

 Same probleme here, but my error output is a bit longer. Don't know
 whether it helps:

 {{{
 --->  Building hugs98
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_hugs98/work/hugs98
 -plus-Sep2006" && /usr/bin/make -j2 all " returned error 2
 Command output: Undefined symbols:
   "_environ", referenced from:
       ___hscore_environ in ccBZxucU.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 runhugs: Error occurred
 ERROR "libraries/bootlib/Foreign/Ptr.hs" - Error while running compilation
 command '/usr/bin/gcc-4.2 -DNDEBUG=1 -O2 -arch x86_64 -no-cpp-precomp
 -I/opt/local/include -L/opt/local/lib -flat_namespace -shared -fPIC
 -D__HUGS__ "-Ihugsdir/include" -o "libraries/bootlib/Foreign/Ptr.so"
 "libraries/bootlib/Foreign/Ptr.c" -Ipackages/base/include -Ighc/includes
 packages/base/cbits/PrelIOUtils.c'


 Undefined symbols:
   "___hscore_renameFile", referenced from:
       _hugsprim___hscore_renameFile_17 in ccrpcmNC.o
   "___hscore_readdir", referenced from:
       _hugsprim___hscore_readdir_40 in ccrpcmNC.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 '/usr/bin/gcc-4.2 -DNDEBUG=1 -O2 -arch x86_64 -no-cpp-
 precomp -I/opt/local/include -L/opt/local/lib -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: *** [all] Error 2

 Error: Status 1 encountered during processing.
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/20950#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list