* emacs copying ${STAGING_DIR_TARGET} - wtf?
@ 2010-11-16 0:35 Graham Gower
2010-11-16 6:13 ` Martin Jansa
0 siblings, 1 reply; 5+ messages in thread
From: Graham Gower @ 2010-11-16 0:35 UTC (permalink / raw)
To: openembedded-devel
emacs.inc has this nugget in do_compile_prepend():
cp -pPR ${STAGING_DIR_TARGET}/* $treedir
During a world build, both emacs and emacs-x11 copy some 5GB into
their work dirs. This really seems like overkill.
Could someone familiar with building emacs take a look to see if
there is a reasonable alternative?
thanks,
-Graham
PS: emacs and emacs-x11 fail for me in do_compile.
NOTE: make -j 12 QEMU=qemu-mipsel -s 1048576 -L /mnt/oe/tmp/work/mipsel-oe-linux/emacs-22.3-r1/qemu-treedir
cd lib-src; make all - --jobserver-fds=3,22 -j \
CC='mipsel-oe-linux-gcc -march=mips32' CFLAGS='-isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os' CPPFLAGS='-D_BSD_SOURCE -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux/usr/include' \
LDFLAGS='-L/mnt/oe/tmp/sysroots/mipsel-oe-linux/usr/lib -Wl,-rpath-link,/mnt/oe/tmp/sysroots/mipsel-oe-linux/usr/lib -Wl,-O1 -Wl,-znocombreloc' MAKE='make'
make[1]: Entering directory `/mnt/oe/tmp/work/mipsel-oe-linux/emacs-22.3-r1/emacs-22.3/lib-src'
Makefile:149: *** commands commence before first target. Stop.
make[1]: Leaving directory `/mnt/oe/tmp/work/mipsel-oe-linux/emacs-22.3-r1/emacs-22.3/lib-src'
make: *** [lib-src] Error 2
FATAL: oe_runmake failed
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: emacs copying ${STAGING_DIR_TARGET} - wtf?
2010-11-16 0:35 emacs copying ${STAGING_DIR_TARGET} - wtf? Graham Gower
@ 2010-11-16 6:13 ` Martin Jansa
2010-11-16 7:38 ` Graham Gower
0 siblings, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2010-11-16 6:13 UTC (permalink / raw)
To: openembedded-devel
On Tue, Nov 16, 2010 at 11:05:29AM +1030, Graham Gower wrote:
> emacs.inc has this nugget in do_compile_prepend():
> cp -pPR ${STAGING_DIR_TARGET}/* $treedir
ah, ugly indeed :/
>
> During a world build, both emacs and emacs-x11 copy some 5GB into
> their work dirs. This really seems like overkill.
>
> Could someone familiar with building emacs take a look to see if
> there is a reasonable alternative?
>
> thanks,
> -Graham
>
> PS: emacs and emacs-x11 fail for me in do_compile.
Do you have make-3.82 on your host? emacs-x11_23.1.bb compiles fine with
SHR.
Regards,
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: emacs copying ${STAGING_DIR_TARGET} - wtf?
2010-11-16 6:13 ` Martin Jansa
@ 2010-11-16 7:38 ` Graham Gower
2010-11-17 8:20 ` captain.deadly
2010-11-17 8:50 ` captain.deadly
0 siblings, 2 replies; 5+ messages in thread
From: Graham Gower @ 2010-11-16 7:38 UTC (permalink / raw)
To: openembedded-devel
On 16 November 2010 16:43, Martin Jansa <martin.jansa@gmail.com> wrote:
> On Tue, Nov 16, 2010 at 11:05:29AM +1030, Graham Gower wrote:
>> PS: emacs and emacs-x11 fail for me in do_compile.
>
> Do you have make-3.82 on your host? emacs-x11_23.1.bb compiles fine with
> SHR.
Nope. make --version says 3.81.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: emacs copying ${STAGING_DIR_TARGET} - wtf?
2010-11-16 7:38 ` Graham Gower
@ 2010-11-17 8:20 ` captain.deadly
2010-11-17 8:50 ` captain.deadly
1 sibling, 0 replies; 5+ messages in thread
From: captain.deadly @ 2010-11-17 8:20 UTC (permalink / raw)
To: openembedded-devel
On Tuesday 16 November 2010 07:38:07 Graham Gower wrote:
> On 16 November 2010 16:43, Martin Jansa <martin.jansa@gmail.com> wrote:
> > On Tue, Nov 16, 2010 at 11:05:29AM +1030, Graham Gower wrote:
> >> PS: emacs and emacs-x11 fail for me in do_compile.
> >
> > Do you have make-3.82 on your host? emacs-x11_23.1.bb compiles fine with
> > SHR.
>
> Nope. make --version says 3.81.
>
I'd had problems with emacs before and the error you got was the same as mine.
I got the x11 verson to build as Martin Jansa advised. My version of Make is
the same as yours (3.81) so maybe I'll try to do an updgade and see if that
solves the issue.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: emacs copying ${STAGING_DIR_TARGET} - wtf?
2010-11-16 7:38 ` Graham Gower
2010-11-17 8:20 ` captain.deadly
@ 2010-11-17 8:50 ` captain.deadly
1 sibling, 0 replies; 5+ messages in thread
From: captain.deadly @ 2010-11-17 8:50 UTC (permalink / raw)
To: openembedded-devel
On Tuesday 16 November 2010 07:38:07 Graham Gower wrote:
> On 16 November 2010 16:43, Martin Jansa <martin.jansa@gmail.com> wrote:
> > On Tue, Nov 16, 2010 at 11:05:29AM +1030, Graham Gower wrote:
> >> PS: emacs and emacs-x11 fail for me in do_compile.
> >
> > Do you have make-3.82 on your host? emacs-x11_23.1.bb compiles fine with
> > SHR.
>
> Nope. make --version says 3.81.
>
Just installed make-3.82 and got a different error message but on the same line
in the makefile:
| Makefile:149: *** recipe commences before first target. Stop.
Looking at the Makefile's being generated newlines are getting inserted
somewhere and messing up the makefile. If you manually remove these newlines
from the makefile you can walk the error down the makefile but there are a lot
of them.
I don't understand where they're coming from but that's what I see the problem
as being.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-11-17 8:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-16 0:35 emacs copying ${STAGING_DIR_TARGET} - wtf? Graham Gower
2010-11-16 6:13 ` Martin Jansa
2010-11-16 7:38 ` Graham Gower
2010-11-17 8:20 ` captain.deadly
2010-11-17 8:50 ` captain.deadly
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.