Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Feb 2016 17:51:03 -0500
From:      Jim Ohlstein <jim@ohlste.in>
To:        Dewayne Geraghty <dewaynegeraghty@gmail.com>, Bryan Drewery <bdrewery@freebsd.org>
Cc:        freebsd-stable stable <freebsd-stable@freebsd.org>
Subject:   Re: make buildworld Failure on 10-STABLE and WITHOUT_OPENSSL=TRUE
Message-ID:  <56C79C57.3060909@ohlste.in>
In-Reply-To: <CAGnMC6oOTX=mrtBS8dkgwAkPR2UY4Xz%2BxZVO1WGBvir4O7Pa-A@mail.gmail.com>
References:  <56B6014D.9090602@ohlste.in> <56C790A7.4040508@FreeBSD.org> <CAGnMC6oOTX=mrtBS8dkgwAkPR2UY4Xz%2BxZVO1WGBvir4O7Pa-A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

On 2/19/16 5:40 PM, Dewayne Geraghty wrote:
> On 20 February 2016 at 09:01, Bryan Drewery <bdrewery@freebsd.org
> <mailto:bdrewery@freebsd.org>> wrote:
>
>     On 2/6/2016 6:21 AM, Jim Ohlstein wrote:
>      > Hello,
>      >
>      > First noticed:
>      >
>      > root@rubicon:/usr/src # svn info
>      > Path: .
>      > Working Copy Root Path: /usr/src
>      > URL: https://svn.freebsd.org/base/stable/10
>      > Relative URL: ^/stable/10
>      > Repository Root: https://svn.freebsd.org/base
>      > Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
>      > Revision: 295341
>      > Node Kind: directory
>      > Schedule: normal
>      > Last Changed Author: marius
>      > Last Changed Rev: 295289
>      > Last Changed Date: 2016-02-04 19:14:24 -0500 (Thu, 04 Feb 2016)
>      >
>      >
>      > Still present:
>      >
>      > root@rubicon:/usr/src # svn info
>      > Path: .
>      > Working Copy Root Path: /usr/src
>      > URL: https://svn.freebsd.org/base/stable/10
>      > Relative URL: ^/stable/10
>      > Repository Root: https://svn.freebsd.org/base
>      > Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
>      > Revision: 295351
>      > Node Kind: directory
>      > Schedule: normal
>      > Last Changed Author: wblock
>      > Last Changed Rev: 295350
>      > Last Changed Date: 2016-02-06 09:03:31 -0500 (Sat, 06 Feb 2016)
>      >
>      >
>      > root@rubicon:/usr/src # make clean && make buildworld
>      >
>      >
>      > [snip]
>      >
>      >
>      >
>      > cc   -O2 -pipe   -I. -DINET6 -DFTP_COMBINE_CWDS -std=iso9899:1999
>      > -Qunused-arguments  -fstack-protector -Wsystem-headers -Werror -Wall
>      > -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
>      > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual
>      > -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align
>      > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
>      > -Wold-style-definition -Wmissing-variable-declarations
>     -Wno-pointer-sign
>      > -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable  -c
>      > /usr/src/lib/libfetch/common.c -o common.o
>      > /usr/src/lib/libfetch/common.c:811:43: error: unused parameter 'URL'
>      > [-Werror,-Wunused-parameter]
>      > fetch_ssl(conn_t *conn, const struct url *URL, int verbose)
>      >                                           ^
>
>
>     Try this patch please:
>     https://people.freebsd.org/~bdrewery/patches/libfetch-unused-ssl.patch
>
>
>
>
>     --
>     Regards,
>     Bryan Drewery
>
>
> Unfortunately, I think you'll find that you'll need openssl for:
> libarchive, geom_eli, tar and gssd as well.
> Good luck (I tried a few years ago but failed because I really needed
> geli).

Got stuck elsewhere but looks like it's totally broken. This is a 
parallel build of r 295826 but looks pretty obvious where it bails:

