jhalfs X 2407 - paco patch try5

Chris Schwemmer chris.schwemmer at informatik.stud.uni-erlangen.de
Tue Mar 28 07:02:38 PST 2006


Tor Olav Stava wrote:
> What paco version are you using? If you're using older version than
> svn-20060325 there's been some issues with the EXCLUDE dirs not being
> honored. If you're actually using recommended or newer version, then I
> probably have to reevaluate which dirs/files to exclude.

I am using paco-20060327.

> I'm not into sed language, so I prefer other solutions.

I don't speak sed either, but that should be just a matter of regexp isn't
it? Something like "match all lines beginning with -". On the other hand
would a check what is being removed be sensible, too...

> Do you have some examples of missing files from your paco logs? I'll do
> a complete run on LFS with all chapter 6 test-suites and see if I notice
> anything myself, but all reports will make life easier ;)

Let's see... grep ^- * in var/paco/log produces 1007 lines. I'll just copy
some examples:
autoconf-2.59:-/var/tmp/cf5189/conftest9012345|-2|-2|-2
autoconf-2.59:-/var/tmp/cf5189/conftest9012346|-2|-2|-2
binutils-2.16.1:-/usr/lib/stZ83uVW|-2|-2|-2
binutils-2.16.1:-/usr/lib/stThsVKo|-2|-2|-2
binutils-2.16.1:-/usr/lib/stqnWkTE|-2|-2|-2
binutils-2.16.1:-/usr/lib/libiberty.an|-2|-2|-2
bison-2.1:-/usr/lib/stHola5B|-2|-2|-2
bzip2-1.0.3:-/usr/bin/bzip2|-2|-2|-2
bzip2-1.0.3:-/usr/bin/bunzip2|-2|-2|-2
bzip2-1.0.3:-/usr/bin/bzcat|-2|-2|-2
coreutils-5.94:-/var/tmp/cf11090/conftest9012345|-2|-2|-2
coreutils-5.94:-/usr/lib/cf11090/conftest9012345|-2|-2|-2
coreutils-5.94:-/usr/bin/chgrp|-2|-2|-2
coreutils-5.94:-/usr/bin/chown|-2|-2|-2
coreutils-5.94:-/usr/bin/chmod|-2|-2|-2
coreutils-5.94:-/usr/bin/cp|-2|-2|-2
coreutils-5.94:-/usr/bin/dd|-2|-2|-2
coreutils-5.94:-/usr/bin/ln|-2|-2|-2
coreutils-5.94:-/usr/bin/ls|-2|-2|-2
coreutils-5.94:-/usr/bin/mkdir|-2|-2|-2
coreutils-5.94:-/usr/bin/mknod|-2|-2|-2
coreutils-5.94:-/usr/bin/mv|-2|-2|-2
coreutils-5.94:-/usr/bin/rm|-2|-2|-2

If you want to, you can see the complete file here:
http://andariel.informatik.uni-erlangen.de/~iceweasel/missing

> Is /etc/passwd actually listed in /var/log/paco/coreutils.* ? I really
> thought unsetting LD_PRELOAD would avoid that, but I might just be
> mistaken.

Yes. /etc/passwd is listed in coreutils and shadow.
I think this (and lots of the missing/erroneus files above) comes from the
commands of the LFS book itself. There's lots of creating files, linking
files, moving files etc. going on. For example the /etc/passwd file during
coreutils is created at the beginning of the script, but LD_PRELOAD is
unset below that. Of course that could easily be changed, but there are
others too. Consider coreutils again: /usr/bin/chgrp is reported as
missing. Surely it is, because it is moved by the book after make install.

Chris





More information about the alfs-discuss mailing list