On Mon, 2011-05-09 at 11:12 +0200, Erich Titl wrote:
> Hi KP
> 
> at 05.05.2011 15:22, KP Kirchdoerfer wrote:
> > Am Donnerstag, 5. Mai 2011, um 14:57:55 schrieb Erich Titl:
> >> Hi Folks
> >>
> >> There is a buildall.sh in the tools directory which builds all the
> >> defined packages, but is there a tool or quirk to buildpacket.pl to
> >> assemble the packages?
> > 
> > Hi Erich;
> > 
> > buildall.sh builds also the packages.
> 
> I believe buildpacket.pl is fouled up somehow in my installation
> 
> here the trace for haserl
> 
> mega@luna:~/leaf/bering-uclibc/devel/src/leaf/bering-uclibc4/buildtool>
> ./buildtool.pl srcclean haserl
> calling 'make clean' for haserl: [0.K.]
> calling 'make srcclean' for haserl: [0.K.]
> removing installed files for package haserl [0.K.]
> deleting haserl type build from installed list [0.K.]
> deleting haserl type source from installed list [0.K.]
> mega@luna:~/leaf/bering-uclibc/devel/src/leaf/bering-uclibc4/buildtool>
> ./buildtool.pl build haserl
> make the list of required source packages: haserl [0.K.]
> 
> source/package: haserl
> ------------------------
> downloading: buildtool.cfg from server localrepo type filesymlnk [0.K.]
> downloading: buildtool.mk from server localrepo type filesymlnk [0.K.]
> downloading: haserl-0.8.0.tar.gz from server localrepo type filesymlnk
> [0.K.]
> downloading: buildtool.cfg from server localrepo type filesymlnk [0.K.]
> calling 'make source' for haserl [0.K.]
> make the list of required build packages: haserl [0.K.]
> 
> build source/package: haserl
> ------------------------
> calling 'make build' for haserl [0.K.]
> mega@luna:~/leaf/bering-uclibc/devel/src/leaf/bering-uclibc4/buildtool> su
> Password:
> luna:/home/mega/leaf/bering-uclibc/devel/src/leaf/bering-uclibc4/buildtool
> # ./buildpacket.pl --package=haserl
> Key "package" does not exist within current object
>  at ./buildpacket.pl line 1102
> 
> this is weird, as git does not show anything
> 
> mega@luna:~/leaf/bering-uclibc/devel/src/leaf/bering-uclibc4/buildtool>
> git pull
> et...@leaf.git.sourceforge.net's password:
> Already up-to-date.
> 
> here is the md5sum of buildpacket.pl
> 
> luna:/home/mega/leaf/bering-uclibc/devel/src/leaf/bering-uclibc4/buildtool
> # md5sum buildpacket.pl
> aa7b722adb66ccb44134adc2a6b15e73  buildpacket.pl
> 
> cheers
> 
> Erich

Hi Erich,

That's normal behaviour for haserl. It doesn't generate its own .lrp
file but instead gets installed as a component of another Package.
The message is correct - there is no "<Package>" entry in
haserl/buildtool.cfg

Do other Packages build OK for you? If not, what OS are you running on
your build host?

Note that we normally use "fakeroot" when running buildpacket.pl rather
than su'ing to "real" root.

davidMbrooke



------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to