All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch](or sort of): emacs didn't compile[second part: qemu recipe]
@ 2009-02-27 15:43 GNUtoo
  2009-02-27 21:33 ` Koen Kooi
  0 siblings, 1 reply; 6+ messages in thread
From: GNUtoo @ 2009-02-27 15:43 UTC (permalink / raw)
  To: openembedded-devel

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.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [patch](or sort of): emacs didn't compile[second part: qemu recipe]
  2009-02-27 15:43 [patch](or sort of): emacs didn't compile[second part: qemu recipe] GNUtoo
@ 2009-02-27 21:33 ` Koen Kooi
  2009-02-27 22:50   ` GNUtoo
  0 siblings, 1 reply; 6+ messages in thread
From: Koen Kooi @ 2009-02-27 21:33 UTC (permalink / raw)
  To: openembedded-devel

On 27-02-09 16:43, GNUtoo wrote:

> +EXTRA_OECONF += "--target-list=arm-linux-user"

NACK, OE handles more than ARM




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [patch](or sort of): emacs didn't compile[second part: qemu recipe]
  2009-02-27 21:33 ` Koen Kooi
@ 2009-02-27 22:50   ` GNUtoo
  2009-03-02 14:23     ` Stanislav Brabec
  2009-05-18 20:40     ` GNUtoo
  0 siblings, 2 replies; 6+ messages in thread
From: GNUtoo @ 2009-02-27 22:50 UTC (permalink / raw)
  To: openembedded-devel

> On 27-02-09 16:43, GNUtoo wrote:
>
>> +EXTRA_OECONF += "--target-list=arm-linux-user"
>
> NACK, OE handles more than ARM
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
yes I know...the qemu recipe is very problematic...that's why I asked what
to do
I'd like to integrate the necessary arm patches that permit the build of
emacs...but I don't know which ones of the patches I should integrate...
Denis.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [patch](or sort of): emacs didn't compile[second part: qemu recipe]
  2009-02-27 22:50   ` GNUtoo
@ 2009-03-02 14:23     ` Stanislav Brabec
  2009-05-18 20:40     ` GNUtoo
  1 sibling, 0 replies; 6+ messages in thread
From: Stanislav Brabec @ 2009-03-02 14:23 UTC (permalink / raw)
  To: openembedded-devel

GNUtoo wrote in Fri 02/27 2009 at 23:50 +0100:
> > On 27-02-09 16:43, GNUtoo wrote:
> >
> >> +EXTRA_OECONF += "--target-list=arm-linux-user"
> >
> > NACK, OE handles more than ARM

> yes I know...the qemu recipe is very problematic...that's why I asked what
> to do
> I'd like to integrate the necessary arm patches that permit the build of
> emacs...but I don't know which ones of the patches I should integrate...
> Denis.

When I created this recipe few months ago, qemu was working in about 70%
of tries (on x86_64). In the rest qemu semi-randomly failed.

Simple repeating of the bitbake command several times gets emacs built.

I guess that qemu-arm needs fix.

For example with qemu from
http://download.opensuse.org/repositories/openSUSE:/Tools:/Devel/
(binaries for openSUSE, Fedora, Debian, version tested:
0.9.2svn20080829.5107-2.1 (no more available)) and ASSUME_PROVIDED=qemu
I never got a failure.

-- 
Stanislav Brabec
http://www.penguin.cz/~utx/zaurus




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [patch](or sort of): emacs didn't compile[second part: qemu recipe]
  2009-02-27 22:50   ` GNUtoo
  2009-03-02 14:23     ` Stanislav Brabec
@ 2009-05-18 20:40     ` GNUtoo
  2009-05-23 13:06       ` Emacs updated recipe (was: [patch](or sort of): emacs didn't compile[second part: qemu recipe]) GNUtoo
  1 sibling, 1 reply; 6+ messages in thread
From: GNUtoo @ 2009-05-18 20:40 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 837 bytes --]

