[oe-users] ERROR: function do_stage failed
Yang
c17mswr02 at sneakemail.com
Tue Sep 18 16:33:55 UTC 2007
On 9/17/07, Yang c17mswr02-at-sneakemail.com |openembedded|
<...> wrote:
> Never mind, the problem persists.
>
> I think this may be due to bash exporting my custom functions into an
> sh (--posix) shell, which then barfs. This happens sometimes with
> Makefiles, though I don't understand it at all.
This does indeed turn out to be the problem. Do not export functions
whose syntax is incompatible with sh!
Anyway, I'm now running into a new issue with linux-epia:
| Root device is (8, 2)
| Boot sector 512 bytes.
| Setup is 4602 bytes.
| System is 1913 kB
| System is too big. Try using bzImage or modules.
| make[1]: *** [arch/i386/boot/zImage] Error 1
| make[1]: Leaving directory
`/data2/yang/oe/tmp/work/soekris4801-linux/linux-epia-2.6.19.2-r1/linux-2.6.19.2'
| make: *** [zImage] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed:
/data2/yang/oe/tmp/work/soekris4801-linux/linux-epia-2.6.19.2-r1/temp/log.do_compile.9908
NOTE: package linux-epia-2.6.19.2-r1: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package linux-epia-2.6.19.2: failed
ERROR: Build of
/data2/yang/oe/org.openembedded.dev/packages/linux/linux-epia_2.6.19.2.bb
do_compile failed
ERROR: Task 341
(/data2/yang/oe/org.openembedded.dev/packages/linux/linux-epia_2.6.19.2.bb,
do_compile) failed
NOTE: Tasks Summary: Attempted 280 tasks of which 0 didn't need to be
rerun and 1 failed.
ERROR: '/data2/yang/oe/org.openembedded.dev/packages/linux/linux-epia_2.6.19.2.bb'
failed
Does anybody have clues about this one?
I feel like I'm peeling an onion - so many layers, so many tears.
Yang
>
> Yang
>
> On 9/17/07, Yang c17mswr02-at-sneakemail.com |openembedded|
> <...> wrote:
> > The problem seems to have gone away by itself after I wiped out the
> > tmp and sources directories (thus re-grabbing all the packages).
> >
> > Why was glibc 2.6 being pulled when generic.conf has the following line?
> >
> > PREFERRED_VERSION_glibc ?= "2.5"
> >
> > What does the ?= mean?
> >
> > BTW, is Angstrom substantially larger than generic? We currently are
> > trying to produce a tiny distro, at under 5MB.
> >
> > Michal, the soekris machine config is our own. Following this message
> > is the paste.
> >
> > Thanks for any answers,
> >
> > Yang
> >
> > #@TYPE: Machine
> > #@NAME: X86
> > #@DESCRIPTION: Machine configuration for a Linux running on x86
> > compatible machines
> >
> > # i386 doesn't work with NTPL, see
> > http://ecos.sourceware.org/ml/libc-ports/2006-03/msg00030.html
> > TARGET_ARCH = "i486"
> > # TARGET_VENDOR = "-oe"
> > PACKAGE_EXTRA_ARCHS = "x86"
> > PREFERRED_PROVIDER_virtual/kernel = "linux-soekris4801"
> > # todo: convert to task-base
> > # BOOTSTRAP_EXTRA_RDEPENDS = "kernel pciutils udev kernel-modules"
> > MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
> >
> > MACHINE_FEATURES = "kernel26 pci usbhost ext2 screen wifi"
> >
> > udevdir = "/dev"
> > OLDEST_KERNEL = "2.6.17"
> > GLIBC_ADDONS = "nptl"
> > GLIBC_EXTRA_OECONF = "--with-tls"
> >
> > SERIAL_CONSOLE = "ttyS0 19200 vt100"
> >
> > #require conf/machine/include/tune-x86.conf
> >
> > On 9/13/07, Dr. Michael Lauer mickey-at-vanille-media.de
> > |openembedded| <...> wrote:
> > > I'm afraid DISTRO = generic is missing some PREFERRED_VERSIONS, i.e.
> > > glibc 2.6.1 is bleeding edge, so I suggest staying with 2.5.x for a
> > > while. Please see some e.g. the Angstrom configuration and grab some
> > > of the PREFERRED_VERSIONS / PROVIDERS and put them into generic.conf.
> > > Patches welcome :)
> > >
> > > Regards,
> > >
> > > :M:
> > > --
> > > Michael 'Mickey' Lauer | IT-Freelancer | http://www.vanille-media.de
> > >
> > >
> > > _______________________________________________
> > > Openembedded-users mailing list
> > > Openembedded-users at lists.openembedded.org
> > > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users
> > >
> >
> > _______________________________________________
> > Openembedded-users mailing list
> > Openembedded-users at lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users
> >
>
> _______________________________________________
> Openembedded-users mailing list
> Openembedded-users at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users
>
More information about the Openembedded-users
mailing list