Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Dec 2017 09:48:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 224072] ftp/curl would not build if archivers/brotli is installed
Message-ID:  <bug-224072-13-5Lb6VJJMLp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-224072-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-224072-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224072

gessel@blackrosetech.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gessel@blackrosetech.com

--- Comment #4 from gessel@blackrosetech.com ---
Same error with=20
curl-7.56.1       <   needs updating (index has 7.57.0)
brotli-0.6.0_1,1  =3D   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_COMM=
A_)
                                  ^
/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 =3D 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=3Dhidden -O2 -pipe -march=3Damdfam10
-march=3Damdfam10 -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 brotl=
i by
# pkg info -r

The fix in comment #2 solves the problem for me.  Thank you, takefu.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224072-13-5Lb6VJJMLp>