Hey,

svn blame on the zlib.conf file shows I did last touch this in r36056, you can 
see the change with:

        svn di -c 36056

It was $root/$mandir” before, could you try testing if changing it back to this 
fixes the issue?

        René

On Dec 27, 2016, at 19:32, Jan Rovins <[email protected]> wrote:

> 
> When building the generic x86-64 build on Ubuntu,  zlib stage 0 fails with 
> this error:
> 
> fl_wrapper.so: write outside basedir (/opt/T2/t2-trunk): /usr/man/man3/zlib.3
> 
> I fixed it by not installing the man pages if stage 0.
> 
> == 13:14:27 =[0]=> Building archiver/zlib [1.2.8 9.0-svn].
> -> Parallel build using 8 jobs enabled.
> -> Reading package config: package/archiver/zlib/zlib.conf
> -> Reading build/.../tools.cross/lib/pkg_zlib_post.conf
> -> Preparing build in src.zlib.default.20161227.131427.3098.Ubu-Dev-1
> -> Building. Writing output to $root/var/adm/logs/0-zlib.out
> !> chmod 644 
> /opt/T2/t2-trunk/build/default-9.0-svn-generic-x86-64-linux/TOOLCHAIN/tools.cross/lib/libz.a
> !> cp libz.so.1.2.8 
> /opt/T2/t2-trunk/build/default-9.0-svn-generic-x86-64-linux/TOOLCHAIN/tools.cross/lib
> !> chmod 755 
> /opt/T2/t2-trunk/build/default-9.0-svn-generic-x86-64-linux/TOOLCHAIN/tools.cross/lib/libz.so.1.2.8
> !> cp zlib.3 /usr/man/man3
> !> fl_wrapper.so: write outside basedir (/opt/T2/t2-trunk): 
> /usr/man/man3/zlib.3
> !> Makefile:188: recipe for target 'install-libs' failed
> !> Due to previous errors, no 0-zlib.log file!
> !> (Try enabling xtrace in the config to track an error inside the build 
> system.)
> 
> 
> 
> ===================================================================
> --- package/archiver/zlib/zlib.conf     (revision 45213)
> +++ package/archiver/zlib/zlib.conf     (working copy)
> @@ -20,4 +20,6 @@
>        var_insert confopt " " "--shared"
> fi
> 
> -var_append makeinstopt ' ' 'mandir=$mandir'
> +if ! atstage toolchain; then
> +       var_append makeinstopt ' ' 'mandir=$mandir'
> +fi
> 
> 
> Jan
> 
> 
> 
> ----------------------------------------------------------- If you wish to 
> unsubscribe from this mailing, send mail to
> [email protected] with a subject of: unsubscribe t2

-- 
 ExactCODE GmbH, Lietzenburger Str. 42, DE-10789 Berlin
 DE Legal: Amtsgericht Berlin (Charlottenburg) HRB 105123B, Tax-ID#: DE251602478
 Managing Director: René Rebe
 http://exactcode.com | http://exactscan.com | http://ocrkit.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