Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2012 13:57:37 -0500
From:      Bryan Drewery <bryan@shatow.net>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Cc:        Ports FreeBSD <freebsd-ports@freebsd.org>
Subject:   Re: pkg(ng)/portupgrade-devel: does not respect setting of USE_GCC= 4.6+
Message-ID:  <503288A1.3000102@shatow.net>
In-Reply-To: <50327A9C.5040103@zedat.fu-berlin.de>
References:  <50327A9C.5040103@zedat.fu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/20/2012 12:57 PM, O. Hartmann wrote:
> I utilize FreeBSD 10.0-CURRENT and build the OS with CLANG as well as
> ports, which are compatible building with clang, using the well known
> settings in /etc/make.conf and /etc/src/conf.
> 
> I use ports-mgmt/pkg (1.0-r6) and recently in combination with
> ports-mgmt/portupgrade for maintaining my ports. Prior to portupgrade I
> used to use ports-mgmt/portmaster (with patch).
> 
> 
> 
> In /etc/mak.conf, I include a file via
> 
> .include "/usr/local/etc/ports.conf" in which I have settings like those:
> 
> # math/fftw3
> .if ${.CURDIR:M/usr/ports/math/fftw3}
> USE_GCC=                4.6+
> #CC=                    cc
> #CXX=                   c++
> #CPP=                   cpp
> .endif
> 
> 
> This setup worked very well in pre-pkg(ng) times and with portmaster.
> But now, with pkg, I can not install math/fftw3 anymore (amongst other
> ports not compatible with CLANG). Performing "make install" in
> math/fftw3 results in:
> 
> ===>  fftw3-3.3.2 : clang does not support OpenMP. Disable the OPENMP
> option or use another compiler.
> *** [install] Error code 1
> 
> Stop in /usr/ports/math/fftw3.
> 
> 
> Using portupgrade ends up in this:
>  portupgrade -f math/fftw3
> USING PKGNG
> ** Port marked as IGNORE: math/fftw3:
>         : clang does not support OpenMP. Disable the OPENMP option or
> use another compiler
> ** Listing the failed packages (-:ignored / *:skipped / !:failed)
>         - math/fftw3 (marked as IGNORE)
> 
> I'd like to have OPENMP since I have multicore CPUs running and
> therefore I use GCC 4.6 (or higher), which is capable of.
> 
> Why does the use of pkg(ng) reject those essential settings? Have I
> overlooked something essential? I can not find any remarks on that
> subject in the man pages, or any hint leading towards a new configure
> schematics. Any hint?


FWIF, the IGNORE is unrelated to portupgrade or pkgng. You'll get this
same IGNORE line without using them.

> 
> 
> Regards and greetings,
> Oliver
> 
> 
> P.S. Please CC me in email, I do not subscribe list "ports@freebsd".
> 




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