[MacPorts] #48486: lion buildslave registry damaged

MacPorts noreply at macports.org
Thu Oct 15 17:04:43 PDT 2015


#48486: lion buildslave registry damaged
-----------------------------+---------------------
  Reporter:  snc@…           |      Owner:  admin@…
      Type:  defect          |     Status:  new
  Priority:  High            |  Milestone:
 Component:  server/hosting  |    Version:
Resolution:                  |   Keywords:
      Port:                  |
-----------------------------+---------------------

Comment (by ryandesign@…):

 Replying to [comment:14 jmr@…]:
 > Replying to [comment:7 keith_dart@…]:
 > > I went ahead and moved the registry.db aside and ran the ports tool.
 It does indeed create a new one, but it's mostly empty. This may be
 sufficient to fix this problem.
 > This makes MacPorts forget all the ports that are installed, but that's
 OK, this is just a build server. As well as removing the now-unregistered
 files that Ryan is having you do, you can also `rm -r
 /opt/local/var/macports/software/*` to remove the archives of the
 installed ports. They will be rebuilt or re-downloaded as needed.

 That should have been done when registry.db was removed. Removing it now,
 without also again removing registry.db, will cause problems. We could
 remove registry.db again, and the contents of this folder.

 > It would be best to shut down the buildbot-slave program while doing all
 this, as it will be installing ports every time someone commits a change.

 I was planning to use the buildbot web site to invoke builds of certain
 ports to see what activation failures occurred next. An alternative would
 be to shut down the buildbot-slave, and have Keith install ports on the
 command line. Keith, we can chat over iMessage or something else if you
 like which might be quicker.

-- 
Ticket URL: <https://trac.macports.org/ticket/48486#comment:15>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list