From owner-freebsd-ports-bugs@freebsd.org Mon Dec 4 04:42:28 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ABE54DED71A for ; Mon, 4 Dec 2017 04:42:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9A01478395 for ; Mon, 4 Dec 2017 04:42:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vB44gSF2029744 for ; Mon, 4 Dec 2017 04:42:28 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 224072] ftp/curl would not build if archivers/brotli is installed Date: Mon, 04 Dec 2017 04:42:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mi@ALDAN.algebra.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2017 04:42:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224072 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@FreeBSD.org Reporter: mi@ALDAN.algebra.com CC: osa@FreeBSD.org, sunpoet@FreeBSD.org CC: sunpoet@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=3Dco= re2 -fs tack-protector -isystem /opt/include -fno-strict-aliasing -Qunused-arguments -is ystem /usr/include -isystem /usr/include -isystem /opt/include -L/usr/lib= =20 -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: $? =3D 0 configure:21182: result: yes configure:21196: checking brotli/decode.h usability configure:21196: cc -c -isystem /usr/include -O2 -pipe -march=3Dcore2 -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: $? =3D 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: $? =3D 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=3D= hidden -isystem /usr/include -O2 -pipe -march=3Dcore2 -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:=20 'BROTLI_DECODER_ERROR_FORMAT_DICTIONARY' declared here BROTLI_DECODER_ERROR_CODES_LIST(BROTLI_ERROR_CODE_ENUM_ITEM_, BROTLI_COMM= A_) ^ /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. --=20 You are receiving this mail because: You are the assignee for the bug.=