On Fri, 2009-02-27 at 23:50 +0100, GNUtoo wrote:
> > On 27-02-09 16:43, GNUtoo wrote:
> >
> >> +EXTRA_OECONF += "--target-list=arm-linux-user"
> >
> > NACK, OE handles more than ARM
> >
> >
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> >
> yes I know...the qemu recipe is very problematic...that's why I asked what
> to do
> I'd like to integrate the necessary arm patches that permit the build of
> emacs...but I don't know which ones of the patches I should integrate...
> Denis.
I've news:
I've tried the last qemu: qemu-native-0.10.3
and it worked...
but it need a modified emacs[-x11] recipe that is attached...
Comments are welcome

Denis


[-- Attachment #2: emacs.diff --]
[-- Type: text/x-patch, Size: 4661 bytes --]

diff --git a/home/embedded/oe/org.openembedded.dev/recipes/emacs/emacs-22.3/use-qemu.patch b/emacs/emacs-22.3/use-qemu.patch
diff --git a/home/embedded/oe/org.openembedded.dev/recipes/emacs/emacs-x11_20060801.bb b/emacs/emacs-x11_20060801.bb
diff --git a/home/embedded/oe/org.openembedded.dev/recipes/emacs/emacs-x11_22.3.bb b/emacs/emacs-x11_22.3.bb
index 03102bf..4475e08 100644
--- a/home/embedded/oe/org.openembedded.dev/recipes/emacs/emacs-x11_22.3.bb
+++ b/emacs/emacs-x11_22.3.bb
@@ -1,12 +1,14 @@
 require emacs.inc
 
 # full X (non-diet) is needed for X support
-DEPENDS += "gtk+ libungif"
+DEPENDS += "gtk+ libungif libxpm"
 
-EXTRA_OECONF = "--without-sound --with-x-toolkit=gtk"
+EXTRA_OECONF = "--without-sound --with-x-toolkit=gtk --with-xpm"
 
 RREPLACES = "emacs"
 
+PR="r1"
+
 FILESPATH = "${FILE_DIRNAME}/emacs-${PV}:${FILE_DIRNAME}/files"
 SRC_URI = "${GNU_MIRROR}/emacs/emacs-${PV}.tar.gz \
 	   file://use-qemu.patch;patch=1 \
diff --git a/home/embedded/oe/org.openembedded.dev/recipes/emacs/emacs-x11_cvs.bb b/emacs/emacs-x11_cvs.bb
diff --git a/home/embedded/oe/org.openembedded.dev/recipes/emacs/emacs.inc b/emacs/emacs.inc
index 05acd82..0464a26 100644
--- a/home/embedded/oe/org.openembedded.dev/recipes/emacs/emacs.inc
+++ b/emacs/emacs.inc
@@ -5,6 +5,8 @@ SECTION = "editor"
 # and it needs to run some generated binaries..
 DEPENDS += "qemu-native"
 
+DEPENDS +=" liblockfile"
+
 inherit autotools
 
 PACKAGES =+ "${PN}-el"
@@ -16,8 +18,12 @@ FILES_${PN} += "${datadir}/emacs"
 
 FILES_${PN}-dbg += "${libexecdir}/emacs/*/*/.debug ${datadir}/emacs/*/*/.debug"
 
+TREEDIR = "${WORKDIR}/qemu-treedir"
+
 # Large stack is required at least on x86_64 host, otherwise random segfaults appear:
-QEMU = "qemu-${TARGET_ARCH} ${QEMU_OPTIONS} -s 1048576 -L ${STAGING_DIR_TARGET}"
+QEMU = "qemu-${TARGET_ARCH} ${QEMU_OPTIONS} -s 1048576 -L ${TREEDIR}"
+
+export LOGNAME = "$(whoami)"
 
 do_compile_prepend() {
 	sed -i ':1;s:\(START.* \|LIB_STANDARD.* \|LIBES.* \)/usr/lib:\1${STAGING_LIBDIR}:;t1' ${S}/src/s/gnu-linux.h `find "${S}" -name Makefile`
@@ -26,6 +32,19 @@ do_compile_prepend() {
 	ln -sf ../src/emacs lisp/emacs
 	ln -sf ../src/emacs lib-src/emacs
 	ln -sf ../src/emacs leim/emacs
+#copy STAGING_DIR_TARGET and libgcc_s.so* to WORKDIR/qemu-treedir #copied code from glibc-package.bbclass
+	treedir=${TREEDIR}
+	if [ -e $treedir ];then
+		rm -rf $treedir
+	fi
+	mkdir $treedir
+	cp -pPR ${STAGING_DIR_TARGET}/* $treedir
+	if [ -f ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.so ]; then
+                cp -pPR ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.so $treedir/lib
+        fi
+        if [ -f ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.so.* ]; then
+                cp -pPR ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.so.* $treedir/lib
+        fi
 }
 
 EXTRA_OEMAKE += 'QEMU="${QEMU}"'
diff --git a/home/embedded/oe/org.openembedded.dev/recipes/emacs/emacs_20060801.bb b/emacs/emacs_20060801.bb
diff --git a/home/embedded/oe/org.openembedded.dev/recipes/emacs/emacs_22.3.bb b/emacs/emacs_22.3.bb
index da8de39..4eeff7b 100644
--- a/home/embedded/oe/org.openembedded.dev/recipes/emacs/emacs_22.3.bb
+++ b/emacs/emacs_22.3.bb
@@ -1,5 +1,7 @@
 require emacs.inc
 
+PR="r1"
+
 EXTRA_OECONF = "--without-sound --without-x"
 
 SRC_URI = "${GNU_MIRROR}/emacs/emacs-${PV}.tar.gz \
diff --git a/home/embedded/oe/org.openembedded.dev/recipes/emacs/emacs_cvs.bb b/emacs/emacs_cvs.bb
index 4a406d6..dca13b1 100644
--- a/home/embedded/oe/org.openembedded.dev/recipes/emacs/emacs_cvs.bb
+++ b/emacs/emacs_cvs.bb
@@ -6,6 +6,7 @@ SECTION = "editor"
 DEPENDS += "qemu-native"
 #NOTE: I have found that this only works with qemu-0.8.0. If I use 0.8.1 or 0.8.2
 # the build gets hung up on compiling certain .el files
+DEPENDS +="liblockfile"
 
 PV = "22.0.50+cvs${SRCDATE}" 
 PE = "1"
@@ -31,6 +32,8 @@ LDFLAGS += "-L${CROSS_DIR}/${TARGET_SYS}/lib"
 
 EXTRA_OECONF = "--without-sound --without-x"
 
+#export LOGNAME:-$USERNAME = "${LOGNAME:-$USERNAME}"
+
 do_bootstrap() {
     cp "${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.so.1" "${S}"
     export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${S}"
@@ -50,3 +53,7 @@ do_compile_prepend() {
     export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${S}"
     export QEMU="${QEMU}"
 }
+
+#do_install_prepend(){
+#    export LOGNAME:-$USERNAME = "${LOGNAME:-$USERNAME}"
+#}
diff --git a/home/embedded/oe/org.openembedded.dev/recipes/emacs/files/nostdlib-unwind.patch b/emacs/files/nostdlib-unwind.patch
diff --git a/home/embedded/oe/org.openembedded.dev/recipes/emacs/files/use-qemu.patch b/emacs/files/use-qemu.patch

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Emacs updated recipe (was: [patch](or sort of): emacs didn't compile[second part: qemu recipe])
  2009-05-18 20:40     ` GNUtoo
@ 2009-05-23 13:06       ` GNUtoo
  0 siblings, 0 replies; 6+ messages in thread
From: GNUtoo @ 2009-05-23 13:06 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 982 bytes --]

On Mon, 2009-05-18 at 22:40 +0200, GNUtoo wrote:
> On Fri, 2009-02-27 at 23:50 +0100, GNUtoo wrote:
> > > On 27-02-09 16:43, GNUtoo wrote:
> > >
> > >> +EXTRA_OECONF += "--target-list=arm-linux-user"
> > >
> > > NACK, OE handles more than ARM
> > >
> > >
> > > _______________________________________________
> > > Openembedded-devel mailing list
> > > Openembedded-devel@lists.openembedded.org
> > > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> > >
> > yes I know...the qemu recipe is very problematic...that's why I asked what
> > to do
> > I'd like to integrate the necessary arm patches that permit the build of
> > emacs...but I don't know which ones of the patches I should integrate...
> > Denis.
> I've news:
> I've tried the last qemu: qemu-native-0.10.3
> and it worked...
> but it need a modified emacs[-x11] recipe that is attached...
> Comments are welcome
> 
> Denis
Ping
I'll re-attach the same diff.

Denis.

[-- Attachment #2: emacs.diff --]
[-- Type: text/x-patch, Size: 4661 bytes --]

diff --git a/home/embedded/oe/org.openembedded.dev/recipes/emacs/emacs-22.3/use-qemu.patch b/emacs/emacs-22.3/use-qemu.patch
diff --git a/home/embedded/oe/org.openembedded.dev/recipes/emacs/emacs-x11_20060801.bb b/emacs/emacs-x11_20060801.bb
diff --git a/home/embedded/oe/org.openembedded.dev/recipes/emacs/emacs-x11_22.3.bb b/emacs/emacs-x11_22.3.bb
index 03102bf..4475e08 100644
--- a/home/embedded/oe/org.openembedded.dev/recipes/emacs/emacs-x11_22.3.bb
+++ b/emacs/emacs-x11_22.3.bb
@@ -1,12 +1,14 @@
 require emacs.inc
 
 # full X (non-diet) is needed for X support
-DEPENDS += "gtk+ libungif"
+DEPENDS += "gtk+ libungif libxpm"
 
-EXTRA_OECONF = "--without-sound --with-x-toolkit=gtk"
+EXTRA_OECONF = "--without-sound --with-x-toolkit=gtk --with-xpm"
 
 RREPLACES = "emacs"
 
+PR="r1"
+
 FILESPATH = "${FILE_DIRNAME}/emacs-${PV}:${FILE_DIRNAME}/files"
 SRC_URI = "${GNU_MIRROR}/emacs/emacs-${PV}.tar.gz \
 	   file://use-qemu.patch;patch=1 \
diff --git a/home/embedded/oe/org.openembedded.dev/recipes/emacs/emacs-x11_cvs.bb b/emacs/emacs-x11_cvs.bb
diff --git a/home/embedded/oe/org.openembedded.dev/recipes/emacs/emacs.inc b/emacs/emacs.inc
index 05acd82..0464a26 100644
--- a/home/embedded/oe/org.openembedded.dev/recipes/emacs/emacs.inc
+++ b/emacs/emacs.inc
@@ -5,6 +5,8 @@ SECTION = "editor"
 # and it needs to run some generated binaries..
 DEPENDS += "qemu-native"
 
+DEPENDS +=" liblockfile"
+
 inherit autotools
 
 PACKAGES =+ "${PN}-el"
@@ -16,8 +18,12 @@ FILES_${PN} += "${datadir}/emacs"
 
 FILES_${PN}-dbg += "${libexecdir}/emacs/*/*/.debug ${datadir}/emacs/*/*/.debug"
 
+TREEDIR = "${WORKDIR}/qemu-treedir"
+
 # Large stack is required at least on x86_64 host, otherwise random segfaults appear:
-QEMU = "qemu-${TARGET_ARCH} ${QEMU_OPTIONS} -s 1048576 -L ${STAGING_DIR_TARGET}"
+QEMU = "qemu-${TARGET_ARCH} ${QEMU_OPTIONS} -s 1048576 -L ${TREEDIR}"
+
+export LOGNAME = "$(whoami)"
 
 do_compile_prepend() {
 	sed -i ':1;s:\(START.* \|LIB_STANDARD.* \|LIBES.* \)/usr/lib:\1${STAGING_LIBDIR}:;t1' ${S}/src/s/gnu-linux.h `find "${S}" -name Makefile`
@@ -26,6 +32,19 @@ do_compile_prepend() {
 	ln -sf ../src/emacs lisp/emacs
 	ln -sf ../src/emacs lib-src/emacs
 	ln -sf ../src/emacs leim/emacs
+#copy STAGING_DIR_TARGET and libgcc_s.so* to WORKDIR/qemu-treedir #copied code from glibc-package.bbclass
+	treedir=${TREEDIR}
+	if [ -e $treedir ];then
+		rm -rf $treedir
+	fi
+	mkdir $treedir
+	cp -pPR ${STAGING_DIR_TARGET}/* $treedir
+	if [ -f ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.so ]; then
+                cp -pPR ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.so $treedir/lib
+        fi
+        if [ -f ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.so.* ]; then
+                cp -pPR ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.so.* $treedir/lib
+        fi
 }
 
 EXTRA_OEMAKE += 'QEMU="${QEMU}"'
diff --git a/home/embedded/oe/org.openembedded.dev/recipes/emacs/emacs_20060801.bb b/emacs/emacs_20060801.bb
diff --git a/home/embedded/oe/org.openembedded.dev/recipes/emacs/emacs_22.3.bb b/emacs/emacs_22.3.bb
index da8de39..4eeff7b 100644
--- a/home/embedded/oe/org.openembedded.dev/recipes/emacs/emacs_22.3.bb
+++ b/emacs/emacs_22.3.bb
@@ -1,5 +1,7 @@
 require emacs.inc
 
+PR="r1"
+
 EXTRA_OECONF = "--without-sound --without-x"
 
 SRC_URI = "${GNU_MIRROR}/emacs/emacs-${PV}.tar.gz \
diff --git a/home/embedded/oe/org.openembedded.dev/recipes/emacs/emacs_cvs.bb b/emacs/emacs_cvs.bb
index 4a406d6..dca13b1 100644
--- a/home/embedded/oe/org.openembedded.dev/recipes/emacs/emacs_cvs.bb
+++ b/emacs/emacs_cvs.bb
@@ -6,6 +6,7 @@ SECTION = "editor"
 DEPENDS += "qemu-native"
 #NOTE: I have found that this only works with qemu-0.8.0. If I use 0.8.1 or 0.8.2
 # the build gets hung up on compiling certain .el files
+DEPENDS +="liblockfile"
 
 PV = "22.0.50+cvs${SRCDATE}" 
 PE = "1"
@@ -31,6 +32,8 @@ LDFLAGS += "-L${CROSS_DIR}/${TARGET_SYS}/lib"
 
 EXTRA_OECONF = "--without-sound --without-x"
 
+#export LOGNAME:-$USERNAME = "${LOGNAME:-$USERNAME}"
+
 do_bootstrap() {
     cp "${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.so.1" "${S}"
     export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${S}"
@@ -50,3 +53,7 @@ do_compile_prepend() {
     export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${S}"
     export QEMU="${QEMU}"
 }
+
+#do_install_prepend(){
+#    export LOGNAME:-$USERNAME = "${LOGNAME:-$USERNAME}"
+#}
diff --git a/home/embedded/oe/org.openembedded.dev/recipes/emacs/files/nostdlib-unwind.patch b/emacs/files/nostdlib-unwind.patch
diff --git a/home/embedded/oe/org.openembedded.dev/recipes/emacs/files/use-qemu.patch b/emacs/files/use-qemu.patch

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-05-23 13:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-27 15:43 [patch](or sort of): emacs didn't compile[second part: qemu recipe] GNUtoo
2009-02-27 21:33 ` Koen Kooi
2009-02-27 22:50   ` GNUtoo
2009-03-02 14:23     ` Stanislav Brabec
2009-05-18 20:40     ` GNUtoo
2009-05-23 13:06       ` Emacs updated recipe (was: [patch](or sort of): emacs didn't compile[second part: qemu recipe]) GNUtoo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.