svn commit: r465461 - in head/www/apache24: . files

Bernard Spil spil.oss at gmail.com
Thu Mar 29 16:49:32 UTC 2018


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 at 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
>> 
>> 


More information about the freebsd-apache mailing list