Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 May 2008 11:24:35 +0200 (CEST)
From:      Fernando Herrero Carrón <fhcarron@terra.es>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/123927: Boost and boost-python ports naming generates confusion
Message-ID:  <200805230924.m4N9OZJ0036164@nebet.ii.uam.es>
Resent-Message-ID: <200805230940.m4N9e19O017786@freefall.freebsd.org>

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

>Number:         123927
>Category:       ports
>Synopsis:       Boost and boost-python ports naming generates confusion
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 23 09:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Fernando Herrero Carrón
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD nebet.******* 7.0-STABLE FreeBSD 7.0-STABLE #11: Wed May 7 16:01:04 CEST 2008 root@nebet.********:/usr/obj/usr/src/sys/NEBET i386

>Description:

In the ports collection there are two ports for the Boost C++
libraries: devel/boost and devel/boost-python. The former is the boost
collection without python bindings and the latter is just the same
collection with python bindings enabled, i.e., it is a superset of the
former.

There are several other ports that depend either on boost, or
boost-python which conflict when trying to install both. For instance,
I have boost-python installed for personal use. Furthermore, I have

'*boost*' => 'WITH_PYTHON=yes',

in my pkgtools.conf file. Now I am trying to install "gnash", which
has plain "boost" as a dependency, but portupgrade tries to install
"boost-python" again given my personal configuration. Of course it
fails because "boost-python" is already installed, but only after
having compiled the whole port. The final port fails:

--->  Skipping 'graphics/gnash' because a requisite port 'devel/boost'
      failed (specify -k to force)
** Listing the failed packages (-:ignored / *:skipped / !:failed)
   ! devel/boost      (interrupted by user)


>How-To-Repeat:

Install devel/boost or devel/boost-python and try to install any port
that depends on the other one (gnash depends on boost and luabind
depends on boost-python, for instance). The last port will fail.

>Fix:

There are two possible fixes: either install boost with python
bindings always enabled, or make two disjoint ports, devel/boost with
the common functionality and devel/boost-python with only the python
bindings, depending on devel/boost.


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



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