/usr/src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/bind.c:2051:20: 
note: use '==' to turn this assignment into an equality comparison
   for (i = 0; name = names[i]; i++)
                    ^
                    ==
--- display.o ---
--- lib__L ---
In file included from /usr/src/lib/libldns/../../contrib/ldns/parse.c:11:
In file included from 
/usr/src/lib/libldns/../../contrib/ldns/ldns/ldns.h:98:
/usr/src/lib/libldns/../../contrib/ldns/ldns/dane.h:31:10: fatal error: 
'openssl/ssl.h' file not found
#include <openssl/ssl.h>
          ^
--- gnu/lib__L ---
cc   -O2 -pipe   -I/usr/src/gnu/lib/libreadline/readline/.. 
-I/usr/src/gnu/lib/libreadline/readline/../../../../contrib/libreadline 
-DHAVE_CONFIG_H -DRL_LIBRARY_VERSION='"5.2"' -std=gnu99 
-Qunused-arguments  -fstack-protector   -c 
/usr/src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/display.c 
-o display.o
--- lib__L ---
1 error generated.
--- gnu/lib__L ---
--- signals.o ---
cc   -O2 -pipe   -I/usr/src/gnu/lib/libreadline/readline/.. 
-I/usr/src/gnu/lib/libreadline/readline/../../../../contrib/libreadline 
-DHAVE_CONFIG_H -DRL_LIBRARY_VERSION='"5.2"' -std=gnu99 
-Qunused-arguments  -fstack-protector   -c 
/usr/src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/signals.c 
-o signals.o
--- lib__L ---
In file included from /usr/src/lib/libldns/../../contrib/ldns/rdata.c:15:
In file included from 
/usr/src/lib/libldns/../../contrib/ldns/ldns/ldns.h:98:
/usr/src/lib/libldns/../../contrib/ldns/ldns/dane.h:31:10: fatal error: 
'openssl/ssl.h' file not found
#include <openssl/ssl.h>
          ^
1 error generated.
In file included from /usr/src/lib/libldns/../../contrib/ldns/resolver.c:15:
In file included from 
/usr/src/lib/libldns/../../contrib/ldns/ldns/ldns.h:98:
/usr/src/lib/libldns/../../contrib/ldns/ldns/dane.h:31:10: fatal error: 
'openssl/ssl.h' file not found
#include <openssl/ssl.h>
          ^
1 error generated.
--- depend_subdir_libnv ---
===> lib/libnv (depend)
--- depend_subdir_libopie ---
===> lib/libopie (depend)
--- depend_subdir_libldns ---
In file included from /usr/src/lib/libldns/../../contrib/ldns/rr.c:12:
In file included from 
/usr/src/lib/libldns/../../contrib/ldns/ldns/ldns.h:98:
/usr/src/lib/libldns/../../contrib/ldns/ldns/dane.h:31:10: fatal error: 
'openssl/ssl.h' file not found
#include <openssl/ssl.h>
          ^
1 error generated.
--- depend_subdir_libnv ---
--- .depend ---
rm -f .depend
CC='cc ' mkdep -f .depend -a    -I/usr/src/lib/libnv/../../sys 
-I/usr/src/lib/libnv -std=gnu99 
/usr/src/lib/libnv/../../sys/kern/subr_dnvlist.c 
/usr/src/lib/libnv/msgio.c 
/usr/src/lib/libnv/../../sys/kern/subr_nvlist.c 
/usr/src/lib/libnv/../../sys/kern/subr_nvpair.c
--- gnu/lib__L ---
--- util.o ---
cc   -O2 -pipe   -I/usr/src/gnu/lib/libreadline/readline/.. 
-I/usr/src/gnu/lib/libreadline/readline/../../../../contrib/libreadline 
-DHAVE_CONFIG_H -DRL_LIBRARY_VERSION='"5.2"' -std=gnu99 
-Qunused-arguments  -fstack-protector   -c 
/usr/src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/util.c 
-o util.o
--- lib__L ---
--- depend_subdir_libldns ---
In file included from 
/usr/src/lib/libldns/../../contrib/ldns/rr_functions.c:18:
In file included from 
/usr/src/lib/libldns/../../contrib/ldns/ldns/ldns.h:98:
/usr/src/lib/libldns/../../contrib/ldns/ldns/dane.h:31:10: fatal error: 
'openssl/ssl.h' file not found
#include <openssl/ssl.h>
          ^
