From owner-freebsd-current@FreeBSD.ORG Fri Aug 9 18:59:33 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9CBC7167; Fri, 9 Aug 2013 18:59:33 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D37CF2AB3; Fri, 9 Aug 2013 18:59:32 +0000 (UTC) Received: from p5dc3eee5.dip0.t-ipconnect.de ([93.195.238.229] helo=krabat.raven.hur) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1V7ruE-0004jo-Nb; Fri, 09 Aug 2013 20:59:23 +0200 Message-ID: <52053C06.30706@gwdg.de> Date: Fri, 09 Aug 2013 20:59:18 +0200 From: Rainer Hurling User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130808 Thunderbird/17.0.8 MIME-Version: 1.0 To: Steve Kargl Subject: Re: Port problems after r253839 on HEAD References: <520283C9.8030806@gwdg.de> <20130807174333.GK40254@ithaqua.etoilebsd.net> <20130809172747.GA9649@troutmask.apl.washington.edu> In-Reply-To: <20130809172747.GA9649@troutmask.apl.washington.edu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: Baptiste Daroussin , current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Aug 2013 18:59:33 -0000 Am 09.08.2013 19:27 UTC+2, schrieb Steve Kargl: > On Wed, Aug 07, 2013 at 07:43:33PM +0200, Baptiste Daroussin wrote: >> On Wed, Aug 07, 2013 at 07:28:41PM +0200, Rainer Hurling wrote: >>> After introducing r253839 on HEAD (/head/contrib/binutils/ld/ldmain.c), >>> I recognized some wired behaviour in the ports system on my CURRENT boxes. >>> >>> Some of the ports do not build anymore. They print almost similar >>> messages about an ld problem (invalid DSO for symbol 'xxx' definition), >>> followed by the lib, which symbols are not found. >>> >>> With a recent 10.0-CURRENT (at least r253839) you can try this for >>> example with the following two ports: >>> >> normally I had tracked down all those ports, except if you are building them >> with nom default options, >> >> What that means is basically the said ports are missing some -lbla in ldflags, >> >> The missing ones are those listed in the line following the DSO bla >> in nano for example the first failure means -liconv is missing. >> >> I afk until 24th so I can't commit any fix to the said ports. >> There were properly building in my exp-run for the said change, meaning either >> you build with non default options im that case the port requires a fix or >> perhaps your ports tree is not uptodate, in particular lots of those failures >> are fixed by the recent glib update. > > > On a freshly rebuilt freebsd-current where I've deleted all ports > to do a fresh build of everything I use, I see > > % portmaster news/pan > ... > CXXLD pan > /usr/bin/ld: ,: invalid DSO for symbol `libiconv_open' definition > /usr/local/lib/libiconv.so.3: could not read symbols: Bad value > c++: error: linker command failed with exit code 1 (use -v to see invocation) > gmake[5]: *** [pan] Error 1 > gmake[5]: Leaving directory `/usr/ports/news/pan/work/pan-0.139/pan/gui' > gmake[4]: *** [all-recursive] Error 1 > gmake[4]: Leaving directory `/usr/ports/news/pan/work/pan-0.139/pan' > > Please, fix. > If I understand bapt@ right, this should be all what is needed: --- Makefile.orig 2013-06-20 17:48:12.000000000 +0200 +++ Makefile 2013-08-09 20:56:36.000000000 +0200 @@ -15,7 +15,8 @@ LICENSE= GPLv2 LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre \ - gmime-2.6:${PORTSDIR}/mail/gmime26 + gmime-2.6:${PORTSDIR}/mail/gmime26 \ + iconv:${PORTSDIR}/converters/libiconv USE_BZIP2= yes USE_GMAKE= yes @@ -23,7 +24,7 @@ USE_GNOME= intlhack GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -lgnuregex +LDFLAGS+= -L${LOCALBASE}/lib -lgnuregex -liconv OPTIONS_DEFINE= GTKSPELL GTK3 OPTIONS_DEFAULT=GTKSPELL HTH, Rainer