Subject: Weird problem if no PLIST?
To: None <tech-pkg@netbsd.org>
From: Richard Rauch <rkr@olib.org>
List: tech-pkg
Date: 07/14/2005 00:55:40
I was making a local package and because I wasn't sure which files
might have been added, I removed the PLIST (planning to do make
print-PLIST when done).  Without any PLIST file in the package
directory, the package (a library) froze up around here:

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------


...but before:

===> [Automatic ELF shared object handling]



Looking at top, I noticed that root had an awk process started.
But the CPU was completely idle.

After a few minutes of no progress, I interrupted the pkgsrc build,
I then got this message:

make: *** /usr/wrkobj/local/OpenGLEAN/work.socrates/.PLIST removed


I then did a "make print-PLIST >PLIST", a "make deinstall" and a
"make clean".  Now it builds and installs normally.


Is this a bug or a feature?  I do not recall having this problem
before, and tend to use print-PLIST to generate PLISTs when I roll
up my own packages, so I think I would have noticed if this behavior
occurred before.

-- 
  "I probably don't know what I'm talking about."  http://www.olib.org/~rkr/