eu wrote:
i try to build from scrach being-uclibc using cvs-snapshot and i have some problems,

---------buildtoollog---------output------------
Fri Feb 20 17:06:23 2004
itrace> log file . . . : /tmp
itrace> list file . . : /home
itrace> execute . . . : make -C /home/uC/buildtool/source/buildenv -f ./buildtool.mk build MASTERMAKEFILE=/home/uC/buildtool/make/MasterInclude.mk BT_BUILDROOT=/home/uC/buildtool GCCTAR=gcc-3.3.tar.gz UC_PATCH1=uClibc_fopencookie.diff.gz BINUTILS_TARFILE=binutils-2.13.2.1.tar.bz2 UC_CONFIG=.config UC_TARFILE=uClibc-0.9.20.tar.gz LANG=C
make: Entering directory `/home/uC/buildtool/source/buildenv'
mkdir -p /home/uC/buildtool/source/buildenv/binutils-build
Can't open file trace log: Is a directory
make: *** [/home/uC/buildtool/source/buildenv/binutils-build/.configured] Error 1
make: Leaving directory `/home/uC/buildtool/source/buildenv'


Yes, I have the same problem on my box as well (seems to be due to pre-linking, at least on my Fedora Box).
In short, I don't know how to fix the problem (I don't even know itrace, which is causing the problem), but to get around it, you can comment out the following lines, and buildtool should work. Either that, or wait until Arne (who wrote buildtool) has a working internet connection again and can figure out what exactly is going wrong.


Simply make sure that all lines quoted below are commented out (the line starts with a "#").

buildtool/buildtool/buildtool.pm
Line 138
#  # search for itrace in the path...
# (system("which itrace >/dev/null 2>&1") == 0 ) or
#    die("itrace program not found in path, this is required!\n".
#       " please use the one from the tools directory,\n
#         after applying the patch there !\n\n");


buildtool/buildtool/Make/Build.pm,v
line 122
# # set itrace
# my $itracefile = $self->{'CONFIG'}{'buildtracedir'} . "/$part.list";
# $self->debug("setting itracefile to $itracefile");
# $self->{'ITRACE'} = "itrace -L ". $itracefile . " -l /tmp/mylist -- ";
#
# # if itrace file exists, delete it:
# if (-f $itracefile) {
# unlink($itracefile) or confess("deleting $itracefile failed");
# }



buildtool/buildtool/Make/Build.pm,v Line 134 # # delete the source/ entries from the tracefile # # but only if it exists # $self->_fixItraceList($itracefile) if ( -f $itracefile);


insert a "return;" at the beginning of sub _fixItraceList (line 145)


With those changes, you've disabled itrace, and buildtool should work.

If you have trouble making those changes, let me know, and I'll send you a patch (I'm not attaching it now, since this list doesn't allow attachments).

I hope that helps

Martin



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click

_______________________________________________
leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to