[Bug 224072] ftp/curl would not build if archivers/brotli is installed
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Dec 4 04:42:28 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224072
Bug ID: 224072
Summary: ftp/curl would not build if archivers/brotli is
installed
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: mi at ALDAN.algebra.com
CC: osa at FreeBSD.org, sunpoet at FreeBSD.org
CC: sunpoet at FreeBSD.org
The curl port does not mention brotli, but the configure finds and enables it:
configure:21151: checking for BrotliDecoderDecompress in -lbrotlidec
configure:21173: cc -o conftest -isystem /usr/include -O2 -pipe -march=core2
-fs
tack-protector -isystem /opt/include -fno-strict-aliasing -Qunused-arguments
-is
ystem /usr/include -isystem /usr/include -isystem /opt/include -L/usr/lib
-L/
usr/lib -L/usr/lib -L/usr/lib -fstack-protector conftest.c -lbrotlidec -lz
-
lkrb5 -lgssapi -lgssapi_krb5 -lcrypto -lkrb5 -lgssapi -lgssapi_krb5 -L/opt/lib
>
&5
configure:21173: $? = 0
configure:21182: result: yes
configure:21196: checking brotli/decode.h usability
configure:21196: cc -c -isystem /usr/include -O2 -pipe -march=core2
-fstack-prot
ector -isystem /opt/include -fno-strict-aliasing -Qunused-arguments -isystem
/us
r/include -isystem /usr/include -isystem /opt/include conftest.c >&5
configure:21196: $? = 0
configure:21196: result: yes
configure:21196: checking brotli/decode.h presence
configure:21196: cpp -isystem /usr/include -isystem /usr/include -isystem
/opt/i
nclude conftest.c
configure:21196: $? = 0
configure:21196: result: yes
configure:21196: checking for brotli/decode.h
configure:21196: result: yes
Then, when curl is compiled, things break:
libtool: compile: cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib
-DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem
/usr/include -isystem /opt/include -I/usr/include -I/usr/include/openssl
-I/opt/include -I/opt/include -I/opt/include -I/opt/include -fvisibility=hidden
-isystem /usr/include -O2 -pipe -march=core2 -fstack-protector -isystem
/opt/include -fno-strict-aliasing -Qunused-arguments -MT
libcurl_la-content_encoding.lo -MD -MP -MF
.deps/libcurl_la-content_encoding.Tpo -c content_encoding.c -fPIC -DPIC -o
.libs/libcurl_la-content_encoding.o
content_encoding.c:549:8: error: use of undeclared identifier
'BROTLI_DECODER_ERROR_COMPOUND_DICTIONARY'; did you mean
'BROTLI_DECODER_ERROR_FORMAT_DICTIONARY'?
case BROTLI_DECODER_ERROR_COMPOUND_DICTIONARY:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BROTLI_DECODER_ERROR_FORMAT_DICTIONARY
/opt/include/brotli/decode.h:114:35: note:
'BROTLI_DECODER_ERROR_FORMAT_DICTIONARY' declared here
BROTLI_DECODER_ERROR_CODES_LIST(BROTLI_ERROR_CODE_ENUM_ITEM_, BROTLI_COMMA_)
^
/opt/include/brotli/decode.h:82:3: note: expanded from macro
'BROTLI_DECODER_ERROR_CODES_LIST'
...
I guess, either brotli needs upgrading, or curl needs patching... In either
case, brotli should become another option for curl.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list