#7773: gcc-6.1.0
-------------------------+------------------------------
Reporter: bdubbs@… | Owner: pierre.labastie
Type: enhancement | Status: assigned
Priority: normal | Milestone: 7.10
Component: BOOK | Version: SVN
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------------------
Comment (by pierre.labastie):
Tests for libjava fail with new version of dejagnu.
from [https://gcc.gnu.org/ml/java-patches/2016-q2/msg00007.html]:
{{{
In DejaGnu 1.6, the utility procedure 'absolute' has been removed as
it can be implemented with Tcl's own 'file normalize' command...
}}}
The patch is:
{{{
===================================================================
--- testsuite/lib/libjava.exp (revision 235209)
+++ testsuite/lib/libjava.exp (working copy)
@@ -416,7 +416,7 @@
# Search for libtool. We need it to link.
set found_compiler 0
- set d [absolute $objdir]
+ set d [file normalize $objdir]
foreach x {. .. ../.. ../../..} {
if {[file exists $d/$x/libtool]} then {
# We have to run silently to avoid DejaGNU lossage.
}}}
I think we can use the sed:
{{{
sed -i 's/\[absolute/[file normalize/' libjava/testsuite/lib/libjava.exp
}}}
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/7773#comment:2>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page