Re: Building the tree. - Perl module not available on the feeds:

From: Eduardo N. Hering <enhering_at_gabuleu.com>
Date: Sun, 18 Feb 2007 14:54:33 -0200

To try to build the perl module Digest:SHA1 (not available on the
feeds) I have written the following bb file

  [hering_at_om-notebook perl]$ cat digest-sha1-perl_2.11.bb
  SECTION = "libs"
  SRC_URI
= "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-SHA1-2.11.tar.gz"
  LICENSE = "Artistic"
  S = "${WORKDIR}/Digest-SHA1-${PV}"

  inherit cpan
  [hering_at_om-notebook perl]$

inside directory

  /stuff/familiar-build/org.handhelds.familiar/packages/perl

the results of running bitbake digest-sha1-perl were:

  [hering_at_om-notebook perl]$ bitbake digest-sha1-perl
  NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available.
Install it to increase performance.
  NOTE: Using cache
in '/stuff/familiar-build/build-h2200-gpe/tmp/cache'
  NOTE: Parsing finished. 2876 cached, 1 parsed, 78 skipped, 0 masked.
  NOTE: build 200702181435: started

  OE Build Configuration:
  BB_VERSION = "1.3.2.1"
  OE_REVISION = ""
  TARGET_ARCH = "arm"
  TARGET_OS = "linux"
  MACHINE = "h2200"
  DISTRO = "familiar"
  TARGET_FPU = ""

  NOTE: multiple providers are available (glibc, glibc-intermediate);
  NOTE: consider defining
PREFERRED_PROVIDER_virtual/arm-linux-libc-for-gcc
  NOTE: package digest-sha1-perl-2.11: started
  NOTE: package digest-sha1-perl-2.11-r0: task do_fetch: started
  NOTE: package digest-sha1-perl-2.11-r0: task do_fetch: completed
  NOTE: package digest-sha1-perl-2.11-r0: task do_unpack: started
  NOTE:
  Unpacking /stuff/familiar-build/downloads/Digest-SHA1-2.11.tar.gz
to /stuff/familiar-build/build-h2200-gpe/tmp/work/arm-linux/digest-sha1-perl-2.11-r0/
  NOTE: package digest-sha1-perl-2.11-r0: task do_unpack: completed
  NOTE: package digest-sha1-perl-2.11-r0: task do_patch: started
  NOTE: package digest-sha1-perl-2.11-r0: task do_patch: completed
  NOTE: package digest-sha1-perl-2.11-r0: task do_configure: started
  ERROR: function do_configure failed
  ERROR: log data follows
(/stuff/familiar-build/build-h2200-gpe/tmp/work/arm-linux/digest-sha1-perl-2.11-r0/temp/log.do_configure.4282)
| Checking if your kit is complete...
| Looks good
| Writing Makefile for Digest::SHA1
| /stuff/familiar-build/build-h2200-gpe/tmp/work/arm-linux/digest-sha1-perl-2.11-r0/temp/run.do_configure.4282:
line
380: /stuff/familiar-build/build-h2200-gpe/tmp/staging/arm-linux/perl/config.sh:
No such file or directory
  NOTE: Task
failed: /stuff/familiar-build/build-h2200-gpe/tmp/work/arm-linux/digest-sha1-perl-2.11-r0/temp/log.do_configure.4282
  NOTE: package digest-sha1-perl-2.11-r0: task do_configure: failed
  ERROR: TaskFailed event exception, aborting
  NOTE: package digest-sha1-perl-2.11: failed
  ERROR: Build of digest-sha1-perl failed
  [hering_at_om-notebook perl]$

I checked the tree and the directory

  /stuff/familiar-build/build-h2200-gpe/tmp/staging/arm-linux/perl/

does not exist.

Can somebody help me?

Regards,

Eduardo.

On Sunday 18 February 2007 14:21, Eduardo N. Hering wrote:
> Sorry, René,
>
> I tried to build a perl module first but some errors occurred and,
> for ignorance, I thought I had to build everything before trying
> a perl module. I know you are busy people.
>
> I'll try that module again and post the errors to the list.
>
> Thanks again,
>
> Eduardo.
>
> On Sunday 18 February 2007 13:28, Rene Wagner wrote:
> > On Sat, 2007-02-17 at 22:56 -0200, Eduardo N. Hering wrote:
> > > NOTE: package ppp-2.4.3-r0: task do_compile: started
> > > ERROR: function do_compile failed
> > > ERROR: log data follows
> > > (/stuff/familiar-build/build-h2200-gpe/tmp/work/arm-linux/ppp-2
> > >.4 .3-r0/temp/log.do_compile.10678)
> >
> > [...]
> >
> > > but it said my tree is up to date. Can you give me another
> > > hint?
> >
> > Not without the error messages that you omitted.
> >
> > In general I'd recommend against building an image just "because
> > you can". Building images is not a prerequisite to building
> > additional packages.
> >
> > Like everyone else we have finite resources and while we do
> > provide the build system it's not a priority to handle support
> > for it.
> >
> > For packages that are not available from the feeds, feel free to
> > try a build yourself and ask for help if things break. Time
> > permitting, we will do our best to assist you.
> >
> > But for anything that is available (images or packages from the
> > feeds) please try to play nice with developer time and save
> > yourself and us the hassle of rebuilding/running into build
> > problems.
> >
> > Thanks,
> >
> > Rene

-- 
Eduardo N. Hering, DSc
E-mail:		enhering_at_gabuleu.com
Skype:		enhering
Jabber:		enhering_at_myjabber.net
MSN:		enh_at_gabuleu.com
Phone:		+55 21 8793-9995
SMS:		www.oi.com.br (torpedo)
--------------------------------------
My bookmarks:
http://www.delicious.com/enhering
--------------------------------------
Control your lab with linux and Perl:
- Perl-lab -
http://perl-lab.blogspot.com/
--------------------------------------
Used books for sale:
http://enh-used-books.blogspot.com/
--------------------------------------
Received on Sun Feb 18 2007 - 11:44:37 EST

This archive was generated by hypermail 2.2.0 : Sun Feb 18 2007 - 11:45:37 EST