1 error generated.
In file included from /usr/src/lib/libldns/../../contrib/ldns/sha1.c:20:
In file included from 
/usr/src/lib/libldns/../../contrib/ldns/ldns/ldns.h:98:
/usr/src/lib/libldns/../../contrib/ldns/ldns/dane.h:31:10: fatal error: 
'openssl/ssl.h' file not found
#include <openssl/ssl.h>
          ^
1 error generated.
In file included from /usr/src/lib/libldns/../../contrib/ldns/str2host.c:15:
--- gnu/lib__L ---
--- kill.o ---
cc   -O2 -pipe   -I/usr/src/gnu/lib/libreadline/readline/.. 
-I/usr/src/gnu/lib/libreadline/readline/../../../../contrib/libreadline 
-DHAVE_CONFIG_H -DRL_LIBRARY_VERSION='"5.2"' -std=gnu99 
-Qunused-arguments  -fstack-protector   -c 
/usr/src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/kill.c 
-o kill.o
--- lib__L ---
In file included from 
/usr/src/lib/libldns/../../contrib/ldns/ldns/ldns.h:98:
/usr/src/lib/libldns/../../contrib/ldns/ldns/dane.h:31:10: fatal error: 
'openssl/ssl.h' file not found
#include <openssl/ssl.h>
          ^
1 error generated.
--- depend_subdir_libpcap ---
===> lib/libpcap (depend)
--- depend_subdir_libldns ---
In file included from /usr/src/lib/libldns/../../contrib/ldns/tsig.c:12:
In file included from 
/usr/src/lib/libldns/../../contrib/ldns/ldns/ldns.h:98:
/usr/src/lib/libldns/../../contrib/ldns/ldns/dane.h:31:10: fatal error: 
'openssl/ssl.h' file not found
#include <openssl/ssl.h>
          ^
--- gnu/lib__L ---
--- complete.o ---
3 warnings generated.
--- lib__L ---
1 error generated.
--- depend_subdir_libpmc ---
===> lib/libpmc (depend)
--- depend_subdir_libpcap ---
--- version.c ---
sed 's/.*/char pcap_version[] = "&";/' 
/usr/src/lib/libpcap/../../contrib/libpcap/VERSION > version.c
--- depend_subdir_libldns ---
In file included from /usr/src/lib/libldns/../../contrib/ldns/update.c:12:
In file included from 
/usr/src/lib/libldns/../../contrib/ldns/ldns/ldns.h:98:
/usr/src/lib/libldns/../../contrib/ldns/ldns/dane.h:31:10: fatal error: 
'openssl/ssl.h' file not found
#include <openssl/ssl.h>
          ^
--- depend_subdir_libpcap ---
--- grammar.c ---
yacc -d -p pcapyy -o grammar.c 
/usr/src/lib/libpcap/../../contrib/libpcap/grammar.y
--- depend_subdir_libldns ---
1 error generated.
--- depend_subdir_libpmc ---
--- .depend ---
rm -f .depend
CC='cc ' mkdep -f .depend -a     -std=gnu99 
/usr/src/lib/libpmc/libpmc.c /usr/src/lib/libpmc/pmclog.c
--- depend_subdir_libpcap ---
--- version.h ---
sed 's/.*/char pcap_version_string[] = "libpcap version &";/' 
/usr/src/lib/libpcap/../../contrib/libpcap/VERSION > version.h
--- scanner.c ---
lex  -Ppcapyy -oscanner.c 
/usr/src/lib/libpcap/../../contrib/libpcap/scanner.l
--- depend_subdir_libldns ---
/usr/src/lib/libldns/../../contrib/ldns/util.c:26:10: fatal error: 
'openssl/rand.h' file not found
#include <openssl/rand.h>
          ^
