Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#24652 closed defect (duplicate)

Bochs 2.3.7 build fails on Mac OS X 10.6.3

Reported by: ovidiu.ciule@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: bochs

Description

iMac:~ ociule$ sudo port install -d bochs
--->  Computing dependencies for bochs
--->  Fetching bochs
--->  Verifying checksum(s) for bochs
--->  Extracting bochs
--->  Applying patches to bochs
--->  Configuring bochs
--->  Building bochs
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_emulators_bochs/work/bochs-2.3.7" && /usr/bin/make -j2 all " returned error 2
Command output: a - data_xfer16.o
a - data_xfer32.o
a - exception.o
a - cpuid.o
a - proc_ctrl.o
a - smm.o
a - lazy_flags.o
a - flag_ctrl_pro.o
a - stack32.o
a - debugstuff.o
a - flag_ctrl.o
a - mult32.o
a - arith32.o
a - jmp_far.o
a - call_far.o
a - ret_far.o
a - iret.o
a - ctrl_xfer_pro.o
a - segment_ctrl_pro.o
a - io.o
a - bit.o
a - bit16.o
a - bit32.o
a - string.o
a - paging.o
ranlib libcpu.a
ranlib: file: libcpu.a(3dnow.o) has no symbols
ranlib: file: libcpu.a(sse_string.o) has no symbols
echo done
done

Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to get complete output.

Change History (6)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Port: bochs added

The bochs port is up to version 2.4.2. Run selfupdate and try again.

comment:2 Changed 15 years ago by ovidiu.ciule@…

OK, I ran the selfupdate and I'm now installing bochs, and it's running through updating all the deps. Will update as soon as it's done. If it works, sorry to have wasted your time, but I hope someone else will find the ticket useful :)

comment:3 Changed 15 years ago by ovidiu.ciule@…

Nope, no luck, same error, but more files. I'm wondering if it's not an architecture thing. I installed lots of other libs in universal. Is there a way to force port to build for a certain architecture (i386, x86_64) ?

--->  Building bochs
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_emulators_bochs/work/bochs-2.4.2" && /usr/bin/make -j2 all " returned error 2
Command output: a - proc_ctrl.o
a - msr.o
a - smm.o
a - lazy_flags.o
a - flag_ctrl_pro.o
a - stack32.o
a - debugstuff.o
a - flag_ctrl.o
a - mult32.o
a - arith32.o
a - jmp_far.o
a - call_far.o
a - ret_far.o
a - iret.o
a - ctrl_xfer_pro.o
a - segment_ctrl_pro.o
a - io.o
a - crc32.o
a - bit.o
a - bit16.o
a - bit32.o
a - string.o
a - paging.o
ranlib libcpu.a
ranlib: file: libcpu.a(3dnow.o) has no symbols
ranlib: file: libcpu.a(sse_string.o) has no symbols
ranlib: file: libcpu.a(vmexit.o) has no symbols
ranlib: file: libcpu.a(crc32.o) has no symbols
echo done
done

Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to get complete output.

comment:4 Changed 15 years ago by patricio.moro@…

exactly the same issue with Bochs 2.4.2 (fresh install)

comment:5 in reply to:  3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: duplicate
Status: newclosed

Replying to ovidiu.ciule@…:

Nope, no luck, same error, but more files.

The output you are showing us is not an error; you would see the real error if you built with a single make job and turned on verbose output, i.e. "sudo port -v install bochs build.jobs=1". This ticket is a duplicate of #23938.

I'm wondering if it's not an architecture thing. I installed lots of other libs in universal. Is there a way to force port to build for a certain architecture (i386, x86_64) ?

The bochs port already forces itself to build 32-bit.

comment:6 Changed 15 years ago by ovidiu.ciule@…

Yup, with the -v switch you suggested, I get the same error as in #23938. Thanks for handling this ryan.

/usr/bin/g++-4.2 -c  -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs -O2 -arch i386 -fpascal-strings -fno-common -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES   soundosx.cc -o soundosx.o
soundosx.cc: In member function 'virtual int bx_sound_osx_c::openmidioutput(char*)':
soundosx.cc:113: error: 'kAudioUnitComponentType' was not declared in this scope
soundosx.cc:114: error: 'kAudioUnitSubType_MusicDevice' was not declared in this scope
soundosx.cc:115: error: 'kAudioUnitID_DLSSynth' was not declared in this scope
soundosx.cc:118: warning: 'AUGraphNewNode' is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h:673)
soundosx.cc:118: warning: 'AUGraphNewNode' is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h:673)
soundosx.cc:122: error: 'kAudioUnitSubType_Output' was not declared in this scope
soundosx.cc:123: error: 'kAudioUnitID_DefaultOutput' was not declared in this scope
soundosx.cc:126: warning: 'AUGraphNewNode' is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h:673)
soundosx.cc:126: warning: 'AUGraphNewNode' is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h:673)
soundosx.cc:137: warning: 'AUGraphGetNodeInfo' is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h:687)
soundosx.cc:137: warning: 'AUGraphGetNodeInfo' is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h:687)
soundosx.cc: In member function 'virtual int bx_sound_osx_c::openwaveoutput(char*)':
soundosx.cc:203: warning: 'OpenDefaultAudioOutput' is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/DefaultAudioOutput.h:26)
soundosx.cc:203: warning: 'OpenDefaultAudioOutput' is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/DefaultAudioOutput.h:26)
soundosx.cc:208: error: 'AudioUnitInputCallback' was not declared in this scope
soundosx.cc:208: error: expected `;' before 'input'
soundosx.cc:209: error: 'input' was not declared in this scope
soundosx.cc:211: error: 'kAudioUnitProperty_SetInputCallback' was not declared in this scope
soundosx.cc: In function 'OSStatus MyRenderer(void*, AudioUnitRenderActionFlags, const AudioTimeStamp*, UInt32, AudioBuffer*)':
soundosx.cc:385: warning: 'AudioConverterFillBuffer' is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/AudioConverter.h:640)
soundosx.cc:385: warning: 'AudioConverterFillBuffer' is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/AudioConverter.h:640)
make[1]: *** [soundosx.o] Error 1
make: *** [iodev/libiodev.a] Error 2
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_emulators_bochs/work/bochs-2.4.2" && /usr/bin/make -j1 all " returned error 2
Warning: the following items did not execute (for bochs): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to get complete output.
Note: See TracTickets for help on using tickets.