tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Unexpected obsolete cat pages with MKCATPAGES=yes



Hi,

I have set MKCATPAGES=yes on some of my machines, and now see some
postinstall warnings about obsolete catpages ... It seems to trigger
for recently modified man pages such as dev_mkdb.8 i updated today.

catpages check:
        Obsolete cat page ///usr/share/man/cat1/elf2aout.0
        Obsolete cat page ///usr/share/man/cat1/elf2ecoff.0
        Obsolete cat page ///usr/share/man/cat3/ypclnt.0
        Obsolete cat page ///usr/share/man/cat3/yp_all.0
[...]
        Obsolete cat page ///usr/share/man/cat3/ypprot_err.0
        Obsolete cat page ///usr/share/man/cat3/yp_setbindtries.0
        Obsolete cat page ///usr/share/man/cat8/dev_mkdb.0

Sometimes updated catpages are not always installed into destdir,
leading to the problem i currently face. Which could have been
existing for quite some time but remained unnoticed until recent
catpages switch.

njoly@petaure [usr.sbin/dev_mkdb]> touch dev_mkdb.8
njoly@petaure [usr.sbin/dev_mkdb]> nbmake-amd64 dependall
#    format  dev_mkdb/dev_mkdb.cat8
if test ""!= "yes"; then  /local/src/NetBSD/tool/bin/nbmandoc -Tascii 
/local/src/NetBSD/src/usr.sbin/dev_mkdb/dev_mkdb.8   > dev_mkdb.cat8.tmp && mv 
dev_mkdb.cat8.tmp dev_mkdb.cat8;  else  
PATH=/local/src/NetBSD/tool/lib/groff:${PATH} 
/local/src/NetBSD/tool/bin/nbnroff -mandoc 
/local/src/NetBSD/src/usr.sbin/dev_mkdb/dev_mkdb.8   > dev_mkdb.cat8.tmp && mv 
dev_mkdb.cat8.tmp dev_mkdb.cat8;  fi
#    format  dev_mkdb/dev_mkdb.html8
/local/src/NetBSD/tool/bin/nbmandoc -Thtml -Oman=../html%S/%N.html 
-Ostyle=../style.css  /local/src/NetBSD/src/usr.sbin/dev_mkdb/dev_mkdb.8 > 
dev_mkdb.html8.tmp &&  mv dev_mkdb.html8.tmp dev_mkdb.html8
njoly@petaure [usr.sbin/dev_mkdb]> nbmake-amd64 install
[...NOTHING DONE...]

But looks like there's something to do here, at least according to the
make debug output:

njoly@petaure [usr.sbin/dev_mkdb]> nbmake-amd64 -dm install
Make_ExpandUse: examine install
MakeAddChild: need to examine beforeinstall
MakeAddChild: need to examine .WAIT_1
[...]
Examining /local/src/NetBSD/dest/amd64/usr/sbin/dev_mkdb...modified 22:40:39 
Mar 05,2012...up-to-date.
Examining 
/local/src/NetBSD/dest/amd64/usr/libdata/debug/usr/sbin/dev_mkdb.debug...modified
 22:40:39 Mar 05,2012...up-to-date.
Examining proginstall-dev_mkdb...modified 22:42:03 Mar 05,2012...up-to-date.
[...]
Examining manpages...non-existent....PHONY node...out-of-date.
 recheck(manpages): update time from  1:00:00 Jan 01,1970 to now
Examining /local/src/NetBSD/dest/amd64/usr/share/man/man8/dev_mkdb.8...modified 
22:42:03 Mar 05,2012...modified before source 
/local/src/NetBSD/src/usr.sbin/dev_mkdb/dev_mkdb.8...out-of-date.
 recheck(/local/src/NetBSD/dest/amd64/usr/share/man/man8/dev_mkdb.8): current 
update time: 22:42:03 Mar 05,2012
Examining manpages...non-existent....PHONY node...out-of-date.
[...]
 recheck(catpages): update time from  1:00:00 Jan 01,1970 to now
Examining /local/src/NetBSD/dest/amd64/usr/share/man/cat8/dev_mkdb.0...modified 
22:42:03 Mar 05,2012...modified before source dev_mkdb.cat8...out-of-date.
 recheck(/local/src/NetBSD/dest/amd64/usr/share/man/cat8/dev_mkdb.0): current 
update time: 22:42:03 Mar 05,2012
Examining catpages...non-existent....PHONY node...out-of-date.
 recheck(catpages): update time from  1:00:00 Jan 01,1970 to now
Examining catlinks...non-existent....PHONY node...out-of-date.
[...]
 recheck(htmlpages): update time from  1:00:00 Jan 01,1970 to now
Examining 
/local/src/NetBSD/dest/amd64/usr/share/man/html8/dev_mkdb.html...modified 
22:42:03 Mar 05,2012...modified before source dev_mkdb.html8...out-of-date.
 recheck(/local/src/NetBSD/dest/amd64/usr/share/man/html8/dev_mkdb.html): 
current update time: 22:42:03 Mar 05,2012
Examining htmlpages...non-existent....PHONY node...out-of-date.
[...]

This is with a make wrapper build for MKUNPRIVED=yes, MKUPDATE=yes
using build.sh. Attached the mk.conf file i use on this machine for
the remaining make variables that may matters.

Any idea what's going on ?
Thanks.

-- 
Nicolas Joly

Projects and Developments in Bioinformatics
Institut Pasteur, Paris.
## Build dirs

BSDSRCDIR=/local/src/NetBSD/src
X11SRCDIR=/local/src/NetBSD/xsrc
PKGSRCDIR=/local/src/NetBSD/pkgsrc

BSDOBJDIR=/local/src/NetBSD/obj
WRKOBJDIR=/local/src/NetBSD/obj.pkgsrc

.ifndef BSD_PKG_MK
DESTDIR=/local/src/NetBSD/dest/${MACHINE}
.endif
TOOLDIR=/local/src/NetBSD/tool

RELEASEDIR=/local/src/NetBSD/rel

## Build options

OBJMACHINE=yes
USR_OBJMACHINE=yes

MKCATPAGES=     yes
MKDEBUG=        yes
MKX11=          yes

.if !defined(KERNEL_BUILD) && ${MKDEBUG:Uno} != no
DBG+=           -g
.endif

# For gdb(1) bootstrapping ...
MKMAINTAINERTOOLS=      yes

RUMP_LOCKDEBUG= yes


Home | Main Index | Thread Index | Old Index