List Info

Thread: Bug in jhalfs-X-paco patch?




Bug in jhalfs-X-paco patch?
user name
2006-03-25 23:23:18
Hello Tor. Hello all.

Well, I couldn't resist the temptation of jhalfs, and gave
it a try this 
afternoon.
I patched it with the latest jhalfs-X-paco patch (2405).

All worked like a charm until linux-libc-headers
installation in chapter 6:

    
------------------------------------------------------------
--------------------
    Building target 066-linux-libc-headers
    
------------------------------------------------------------
--------------------
    /bin/sh: ROOT=linux-libc-headers-2.6.12.0: command
not found
    make: *** [066-linux-libc-headers] Error 127
    make: Leaving directory `/mnt/lfs/jhalfs'

And the place in lfs-Makefile where the error occurs is:

    if [ -e $(MOUNT_PT)/tmp/paco.tmp ]; then \
        $(CHROOT1) 'paco -lp linux-libc-headers-2.6.12.0
< 
/tmp/paco.tmp' && \
        rm -f $(MOUNT_PT)/tmp/paco.tmp; \
    fi && \
    ROOT=`head -n1 /tmp/unpacked | sed 's^./;s/.*'`
&& \

The problem is caused by the paco patch IMHO. Here's the
relevant part:

    +cat << EOF
    +   if [ -e \$(MOUNT_PT)$PACO_TMPFILE ]; then \\
    +       \$(CHROOT1) 'paco -lp $PACKAGE <
$PACO_TMPFILE' && \\
    +       rm -f \$(MOUNT_PT)$PACO_TMPFILE; \\
    +   fi && \\   # <-- yep!
    +EOF


I've tried again, changing that "fi &&
\" with "fi" and all seems ok now.

Cheers.


*david

-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discu
ss
FAQ: http://www.linux
fromscratch.org/faq/
Unsubscribe: See the above information page
Bug in jhalfs-X-paco patch?
user name
2006-03-25 23:12:48
El Domingo, 26 de Marzo de 2006 00:23, David Rosal escribió:

>
>     +cat << EOF
>     +   if [ -e \$(MOUNT_PT)$PACO_TMPFILE ]; then
\\
>     +       \$(CHROOT1) 'paco -lp $PACKAGE <
$PACO_TMPFILE' && \\
>     +       rm -f \$(MOUNT_PT)$PACO_TMPFILE; \\
>     +   fi && \\   # <-- yep!
>     +EOF
>
>
> I've tried again, changing that "fi &&
\" with "fi" and all seems ok now.

Confirmed, but changing it to "  fi;  "

My build is now at 068-glibc.


-- 
Manuel Canales Esparcia
Usuario de LFS nº2886:       http://www.linuxfroms
cratch.org
LFS en castellano: http://www.escomp
oslinux.org/lfs-es http://www.lfs-es.com
TLDP-ES:                           http://es.tldp.org
-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discu
ss
FAQ: http://www.linux
fromscratch.org/faq/
Unsubscribe: See the above information page
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )