Hi,

I wonder if anybody still uses jhalfs, and if he(she) has tried ICA
lately.
ICA is broken because of the part in glibc's instructions, which
instructs 'test-installation.pl' to look for /usr/lib rather than
/tools/lib. On the second (and following) pass, the line 'DL=...' sets
DL to empty (because /tools has been removed). Then the sed creates
a flawed 'test-installation.pl'.

Here is a patch which could be applied inside the LFS subdirectory
of jhalfs:

--- master.sh (revision 2)
+++ master.sh (working copy)
@@ -175,6 +175,11 @@
        sed -e 's/ln -sv/&f/g' \
            -e 's/mv -v/&f/g' \
            -e 's/mkdir -v/&p/g' -i ${script}
+      # Suppress the mod of "test-installation.pl" because now
+      # the library path points to /usr/lib
+      if [[ ${script} =~ glibc ]]; then
+          sed '/DL=/,/unset DL/d' -i ${script}
+      fi
        # Rename the scripts
        mv ${script} ${script}$N
      done

Let me know if my efforts on jhalfs may be useful. It seems that
my post on jhalfs-discuss has reached nobody... Besides adding
package management, which you can simply disable by setting
package management to n (this is the default) in the config menu,
I spotted a few other bugs in the handling of tests. For example,
look for the line "ulimits..." before tests in gcc, in the scripts
from current jhalfs.

Regards
Pierre
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to