[MacPorts] #13342: Poly/ML Fails to Compile
#13342: Poly/ML Fails to Compile -----------------------------------+---------------------------------------- Reporter: lord.dimwit@gmail.com | Owner: macports-dev@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.5.2 Keywords: | -----------------------------------+---------------------------------------- Poly/ML 5.0 fails to build on Leopard. Output from "port install polyml": {{{ $ sudo port install polyml ---> Configuring polyml ---> Building polyml with target all 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_polyml/work/polyml.5.0" && make all " returned error 2 Command output: g++ -DHAVE_CONFIG_H -I. -I. -I.. -Di386 -DMACOSX -Wall -I/opt/local/include -I/usr/X11/include -O2 -I/usr/X11/include -MT sharedata.lo -MD -MP -MF .deps/sharedata.Tpo -c sharedata.cpp -fno-common -DPIC -o .libs/sharedata.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -Di386 -DMACOSX -Wall -I/opt/local/include -I/usr/X11/include -O2 -I/usr/X11/include -MT sharedata.lo -MD -MP -MF .deps/sharedata.Tpo -c sharedata.cpp -o sharedata.o >/dev/null 2>&1 if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -Di386 -DMACOSX -Wall -I/opt/local/include -I/usr/X11/include -O2 -I/usr/X11/include -MT memmgr.lo -MD -MP -MF ".deps/memmgr.Tpo" -c -o memmgr.lo memmgr.cpp; \ then mv -f ".deps/memmgr.Tpo" ".deps/memmgr.Plo"; else rm -f ".deps/memmgr.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I. -I. -I.. -Di386 -DMACOSX -Wall -I/opt/local/include -I/usr/X11/include -O2 -I/usr/X11/include -MT memmgr.lo -MD -MP -MF .deps/memmgr.Tpo -c memmgr.cpp -fno-common -DPIC -o .libs/memmgr.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -Di386 -DMACOSX -Wall -I/opt/local/include -I/usr/X11/include -O2 -I/usr/X11/include -MT memmgr.lo -MD -MP -MF .deps/memmgr.Tpo -c memmgr.cpp -o memmgr.o
/dev/null 2>&1 if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -Di386 -DMACOSX -Wall -I/opt/local/include -I/usr/X11/include -O2 -I/usr/X11/include -MT pexport.lo -MD -MP -MF ".deps/pexport.Tpo" -c -o pexport.lo pexport.cpp; \ then mv -f ".deps/pexport.Tpo" ".deps/pexport.Plo"; else rm -f ".deps/pexport.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I. -I. -I.. -Di386 -DMACOSX -Wall -I/opt/local/include -I/usr/X11/include -O2 -I/usr/X11/include -MT pexport.lo -MD -MP -MF .deps/pexport.Tpo -c pexport.cpp -fno-common -DPIC -o .libs/pexport.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -Di386 -DMACOSX -Wall -I/opt/local/include -I/usr/X11/include -O2 -I/usr/X11/include -MT pexport.lo -MD -MP -MF .deps/pexport.Tpo -c pexport.cpp -o pexport.o /dev/null 2>&1 if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -Di386 -DMACOSX -Wall -I/opt/local/include -I/usr/X11/include -O2 -I/usr/X11/include -MT x86_dep.lo -MD -MP -MF ".deps/x86_dep.Tpo" -c -o x86_dep.lo x86_dep.cpp; \ then mv -f ".deps/x86_dep.Tpo" ".deps/x86_dep.Plo"; else rm -f ".deps/x86_dep.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I. -I. -I.. -Di386 -DMACOSX -Wall -I/opt/local/include -I/usr/X11/include -O2 -I/usr/X11/include -MT x86_dep.lo -MD -MP -MF .deps/x86_dep.Tpo -c x86_dep.cpp -fno-common -DPIC -o .libs/x86_dep.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -Di386 -DMACOSX -Wall -I/opt/local/include -I/usr/X11/include -O2 -I/usr/X11/include -MT x86_dep.lo -MD -MP -MF .deps/x86_dep.Tpo -c x86_dep.cpp -o x86_dep.o /dev/null 2>&1 sed -f masm2gas < x86asm.asm > x86asmtemp.S /bin/sh ../libtool --mode=compile gcc -Di386 -DMACOSX -O2 -c -o x86asmtemp.lo x86asmtemp.S gcc -Di386 -DMACOSX -O2 -c x86asmtemp.S -fno-common -DPIC -o .libs/x86asmtemp.o gcc -Di386 -DMACOSX -O2 -c x86asmtemp.S -o x86asmtemp.o >/dev/null 2>&1 if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -Di386 -DMACOSX -Wall -I/opt/local/include -I/usr/X11/include -O2 -I/usr/X11/include -MT machoexport.lo -MD -MP -MF ".deps/machoexport.Tpo" -c -o machoexport.lo machoexport.cpp; \ then mv -f ".deps/machoexport.Tpo" ".deps/machoexport.Plo"; else rm -f ".deps/machoexport.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I. -I. -I.. -Di386 -DMACOSX -Wall -I/opt/local/include -I/usr/X11/include -O2 -I/usr/X11/include -MT machoexport.lo -MD -MP -MF .deps/machoexport.Tpo -c machoexport.cpp -fno- common -DPIC -o .libs/machoexport.o machoexport.h:49: error: 'uint' has not been declared machoexport.h:49: error: 'uint' has not been declared machoexport.h:49: error: 'uint' has not been declared machoexport.cpp:239: error: 'uint' has not been declared machoexport.cpp:239: error: 'uint' has not been declared machoexport.cpp:239: error: 'uint' has not been declared make[2]: *** [machoexport.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Error: Status 1 encountered during processing. }}} If I go in and add a "typedef unsigned int uint" to the code, the binary compiles cleanly, but upon running, I get this error message: {{{ The exported object file does not match this version of the library }}} -- Ticket URL: <http://trac.macports.org/projects/macports/ticket/13342> MacPorts </projects/macports> Ports system for Mac OS
#13342: Poly/ML Fails to Compile ------------------------------------+--------------------------------------- Reporter: lord.dimwit@gmail.com | Owner: macports-dev@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: ------------------------------------+--------------------------------------- Changes (by ram@macports.org): * cc: dem5302@cs.rit.edu (added) * milestone: => Port Bugs -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13342#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13342: polyml fails to build on Mac OS X 10.5 Leopard ------------------------------------+--------------------------------------- Reporter: lord.dimwit@gmail.com | Owner: macports-dev@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: ------------------------------------+--------------------------------------- Changes (by nox@macports.org): * summary: Poly/ML Fails to Compile => polyml fails to build on Mac OS X 10.5 Leopard -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13342#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#13342: polyml fails to build on Mac OS X 10.5 Leopard ------------------------------------+--------------------------------------- Reporter: lord.dimwit@gmail.com | Owner: macports-dev@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: ------------------------------------+--------------------------------------- Changes (by mww@macports.org): * cc: mww@macports.org (added) -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13342#comment:3> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts