[Bug 224072] ftp/curl would not build if archivers/brotli is installed
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Dec 5 09:48:49 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224072
gessel at blackrosetech.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gessel at blackrosetech.com
--- Comment #4 from gessel at blackrosetech.com ---
Same error with
curl-7.56.1 < needs updating (index has 7.57.0)
brotli-0.6.0_1,1 = up-to-date with index
FreeBSD 10.3-RELEASE #0 r322073
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
/usr/local/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_)
^
/usr/local/include/brotli/decode.h:82:3: note: expanded from macro
'BROTLI_DECODER_ERROR_CODES_LIST'
BROTLI_ERROR_CODE(_ERROR_FORMAT_, DICTIONARY, -12) SEPARATOR \
^
/usr/local/include/brotli/decode.h:113:5: note: expanded from macro
'BROTLI_ERROR_CODE_ENUM_ITEM_'
BROTLI_DECODER ## PREFIX ## NAME = CODE
^
<scratch space>:119:1: note: expanded from here
BROTLI_DECODER_ERROR_FORMAT_DICTIONARY
^
content_encoding.c:550:8: errorlibtool: compile: cc -DHAVE_CONFIG_H
-I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS
-isystem /usr/local/include -isystem /usr/local/include -I/usr/local/include
-I/usr/local/include/openssl -I/usr/local/include -I/usr/local/include
-I/usr/local/include -fvisibility=hidden -O2 -pipe -march=amdfam10
-march=amdfam10 -fstack-protector -isystem /usr/local/include
-fno-strict-aliasing -Qunused-arguments -pthread -MT libcurl_la-http_digest.lo
-MD -MP -MF .deps/libcurl_la-http_digest.Tpo -c http_digest.c -fPIC -DPIC -o
.libs/libcurl_la-http_digest.o
All non-curl dependent ports rebuild (including archivers/brotli). Apache24
brotli option is set and it builds fine (and is shown as dependent on brotli by
# pkg info -r
The fix in comment #2 solves the problem for me. Thank you, takefu.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list