6 Jul 2005 19:47
problems compiling i386-current (what's generating the second -l r?)
Hisashi T Fujinaka <htodd <at> twofifty.com>
2005-07-06 17:47:39 GMT
2005-07-06 17:47:39 GMT
I got no bites in current-users and after rading the man page and looking at the following line, I see that the nbinstall line below has TWO -l commands. Anyone know why that is and why it gives me the error: realpath: Not a directory -- Hisashi T Fujinaka - htodd <at> twofifty.com BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte ---------- Forwarded message ---------- Date: Tue, 5 Jul 2005 20:44:54 -0700 (PDT) From: Hisashi T Fujinaka <htodd <at> twofifty.com> To: current-users <at> NetBSD.org Subject: problems compiling i386-current and trying to figure out env variables I'm just trying to do a "./build.sh -U distribution" and what I see is: # install /usr/src/obj.i386/destdir.i386/lib/libc.so.12.129 STRIP=/usr/src/obj.i386/tooldir.NetBSD-3.99.7-i386/bin/i386--netbsdelf-strip /usr/src/obj.i386/tooldir.NetBSD-3.99.7-i386/bin/nbinstall -U -M /usr/src/obj.i386/destdir.i386/METALOG -D /usr/src/obj.i386/destdir.i386 -h sha1 -N /usr/src/etc -c -r -o root -g wheel -m 444 libc.so.12.129 /usr/src/obj.i386/destdir.i386/lib/libc.so.12.129 STRIP=/usr/src/obj.i386/tooldir.NetBSD-3.99.7-i386/bin/i386--netbsdelf-strip /usr/src/obj.i386/tooldir.NetBSD-3.99.7-i386/bin/nbinstall -U -M /usr/src/obj.i386/destdir.i386/METALOG -D /usr/src/obj.i386/destdir.i386 -h sha1 -N /usr/src/etc -l s -r -l r /usr/src/obj.i386/destdir.i386/lib/libc.so.12.129 /usr/src/obj.i386/destdir.i386/usr/lib/libc.so.12.129 nbinstall: /usr/src/obj.i386/destdir.i386/lib/libc.so.12.129: realpath: Not a directory *** Failed target: /usr/src/obj.i386/destdir.i386/lib/libc.so.12.129(Continue reading)
> I think the right fix here is not to change the metalogged data for the
> hardlink, but rather to make tools that listen to that data ignore the
> values for a hardlink - or at the very least use the corresponding
> values for the target (which must necessarily be earlier in the file,
> right?) instead.
This doesn't work because for hard links both source and target file(s)
are specified as `type=file', so you can't distinguish them.
To make this work, a new keyword needs to be added to mtree which could
be used to describe the files which are hard links to the current file.
Or one abuses the `tags' keyword for this, and delegates parsing to the
reader...
Regards, Jukka
RSS Feed