Date: Thu, 24 Oct 2013 11:20:49 +1100 From: Kubilay Kocak <koobs.freebsd@gmail.com> To: Mike Jakubik <mike.jakubik@intertainservices.com>, Koop Mast <kwm@rainbow-runner.nl>, gnome@FreeBSD.org, python@FreeBSD.org Subject: Re: FreeBSD Port: graphics/py-cairo Message-ID: <526867E1.6070406@FreeBSD.org> In-Reply-To: <52686522.5080706@intertainservices.com> References: <526803B9.3010102@intertainservices.com> <52685214.5080503@rainbow-runner.nl> <526859F5.1060608@FreeBSD.org> <52686522.5080706@intertainservices.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 24/10/2013 11:09 AM, Mike Jakubik wrote: > Hi, > > I found the problem. This port does not seem to respect the CC > environment variables and was trying to compile with gcc, instead of > clang. The problem is that my CFLAGS dont work in gcc (no -mavx in old > gcc, etc) and it seemed to pull these flags from python, because > changing them in /etc/make.conf did not help. > > After I recompiled python without these flags, I was able to compile > this. Still though, it would be nice if it used clang, as defined in my > make.conf. Sorry for the noise. > > Thanks. > > On 10/23/13 19:21, Kubilay Kocak wrote: >> On 24/10/2013 9:47 AM, Koop Mast wrote: >>> >>> On 10/23/13 19:13, Mike Jakubik wrote: >>>> Hello, >>>> >>>> I am unable to compile this on 9.2-STABLE. >>> Mike I see you got both 2.7 and 3.3 installed. When I build py-cairo it >>> worked fine, so I don't really know what happening with waf. So I cc'd >>> python@ since they might have a beter idea what waf is doing. >>> >>> -Koop >>> >> The output of the following might help to isolate: >> >> - /usr/local/bin/python2.7-config --cflags >> - /usr/local/bin/python2.7-config --libs >> - /usr/local/bin/python2.7-config --includes >> - /usr/local/bin/python2.7-config --ldflags >> >> Also possibly related: >> >> https://code.google.com/p/waf/issues/detail?id=1118 >> >> Can you also have a look at config.log and pull out any relevant >> failures. >> >> Thanks, >> >> Koobs >> > Great news Mike, thanks for following up :) This unfortunately is one of those grey areas in python/python-extension land, where the extension is doing the right thing by asking python for build information but it overrides user-defined parameters. Can you create a PR for graphics/py-cairo mentioning that it doesn't respect CC, including the impact it had for you and a reference to this thread in the body. The port maintainer can determine the best course of action. Koobs
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?526867E1.6070406>