Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Dec 2016 16:44:28 -0800 (PST)
From:      Kevin Thompson <antiduh@gmail.com>
To:        FreeBSD Mailing List <bsdmailinglist@googlegroups.com>
Cc:        apache@freebsd.org, bugzilla-noreply@freebsd.org
Subject:   Re: [Bug 215278] www/apache24 requires /usr/local/bin/nm
Message-ID:  <af8e9e27-ce74-45c6-9855-4b317a325f49@googlegroups.com>
In-Reply-To: <bug-215278-16115-Dv3NPHrifc@https.bugs.freebsd.org/bugzilla/>
References:  <bug-215278-16115@https.bugs.freebsd.org/bugzilla/> <bug-215278-16115-Dv3NPHrifc@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
The problem is that the port now has a hardcoded depenency on 
/usr/local/bin/nm, aka binutils.

I have a FreeBSD 11 system with apache24 2.4.23_1 installed, compiled from 
ports. I don't have devel/binutils installed, but I do have /usr/bin/nm 
from base.

Apache24 2.4.25_1 fails to compile with the same error as the OP:

> --- mod_sed.la ---
> /usr/local/share/apr/build-1/libtool --silent --mode=link cc 
-I/usr/local/include/libxml2   -O2 -pipe -I/usr/include -DLIBICONV_PLUG 
-fstack-protector -fno-strict-aliasing   -L/usr/local/lib 
-L/usr/local/lib/db5  -L/usr/lib -fstack-protector    -o mod_sed.la -rpath 
/usr/local/libexec/apache24 -module -avoid-version  mod_sed.lo sed0.lo 
sed1.lo regexp.lo -export-symbols-regex sed_module
> eval: /usr/local/bin/nm: not found
> /usr/bin/ld:.libs/mod_sed.so-ver:2: syntax error in VERSION script

If I install devel/binutils, apache24 compiles just fine.

So either sed should be fixed to use /usr/bin/nm, or the port should list a 
dep on devel/binutils.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?af8e9e27-ce74-45c6-9855-4b317a325f49>