1 error generated.
In file included from 
/usr/src/lib/libldns/../../contrib/ldns/wire2host.c:19:
In file included from 
/usr/src/lib/libldns/../../contrib/ldns/ldns/ldns.h:98:
/usr/src/lib/libldns/../../contrib/ldns/ldns/dane.h:31:10: fatal error: 
'openssl/ssl.h' file not found
#include <openssl/ssl.h>
          ^
1 error generated.
--- depend_subdir_libpcap ---
--- tokdefs.h ---
ln -sf grammar.h tokdefs.h
--- depend_subdir_libldns ---
In file included from /usr/src/lib/libldns/../../contrib/ldns/zone.c:11:
In file included from 
/usr/src/lib/libldns/../../contrib/ldns/ldns/ldns.h:98:
/usr/src/lib/libldns/../../contrib/ldns/ldns/dane.h:31:10: fatal error: 
'openssl/ssl.h' file not found
#include <openssl/ssl.h>
          ^
--- gnu/lib__L ---
--- undo.o ---
cc   -O2 -pipe   -I/usr/src/gnu/lib/libreadline/readline/.. 
-I/usr/src/gnu/lib/libreadline/readline/../../../../contrib/libreadline 
-DHAVE_CONFIG_H -DRL_LIBRARY_VERSION='"5.2"' -std=gnu99 
-Qunused-arguments  -fstack-protector   -c 
/usr/src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/undo.c 
-o undo.o
--- lib__L ---
1 error generated.
--- gnu/lib__L ---
--- macro.o ---
cc   -O2 -pipe   -I/usr/src/gnu/lib/libreadline/readline/.. 
-I/usr/src/gnu/lib/libreadline/readline/../../../../contrib/libreadline 
-DHAVE_CONFIG_H -DRL_LIBRARY_VERSION='"5.2"' -std=gnu99 
-Qunused-arguments  -fstack-protector   -c 
/usr/src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/macro.c 
-o macro.o
--- lib__L ---
mkdep: compile failed
--- depend_subdir_libpcap ---
--- .depend ---
--- depend_subdir_libldns ---
*** [.depend] Error code 1

make[5]: stopped in /usr/src/lib/libldns
1 error

make[5]: stopped in /usr/src/lib/libldns
*** [depend_subdir_libldns] Error code 2

make[4]: stopped in /usr/src/lib
--- depend_subdir_libpcap ---
rm -f .depend
CC='cc ' mkdep -f .depend -a    -DHAVE_CONFIG_H -Dyylval=pcapyylval 
-I/usr/src/lib/libpcap -I. -D_U_="__attribute__((unused))" 
-DHAVE_SNPRINTF -DHAVE_VSNPRINTF -DINET6 -DHAVE_NET_PFVAR_H 
-I/usr/src/lib/libpcap/../../contrib/libpcap -std=gnu99    grammar.c 
/usr/src/lib/libpcap/../../contrib/libpcap/pcap-bpf.c 
/usr/src/lib/libpcap/pcap-netmap.c 
/usr/src/lib/libpcap/../../contrib/libpcap/pcap.c 
/usr/src/lib/libpcap/../../contrib/libpcap/pcap-common.c 
/usr/src/lib/libpcap/../../contrib/libpcap/inet.c 
/usr/src/lib/libpcap/../../contrib/libpcap/fad-getad.c 
/usr/src/lib/libpcap/../../contrib/libpcap/gencode.c 
/usr/src/lib/libpcap/../../contrib/libpcap/optimize.c 
/usr/src/lib/libpcap/../../contrib/libpcap/nametoaddr.c 
/usr/src/lib/libpcap/../../contrib/libpcap/etherent.c 
/usr/src/lib/libpcap/../../contrib/libpcap/savefile.c 
/usr/src/lib/libpcap/../../contrib/libpcap/bpf/net/bpf_filter.c 
/usr/src/lib/libpcap/../../contrib/libpcap/bpf_image.c 
/usr/src/lib/libpcap/../../contrib/libpcap/bpf_dump.c scanner.c 
/usr/src/lib/libpcap/../../contrib/libpcap/sf-pcap.c 
/usr/src/lib/libpcap/../../contrib/libpcap/sf-pcap-ng.c version.c
--- gnu/lib__L ---
--- bind.o ---
4 warnings generated.
--- lib__L ---
--- depend_subdir_libngatm ---
A failure has been detected in another branch of the parallel make

