From owner-freebsd-ports@freebsd.org Wed Aug 8 06:30:31 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 813C2105058E for ; Wed, 8 Aug 2018 06:30:31 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 0825571503 for ; Wed, 8 Aug 2018 06:30:31 +0000 (UTC) (envelope-from julian@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id C1E451050580; Wed, 8 Aug 2018 06:30:30 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 87EC2105057F for ; Wed, 8 Aug 2018 06:30:30 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 344E571500 for ; Wed, 8 Aug 2018 06:30:30 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (124-169-199-167.dyn.iinet.net.au [124.169.199.167]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id w786UGS3075563 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 7 Aug 2018 23:30:21 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: has a framework change broken sysutils/google-compute-engine-oslogin? To: =?UTF-8?Q?Fernando_Apestegu=c3=ada?= Cc: ports FreeBSD References: <46136fa7-c325-d1fb-9592-9533d6263cbd@freebsd.org> <69e253cd-67e5-d3c1-10a1-3c53776e3e48@freebsd.org> From: Julian Elischer Message-ID: <5df77493-f59f-2666-994a-fce2031c22ee@freebsd.org> Date: Wed, 8 Aug 2018 14:30:10 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2018 06:30:31 -0000 On 8/8/18 1:59 pm, Fernando Apesteguía wrote: > On Wed, Aug 8, 2018 at 7:40 AM Julian Elischer 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"