[MacPorts] #13529: bochs-2.3.5 does not build on Mac OS 10.5.1 (Leopard)
#13529: bochs-2.3.5 does not build on Mac OS 10.5.1 (Leopard) --------------------------------------+------------------------------------- Reporter: rzilibowitz@yahoo.com.au | Owner: macports-dev@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.5.2 Keywords: | --------------------------------------+------------------------------------- sudo port install bochs on Leopard fails. The following was printed to the terminal: {{{ Command output: a - textconfig.o a - carbon.o ranlib libgui.a echo done done cd disasm && \ make libdisasm.a g++ -c -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs -O2 -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno- unknown-pragmas -Dmacintosh -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES dis_decode.cc -o dis_decode.o g++ -c -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs -O2 -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno- unknown-pragmas -Dmacintosh -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES dis_groups.cc -o dis_groups.o g++ -c -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs -O2 -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno- unknown-pragmas -Dmacintosh -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES resolve.cc -o resolve.o g++ -c -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs -O2 -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno- unknown-pragmas -Dmacintosh -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES syntax.cc -o syntax.o rm -f libdisasm.a ar rv libdisasm.a dis_decode.o dis_groups.o resolve.o syntax.o ar: creating archive libdisasm.a a - dis_decode.o a - dis_groups.o a - resolve.o a - syntax.o ranlib libdisasm.a echo done done g++ -c -I. -I./. -Iinstrument/stubs -I./instrument/stubs -O2 -fpascal- strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown- pragmas -Dmacintosh -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DBX_SHARE_PATH='"/opt/local/share/bochs"' logio.cc -o logio.o g++ -c -I. -I./. -Iinstrument/stubs -I./instrument/stubs -O2 -fpascal- strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown- pragmas -Dmacintosh -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DBX_SHARE_PATH='"/opt/local/share/bochs"' main.cc -o main.o g++ -c -I. -I./. -Iinstrument/stubs -I./instrument/stubs -O2 -fpascal- strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown- pragmas -Dmacintosh -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DBX_SHARE_PATH='"/opt/local/share/bochs"' config.cc -o config.o g++ -c -I. -I./. -Iinstrument/stubs -I./instrument/stubs -O2 -fpascal- strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown- pragmas -Dmacintosh -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DBX_SHARE_PATH='"/opt/local/share/bochs"' load32bitOShack.cc -o load32bitOShack.o g++ -c -I. -I./. -Iinstrument/stubs -I./instrument/stubs -O2 -fpascal- strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown- pragmas -Dmacintosh -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DBX_SHARE_PATH='"/opt/local/share/bochs"' pc_system.cc -o pc_system.o g++ -c -I. -I./. -Iinstrument/stubs -I./instrument/stubs -O2 -fpascal- strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown- pragmas -Dmacintosh -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DBX_SHARE_PATH='"/opt/local/share/bochs"' osdep.cc -o osdep.o osdep.cc: In function 'Bit64u bx_get_realtime64_usec()': osdep.cc:344: error: 'gettimeofday' was not declared in this scope make: *** [osdep.o] Error 1 }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13529> MacPorts </projects/macports> Ports system for Mac OS
#13529: bochs-2.3.5 does not build on Mac OS 10.5.1 (Leopard) ---------------------------------------+------------------------------------ Reporter: rzilibowitz@yahoo.com.au | 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 jmpp@macports.org): * milestone: => Port Bugs -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13529#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13529: bochs-2.3.5 does not build on Mac OS 10.5.1 (Leopard) ---------------------------------------+------------------------------------ Reporter: rzilibowitz@yahoo.com.au | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: ---------------------------------------+------------------------------------ Comment (by ripzonetriton@gmail.com): I tried to build it too and got the same problem. Here's a quick fix: {{{ +++ bochs.h 2007-12-19 17:24:56.000000000 +0000 @@ -85,6 +85,7 @@ # include <sys/types.h> # include <sys/stat.h> # include <sys/param.h> /* for MAXPATHLEN */ +# include <sys/time.h> # include <utime.h> #else # ifndef WIN32 }}} (first time generating a patch, if it's not right don't beat me :-) -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13529#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#13529: bochs-2.3.5 does not build on Mac OS 10.5.1 (Leopard) ---------------------------------------+------------------------------------ Reporter: rzilibowitz@yahoo.com.au | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: ---------------------------------------+------------------------------------ Comment (by collver@peak.org): The quick fix from ripzonetriton@gmail.com works for me. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13529#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#13529: bochs-2.3.5 does not build on Mac OS 10.5.1 (Leopard) ---------------------------------------+------------------------------------ Reporter: rzilibowitz@yahoo.com.au | Owner: jmr@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: ---------------------------------------+------------------------------------ Changes (by jmr@macports.org): * owner: macports-tickets@lists.macosforge.org => jmr@macports.org * status: new => assigned -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13529#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#13529: bochs-2.3.5 does not build on Mac OS 10.5.1 (Leopard) ---------------------------------------+------------------------------------ Reporter: rzilibowitz@yahoo.com.au | Owner: jmr@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: fixed | Keywords: ---------------------------------------+------------------------------------ Changes (by jmr@macports.org): * status: assigned => closed * resolution: => fixed Comment: Thanks, fix committed in r34658. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13529#comment:5> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts