Closed bdrewery closed 12 years ago
# PORTUPGRADE="-b -D -v" portupgrade ports-mgmt/poudriere-devel ---> Session started at: Mon, 15 Oct 2012 19:44:50 -0500 USING PKGNG ---> Upgrade of ports-mgmt/poudriere-devel started at: Mon, 15 Oct 2012 19:44:51 -0500 ---> Upgrading 'poudriere-devel-2.1.99.20121014' to 'poudriere-devel-2.2.99.20121015' (ports-mgmt/poudriere-devel) ---> Build of ports-mgmt/poudriere-devel started at: Mon, 15 Oct 2012 19:44:51 -0500 ---> Building '/usr/ports/ports-mgmt/poudriere-devel' ===> Cleaning for poudriere-devel-2.2.99.20121015 ===> License BSD accepted by the user ===> poudriere-devel-2.2.99.20121015 depends on file: /usr/local/sbin/pkg - found ===> Extracting for poudriere-devel-2.2.99.20121015 => SHA256 Checksum OK for poudriere-2.2.99.20121015.tar.gz?uuid=5ab5434469. ===> Patching for poudriere-devel-2.2.99.20121015 ===> poudriere-devel-2.2.99.20121015 depends on file: /usr/local/bin/ccache - found ===> Configuring for poudriere-devel-2.2.99.20121015 ---> Build of ports-mgmt/poudriere-devel ended at: Mon, 15 Oct 2012 19:44:52 -0500 (consumed 00:00:01) ---> Updating dependency info ---> Uninstallation of poudriere-devel-2.1.99.20121014 started at: Mon, 15 Oct 2012 19:44:52 -0500 ---> Fixing up dependencies before creating a package ---> Backing up the old version ---> Uninstalling the old version USING PKGNG ---> Deinstalling 'poudriere-devel-2.1.99.20121014' The following packages will be deinstalled: poudriere-devel-2.1.99.20121014 The deinstallation will free 83 kB Deleting poudriere-devel-2.1.99.20121014... done [Updating the pkgdb in /var/db/pkg ... - 162 packages found (-1 +0) (...) done] ---> Uninstallation of poudriere-devel-2.1.99.20121014 ended at: Mon, 15 Oct 2012 19:45:00 -0500 (consumed 00:00:08) ---> Installation of ports-mgmt/poudriere-devel started at: Mon, 15 Oct 2012 19:45:00 -0500 ---> Installing the new version via the port ===> Installing for poudriere-devel-2.2.99.20121015 ===> Generating temporary packing list install -m 755 -o root -g wheel src/poudriere.sh /usr/local/bin/poudriere mkdir -p /usr/local/share/poudriere install -m 755 -o root -g wheel src/poudriere.d/* /usr/local/share/poudriere/ install -m 644 -o root -g wheel conf/poudriere.conf.sample /usr/local/etc/ if [ -f poudriere.8.gz ]; then rm -f poudriere.8.gz; fi gzip -k -9 poudriere.8 install -m 644 poudriere.8.gz /usr/local/man/man8 ===> Registering installation for poudriere-devel-2.2.99.20121015 Installing poudriere-devel-2.2.99.20121015... done ===> Cleaning for poudriere-devel-2.2.99.20121015 ---> Removing temporary files and directories ---> Keeping old package in '/usr/ports/packages/All' ---> Installation of ports-mgmt/poudriere-devel ended at: Mon, 15 Oct 2012 19:45:07 -0500 (consumed 00:00:06) [Updating the pkgdb in /var/db/pkg ... - 163 packages found (-0 +1) . done] ---> Cleaning out obsolete shared libraries [Updating the pkgdb in /var/db/pkg ... USING PKGNG ** Database file locked. Waiting. load: 1.68 cmd: ruby19 38911 [uwait] 15.13r 0.19u 0.03s 7% 13948k load: 1.45 cmd: sh 85944 [wait] 97.62r 0.00u 0.00s 0% 2036k load: 1.11 cmd: sh 85944 [wait] 137.13r 0.00u 0.00s 0% 2036k load: 1.11 cmd: sh 85944 [wait] 137.74r 0.00u 0.00s 0% 2036k ** Stale lock file was found. Removed. - 163 packages found (-0 +0) done] ---> Upgrade of ports-mgmt/poudriere-devel ended at: Mon, 15 Oct 2012 19:47:08 -0500 (consumed 00:02:17) ---> ** Upgrade tasks 1: 1 done, 0 ignored, 0 skipped and 0 failed USING PKGNG ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) + ports-mgmt/poudriere-devel (poudriere-devel-2.1.99.20121014 -> poudriere-devel-2.2.99.20121015) ---> Packages processed: 1 done, 0 ignored, 0 skipped and 0 failed ---> Session ended at: Mon, 15 Oct 2012 19:47:09 -0500 (consumed 00:02:19)
# fstat /var/db/pkg/pkgdb.db USER CMD PID FD MOUNT INUM MODE SZ|DV R/W NAME root ruby19 5198 5 /var/db/pkg 9 -rw-r--r-- 9595904 r /var/db/pkg/pkgdb.db # fstat /var/db/pkgdb.fixme USER CMD PID FD MOUNT INUM MODE SZ|DV R/W NAME
Reliable way to recreate is to upgrade any port. Force upgrades will not cause this. Seems to be related to /var/db/pkg timestamp updating.