[oe] problems doing bitbake task-base

Luís Cargnini lvcargnini at gmail.com
Sun Jun 24 21:50:06 UTC 2007


I forget to say after this I finally could execute from begining to the end
task-base and create angstrom images.

On 6/24/07, Luís Cargnini <lvcargnini at gmail.com> wrote:
>
>
> Dears:
> is this patch generated with mtn diff, good enough for OE ?
>
> (BD06DC30:instramed/openembedded/org.openembedded.dev) lvcargnini% mtn
> diff
> #
> # old_revision [ef8c722889bd5cf7ded674cfc20d139a00318a1c]
> #
> # patch "packages/cups/cups_1.2.10.bb"
> #  from [f35e4bd25f49222a16880ac6e7b5e18ab4b4f41a]
> #    to [ee3749cc0ab3e7fb974dd65b81b7b8c068922b34]
> #
> # patch "packages/perl/perl-native_5.8.8.bb"
> #  from [2f2d7163b1fd47aa9554cf3e954cd81ea1e73556]
> #    to [d7850b53264d7e24c413054b4e0c73614909fafb]
> #
> ============================================================
> --- packages/cups/cups_1.2.10.bb
> f35e4bd25f49222a16880ac6e7b5e18ab4b4f41a
> +++ packages/cups/cups_1.2.10.bb
> ee3749cc0ab3e7fb974dd65b81b7b8c068922b34
> @@ -46,6 +46,9 @@ fakeroot do_install () {
>
>  fakeroot do_install () {
>         oe_runmake "DSTROOT=${D}" install
> +
> +       # This directory gets installed with perms 511, which makes
> packaging fail
> +       chmod 0711 "${D}/${localstatedir}/run/cups/certs"
>  }
>
>  do_stage () {
> @@ -56,6 +59,12 @@ do_stage () {
>         oe_libinstall -C filter -so libcupsimage ${STAGING_LIBDIR}
>  }
>
> +python do_package_append() {
> +       # Change permissions back the way they were, they probably had a
> reason...
> +       workdir = bb.data.getVar('WORKDIR', d, 1)
> +       os.system('chmod 0511 %s/install/cups/var/run/cups/certs' %
> workdir)
> +}
> +
>  FILES_${PN}-dbg += "${libdir}/cups/backend/.debug \
>                      ${libdir}/cups/cgi-bin/.debug \
>                     ${libdir}/cups/filter/.debug \
> @@ -71,6 +80,6 @@ FILES_${PN} += "${datadir}/doc/cups/imag
>                  ${datadir}/icons/ \
>                "
>
> +LEAD_SONAME = "libcups.so.* "
>
>
> -
> ============================================================
> --- packages/perl/perl-native_5.8.8.bb
> 2f2d7163b1fd47aa9554cf3e954cd81ea1e73556
> +++ packages/perl/perl-native_5.8.8.bb
> d7850b53264d7e24c413054b4e0c73614909fafb
> @@ -14,6 +14,7 @@ SRC_URI = "http://ftp.funet.fi/pub/CPAN/
>             file://native-nopacklist.patch;patch=1 \
>             file://native-no-gdbminc.patch;patch=1 \
>             file://native-perlinc.patch;patch=1 \
> +          file://perl-5.8.8-asm-page-h-compile-failure.patch;patch=1 \
>             file://native-makedepend-dash.patch;patch=1"
>
>  # This sloppy patch breaks normal gcc
> (BD06DC30:instramed/openembedded/org.openembedded.dev) lvcargnini%
>
> Please this modifications was generated, applying my patch for
> perl-native, to make possbile coimpile it in gentoo distro and it remain
> correct for all the others distro, and applying the patch to cups bug id
> 2345.
> Thanks anyway.
>
>
> On 6/22/07, Luís Cargnini <lvcargnini at gmail.com> wrote:
> >
> > howto fix this issue:
> > NOTE: package cups-1.2.10-r0: task do_package: started
> > !!! Failed to move ./var/run/cups/certs to
> > /home/lvcargnini/puc/instramed/openembedded/tmp/work/armv5te-angstrom-linux-gnueabi/cups-
> > 1.2.10-r0 /install/cups/./var/run/cups/certs
> > !!! [Errno 13] Permission denied
> > NOTE: Task failed: File population failed
> > NOTE: package cups-1.2.10-r0: task do_package: failed
> > ERROR: TaskFailed event exception, aborting
> > NOTE: package cups-1.2.10: failed
> > ERROR: Build of
> > /home/lvcargnini/puc/instramed/openembedded/org.openembedded.dev/packages/cups/cups_1.2.10.bb
> > do_package failed
> > ERROR: Task 769
> > (/home/lvcargnini/puc/instramed/openembedded/org.openembedded.dev/packages/cups/cups_1.2.10.bb,
> > do_package) failed
> > NOTE: Tasks Summary: Attempted 905 tasks of which 897 didn't need to be
> > rerun and 1 failed.
> > ERROR:
> > '/home/lvcargnini/puc/instramed/openembedded/org.openembedded.dev/packages/cups/cups_1.2.10.bb'
> > failed
> >
> >
> > On 6/22/07, Luís Cargnini <lvcargnini at gmail.com > wrote:
> > >
> > > Yes I have teh latest version of linux-header of my gentoo, i applied
> > > the gentoo patch for page.h on my perl-native and it compiled.
> > > my gentoo linux -header installed is the following:
> > > sys-kernel/linux-headers
> > >       Latest version available: 2.6.21
> > >       Latest version installed: 2.6.21
> > >       Size of files: 4,286 kB
> > >       Homepage:      http://www.kernel.org/ http://www.gentoo.org/
> > >       Description:   Linux system headers
> > >       License:       GPL-2
> > >
> > > how my system is the latest not the stable I suppose that page.h still
> > > been cuted off.
> > > now what do you think ?
> > >
> > > On 6/22/07, Jamie Lenehan <lenehan at twibble.org> wrote:
> > > >
> > > > On Wed, Jun 20, 2007 at 01:48:00PM -0300, Luís Cargnini wrote:
> > > > > Please can add the Gentoo patch as suggested ?
> > > >
> > > > Not yet.
> > > >
> > > > The patch will break builds using older glibc's... the question is
> > > > how old? I think it'll be that old that it doesn't matter, but until
> > > >
> > > > I've verified that I don't want to push this change.
> > > >
> > > > Did you try upgrading to the latest linux-headers? I thought this
> > > > had
> > > > been re-added in the lastest version of the linux-headers (of
> > > > whatever gentoo calls it) and that gentoo had update the later
> > > > version?
> > > >
> > > > > I emailed the list some days ago, this will make perl compile in
> > > > any system
> > > > > without errors I suppose
> > > >
> > > > Any recent system.
> > > >
> > > > --
> > > > Jamie Lenehan < lenehan at twibble.org>
> > > >
> > >
> > >
> > >
> > > --
> > >
> > > ------------------------------------------------------------------------------
> > > Thanks && Regards
> > > Msc. Bsc. Luís Vitório Cargnini
> > > IEEE Member
> > > Electrical Engineer Faculty @ PUCRS
> > > Ipiranga Avenue, 6681 – Building 30
> > > P.O. Box: 90619-900 – Porto Alegre/RS
> > > Phone: +55 51 3320 3500  extension: 7696
> > > ---------------------------------------------------------------------------------
> > >
> > >
> >
> >
> >
> > --
> >
> > ------------------------------------------------------------------------------
> > Thanks && Regards
> > Msc. Bsc. Luís Vitório Cargnini
> > IEEE Member
> > Electrical Engineer Faculty @ PUCRS
> > Ipiranga Avenue, 6681 – Building 30
> > P.O. Box: 90619-900 – Porto Alegre/RS
> > Phone: +55 51 3320 3500  extension: 7696
> > ---------------------------------------------------------------------------------
> >
> >
>
>
>
> --
>
> ------------------------------------------------------------------------------
> Thanks && Regards
> Msc. Bsc. Luís Vitório Cargnini
> IEEE Member
> Electrical Engineer Faculty @ PUCRS
> Ipiranga Avenue, 6681 – Building 30
> P.O. Box: 90619-900 – Porto Alegre/RS
> Phone: +55 51 3320 3500  extension: 7696
> ---------------------------------------------------------------------------------
>
>



-- 
------------------------------------------------------------------------------
Thanks && Regards
Msc. Bsc. Luís Vitório Cargnini
IEEE Member
Electrical Engineer Faculty @ PUCRS
Ipiranga Avenue, 6681 – Building 30
P.O. Box: 90619-900 – Porto Alegre/RS
Phone: +55 51 3320 3500  extension: 7696
---------------------------------------------------------------------------------



More information about the Openembedded-devel mailing list