Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Sep 2018 10:41:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 231115] www/squid: Fix build with LibreSSL 2.7
Message-ID:  <bug-231115-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 231115
           Summary: www/squid: Fix build with LibreSSL 2.7
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: brnrd@freebsd.org
                CC: timp87@gmail.com
             Flags: maintainer-feedback?(timp87@gmail.com)
                CC: timp87@gmail.com

Created attachment 196811
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D196811&action=
=3Dedit
svn diff for www/squid

Current squid package fails to build with LibreSSL due to a difference in
headers.
See e.g.
https://brnrd.eu/poudriere/data/112libre-default/2018-08-28_11h03m40s/logs/=
errors/squid-4.1_1.log

> --- bio.lo ---
> libtool: compile:  c++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=3D\"/usr/loc=
al/etc/squid/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=3D\"/usr/local/etc/squid=
\" -DDEFAULT_SQUID_CONFIG_DIR=3D\"/usr/local/etc/squid\" -I../.. -I../../in=
clude -I../../lib -I../../src -I../../include -I../../libltdl -I/usr/includ=
e -I/usr/local/include -Werror -Qunused-arguments -Wno-deprecated-register =
-D_REENTRANT -I/usr/include -O2 -fno-strict-aliasing -pipe -march=3Dnative =
-fstack-protector -I/usr/local/include -MT bio.lo -MD -MP -MF .deps/bio.Tpo=
 -c bio.cc  -fPIC -DPIC -o .libs/bio.o
> bio.cc:84:20: error: no matching function for call to 'BIO_new'
>     if (BIO *bio =3D BIO_new(useMethod)) {
>                    ^~~~~~~
> /usr/include/openssl/bio.h:604:7: note: candidate function not viable: 1s=
t argument ('const BIO_METHOD *' (aka 'const bio_method_st *')) would lose =
const qualifier
> BIO *   BIO_new(BIO_METHOD *type);
>         ^
> 1 error generated.
> *** [bio.lo] Error code 1
>=20
> make[4]: stopped in /wrkdirs/usr/ports/www/squid/work/squid-4.1/src/ssl

patch aligns the behavior with LibreSSL.

--=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-231115-7788>