has a framework change broken sysutils/google-compute-engine-oslogin?

Jan Beich jbeich at FreeBSD.org
Wed Aug 8 10:30:56 UTC 2018


Julian Elischer <julian at freebsd.org> writes:

> g++ -O2 -pipe -DPANZURA_DEV -DPZ_LONGNAMES -fstack-protector -isystem
> /usr/local/include -fno-strict-aliasing -isystem /usr/local/include
> -fPIC -c pam_module/pam_oslogin_login.cc -o
> pam_module/pam_oslogin_login.o
> g++ -fstack-protector -I/usr/local/include/json-c -o 
> google_authorized_keys authorized_keys/authorized_keys.cc
> utils/oslogin_utils.cc -lcurl -ljson-c
> 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

- GCC 4.2.1 (patched) from base system is not a supported configuration
  on i386/amd64/aarch64/armv6/armv7
- C*FLAGS aren't consistently respected, see
  https://wiki.freebsd.org/WarnerLosh/UsrLocal#Include_paths
  https://www.freebsd.org/doc/en/books/porters-handbook/dads-cflags.html

$ g++7 -v -xc++ -
[...]
ignoring nonexistent directory "/usr/local/lib/gcc7/gcc/x86_64-portbld-freebsd12.0/7.3.0/include-fixed"
ignoring nonexistent directory "/usr/local/lib/gcc7/gcc/x86_64-portbld-freebsd12.0/7.3.0/../../../../../x86_64-portbld-freebsd12.0/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/lib/gcc7/include/c++/
 /usr/local/lib/gcc7/include/c++//x86_64-portbld-freebsd12.0
 /usr/local/lib/gcc7/include/c++//backward
 /usr/local/lib/gcc7/gcc/x86_64-portbld-freebsd12.0/7.3.0/include
 /usr/local/include <-- HERE is why pkg-fallout@ is silent
 /usr/include
End of search list.


More information about the freebsd-ports mailing list