ports/120502: portupgrade: no more "---> Packaging 'XXX' as dependency

fb-pr ups fbpr4ups at gmail.com
Sun Feb 10 14:50:01 UTC 2008


>Number:         120502
>Category:       ports
>Synopsis:       portupgrade: no more "--->  Packaging 'XXX' as dependency
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 10 14:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     fb-pr ups
>Release:        6.1, 6.2, 7.0
>Organization:
ups
>Environment:
FreeBSD i61 6.1-RELEASE-p22 FreeBSD 6.1-RELEASE-p22 #0: Tue Jan 15 11:21:01 CET 2008     root at i61:/usr/obj/usr/src/sys/GENERIC  i386


>Description:
Since release 2.4.2,2, when a dependance of an installed port is updated and the port itself is not, the package of the port is not rebuilt. e.g. with gftp, starting with no port installed at all:

# pkg_add /usr/ports/packages/All/portupgrade-2.4.2,2.tbz 
[some output]
# pkg_add /usr/ports/packages/All/gftp-2.0.18_6.tbz 
[some output]
# portupgrade -arRPp[Rebuilding the pkgdb <format:bdb_btree> in /var/db/pkg ... - 97 packages found (-0 +97) ................................................................................................. done]
[Gathering depends for devel/glib20 ........... done]
--->  Checking for the latest package of 'devel/libtool15'
--->  Found a package of 'devel/libtool15': /usr/ports/packages/All/libtool-1.5.24.tbz (libtool-1.5.24)
--->  Installing 'libtool-1.5.24' from a package
--->  Installing the new version via the package
--->  Checking for the latest package of 'devel/gmake'
--->  Found a package of 'devel/gmake': /usr/ports/packages/All/gmake-3.81_2.tbz (gmake-3.81_2)
--->  Installing 'gmake-3.81_2' from a package
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 98 packages found (-0 +1) . done]
--->  Installing the new version via the package
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 99 packages found (-0 +1) . done]
--->  Checking for the latest package of 'devel/glib20'
--->  Found a package of 'devel/glib20': /usr/ports/packages/All/glib-2.14.6.tbz (glib-2.14.6)
--->  Upgrading 'glib-2.14.5' to 'glib-2.14.6' (devel/glib20) using a package
--->  Backing up the old version
--->  Uninstalling the old version
--->  Deinstalling 'glib-2.14.5'
--->  Preserving /usr/local/lib/libglib-2.0.so.0 as /usr/local/lib/compat/pkg/libglib-2.0.so.0
--->  Preserving /usr/local/lib/libgmodule-2.0.so.0 as /usr/local/lib/compat/pkg/libgmodule-2.0.so.0
--->  Preserving /usr/local/lib/libgobject-2.0.so.0 as /usr/local/lib/compat/pkg/libgobject-2.0.so.0
--->  Preserving /usr/local/lib/libgthread-2.0.so.0 as /usr/local/lib/compat/pkg/libgthread-2.0.so.0
pkg_delete: package 'glib-2.14.5' is required by these other packages
and may not be deinstalled (but I'll delete it anyway):
atk-1.20.0
gftp-2.0.18_6
gtk-2.12.7
pango-1.18.4
shared-mime-info-0.23
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 98 packages found (-1 +0) (...) done]
--->  Installing the new version via the package
--->  Cleaning out obsolete shared libraries
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 99 packages found (-0 +1) . done]
# 

With portupgrade-2.3.1_1,2 and exactly the same environment (make.conf, pkgtools.conf, ...) it still worked fine:

# pkg_add /usr/ports/packages/All/portupgrade-2.3.1_1,2.tbz
[some output]
# pkg_add /usr/ports/packages/All/gftp-2.0.18_6.tbz 
[some output]
# portupgrade -arRPp -x portupgrade-2.3.1_1,2
[Rebuilding the pkgdb <format:bdb_btree> in /var/db/pkg ... - 97 packages found (-0 +97) ................................................................................................. done]
--->  Checking for the latest package of 'devel/glib20'
--->  Found a package of 'devel/glib20': /usr/ports/packages/All/glib-2.14.6.tbz (glib-2.14.6)
--->  Upgrading 'glib-2.14.5' to 'glib-2.14.6' (devel/glib20) using a package
--->  Backing up the old version
--->  Uninstalling the old version
--->  Deinstalling 'glib-2.14.5'
--->  Preserving /usr/local/lib/libglib-2.0.so.0 as /usr/local/lib/compat/pkg/libglib-2.0.so.0
--->  Preserving /usr/local/lib/libgmodule-2.0.so.0 as /usr/local/lib/compat/pkg/libgmodule-2.0.so.0
--->  Preserving /usr/local/lib/libgobject-2.0.so.0 as /usr/local/lib/compat/pkg/libgobject-2.0.so.0
--->  Preserving /usr/local/lib/libgthread-2.0.so.0 as /usr/local/lib/compat/pkg/libgthread-2.0.so.0
pkg_delete: package 'glib-2.14.5' is required by these other packages
and may not be deinstalled (but I'll delete it anyway):
atk-1.20.0
gftp-2.0.18_6
gtk-2.12.7
pango-1.18.4
shared-mime-info-0.23
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 96 packages found (-1 +0) (...) done]
--->  Installing the new version via the package
--->  Cleaning out obsolete shared libraries
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 97 packages found (-0 +1) . done]
--->  Packaging 'pango-1.18.4' as dependency
Creating package /usr/ports/packages/All/pango-1.18.4.tbz
Creating bzip'd tar ball in '/usr/ports/packages/All/pango-1.18.4.tbz'
--->  Packaging 'atk-1.20.0' as dependency
Creating package /usr/ports/packages/All/atk-1.20.0.tbz
Creating bzip'd tar ball in '/usr/ports/packages/All/atk-1.20.0.tbz'
--->  Packaging 'shared-mime-info-0.23' as dependency
Creating package /usr/ports/packages/All/shared-mime-info-0.23.tbz
Creating bzip'd tar ball in '/usr/ports/packages/All/shared-mime-info-0.23.tbz'
--->  Packaging 'gtk-2.12.7' as dependency
Creating package /usr/ports/packages/All/gtk-2.12.7.tbz
Creating bzip'd tar ball in '/usr/ports/packages/All/gtk-2.12.7.tbz'
--->  Packaging 'gftp-2.0.18_6' as dependency
Creating package /usr/ports/packages/All/gftp-2.0.18_6.tbz
Creating bzip'd tar ball in '/usr/ports/packages/All/gftp-2.0.18_6.tbz'
# 


>How-To-Repeat:

>Fix:


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



More information about the freebsd-ports-bugs mailing list