I get:
calculating dependencies
Checking for gcc ... /usr/bin/gcc
must rebuild[tools]: system::gcc librestrict make libtool file tar m4
perl autoconf patch zlib
building package: tools::librestrict
*** Stage: download (librestrict, tools)
*** Stage: untar (librestrict, tools)
*** Stage: patch (librestrict, tools)
*** Stage: shadow (librestrict, tools)
*** Stage: compile (librestrict, tools)
Command barfed: cd /home/gub/gub/target/tools/build/librestrict-1.9.a
&& gcc -W -Wall -fno-stack-protector -I. -fPIC -shared -o
librestrict-stat.so restrict-stat.c || gcc -W -Wall -I. -fPIC -shared
-o librestrict-stat.so restrict-stat.c
Tail of target/tools/log/librestrict.log >>>>>>>>
./xstatconv.c:269:5: error: 'struct stat' has no member named '__unused5'
buf->__unused5 = 0;
^
Command barfed: cd /home/gub/gub/target/tools/build/librestrict-1.9.a
&& gcc -W -Wall -fno-stack-protector -I. -fPIC -shared -o
librestrict-stat.so restrict-stat.c || gcc -W -Wall -I. -fPIC -shared
-o librestrict-stat.so restrict-stat.c
<<<<<<<< Tail of target/tools/log/librestrict.log
*** Failed target: tools::librestrict
--
Phil Holmes
----- Original Message -----
From: "Jan Nieuwenhuizen" <address@hidden>
To: "Phil Holmes" <address@hidden>
Cc: "David Kastrup" <address@hidden>; "Federico Bruni"
<address@hidden>; <address@hidden>
Sent: Tuesday, October 28, 2014 10:45 AM
Subject: Re: GUB and mpfr/mpc
Phil Holmes writes:
https://github.com/gperciva/gub
I don't think librestrict has changed in years, works for me [on 14.10].
Jan
$ ./bin/gub tools::librestrict
calculating dependencies
Checking for gcc ... /usr/bin/gcc
must rebuild[tools]: system::gcc librestrict make libtool file tar m4
perl autoconf patch zlib
Checking for gcc ... (cached) /usr/bin/gcc
building package: system::gcc
*** Stage: download (gcc, system)
*** Stage: configure (gcc, system)
Checking for gcc ... (cached) /usr/bin/gcc
building package: tools::librestrict
*** Stage: download (librestrict, tools)
*** Stage: untar (librestrict, tools)
*** Stage: patch (librestrict, tools)
*** Stage: shadow (librestrict, tools)
*** Stage: compile (librestrict, tools)
*** Stage: install (librestrict, tools)
*** Stage: package (librestrict, tools)
*** Stage: clean (librestrict, tools)
*** Stage: pkg_install (librestrict, tools)
[...]