Opened 20 years ago

Closed 20 years ago

Last modified 19 years ago

#2056 closed defect (fixed)

NEW: qemu-0.6.0

Reported by: pidherbemont@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

NEW: qemu-0.6.0

the portfile can be found here: http://stegefin.free.fr/qemu/qemu-portfile.tar.gz

Description: Qemu is a CPU (x86 and PowerPC) emulator.

Homepage: http://bellard.org/qemu

Comments: It's my first Portfile so feel free to report any concern.

================INLINE CONTENT================ --

Change History (5)

comment:1 Changed 20 years ago by olegb@…

while building this i get the error below, I have libsdl installed ... (X.3.4)

Error: Target com.apple.build returned: shell command "cd "/Volumes/Source/test_darwinports/emulators/qemu/work/qemu-0.6.0" && make all" returned error 2Command output: gcc -Wall -O2 -g -mdynamic-no-pic -D_GNU_SOURCE -o dyngen dyngen.cgcc -Wall -O2 -g -mdynamic-no-pic -g -D_GNU_SOURCE -o qemu-mkcow qemu-mkcow.c gcc -Wall -O2 -g -mdynamic-no-pic -g -D_GNU_SOURCE -o

vmdk2raw vmdk2raw.c for d in i386-softmmu ppc-softmmu; do \make -C $d all

exit 1 ; \ donegcc -Wall -O2 -g -fno-strict-aliasing -Dpowerpc -I. -I/Volumes/Source/test_darwinports/emulators/qemu/work/qemu-0.6.0/target-i386 -I/Volumes/Source/test_darwinports/emulators/qemu/work/qemu-0.6.0 -D_GNU_SOURCE -I/Volumes/Source/test_darwinports/emulators/qemu/work/qemu-0.6.0/slirp -c -o vl.o /Volumes/Source/test_darwinports/emulators/qemu/work/qemu-0.6.0/vl.c/Volumes/Source/test_darwinports/emulators/qemu/work/qemu-0.6.0/vl.c:69:21: SDL/SDL.h: No such file or directory/Volumes/Source/test_darwinports/emulators/qemu/work/qemu-0.6.0/vl.c: In function `init_timers':/Volumes/Source/test_darwinports/emulators/qemu/work/qemu-0.6.0/vl.c:936: warning: label `use_itimer' defined but not used/Volumes/Source/test_darwinports/emulators/qemu/work/qemu-0.6.0/vl.c: At top level:/Volumes/Source/test_darwinports/emulators/qemu/work/qemu-0.6.0/vl.c:864: warning: `start_rtc_timer' defined but not usedmake[1]: * [vl.o] Error 1make: * [all] Error 1Warning: the following items did not execute (for qemu): com.apple.build

comment:2 Changed 20 years ago by pidherbemont@…

The URL Content http://stegefin.free.fr/qemu/qemu-portfile.tar.gz has been updated, regarding the previous comment.

Thanks,

Pierre

comment:3 Changed 20 years ago by mww@…

Resolution: fixed
Status: newclosed

thanks! commited - including an evil hack to fix the 'cant find SDL/SDL.h' problem (CFLAGS seems to be ingored totally)

comment:4 Changed 19 years ago by lukekendall@…

It's still happening with version 0.7.0 of qemu, since there is no -I/opt/local/include option passed to gcc:

# port install qemu ---> Building qemu with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_emulators_qemu/ work/qemu-0.7.0" && make all" returned error 2 Command output: for d in i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu; do \

make -C $d all
exit 1 ; \

done

gcc-3.3 -Wall -O2 -g -fno-strict-aliasing -Dpowerpc -I. -I/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_emulators_qemu/ work/qemu-0.7.0/target-i386 -I/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_emulators_qemu/ work/qemu-0.7.0 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/opt/local/var/ db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_emulators_qemu/ work/qemu-0.7.0/fpu -I/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_emulators_qemu/ work/qemu-0.7.0/slirp -c -o vl.o /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_emulators_qemu/ work/qemu-0.7.0/vl.c /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_emulators_qemu/ work/qemu-0.7.0/vl.c:71:21: SDL/SDL.h: No such file or directory /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_emulators_qemu/ work/qemu-0.7.0/vl.c: In function `init_timers': /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_emulators_qemu/ work/qemu-0.7.0/vl.c:971: warning: label `use_itimer' defined but not used /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_emulators_qemu/ work/qemu-0.7.0/vl.c: At top level: /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_emulators_qemu/ work/qemu-0.7.0/vl.c:899: warning: `start_rtc_timer' defined but not used make[1]: * [vl.o] Error 1 make: * [all] Error 1

sh-2.05b# ls /opt/local/include/SDL/SDL.h /opt/local/include/SDL/SDL.h sh-2.05b#

I installed via DarwinPorts, and it did indeed install SDL first.

comment:5 Changed 19 years ago by ashtong@…

Can somebody re-open this bug? I just tried to build qemu having run "sudo port -d selfupdate" and it's still occurring (as Luke noted in August).

A comment on how to work around it for the uninitiated would be appreciated too. Thanks.

Note: See TracTickets for help on using tickets.