Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Aug 2018 14:30:10 +0800
From:      Julian Elischer <julian@freebsd.org>
To:        =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernando.apesteguia@gmail.com>
Cc:        ports FreeBSD <ports@freebsd.org>
Subject:   Re: has a framework change broken sysutils/google-compute-engine-oslogin?
Message-ID:  <5df77493-f59f-2666-994a-fce2031c22ee@freebsd.org>
In-Reply-To: <CAGwOe2YP8amVVGOfJy9hXRHJ=T8bbf-qD6sirn7b5_eWvnp8=g@mail.gmail.com>
References:  <46136fa7-c325-d1fb-9592-9533d6263cbd@freebsd.org> <69e253cd-67e5-d3c1-10a1-3c53776e3e48@freebsd.org> <CAGwOe2YP8amVVGOfJy9hXRHJ=T8bbf-qD6sirn7b5_eWvnp8=g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/8/18 1:59 pm, Fernando Apesteguía wrote:
> On Wed, Aug 8, 2018 at 7:40 AM Julian Elischer <julian@freebsd.org> wrote:
>> On 8/8/18 1:02 pm, Julian Elischer wrote:
>>> It says it can not find the file curl/curl.h which IS PRESENT as
>>> /usr/local/include/curl/curl.h
>>>
>>> There are Makefile BROKEN annotations for this error in mips etc but
>>> I'm seeing it now on amd64.
>>>
>>> I would think that all ports should have /usr/local/include in their
>>> Include list but maybe not?
>>>
>>> is this something that is supplied by the framework?
>>>
>>>
>>> ports tree checked out from a week ago and today... same issue.
>>>
>>>
>>> there is no /usr/local/include in the failing command line...
>>>
>>> gmake[1]: Entering directory
>>> '/usr/ports/sysutils/google-compute-engine-oslogin/work/compute-image-packages-20180611/google_compute_engine_oslogin'
>>> g++ -O2 -pipe  -fstack-protector  -fPIC -I/usr/local/include/json-c
>>> -c utils/oslogin_utils.cc -o utils/oslogin_utils.o
>>> utils/oslogin_utils.cc:16:23: error: curl/curl.h: No such file or
>>> directory
>>>
>>>
>>> I'm guessing there should be but who's responsibility is it to put
>>> it there?
>> I got past it by adding (temporarily) the following to make.conf
>>
>> for some faiign g++ commands
>> CFLAGS+-I /usr/local/include
>>
>> and for others
>> LDFLAGS+=-L/usr/local/lib -I /usr/local/include
>>
>> but that stinks
>>
>> better suggestions welcome..
> Is this what you are looking for?
>
> USES=localbase
>
> https://www.freebsd.org/doc/en/books/porters-handbook/uses-localbase.html

nope..
g++  -fstack-protector -Wall -Wstrict-prototypes -fPIC -shared 
-Wl,-soname,libnss_cache_oslogin.so.2 -o 
libnss_cache_google-compute-engine-oslogin-1.3.0.so 
libnss_cache_oslogin/nss_cache_oslogin.o 
libnss_cache_oslogin/compat/getpwent_r.o
utils/oslogin_utils.cc:16:23: error: curl/curl.h: No such file or 
directory
utils/oslogin_utils.cc:16:23: error: curl/curl.h: No such file or 
directory
>
>>> (and where/how?)
>>>
>>>
>>> Julian
>>>
>>>
>>>
>>> _______________________________________________
>>> freebsd-ports@freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
>>> To unsubscribe, send any mail to
>>> "freebsd-ports-unsubscribe@freebsd.org"
>>>
>>>
>> _______________________________________________
>> freebsd-ports@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5df77493-f59f-2666-994a-fce2031c22ee>