Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 May 2014 19:04:10 GMT
From:      Martin Birgmeier <Martin.Birgmeier@aon.at>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/189398: portmaster -g does not always build intermediate ports
Message-ID:  <201405061904.s46J4AtU039461@cgiserv.freebsd.org>
Resent-Message-ID: <201405061910.s46JA0r2080990@freefall.freebsd.org>

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

>Number:         189398
>Category:       ports
>Synopsis:       portmaster -g does not always build intermediate 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:   Tue May 06 19:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Martin Birgmeier
>Release:        9.2
>Organization:
MBi at home
>Environment:
FreeBSD hal.xyzzy 9.2-RELEASE-p5 FreeBSD 9.2-RELEASE-p5 #1 r265148M: Wed Apr 30 20:36:08 CEST 2014     root@hal.xyzzy:/usr/obj/z/SRC/FreeBSD/releng/9.2/sys/XYZZY_SMP  amd64
>Description:
When using portmaster -g to build new ports and create packages for them, in many cases it does not create packages for the required ports. As an example, if one starts without any KDE ports installed and issues

    portmaster -g x11/kde4

in fact at the end only a tiny kde-4.12.4.txz package will have been created, but nothing for any of the ports pulled in by x11/kde4. This behavior has started a few weeks ago; before that point, portmaster -g would build packages for all the required sub-ports.

It seems that portmaster does not correctly hook into the building of subports any more; rather, they seem to be built directly as if one had just issued

   cd x11/kde4 ; make

This is also reflected by the fact that the xterm window title does not reflect any more which sub-port is currently being built, but just stubbornly shows "portmaster: x11/kde4" all the time.

The same thing happens with many other bigger metaports. There are some ports, however, where portmaster will still correctly build each sub-port separately, and will also build packages for each of them.

>How-To-Repeat:
Start with no KDE ports installed, issue "portmaster -g x11/kde4", and observe that at the end of the process, only the package kde-4.12.4.txz has been created (although all sub-ports have been built).

>Fix:
This behavior seems to have originated with one of the latest great reshufflings of the port infrastructure not too long ago. Most likely, portmaster has to be adapted to take these changes into account and again hook correctly into the build process for sub-ports.


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



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