Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Nov 2008 21:41:50 GMT
From:      Julian Stecklina <der_julian@web.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/128739: portupgrade fails to install ports
Message-ID:  <200811092141.mA9LfoAj062252@www.freebsd.org>
Resent-Message-ID: <200811092150.mA9Lo176011847@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@occam:~ portinstall --version
portinstall 2.4.6
julian@occam:~ pkg_info | grep p5-gett
p5-gettext-1.05_2   Message handling functions
julian@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811092141.mA9LfoAj062252>