ports/184672: portupgrade -p libxcb fails to install x11/xcb-proto as dependency with staging

Hilko Meyer hilko.meyer at gmx.de
Wed Dec 11 00:10:00 UTC 2013


>Number:         184672
>Category:       ports
>Synopsis:       portupgrade -p libxcb fails to install x11/xcb-proto as dependency with staging
>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:   Wed Dec 11 00:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Hilko Meyer
>Release:        8.3-RELEASE-p11
>Organization:
>Environment:
FreeBSD x.y.uni-hannover.de 8.3-RELEASE-p11 FreeBSD 8.3-RELEASE-p11 #3: Tue Sep 10 18:06:01 CEST 2013 z at x.y.uni-hannover.de:/usr/obj/usr/src/sys/x i386
>Description:
As described in ports/184665 I tried to upgrade libxcb-1.9.1 to libxcb-1.9.1_1 but it failed because x11/xcb-proto is needed as build dependency but wasn't installed in the upgrade process. You can see in the attached buildlog (attached in ports/184665) that it was built, installed into staging area and the package was built. But after building the package xcb-proto wasn't installed and it returned to the build of libxcb.

The next build dependency for libxcb (textproc/libxslt/) was installed as expected.

I did some tests after zeisings answer to that PR and it looks like the culprit is the '-p' option for portupgrade.

cd x11/libxcb && make worked
portupgrade libxcb worked
portupgrade -p libxcb failed

And 
portupgrade -M NO_STAGE=yes -p libxcb worked too

Maybe you can just remove the '-p' option, because packages are build automagically after staging was introduced.
>How-To-Repeat:
Deinstall x11/xcb-proto
portupgrade -p libxcb
>Fix:


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


More information about the freebsd-ports-bugs mailing list