Date: Mon, 08 Sep 2014 21:54:05 +0200 From: Matthias Andree <matthias.andree@gmx.de> To: freebsd-ports@freebsd.org Subject: Re: net/ntop strip: ... Invalid operation Message-ID: <540E095D.8070707@gmx.de> In-Reply-To: <20140908133513.855917c50dce19d4d87416e0@3dresearch.com> References: <20140904123253.3ce66f73b13e27196ea55c04@3dresearch.com> <540A0781.90609@gmx.de> <20140905203236.GB9400@home.opsec.eu> <540A1E95.4000802@gmx.de> <20140905204704.GC9400@home.opsec.eu> <540A34BB.3080704@gmx.de> <20140907113633.5bca18a55c5c6f2198800d62@3dresearch.com> <540DD1FF.1040704@gmx.de> <20140908133513.855917c50dce19d4d87416e0@3dresearch.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 08.09.2014 um 19:35 schrieb Janos Dohanics: > On Mon, 08 Sep 2014 17:57:51 +0200 > Matthias Andree <matthias.andree@gmx.de> wrote: > >> Am 07.09.2014 um 17:36 schrieb Janos Dohanics: >> >>> [...] >> >> Janos, >> >> tl;dr: running "make clean && make install clean" should fix it. >> >> The changes to the port need you to go through all the build phases >> again, which may be a bit inconvenient on slow/loaded computers, but >> otherwise changes like USE_BINUTILS are not picked up. >> >> Tech background: ntop uses GNU configure, which records the state of >> several variables in its generated files (Makefile in particular), and >> the FreeBSD ports framework avoids re-running configure unless you >> "make clean". libtool has been running "strip", not >> "/usr/local/bin/strip", as a consequence. >> >> Hope that helps. >> >> Best regards, >> Matthias > > Matthias, > > Thank you for your patience and explanation. > > I did "make clean" and then "make install clean", but ended up with the > same error. I posted the entire build at > http://wwwr.3dresearch.com/psa/ntop_build if that might give any clues. > Janos, now that makes me scratch my head a bit, because I have built it on redports successfully, but I also see that it is just using the bare "strip" command, not one qualified with path. <https://redports.org/~mandree/20140905211100-64558-241129/ntop-5.0.1_9.log> Can you try something? In the port's Makefile, add CONFIGURE_ARGS+= STRIP=${LOCALBASE}/bin/strip right underneath the USE_BINUTILS= yes line. Let me know if that works. I have also committed this as r367688, so it should be available through portsnap and SVN mirrors soon. You can see that you have it from the $FreeBSD: line, it should now read $FreeBSD: head/net/ntop/Makefile 367688 2014-09-08 19:52:22Z mandree $ If it still fails, please post the build log and your /etc/src.conf and /etc/make.conf. Thanks for your indulgence. Best regards, Matthias
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?540E095D.8070707>