Bug 135201 - ports-mgmt/portupgrade: doesn't upgrade lang/tcc
Summary: ports-mgmt/portupgrade: doesn't upgrade lang/tcc
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ruby (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-03 09:10 UTC by hiroto.kagotani
Modified: 2009-10-27 12:10 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hiroto.kagotani 2009-06-03 09:10:00 UTC
portupgrade-2.4.6_2,2 can not handle ports once removed from
ports tree and restored afterward.  When I attempt to upgrade
such ports, portupgrade claims that they have been removed.
lang/tcc and x11/settitle are examples of such ports.

How-To-Repeat: install lang/tcc
do portupgrade -f lang/tcc
then you get:
** Package 'tcc' has been removed from ports tree.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        -  (tcc-0.9.25)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-06-03 09:10:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sem

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2009-07-25 02:49:46 UTC
Responsible Changed
From-To: sem->ruby

sem@ has turned over maintainership of portupgrade to the ruby mailing list.
Comment 3 dfilter service freebsd_committer freebsd_triage 2009-10-27 12:06:03 UTC
stas        2009-10-27 12:05:41 UTC

  FreeBSD ports repository

  Modified files:
    .                    MOVED 
  Log:
  - lang/tcc was restored, remove MOVED entry.
  
  PR:             ports/135201
  Reported by:    Hiroto Kagotani <hiroto.kagotani@gmail.com>
  
  Revision  Changes    Path
  1.2007    +1 -2      ports/MOVED
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Stanislav Sedov 2009-10-27 12:08:09 UTC
Hi, Hiroto!

There's hardly anything that portupgrade can do in that case,
because MOVED support was meant to protect the user from incorrect
upgrades in case when the port was removed, but stale files are
still present in the tree.  The reason you've observed such a problem
is due to the fact that lang/tcc entry was not removed from MOVED file
when the port was restored.  This is fixed now.

Thanks for reporting!

-- 
Stanislav Sedov
ST4096-RIPE
Comment 5 Stanislav Sedov freebsd_committer freebsd_triage 2009-10-27 12:08:43 UTC
State Changed
From-To: open->closed

Fixed in 1.2007 of MOVED.