Re: HEADS-UP: Shared Library Versions bumped...

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alson van der Meulen
Date: Wednesday, July 29, 2009 - 10:06 am

* Doug Barton <dougb@FreeBSD.org> [2009-07-29 18:13]:

I have been bitten by this in the past. A run of portmaster -r
some-lib-that-half-of-my-ports-depend-on aborted because of a shared
library error in a dependency which was not recompiled before the
dependent port. I recompiled the dependency with a manual portmaster
$portname, after this portmaster -r had to start all over. I didn't
expect portmaster to clear the PM_DONE flags during non-resumable
operations like rebuilding a single port (and the manpage contains very
little information about -R). My workaround is to use portupgrade for
these manual fixes.

The case where not removing the flags without -[rf] would hurt is
running portmaster -r something, portmaster failing, resolving this
without portmaster -[rf], updating your ports, and run portmaster -R. It
seems fair to consider this behavior undefined. Plus the ports can be
modified in many ways without portmaster, so it would make more sense to
try to detect stale PM_DONE flags than removing them at arbitrary times
(eg. compare the timestamp of the flag to that of the port).

Alson
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
HEADS-UP: Shared Library Versions bumped..., Ken Smith, (Sun Jul 19, 11:16 am)
Re: HEADS-UP: Shared Library Versions bumped..., Thomas Backman, (Sun Jul 19, 11:26 am)
Re: HEADS-UP: Shared Library Versions bumped..., Ken Smith, (Sun Jul 19, 11:33 am)
Re: HEADS-UP: Shared Library Versions bumped..., Byung-Hee HWANG, (Sun Jul 19, 4:46 pm)
Re: HEADS-UP: Shared Library Versions bumped..., Ivan Voras, (Mon Jul 20, 2:18 am)
Re: HEADS-UP: Shared Library Versions bumped..., Olivier SMEDTS, (Mon Jul 20, 7:29 am)
Re: HEADS-UP: Shared Library Versions bumped..., Kostik Belousov, (Mon Jul 20, 7:34 am)
Re: HEADS-UP: Shared Library Versions bumped... , Kevin Oberman, (Mon Jul 20, 11:13 am)
Re: HEADS-UP: Shared Library Versions bumped..., Chris Dillon, (Mon Jul 20, 12:11 pm)
Re: HEADS-UP: Shared Library Versions bumped..., O. Hartmann, (Tue Jul 21, 1:45 pm)
Re: HEADS-UP: Shared Library Versions bumped..., Steve Kargl, (Tue Jul 21, 2:52 pm)
Re: HEADS-UP: Shared Library Versions bumped..., John Baldwin, (Wed Jul 22, 5:14 am)
Re: HEADS-UP: Shared Library Versions bumped..., Vladimir Grebenschikov, (Wed Jul 22, 8:43 am)
Re: HEADS-UP: Shared Library Versions bumped..., David Schultz, (Wed Jul 22, 12:30 pm)
Re: HEADS-UP: Shared Library Versions bumped..., Alexandre "Sunny" Ko ..., (Wed Jul 22, 12:52 pm)
Re: HEADS-UP: Shared Library Versions bumped..., Andrew Reilly, (Wed Jul 22, 5:26 pm)
Re: HEADS-UP: Shared Library Versions bumped..., Daniel O'Connor, (Thu Jul 23, 11:55 pm)
Re: HEADS-UP: Shared Library Versions bumped..., Mel Flynn, (Fri Jul 24, 12:35 am)
Re: HEADS-UP: Shared Library Versions bumped..., Doug Barton, (Wed Jul 29, 12:10 am)
Re: HEADS-UP: Shared Library Versions bumped..., Mel Flynn, (Wed Jul 29, 12:42 am)
Re: HEADS-UP: Shared Library Versions bumped..., Doug Barton, (Wed Jul 29, 9:13 am)
Re: HEADS-UP: Shared Library Versions bumped..., Alson van der Meulen, (Wed Jul 29, 10:06 am)
Re: portmaster -R (Was: Re: HEADS-UP: Shared Library Versi ..., Alson van der Meulen, (Wed Jul 29, 1:35 pm)
HEAD newfs/sysinstall issues , Barrett Lyon, (Wed Jul 29, 3:26 pm)
Re: HEAD newfs/sysinstall issues, Kamigishi Rei, (Wed Jul 29, 4:43 pm)
Re: HEAD newfs/sysinstall issues, Gary Jennejohn, (Thu Jul 30, 1:41 am)
Re: HEAD newfs/sysinstall issues, Randi Harper, (Thu Jul 30, 11:23 am)