logo       

Re: Build-Target failed in linux-header (stage 0). Fixed by modifying base/: msg#00050

t2.devel

Subject: Re: Build-Target failed in linux-header (stage 0). Fixed by modifying base/linux24/linux-conf.in file

Hi,

On Wednesday 30 January 2008 09:24:05 Mike N wrote:

> Hi,
>
> Thanks for the tip. And you are correct that the "fix" I mentioned above was
> only half way through. After the fix linux-header package indee compiled but
> then it failed in 2.6.24 version of Linux26 package.
>
> As a temporary fix I added following lines in linux-conf.in file:
>
> if [ "$pkg" = "linux-header"]; then
> lx_cpu='echo ....sed mentioned above as a fix without the i386->x86
> replacing'
> else
> lx_cpu='echo ..... the original sed line here with i386->x86 replacing'
> fi
>
> However, this is just a temporary fix for myself because naturally this
> breaks again when/if linux-header package is updated to 2.6.24 version.
>
> Additional question. I tried to find env variable holding the version number
> of the package but could not find one so I did the "fix" based on package
> name. $pkg variable gives the package name but how can I find out the
> package version shown in some status lines and package tar balls? Just in
> case I sometimes need it in the future.

The version of the currently building package is stored in the variable
$desc_V, the other tags are stored in simillar named variables like:
$desc_I, $desc_T, ...

They are briefly mentioned here:


http://www.t2-project.org/handbook/html/t2.wrapper.html#t2.variable.environment

Guess this deserves some real pages :-)

Btw. I noticed the recent kernel change does not build for x86_64. I'll fix both
problems over the day.

Yours,

--
René Rebe - ExactCODE GmbH - Europe, Germany, Berlin
Geschäftsführer: Susanne Klaus, René Rebe
Sitz: Berlin, Amtsgericht Charlottenburg HRB 105 123 B
USt-IdNr.: DE251602478
http://exactcode.de | http://t2-project.org | http://rene.rebe.name

-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
lists@xxxxxxxxxxxxxx with a subject of: unsubscribe t2
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise