Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 2013 00:03:23 GMT
From:      Hilko Meyer <hilko.meyer@gmx.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/184672: portupgrade -p libxcb fails to install x11/xcb-proto as dependency with staging
Message-ID:  <201312110003.rBB03N9q015461@oldred.freebsd.org>
Resent-Message-ID: <201312110010.rBB0A0k9094687@freefall.freebsd.org>

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

>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@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:



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