List Info

Thread: Possible error with jhalfs building clfs




Possible error with jhalfs building clfs
user name
2006-06-16 22:09:03
Hi

I think there may be an error when using jhalfs to build
current svn clfs

It looks from the makefile that it is using the kernel
package rather
than linux-headers package in first stage of build

extract from makefile

>>>>
031-linux-headers:  026-settingenvironment
    $(call echo_message, Building)
    ./progress_bar.sh $ &
    echo -e "\n`date`\n\nKB: `du -skx
--exclude=jhalfs $(MOUNT_PT)`\n"
>logs/031-linux-headers
    PKG_PATH=`ls -t
$(MOUNT_PT)$(SRC)/linux-2.6.16.20.tar.* | head -n1`
&& \
    ROOT=`tar -tf $$PKG_PATH | head -n1 | sed -e 's^./;s/.*'`
&& \
    [[ -n $$ROOT ]] && \
    rm -rf $(MOUNT_PT)$(SRC)/$$ROOT && \
    if [ -e $(MOUNT_PT)$(SRC)/linux-build ]; then \
        rm -rf $(MOUNT_PT)$(SRC)/linux-build; \
    fi;
    $(call unpack,linux-2.6.16.20.tar.*)
    ROOT=`head -n1 $(MOUNT_PT)$(SRC)/$(PKG_LST) | sed
's^./;s/.*'` && \
    echo "export
PKGDIR=$(MOUNT_PT)$(SRC)/$$ROOT" > envars
&& \
    chown -R lfs $(MOUNT_PT)$(SRC)/$$ROOT
    ( time { su - lfs -c "source /home/lfs/.bashrc
&&
/mnt/lfs/jhalfs/clfs-commands/cross-tools/031-linux-headers
"
>>logs/031-linux-headers 2>&1 ; } )
2>>logs/031-linux-headers && \
    echo -e "\nKB: `du -skx --exclude=jhalfs
$(MOUNT_PT)`\n"
>>logs/031-linux-headers
    ROOT=`head -n1 $(MOUNT_PT)$(SRC)/$(PKG_LST) | sed
's^./;s/.*'` && \
    rm -r $(MOUNT_PT)$(SRC)/$$ROOT && \
    if [ -e $(MOUNT_PT)$(SRC)/linux-build ]; then \
        rm -r $(MOUNT_PT)$(SRC)/linux-build; \
    fi;
    touch  $ && \
    sleep .25 && \
    echo -e "\n\n "$(BOLD)Target $(BLUE)$
$(BOLD)OK && \
>>>>>

the unpack line clearly shows linux-2.6.16.20.tar.*   rather
than
linux-headers package

The makefile appears to be correct for the second stage

>>>>
094-linux-headers:  093-temp-perl
    $(call echo_message, Building)
    ./progress_bar.sh $ &
    echo -e "\n`date`\n\nKB: `du -skx
--exclude=jhalfs $(MOUNT_PT)`\n"
>logs/094-linux-headers
    PKG_PATH=`ls -t
$(MOUNT_PT)$(SRC)/linux-headers-&linux-version;-06092006
.tar.* | head
-n1` && \
    ROOT=`tar -tf $$PKG_PATH | head -n1 | sed -e 's^./;s/.*'`
&& \
    [[ -n $$ROOT ]] && \
    rm -rf $(MOUNT_PT)$(SRC)/$$ROOT && \
    if [ -e
$(MOUNT_PT)$(SRC)/linux-headers-&linux-version;-build ];
then \
        rm -rf
$(MOUNT_PT)$(SRC)/linux-headers-&linux-version;-build;
\
    fi;
    $(call
unpack2,linux-headers-&linux-version;-06092006.tar.*)
    ROOT=`head -n1 $(MOUNT_PT)$(SRC)/$(PKG_LST) | sed
's^./;s/.*'` && \
    echo "export PKGDIR=$(SRC)/$$ROOT" >
envars
    ( time { $(CHROOT1) 'cd /jhalfs && source
envars &&
/jhalfs/clfs-commands/final-system/094-linux-headers
>>/jhalfs/logs/094-linux-headers 2>&1' ; } )
2>>logs/094-linux-headers && \
    echo -e "\nKB: `du -skx --exclude=jhalfs
$(MOUNT_PT)`\n"
>>logs/094-linux-headers
    ROOT=`head -n1 $(MOUNT_PT)$(SRC)/$(PKG_LST) | sed
's^./;s/.*'` && \
    rm -r $(MOUNT_PT)$(SRC)/$$ROOT && \
    if [ -e $(MOUNT_PT)$(SRC)/linux-headers-build ]; then \
        rm -r $(MOUNT_PT)$(SRC)/linux-headers-build; \
    fi;
    touch  $ && \
    sleep .25 && \
    echo -e "\n\n "$(BOLD)Target $(BLUE)$
$(BOLD)OK && \
    echo ---------------------------------------------------
>>>>

Is this a jhalfs issue or a clfs xml issue ?

Thanks

DaveM





-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discu
ss
FAQ: http://www.linux
fromscratch.org/faq/
Unsubscribe: See the above information page
Possible error with jhalfs building clfs
user name
2006-06-16 23:12:13

David Mascall wrote:
> Hi
> 
> I think there may be an error when using jhalfs to
build current svn clfs
  yes.. I have not been keeping up with the CLFS changes
lately. I was 
still looking for the old llh package. Thanks for bringing
this to my 
attention..
   George
> 
> It looks from the makefile that it is using the kernel
package rather
> than linux-headers package in first stage of build
> 
> extract from makefile
> 
<snip>
> 
> Is this a jhalfs issue or a clfs xml issue ?
> 
> Thanks
> 
> DaveM
-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discu
ss
FAQ: http://www.linux
fromscratch.org/faq/
Unsubscribe: See the above information page
Possible error with jhalfs building clfs
user name
2006-06-16 23:25:12

George Boudreau wrote:
> 
> 
> David Mascall wrote:
>> Hi
>>
>> I think there may be an error when using jhalfs to
build current svn clfs
>  yes.. I have not been keeping up with the CLFS changes
lately. I was 
> still looking for the old llh package. Thanks for
bringing this to my 
> attention..
>   George

   nope.. still a problem but now it has to do with the xml
creation of 
the <packages> file ...
   Time to take the brain out of storage..
>>
>> It looks from the makefile that it is using the
kernel package rather
>> than linux-headers package in first stage of build
>>
>> extract from makefile
>>
> <snip>
>>
>> Is this a jhalfs issue or a clfs xml issue ?
>>
>> Thanks
>>
>> DaveM
-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discu
ss
FAQ: http://www.linux
fromscratch.org/faq/
Unsubscribe: See the above information page
[1-3]

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