building (the unpatched package) explicitly using gcc-4.6 on amd64, I get the
following build failure. Looks like there is at least something unrelated to
GCC 4.7 (see the second log).
with the suggested patch, I get:
[...]
(cd . && m4 -s -Dcondbranch_opt=0 prim) >prim.b
sleep 1 #should make hpux-workaround unnecessary
GFORTH="./preforth -p ".:~+:."" ./gfgen
make[1]: *** [engine/prim.i] Error 1
make[1]: Leaving directory `/home/packages/tmp/gforth-0.7.0+ds1'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
so it looks like the patch isn't correctly applied, or some other files need to
be regenerated?
[...]
for i in libffi.fs fflib.fs cstr.fs unix/socket.fs; do ./gforth -e "s\"
`pwd`/lib/gforth/0.7.0/libcc-named/\" libcc-named-dir-v 2! libcc-path clear-path
libcc-named-dir libcc-path also-path :noname 2drop s\"
/usr/lib/x86_64-linux-gnu/gforth/0.7.0/libcc-named/\" ; is replace-rpath" ./$i
-e bye; done
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
in file included from *OS command line*:-1
libffi.fs:159: libtool compile failed
>>>end-c-library<<<
Backtrace:
$2ADD7A60F988 throw
$2ADD7A64B4D0 c(abort")
$2ADD7A64C0D0 compile-wrapper-function1
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
in file included from *OS command line*:-1
fflib.fs:136: libtool compile failed
>>>end-c-library<<<
Backtrace:
$2AF9947C7988 throw
$2AF9948034D0 c(abort")
$2AF9948040D0 compile-wrapper-function1
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
in file included from *OS command line*:-1
cstr.fs:23: libtool compile failed
>>>end-c-library<<<
Backtrace:
$2B6B7E085988 throw
$2B6B7E0C14D0 c(abort")
$2B6B7E0C20D0 compile-wrapper-function1
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
in file included from *OS command line*:-1
unix/socket.fs:48: libtool compile failed
>>>end-c-library<<<
Backtrace:
$2ACA46213988 throw
$2ACA4624F4D0 c(abort")
$2ACA462500D0 compile-wrapper-function1
make[1]: *** [build-libcc-named] Error 1
make[1]: Leaving directory `/home/packages/tmp/gforth-0.7.0+ds1'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2