pkgsrc-Bulk archive

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

Re: pkgsrc NetBSD 2.0.2/i386 bulk build results 2005-09-27




On Wed, 28 Sep 2005, Krister Walfridsson wrote:
On Wed, 28 Sep 2005, Martti Kuparinen wrote:

===> Registering installation for postfix-2.2.5
===> Checking for work-directory references in postfix-2.2.5
===> Checking file-check results for postfix-2.2.5
*** The PLIST does not match installed files!
*** The following files are in the PLIST but not in /usr/pkg:
        /usr/pkg/libexec/postfix/tlsmgr
        /usr/pkg/man/man5/generic.5
        /usr/pkg/man/man5/master.5
        /usr/pkg/man/man5/nisplus_table.5
        /usr/pkg/man/man8/discard.8
        /usr/pkg/man/man8/scache.8
        /usr/pkg/man/man8/tlsmgr.8
        /usr/pkg/share/doc/postfix/IPV6_README
        /usr/pkg/share/doc/postfix/TLS_README
        /usr/pkg/share/examples/postfix/TLS_LICENSE
*** Error code 1
inside:~> ls -l /usr/pkg/man/man5/generic.5
-rw-r--r--  1 root  wheel  8376 Sep  6 10:24 /usr/pkg/man/man5/generic.5
inside:~>

I'll take a look at this before I run the next CHECK_FILES=yes build.

The CHECK_FILES=yes was in fact correct in this case, although the error
message could be improved...

The check works by doing a diff of files before and after the package
is installed, and comparing the result with the PLIST.  So the message
should not really say "The following files are in the PLIST but not in
/usr/pkg" -- it is more like "The following files are in the PLIST but
has not been added by installing this package".

The bulk build did build mail/postfix-current before mail/postfix.
The mail/postfix-current has an incorrect PLIST, so the files
        /usr/pkg/libexec/postfix/tlsmgr
        /usr/pkg/man/man5/generic.5
        /usr/pkg/man/man5/master.5
        /usr/pkg/man/man5/nisplus_table.5
        /usr/pkg/man/man8/discard.8
        /usr/pkg/man/man8/scache.8
        /usr/pkg/man/man8/tlsmgr.8
        /usr/pkg/share/doc/postfix/IPV6_README
        /usr/pkg/share/doc/postfix/TLS_README
        /usr/pkg/share/examples/postfix/TLS_LICENSE
were left in the filesystem when the build of mail/postfix started,
and were thus not added by installing mail/postfix.

Btw. if you look at the bulk log for the installation of mail/postfix,
you'll see that it detects the old files, and skip them rather than
overwriting:
  Skipping /usr/pkg/man/man5/generic.5...
  Updating /usr/pkg/man/man5/header_checks.5...
  Updating /usr/pkg/man/man5/ldap_table.5...
  Skipping /usr/pkg/man/man5/master.5...
  Updating /usr/pkg/man/man5/mysql_table.5...
  Skipping /usr/pkg/man/man5/nisplus_table.5...
  [...]
so I guess the resulting binary package end up with the wrong version
of these files...

   /Krister



Home | Main Index | Thread Index | Old Index