Subject: quirks from packages when installing with LOCALBASE=/usr
To: NetBSD Packages Technical Discussion List <tech-pkg@netbsd.org>
From: Greg A. Woods <woods@most.weird.com>
List: tech-pkg
Date: 01/18/1999 15:15:40
As most of you no doubt know I've been building and installing packages
with LOCALBASE=/usr lately.  Here are a few of the quirks I see.

Note that initially I've found the following symlinks to be necessary:

	/usr/etc -> ../etc
	/usr/info -> share/info
	/usr/man -> share/man
	/usr/var -> ../var

Things seem to be working OK so far, though I've not done a lot of
testing of applications yet (only development tools!  ;-).

The following errant symlink was created by tcl80:

	/usr/tclsh -> tclsh8.0

I'm not really sure what these two messages mean, though they don't seem
to have caused any problems (I suspect the pkg_* tools are
misunderstanding when relative symlinks should be used, which is almost
*ALWAYS*).

===>  Registering installation for tcl-8.0p2
Full pathname symlink `/usr/include/tcl8.0/generic/tcl.h' is target of `/usr/include/tcl8.0/tcl.h' - adjusting to `../../include/tcl8.0/generic/tcl.h'

===>  Registering installation for tk-8.0p2
Full pathname symlink `/usr/include/tk8.0/generic/tk.h' is target of `/usr/include/tk8.0/tk.h' - adjusting to `../../include/tk8.0/generic/tk.h'

Because of the above symlinks almost every "make install" also reports:

missing: ./etc (not created: File exists)
missing: ./etc/rc.d (not created: File exists)
missing: ./info (not created: File exists)
missing: ./man (not created: File exists)
missing: ./man/cat1 (not created: File exists)
missing: ./man/cat2 (not created: File exists)
missing: ./man/cat3 (not created: File exists)
missing: ./man/cat4 (not created: File exists)
missing: ./man/cat5 (not created: File exists)
missing: ./man/cat6 (not created: File exists)
missing: ./man/cat7 (not created: File exists)
missing: ./man/cat8 (not created: File exists)
missing: ./man/cat9 (not created: File exists)
missing: ./man/catl (not created: File exists)
missing: ./man/catn (not created: File exists)
missing: ./man/ja_JP.EUC (not created: File exists)
missing: ./man/ja_JP.EUC/cat1 (not created: File exists)
missing: ./man/ja_JP.EUC/cat2 (not created: File exists)
missing: ./man/ja_JP.EUC/cat3 (not created: File exists)
missing: ./man/ja_JP.EUC/cat4 (not created: File exists)
missing: ./man/ja_JP.EUC/cat5 (not created: File exists)
missing: ./man/ja_JP.EUC/cat6 (not created: File exists)
missing: ./man/ja_JP.EUC/cat7 (not created: File exists)
missing: ./man/ja_JP.EUC/cat8 (not created: File exists)
missing: ./man/ja_JP.EUC/cat9 (not created: File exists)
missing: ./man/ja_JP.EUC/catl (not created: File exists)
missing: ./man/ja_JP.EUC/catn (not created: File exists)
missing: ./man/ja_JP.EUC/man1 (not created: File exists)
missing: ./man/ja_JP.EUC/man2 (not created: File exists)
missing: ./man/ja_JP.EUC/man3 (not created: File exists)
missing: ./man/ja_JP.EUC/man4 (not created: File exists)
missing: ./man/ja_JP.EUC/man5 (not created: File exists)
missing: ./man/ja_JP.EUC/man6 (not created: File exists)
missing: ./man/ja_JP.EUC/man7 (not created: File exists)
missing: ./man/ja_JP.EUC/man8 (not created: File exists)
missing: ./man/ja_JP.EUC/man9 (not created: File exists)
missing: ./man/ja_JP.EUC/manl (not created: File exists)
missing: ./man/ja_JP.EUC/mann (not created: File exists)
missing: ./man/man1 (not created: File exists)
missing: ./man/man2 (not created: File exists)
missing: ./man/man3 (not created: File exists)
missing: ./man/man4 (not created: File exists)
missing: ./man/man5 (not created: File exists)
missing: ./man/man6 (not created: File exists)
missing: ./man/man7 (not created: File exists)
missing: ./man/man8 (not created: File exists)
missing: ./man/man9 (not created: File exists)
missing: ./man/manl (not created: File exists)
missing: ./man/mann (not created: File exists)

-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods@acm.org>      <robohack!woods>
Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>