Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Nov 2016 00:59:44 +1100
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        tech-lists <tech-lists@zyxst.net>, freebsd-ports@freebsd.org
Subject:   Re: graphics/py3-cairo cannot find Python.h, but Python.h is present
Message-ID:  <15ecc8c9-40db-552b-c459-56507ac7e7c9@FreeBSD.org>
In-Reply-To: <862561bd-d6ed-d316-9de6-3807285ec0e9@zyxst.net>
References:  <30b728cd-4f5b-fb00-be41-c2f21e54eded@zyxst.net> <0c801f97-bb8f-3219-4923-5ae6c721d8af@FreeBSD.org> <862561bd-d6ed-d316-9de6-3807285ec0e9@zyxst.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 26/11/2016 9:11 PM, tech-lists wrote:
> On 26/11/2016 03:48, Kubilay Kocak wrote:
>> Include path  ^^ has a double '/storage/storage/' prefix:
>>
>>  '-I/storage/storage/usr/local/include/python3.5m'
>>
>> What's causing it is the question. It could be that something is not
>> PREFIX-safe.
> 
> Interesting. Is this something I can fix myself in the Makefile?

Difficult to answer that question without knowing what/where the cause
is. Off the top of my head, some avenues to investigate:

- /etc/make.conf (or any other config sourced into the port build)
- the graphics/py3-cairo port
- Any USES=foo framework components that py3-cairo uses
- waf configuration for py3-cairo
- python3.5-config results
- if python3.5-config results contain the incorrect path, then the
lang/python35 port or Mk/Uses/python.mk looking for things that may be
PREFIX-unsafe.

Which raises the question, what variable(s) is/are being overridden to
get things happening  in /storage in your environment? A full
environment variable list while building the port would be good.

./koobs



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15ecc8c9-40db-552b-c459-56507ac7e7c9>