Re: at the end of emdebuild...
On Thursday 27 March 2008, Neil Williams wrote:
> On Thu, 2008-03-27 at 17:01 +0000, David Goodenough wrote:
> > there is are a pair of statements that use @line, which is an array
> > of objects to be installed.
> It is in a subroutine, &crossbuilddeps, so it is not necessarily called
> at the end of emdebuild, the code is just located there.
yes, I meant physically at the end.
> > When doing a cross arch build it fails
> > saying that there is an uninitialised value in join (the place where
> > is uses @line is join( " ", @line)).
> Which package? It doesn't fail on my builds.
for instance with dpkg
> > Now in this case there ARE (two) unmet things to be installed,
> > so it should have something to do here.
> > Anyone got any ideas as to what the problem might be?
> David, when filing queries like this, please do a couple of things:
> 1. Always run any script with multiple --verbose options to see what the
> script is actually doing before posting. emdebuild supports up to four
> levels of verbosity so you can run emdebuild -v -v -v ... (the default
> is one and --quiet uses verbosity=zero).
> 2. *Always* state exactly which package is being built and for which
well it seems to happen all over the place, for mipsel.
> 3. Always append to your post the relevant output from the verbose
> Thanks, your feedback and comments are helpful and I do want to fix the
> issues but I consistently need more information from your questions.
well I am still finding my way around, so I do not know if it is something
I am doing wrong or a problem in the code. I usually assume it is me not
> You've probably noticed that my emails tend to be quite verbose, well I
> like verbose and I find that things are easiest when others are verbose
> when detailing problems too, please.
I will do my best.
The relevant bit is as follows:-
Cleaned and emdebianised source tree for 'dpkg' exists at
Installing build dependencies with apt-get
Enter your sudo password if prompted.
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 71 not upgraded.
Installing cross dependencies with emdebuild --build-dep
Use of uninitialized value in join or string at /usr/bin/emdebuild line 674.
Installing: zlib1g-dev libbz2-dev libselinux1-dev with apt-cross.
Use of uninitialized value in join or string at /usr/bin/emdebuild line 680.
Checking dependencies: /
0 to be upgraded, 0 to be newly installed.
Attempting an automatic build
Building 'dpkg' for mipsel on i386.
Hope this helps.