[oe] [patch](or sort of): emacs didn't compile[second part: qemu recipe]

GNUtoo GNUtoo at no-log.org
Fri Feb 27 15:43:09 UTC 2009


here's my qemu recipe that isn't commitable:
it's a recipe for qemu-arm-eabi:
http://qemu-arm-eabi.wiki.sourceforge.net/

here's the recipe(hardcoded revision,I know it's bad):
diff -Nurd org.openembedded.dev/packages/qemu/qemu_svn.bb
local_packages/packages/qemu/qemu_svn.bb
--- org.openembedded.dev/packages/qemu/qemu_svn.bb	2009-02-12
15:26:46.000000000 +0100
+++ local_packages/packages/qemu/qemu_svn.bb	2009-02-25 11:17:57.000000000
+0100
@@ -1,47 +1,51 @@
 LICENSE = "GPL"
 DEPENDS = "zlib"
-PV = "0.9.1+svnr${SRCREV}"
-PR = "r14"
+PV = "0.9.1+svnr5391"
+PR = "r16"

-FILESPATH = "${FILE_DIRNAME}/qemu-${PV}/:${FILE_DIRNAME}/qemu-0.9.1+svn/"
+#FILESPATH = "${FILE_DIRNAME}/qemu-${PV}/:${FILE_DIRNAME}/qemu-0.9.1+svn/"

 SRC_URI = "\
-    svn://svn.savannah.nongnu.org/qemu;module=trunk \
-    file://05_non-fatal_if_linux_hd_missing.patch;patch=1;pnum=1 \
-    file://06_exit_segfault.patch;patch=1;pnum=0 \
-    file://10_signal_jobs.patch;patch=1;pnum=0 \
-    file://11_signal_sigaction.patch;patch=1;pnum=0 \
-    file://22_net_tuntap_stall.patch;patch=1;pnum=0 \
-    file://31_syscalls.patch;patch=1;pnum=0 \
-    file://32_syscall_sysctl.patch;patch=1;pnum=0 \
-    file://33_syscall_ppc_clone.patch;patch=1;pnum=0 \
-    file://39_syscall_fadvise64.patch;patch=1;pnum=0 \
-    file://41_arm_fpa_sigfpe.patch;patch=1;pnum=0;maxrev=4028 \
-    file://52_ne2000_return.patch;patch=1;pnum=1 \
-    file://61_safe_64bit_int.patch;patch=1;pnum=0 \
-    file://63_sparc_build.patch;patch=1;pnum=0 \
-    file://64_ppc_asm_constraints.patch;patch=1;pnum=1 \
-    file://65_kfreebsd.patch;patch=1;pnum=0 \
-    file://66_tls_ld.patch;patch=1;pnum=0 \
-    file://91-oh-sdl-cursor.patch;patch=1;pnum=0 \
-    file://qemu-0.9.0-nptl.patch;patch=1 \
-    file://qemu-0.9.0-nptl-update.patch;patch=1;maxrev=4028 \
-    file://qemu-amd64-32b-mapping-0.9.0.patch;patch=1 \
-    file://workaround_bad_futex_headers.patch;patch=1 \
-    file://fix_segfault.patch;patch=1 \
-    file://no-strip.patch;patch=1 \
-    file://fix_brk.patch;patch=1 \
-    file://fix_protection_bits.patch;patch=1 \
-    file://revert_arm_tcg.patch.gz;patch=1;minrev=4242 \
-    file://qemu-n800-support.patch;patch=1 \
-    file://fix_baum_c_compilation.patch;patch=1 \
-    file://fix_dirent_h_include.patch;patch=1"
+svn://svn.savannah.nongnu.org/qemu;module=trunk;rev=5391 \
+file://01_fix_srs_rfe.patch;patch=1;pnum=0 \
+file://02_fix_page_range_check.patch;patch=1;pnum=0 \
+file://03_arm_cpu_default.patch;patch=1;pnum=1 \
+file://04_shmat_strace.patch;patch=1;pnum=0 \
+file://06_exit_segfault.patch;patch=1;pnum=0 \
+file://10_signal_jobs.patch;patch=1;pnum=0 \
+file://19_zero_null.2.read.patch;patch=1;pnum=1 \
+file://19_zero_null.3.accept.patch;patch=1;pnum=1 \
+file://19_zero_null.4.acct.patch;patch=1;pnum=1 \
+file://21_net_soopts.patch;patch=1;pnum=1 \
+file://22_IPCOP_msg.patch;patch=1;pnum=1 \
+file://23_msg_syscalls.patch;patch=1;pnum=1 \
+file://24_IPCOP_sem.patch;patch=1;pnum=1 \
+file://25_sem_syscalls.patch;patch=1;pnum=1 \
+file://26_IPCOP_shm.patch;patch=1;pnum=1 \
+file://27_shm_syscalls.patch;patch=1;pnum=1 \
+file://30_check_host_to_target_sockaddr_return_value.patch;patch=1;pnum=0 \
+file://31_syscalls.patch;patch=1;pnum=1 \
+file://32_syscall_sysctl.patch;patch=1;pnum=0 \
+file://33_fix_getdents_syscalls.patch;patch=1;pnum=1 \
+file://34_fix_siocatmark.patch;patch=1;pnum=0 \
+file://35_syscall_sockaddr.patch;patch=1;pnum=1 \
+file://36_fix_iovec.patch;patch=1;pnum=1 \
+file://37_check_target_to_host_sockaddr_return_value.patch;patch=1;pnum=1 \
+file://38_fix_recvmsg_return_value.patch;patch=1;pnum=1 \
+file://39_fix_exit_syscall.patch;patch=1;pnum=1 \
+file://40_clone_child_cleartid.patch;patch=1;pnum=1 \
+file://44_socklen_t_check.patch;patch=1;pnum=1 \
+file://48_signal_terminate.patch;patch=1;pnum=1 \
+file://99_sbox_callhack.patch;patch=1;pnum=1 \
+file://99_sbox_proc.patch;patch=1;pnum=1 \
+"

 S = "${WORKDIR}/trunk"

 #EXTRA_OECONF += "--disable-sdl"
 #EXTRA_OECONF += "--target-list=arm-linux-user,arm-softmmu,i386-softmmu"
 EXTRA_OECONF += "--disable-gfx-check"
+EXTRA_OECONF += "--target-list=arm-linux-user"

 inherit autotools

It doesn't compile the full qemu...just the arm part...because compiling
the full qemu resulted in a compilation failure

so that's the ugly part...
I bet I'll have to track down which patch(es) can permit the compilation
of emacs...and It would be long and painful,so I need to automatize
it(what should I use to do that...they do it with toolchains or
projects...do I just have to generate the recipes automatically,and use
the return code of bitbake as a compilation failure or success?)
Denis.




More information about the Openembedded-devel mailing list