Opened 19 years ago
Closed 19 years ago
#7551 closed defect (fixed)
BUG: Quits during install (compiling errors): bochs-1.4.1
Reported by: | tietze@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.2 |
Keywords: | Cc: | ||
Port: |
Description
To summarize, here is what I've included: 1) The output of "sudo port install bochs" 2) Output of "sudo port installed" 3) Output of "sudo port version"
I hope this will suffice :-)
Regards ~ Jørgen Tietze <tietze@…>
ad.1) tietze@tietze (~) sudo port install bochs ---> Fetching bochs ---> Verifying checksum(s) for bochs ---> Extracting bochs ---> Applying patches to bochs ---> Configuring bochs ---> Building bochs with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_emulators_bochs/work/bochs-1.4.1" && make all" returned error 2 Command output: g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs pit82c54.cc -o pit82c54.o g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs pit_wrap.cc -o pit_wrap.o pit_wrap.cc:72:1: warning: "MAX" redefined In file included from ../bochs.h:56,
from pit_wrap.cc:29:
/usr/include/sys/param.h:215:1: warning: this is the location of the previous definition g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs unmapped.cc -o unmapped.o unmapped.cc:169:26: warning: trigraph ??- ignored, use -trigraphs to enable unmapped.cc:301:25: warning: trigraph ??- ignored, use -trigraphs to enable g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs cmos.cc -o cmos.o g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs dma.cc -o dma.o g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs floppy.cc -o floppy.o g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs harddrv.cc -o harddrv.o g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs keyboard.cc -o keyboard.o g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs scancodes.cc -o scancodes.o g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs parallel.cc -o parallel.o g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs serial.cc -o serial.o g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs vga.cc -o vga.o 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. tietze@tietze (~)
ad.2) tietze@tietze (~) sudo port installed The following ports are currently installed: atk @1.10.3_0 (active)
audiofile @0.2.6_0 (active) autoconf @2.59_0 (active) automake @1.9.6_0 (active) bluefish @1.0.4_1 (active) cabextract @1.1_0 (active) cairo @1.0.2_0 (active) dosbox @0.63_2+darwin_8 (active) esound @0.2.35_1 (active) expat @2.0.0_1 (active) fontconfig @2.3.2_0 (active) freetype @2.1.9_1 (active) gettext @0.14.5_0 (active) glib2 @2.8.5_0 (active) gtk2 @2.8.10_0+darwin_8 (active) jpeg @6b_1 (active) kermit @8.0.209_0 (active) lha @114i_0 (active) libiconv @1.10_1+darwin_8 (active) libmikmod @3.1.11a_0 (active) libogg @1.1.2_0 (active) libpixman @0.1.6_0 (active) libpng @1.2.8_2+darwin_8 (active) libsdl @1.2.8_3+darwin_8 (active) libsdl_net @1.2.5_3 (active) libsdl_sound @1.0.1_3+darwin_8 (active) libtool @1.5.20_0 (active) libvorbis @1.1.0_0 (active) lrzsz @0.12.20_0 (active) man2html @3.0.1_1 (active) minicom @2.1_1+darwin_8 (active) nasm @0.98.39_0 (active) openssl @0.9.8a_0+darwin_8 (active) p7zip @4.30_1 (active) pango @1.10.2_0 (active) pcre @6.4_0 (active) pkgconfig @0.20_0 (active) render @0.9_0 (active) smpeg @0.4.4_6+darwin_8 (active) tiff @3.8.0_0+darwin_8 (active) wget @1.10.2_0+darwin_8 (active) Xft2 @2.1.7_0 (active) xrender @0.9.0_0+darwin_8 (active) zlib @1.2.3_0 (active)
tietze@tietze (~)
ad.3) tietze@tietze (~) sudo port version Version: 1.200 tietze@tietze (~)
Change History (4)
comment:1 Changed 19 years ago by tietze@…
comment:2 Changed 19 years ago by mww@…
Summary: | Quits during install (compiling errors): bochs-1.4.1 → BUG: Quits during install (compiling errors): bochs-1.4.1 |
---|
I'd guess it should rather include "sys/disk.h" instead of "dev/disk.h"; but anyway: is there a reason bochs is still at version 1.x?
comment:3 Changed 19 years ago by mww@…
severity: | blocker → normal |
---|
comment:4 Changed 19 years ago by markd@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Version 2.2.6 of bochs was just committed; it fixes these errors.
Sorry, you probably need verbose output - coming here:
tietze@tietze (~) sudo port -v install bochs ---> Fetching bochs ---> Verifying checksum(s) for bochs ---> Checksumming bochs-1.4.1.tar.gz ---> Extracting bochs ---> Extracting bochs-1.4.1.tar.gz ---> Applying patches to bochs ---> Applying /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/emulators/bochs/files/patch-Makefile.in patching file Makefile.in ---> Applying /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/emulators/bochs/files/patch-cdrom_osx patching file iodev/cdrom_osx.cc patching file iodev/cdrom_osx.cc ---> Applying /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/emulators/bochs/files/patch-poly patching file fpu/poly.h ---> Configuring bochs checking build system type... powerpc-apple-darwin8.5.0 checking host system type... powerpc-apple-darwin8.5.0 checking target system type... powerpc-apple-darwin8.5.0 checking for standard CFLAGS on this platform... -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether make sets ${MAKE}... yes checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking whether byte ordering is bigendian... yes checking for gcc option to accept ANSI C... none needed checking for inline... inline checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for unsigned char... yes checking size of unsigned char... 1 checking for unsigned short... yes checking size of unsigned short... 2 checking for unsigned int... yes checking size of unsigned int... 4 checking for unsigned long... yes checking size of unsigned long... 4 checking for unsigned long long... yes checking size of unsigned long long... 8 checking for int *... yes checking size of int *... 4 checking for getenv... yes checking for select... yes checking for snprintf... yes checking for strtoull... yes checking for strtouq... yes checking for strdup... yes checking for sleep... yes checking for usleep... yes checking for nanosleep... yes checking for abort... yes checking for socklen_t... yes checking for struct timeval... yes checking if compiler allows empty structs... yes checking if compiler allows attribute... yes checking for hash_map.h... yes checking for control panel... yes checking for new PIT model... yes checking for slowdown timer... no checking for idle hack... no checking for number of processors... 1 checking if compiler allows blank labels... no checking if compiler allows LL for 64-bit constants... yes checking for cpu level... 5 checking for dynamic translation support... no checking for APIC support... no checking for split hard disk image support... yes checking for NE2000 support... no checking for i440FX PCI support... no checking for port e9 hack... yes checking for use of .cpp as suffix... no checking for Bochs internal debugger support... no checking for disassembler support... no checking if readline works without -lcurses... yes checking if readline works with -lcurses... yes checking whether user wants readline... yes checking whether to use readline... no checking readline/history.h usability... yes checking readline/history.h presence... yes checking for readline/history.h... yes checking for loader support... no checking for instrumentation support... no checking for VGA emulation... yes checking for VESA BIOS extensions... no checking for FPU emulation... yes checking for x86 debugger support... no checking IOKit/storage/IOCDMedia.h usability... yes checking IOKit/storage/IOCDMedia.h presence... yes checking for IOKit/storage/IOCDMedia.h... yes checking for CDROM support... yes Using OSX IOKit CD Interface checking for Sound Blaster 16 support... no checking for I/O Interface to the debugger... no checking for default gui on this platform... carbon checking for gui library to use... carbon checking for gzip... /usr/bin/gzip checking for tar... /usr/bin/tar configure: creating ./config.status config.status: creating Makefile config.status: creating iodev/Makefile config.status: creating debug/Makefile config.status: creating bios/Makefile config.status: creating cpu/Makefile config.status: creating memory/Makefile config.status: creating gui/Makefile config.status: creating disasm/Makefile config.status: creating instrument/stubs/Makefile config.status: creating misc/Makefile config.status: creating dynamic/Makefile config.status: creating fpu/Makefile config.status: creating install-x11-fonts config.status: creating build/linux/bochs-dlx config.status: creating build/linux/bochs-docs config.status: creating bxversion.h config.status: creating build/linux/DOC-linux.html config.status: creating config.h ---> Building bochs with target all cd iodev && \ make CC="gcc" CXX="g++" CFLAGS="-fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh " CXXFLAGS="-fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh " LDFLAGS="" LIBS="" X_LIBS="-L/usr/X11R6/lib" X_PRE_LIBS="-lSM -lICE" prefix="/opt/local" exec_prefix="/opt/local" bindir="/opt/local/bin" infodir="" libiodev.a g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs devices.cc -o devices.o g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs pic.cc -o pic.o g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs pit.cc -o pit.o g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs pit82c54.cc -o pit82c54.o g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs pit_wrap.cc -o pit_wrap.o pit_wrap.cc:72:1: warning: "MAX" redefined In file included from ../bochs.h:56,
/usr/include/sys/param.h:215:1: warning: this is the location of the previous definition g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs unmapped.cc -o unmapped.o unmapped.cc:169:26: warning: trigraph ??- ignored, use -trigraphs to enable unmapped.cc:301:25: warning: trigraph ??- ignored, use -trigraphs to enable g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs cmos.cc -o cmos.o g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs dma.cc -o dma.o g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs floppy.cc -o floppy.o g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs harddrv.cc -o harddrv.o g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs keyboard.cc -o keyboard.o g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs scancodes.cc -o scancodes.o g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs parallel.cc -o parallel.o g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs serial.cc -o serial.o g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs vga.cc -o vga.o 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: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_emulators_bochs/work/bochs-1.4.1" && make all" returned error 2 Command output: g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs pit82c54.cc -o pit82c54.o g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs pit_wrap.cc -o pit_wrap.o pit_wrap.cc:72:1: warning: "MAX" redefined In file included from ../bochs.h:56,
/usr/include/sys/param.h:215:1: warning: this is the location of the previous definition g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs unmapped.cc -o unmapped.o unmapped.cc:169:26: warning: trigraph ??- ignored, use -trigraphs to enable unmapped.cc:301:25: warning: trigraph ??- ignored, use -trigraphs to enable g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs cmos.cc -o cmos.o g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs dma.cc -o dma.o g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs floppy.cc -o floppy.o g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs harddrv.cc -o harddrv.o g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs keyboard.cc -o keyboard.o g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs scancodes.cc -o scancodes.o g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs parallel.cc -o parallel.o g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs serial.cc -o serial.o g++ -c -fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs vga.cc -o vga.o 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
Warning: the following items did not execute (for bochs): com.apple.activate com.apple.build com.apple.destroot com.apple.archive com.apple.install Error: /opt/local/bin/port: Status 1 encountered during processing. tietze@tietze (~)