make[5]: stopped in /usr/src/lib/libngatm
*** [depend_subdir_libngatm] Error code 2

make[4]: stopped in /usr/src/lib
--- gnu/lib__L ---
A failure has been detected in another branch of the parallel make

make[6]: stopped in /usr/src/gnu/lib/libreadline/readline
*** [_sub.all] Error code 2

make[5]: stopped in /usr/src/gnu/lib/libreadline
1 error

make[5]: stopped in /usr/src/gnu/lib/libreadline
*** [all_subdir_libreadline] Error code 2

make[4]: stopped in /usr/src/gnu/lib
1 error

make[4]: stopped in /usr/src/gnu/lib
*** [gnu/lib__L] Error code 2

make[3]: stopped in /usr/src
--- cddl/lib__L ---
--- depend_subdir_libzpool ---
echo libzpool.so.2: /usr/obj/usr/src/tmp/usr/lib/libmd.a 
/usr/obj/usr/src/tmp/usr/lib/libpthread.a 
/usr/obj/usr/src/tmp/usr/lib/libz.a 
/usr/obj/usr/src/tmp/usr/lib/libnvpair.a 
/usr/obj/usr/src/tmp/usr/lib/libavl.a 
/usr/obj/usr/src/tmp/usr/lib/libumem.a >> .depend
A failure has been detected in another branch of the parallel make

make[5]: stopped in /usr/src/cddl/lib/libzpool
*** [depend_subdir_libzpool] Error code 2

make[4]: stopped in /usr/src/cddl/lib
1 error

make[4]: stopped in /usr/src/cddl/lib
*** [cddl/lib__L] Error code 2

make[3]: stopped in /usr/src
--- lib__L ---
--- depend_subdir_libpcap ---
A failure has been detected in another branch of the parallel make

make[5]: stopped in /usr/src/lib/libpcap
*** [depend_subdir_libpcap] Error code 2

make[4]: stopped in /usr/src/lib
3 errors

make[4]: stopped in /usr/src/lib
*** [lib__L] Error code 2

make[3]: stopped in /usr/src
3 errors

make[3]: stopped in /usr/src
*** [libraries] Error code 2

make[2]: stopped in /usr/src
1 error

make[2]: stopped in /usr/src
*** [_libraries] Error code 2

make[1]: stopped in /usr/src
1 error

make[1]: stopped in /usr/src
*** [buildworld] Error code 2

make: stopped in /usr/src
1 error

make: stopped in /usr/src


Contents of src.conf:

# cat /etc/src.conf
WITHOUT_GAMES=TRUE
WITHOUT_WIRELES=TRUE
WITHOUT_SENDMAIL=TRUE
WITHOUT_BLUETOOTH=TRUE	
WITHOUT_FLOPPY=TRUE
WITHOUT_IPFILTER=TRUE
WITHOUT_IPFW=TRUE
WITHOUT_UNBOUND=TRUE
WITHOUT_OPENSSL=TRUE

Perhaps this option should be taken out of the manual.

-- 
Jim Ohlstein


"Never argue with a fool, onlookers may not be able to tell the 
difference." - Mark Twain



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56C79C57.3060909>