Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Mar 2018 18:49:18 +0200
From:      Bernard Spil <spil.oss@gmail.com>
To:        Mathieu Arnold <mat@freebsd.org>
Cc:        ports-committers@freebsd.org, Jochen Neumeister <joneum@freebsd.org>, "apache@FreeBSD.org" <apache@freebsd.org>
Subject:   Re: svn commit: r465461 - in head/www/apache24: . files
Message-ID:  <b452410729dc5e661b1e02ba9b2445bd@gmail.com>
In-Reply-To: <20180329140207.v54lx3qyswp5rqss@ogg.in.absolight.net>
References:  <201803241826.w2OIQZBR082977@repo.freebsd.org> <20180326215950.45gml7rfif557aou@atuin.in.mat.cc> <3a499cf7-c1bf-29eb-95b6-e6bf9cab28cc@FreeBSD.org> <20180327072917.oo6lmeayhsfaboro@atuin.in.mat.cc> <f2ac007e-ae03-b0f7-7a62-5089aa86c6fd@FreeBSD.org> <CAEJyAvM3bW91YyGiJw0o5QQ0tzK2yxXpxOiZoAjrLpOBkDXG9A@mail.gmail.com> <20180329140207.v54lx3qyswp5rqss@ogg.in.absolight.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Mat,

That's something I was contemplating, but not sure if there's any 
side-effects.

Am I correct in thinking that the linker will search for libs in 
/usr/lib even when not passed via -L/usr/lib?

Cheers, Bernard.

On 2018-03-29 16:02, Mathieu Arnold wrote:
> In the mean time, I added:
> 
> Index: /poudriere/ports/head/www/apache24/Makefile
> ===================================================================
> --- /poudriere/ports/head/www/apache24/Makefile (revision 465893)
> +++ /poudriere/ports/head/www/apache24/Makefile (working copy)
> @@ -229,6 +229,7 @@
>         @FTPUSERS=`${EGREP} -v '^#' /etc/ftpusers| ${TR} -s "\n" " "` 
> ;\
>                 ${REINPLACE_CMD} -e "s,%%FTPUSERS%%,$${FTPUSERS}," \
>                         ${WRKSRC}/docs/conf/extra/httpd-userdir.conf
> +       ${REINPLACE_CMD} -e "/EXTRA_LDFLAG/s|-L/usr/lib||"
> ${WRKSRC}/build/config_vars.mk
>         ${REINPLACE_CMD} -e "s,%%WWWOWN%%,${WWWOWN}," -e
> "s,%%WWWGRP%%,${WWWGRP}," \
>                 ${WRKSRC}/docs/conf/httpd.conf
>         ${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},"
> ${WRKSRC}/support/envvars-std
> 
> 
> On Tue, Mar 27, 2018 at 03:50:36PM +0200, Spil Oss wrote:
>> Hi Mat,
>> 
>> Hmmm. I thought the OPENSSL_NO_SSL2 ifdefs were added long ago. Let me 
>> check...
>> 
>> Seems you're building with OpenSSL from ports
>> ===>   Installing existing package /packages/All/openssl-1.0.2n,1.txz
>> 
>> Back in a sec...
>> 
>> 2018-03-27 15:42 GMT+02:00 Jochen Neumeister <joneum@freebsd.org>:
>> >
>> >
>> > On 27.03.2018 09:29, Mathieu Arnold wrote:
>> >
>> > On Tue, Mar 27, 2018 at 06:55:28AM +0000, Jochen Neumeister wrote:
>> >
>> > On 26.03.2018 23:59, Mathieu Arnold wrote:
>> >
>> > On Sat, Mar 24, 2018 at 06:26:35PM +0000, Jochen Neumeister wrote:
>> >
>> > Author: joneum
>> > Date: Sat Mar 24 18:26:34 2018
>> > New Revision: 465461
>> > URL: https://svnweb.freebsd.org/changeset/ports/465461
>> >
>> > Log:
>> >    www/apache24: Update to 2.4.33
>> >     - Add new uwsgi and md modules
>> >     - Fix LibreSSL 2.7.x builds
>> >     - Remove conflicts for non-existent ports
>> >     - There are no slave-ports
>> >     - Coalesce .if WITH_DEBUG blocks
>> >     - Use OPTIONS where possible
>> >     - Remove dead code
>> >     - Actually enable/disable modules in ALL_MODULES loop
>> >     - Add suexec warning
>> >     - Move Makefile.options to Makefile (too small)
>> >
>> > This broke something:
>> >
>> > /usr/local/share/apr/build-1/libtool --silent --mode=link cc    -O2 -pipe
>> > -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing
>> > -L/usr/lib -L/usr/local/lib/db5  -L/usr/local/lib -Wl,-rpath,/usr/local/lib
>> > -fstack-protector -o ab  ab.lo      -L/usr/local/lib -R/usr/local/lib
>> > -laprutil-1 -ldb-5.3 -lgdbm -lc -lexpat -L/usr/local/lib -R/usr/local/lib
>> > -lapr-1 -lcrypt -lpthread -lm -L/usr/local/lib -lssl -lcrypto -lcrypt
>> > -lpthread
>> > ab.o: In function `main':
>> > ab.c:(.text+0x87a): undefined reference to `SSLv2_client_method'
>> > cc: error: linker command failed with exit code 1 (use -v to see invocation)
>> > *** [ab] Error code 1
>> >
>> > make[3]: stopped in
>> > /wrkdirs/usr/ports/www/apache24/work/httpd-2.4.33/support
>> >
>> > https://pkg.absolight.fr/data/11amd64-pkgng-default/20180326T163519Z/logs/errors/apache24-2.4.33.Log
>> >
>> >
>> > 404 Not Found
>> >
>> > Mmmm, sorry about that, this works:
>> >
>> > http://pkg.absolight.net/data/11amd64-pkgng-default/20180326T163519Z/logs/errors/apache24-2.4.33.log
>> >
>> >
>> > I can not confirm. Build with me. Here too:
>> >
>> > http://beefy11.nyi.freebsd.org/data/head-i386-default/p465656_s331602/logs/apache24-2.4.33.log
>> 
>> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b452410729dc5e661b1e02ba9b2445bd>