Bug 245820 - /etc/src.conf WITHOUT_OPENSSL=yes fails to build custom 12.1-RELEASE
Summary: /etc/src.conf WITHOUT_OPENSSL=yes fails to build custom 12.1-RELEASE
Status: Closed Feedback Timeout
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: 12.1-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-22 12:32 UTC by p5B2E9A8F
Modified: 2020-08-08 14:25 UTC (History)
0 users

See Also:


Attachments
/etc/src.conf used (681 bytes, text/plain)
2020-04-22 12:32 UTC, p5B2E9A8F
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description p5B2E9A8F 2020-04-22 12:32:26 UTC
Created attachment 213684 [details]
/etc/src.conf used

make[1]: "/FreeBSD/src/Makefile.inc1" line 341: SYSTEM_COMPILER: Determined that CC=cc matches the source tree.  Not bootstrapping a cross-compiler.
make[1]: "/FreeBSD/src/Makefile.inc1" line 346: SYSTEM_LINKER: Determined that LD=ld matches the source tree.  Not bootstrapping a cross-linker.
--------------------------------------------------------------
>>> World build started on Wed Apr 22 13:45:41 CEST 2020
--------------------------------------------------------------
//---SNIP---//

===> lib/libfetch (all)
echo libfetch.so.6.full: /FreeBSD/obj/FreeBSD/src/amd64.amd64/tmp/usr/lib/libmd.a >> .depend
cc -target x86_64-unknown-freebsd12.1 --sysroot=/FreeBSD/obj/FreeBSD/src/amd64.amd64/tmp -B/FreeBSD/obj/FreeBSD/src/amd64.amd64/tmp/usr/bin  -O2 -pipe   -I. -DFTP_COMBINE_CWDS -g -MD  -MF.depend.fetch.o -MTfetch.o -std=iso9899:1999 -fstack-protector-strong -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 -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable  -Qunused-arguments  -c /FreeBSD/src/lib/libfetch/fetch.c -o fetch.o
cc -target x86_64-unknown-freebsd12.1 --sysroot=/FreeBSD/obj/FreeBSD/src/amd64.amd64/tmp -B/FreeBSD/obj/FreeBSD/src/amd64.amd64/tmp/usr/bin  -O2 -pipe   -I. -DFTP_COMBINE_CWDS -g -MD  -MF.depend.common.o -MTcommon.o -std=iso9899:1999 -fstack-protector-strong -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 -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable  -Qunused-arguments  -c /FreeBSD/src/lib/libfetch/common.c -o common.o
/FreeBSD/src/lib/libfetch/common.c:913:43: error: unused parameter 'URL' [-Werror,-Wunused-parameter]
fetch_ssl(conn_t *conn, const struct url *URL, int verbose)
                                          ^
1 error generated.
*** Error code 1

Stop.
make[5]: stopped in /FreeBSD/src/lib/libfetch
*** Error code 1

Reason: /usr/src/lib/libfetch/Makefile.depend has a libssl dependency which is not deactivated when building WITHOUT_OPENSSL
Comment 1 p5B2E9A8F 2020-08-08 14:25:12 UTC
I do not care either anymore.