pkg 1.9.4

Kevin Oberman rkoberman at gmail.com
Sun Dec 11 01:15:50 UTC 2016


On Sat, Dec 10, 2016 at 12:55 PM, @lbutlr <kremels at kreme.com> wrote:

> On 10 Dec 2016, at 01:08, Herbert J. Skuhra <herbert at mailbox.org> wrote:
> > Lewis Butler write:
> >> Got this when trying to update to pkg-1.9.4
> >> /bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.
> -I..    -I../compat -DWITH_SSL -Wno-pointer-sign -shared -O2 -pipe
> -Wno-error -fstack-protector -fno-strict-aliasing -Wall
> -Wno-unused-function -D_BSD_SOURCE -DINET6=1 -MT
> libfetch/libfetch_la-common.lo -MD -MP -MF libfetch/.deps/libfetch_la-common.Tpo
> -c -o libfetch/libfetch_la-common.lo `test -f 'libfetch/common.c' || echo
> './'`libfetch/common.c
> >> libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../compat -DWITH_SSL
> -Wno-pointer-sign -O2 -pipe -Wno-error -fstack-protector
> -fno-strict-aliasing -Wall -Wno-unused-function -D_BSD_SOURCE -DINET6=1 -MT
> libfetch/libfetch_la-common.lo -MD -MP -MF libfetch/.deps/libfetch_la-common.Tpo
> -c libfetch/common.c  -fPIC -DPIC -o libfetch/.libs/libfetch_la-common.o
> >> libfetch/common.c:52:10: fatal error: 'openssl/x509v3.h' file not found
> >> #include <openssl/x509v3.h>
> >>         ^
> >> 1 error generated.
> >> *** [libfetch/libfetch_la-common.lo] Error code 1
> >>
> >> make[6]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.9.4/external
> >
> > Does this file exist on your system?
> >
> > /usr/include/openssl/x509v3.h
>
> No
>
> > /usr/local/include/openssl/x509v3.h
>
> Yes.
>
> # ls -ls /usr/local/include/openssl/x509v3.h
> 80 -rw-r--r--  1 root  wheel  40389 Dec  9 17:50
> /usr/local/include/openssl/x509v3.h
>
> > What's in your /etc/make.conf?
>
> DEFAULT_VERSIONS+=linux=f10
> DEFAULT_VERSIONS+=ssl=openssl
>
> > Does it work if you do:
> >
> > # make clean
> > # make __MAKE_CONF=/dev/null
>
> No.
>
> libfetch/common.c:52:10: fatal error: 'openssl/x509v3.h' file not found
> #include <openssl/x509v3.h>
>          ^
> 1 error generated.
> *** [libfetch/libfetch_la-common.lo] Error code 1


While I can pretty much guess, what is in /etc/src.conf?
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman at gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


More information about the freebsd-ports mailing list