Okay, I have a workaround. I still don't know why the problem is
occurring, but I have a workaround.

I noticed that the install outside the basedir is only happening for
the locale files, so I modified man.conf:

#if [ "$SDECFG_DISABLE_NLS" != 1 ]; then
#        hook_add premake 5 "$x +lang all"
#else
#        hook_add premake 5 "$x +lang none"
#fi

# BK install writes locale files outside 'basedir', ie to
/usr/mnt/sda10... instead of /mnt/sda10...
hook_add premake 1 "$x +lang none"

I have been offline due to an electric storm, so couldn't lookup
exactly how 'premake' works. I just commented out the existing stuff
and put my own line.
But, as this problem is in Stage 1, it would be ok to uncomment the
premake for Stage 5? (I am presuming that "1" and "5" refer to the
stage).

So, T2 went compiling merrily again... but now has stopped again, at
wget (Stage 1):

 configure: error: --with-ssl was given, but GNUTLS is not available.

...that's news to me, I didn't know wget needs gnutls. I build Puppy
without gnutls.
...perhaps I need to roll wget back to an older version?


Regards,
Barry


On 11/2/11, René Rebe <[email protected]> wrote:
> HI,
>
> On 30.10.2011, at 05:58, Barry Kauler wrote:
>
>>
>> I am doing a cross build, x86 PC building for arm.
>>
>> T2 gets to man package, stage 1, but tries to install outside the base
>> directory:
>>
>> -> Preparing build in src.man.raspi1.20111030.124829.17449.puppypc7528
>> -> Building. Writing output to $root/var/adm/logs/1-man.out
>> !> mkdir -p
>> /usr/mnt/sda10/t2/t2-trunk-svn39804-28oct2011/build/raspi1-9.0-trunk-generic-arm-gnueabi-arm117
>> ..
>> !> install -c -m 644 mess.ru.cat
>> /usr/mnt/sda10/t2/t2-trunk-svn39804-28oct2011/build/raspi1-9.0-trunk-gener
>> ..
>> !> fl_wrapper.so: write outside basedir
>> (/mnt/sda10/t2/t2-trunk-svn39804-28oct2011): /usr/mnt/sda10/t2/t2-t ..
>> !> mkdir -p
>> /usr/mnt/sda10/t2/t2-trunk-svn39804-28oct2011/build/raspi1-9.0-trunk-generic-arm-gnueabi-arm117
>> ..
>> !> install -c -m 644 mess.sl.cat
>> /usr/mnt/sda10/t2/t2-trunk-svn39804-28oct2011/build/raspi1-9.0-trunk-gener
>> ..
>> !> fl_wrapper.so: write outside basedir
>> (/mnt/sda10/t2/t2-trunk-svn39804-28oct2011): /usr/mnt/sda10/t2/t2-t ..
>> !> Due to previous errors, no 1-man.log file!
>> !> (Try enabling xtrace in the config to track an error inside the
>> build system.)
>> == 10/30/11 12:48:43 =[1]=> Aborted building package man.
>>
>> T2 is inside /mnt/sda10, so why is the install writing to /usr/mnt/sda10?
>> And how can I fix it please?
>>
>> I am using latest T2 from SVN rev. 39804. Building generic + xorg +
>> desktop.
>
> Strange thing, good question, builds here:
>
> == 18:41:41 =[1]=> Building base/man-pages [3.32 9.0-trunk].
> -> Parallel build using 8 jobs enabled.
> -> Reading package config: package/base/man-pages/man-pages.conf
> -> Preparing build in
> src.man-pages.arm-uclibc-cross.20111102.184139.29298.8way
> -> Building. Writing output to $root/var/adm/logs/1-man-pages.out
> -> Cleaning up ccache ...
> == 11/02/11 18:42:48 =[1]=> Finished building package man-pages.
>
>
>       René
>
> --
>   René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin
>   http://exactcode.com | http://t2-project.org | http://rene.rebe.de
>
>

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to