Opened 18 years ago

Closed 18 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@…
Port:

Description

The source downloads but the build fails with a compile error. However, pulling down the source form bochs.sourceforge.net (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 cdrom_osx.cc -o cdrom_osx.o cdrom_osx.cc:53:22: error: dev/disk.h: No such file or directory cdrom_osx.cc: In function 'kern_return_t FindEjectableCDMedia(io_iterator_t*, mach_port_t*)': cdrom_osx.cc:125: warning: NULL used in arithmetic cdrom_osx.cc: In function 'kern_return_t GetDeviceFilePath(io_iterator_t, char*, CFIndex)': cdrom_osx.cc:138: warning: NULL used in arithmetic cdrom_osx.cc: In function '_CDTOC* ReadTOC(const char*)': cdrom_osx.cc:228: warning: NULL used in arithmetic cdrom_osx.cc: In member function 'bool cdrom_interface::insert_cdrom(char*)': cdrom_osx.cc:318: 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 18 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.