From owner-freebsd-ports@FreeBSD.ORG Mon Sep 8 19:54:16 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 459E529E for ; Mon, 8 Sep 2014 19:54:16 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B507D1245 for ; Mon, 8 Sep 2014 19:54:15 +0000 (UTC) Received: from mandree.no-ip.org ([78.49.117.61]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0LaooK-1Y72bn2b4i-00kOJn for ; Mon, 08 Sep 2014 21:54:07 +0200 Received: from [IPv6:::1] (localhost6.localdomain6 [IPv6:::1]) by apollo.emma.line.org (Postfix) with ESMTP id 1C4E323D0EB for ; Mon, 8 Sep 2014 21:54:06 +0200 (CEST) Message-ID: <540E095D.8070707@gmx.de> Date: Mon, 08 Sep 2014 21:54:05 +0200 From: Matthias Andree User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: net/ntop strip: ... Invalid operation 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> In-Reply-To: <20140908133513.855917c50dce19d4d87416e0@3dresearch.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:LfKmHGxVtbbbV7l7vwgTzbkvRSFNnKGyYUqMrEX3Sdo+dKMDba2 EOxF/b83psmSZ8WEi7znNSbslXqNANHsc8zgRen2+bjPt2udb8Nja/8fwUWIBqfljOx45CE EVynjInX28y9m0qXWvqFI3CuHfsXC1TljM7kAbB2Y5qFoFN3AJxpmUmskU6Fs1vXyBUlsbD viPDRPdodJaomforKsong== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2014 19:54:16 -0000 Am 08.09.2014 um 19:35 schrieb Janos Dohanics: > On Mon, 08 Sep 2014 17:57:51 +0200 > Matthias Andree 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. 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