Opened 15 years ago

Closed 15 years ago

#7902 closed defect (fixed)

"bochs 1.4.1" port fails to build

Reported by: smith.kennedy@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc: markd@…


The source downloads but the build fails with a compile error. However, pulling down the source form (bochs 2.2.6) and doing a simple "./configure; make", the build succeeded. Incidentally, the build of bochs in darwinports is 1.4.1, which is pretty out-of-date since it was posted to sourceforge 2002-06-23.

The last lines written out to the shell when building the port are these:

g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs -o cdrom_osx.o error: dev/disk.h: No such file or directory In function 'kern_return_t FindEjectableCDMedia(io_iterator_t*, mach_port_t*)': warning: NULL used in arithmetic In function 'kern_return_t GetDeviceFilePath(io_iterator_t, char*, CFIndex)': warning: NULL used in arithmetic In function '_CDTOC* ReadTOC(const char*)': warning: NULL used in arithmetic In member function 'bool cdrom_interface::insert_cdrom(char*)': warning: converting to non-pointer type 'mach_port_t' from NULL make[1]: * [cdrom_osx.o] Error 1 make: * [iodev/libiodev.a] Error 2

Error: /opt/local/bin/port: Status 1 encountered during processing.

Change History (1)

comment:1 Changed 15 years ago by markd@…

Cc: markd@… added
Resolution: fixed
Status: newclosed

Version 2.2.6 of bochs was just committed into CVS.

Note: See TracTickets for help on using tickets.