ports/128739: portupgrade fails to install ports

Julian Stecklina der_julian at web.de
Sun Nov 9 21:50:02 UTC 2008


>Number:         128739
>Category:       ports
>Synopsis:       portupgrade fails to install ports
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 09 21:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Julian Stecklina
>Release:        8-CURRENT
>Organization:
>Environment:
FreeBSD occam.lan 8.0-CURRENT FreeBSD 8.0-CURRENT #0 r184732: Fri Nov  7 00:07:48 UTC 2008     root at occam.lan:/usr/obj/usr/src/sys/OCCAM  amd64
>Description:
portupgrade tries to install dependencies that are already present, i.e. its dependency calculation seems to be b0rken. Example (this also happens with other ports):

julian at occam:~ portinstall --version
portinstall 2.4.6
julian at occam:~ pkg_info | grep p5-gett
p5-gettext-1.05_2   Message handling functions
julian at occam:~ sudo portinstall  help2man        
[Gathering depends for misc/help2man .......... done]
--->  Installing 'p5-gettext-1.05_2' from a port (devel/p5-Locale-gettext)
--->  Building '/usr/ports/devel/p5-Locale-gettext'
[...]
--->  Installing the new version via the port
===>  Installing for p5-gettext-1.05_2
===>   p5-gettext-1.05_2 depends on file: /usr/local/bin/perl5.8.8 - found
===>   p5-gettext-1.05_2 depends on shared library: intl - found
===>   Generating temporary packing list
===>  Checking if devel/p5-Locale-gettext already installed
===>   p5-gettext-1.05_2 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of devel/p5-Locale-gettext
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/devel/p5-Locale-gettext.
*** Error code 1

Stop in /usr/ports/devel/p5-Locale-gettext.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.20119.0 env make reinstall
** Fix the installation problem and try again.
--->  Skipping 'misc/help2man' because a requisite port 'devel/p5-Locale-gettext' failed (specify -k to force)
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! devel/p5-Locale-gettext       (install error)
        * misc/help2man


>How-To-Repeat:
(See above)
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list