Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Aug 2013 21:01:07 +0200
From:      Rainer Hurling <rhurlin@gwdg.de>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        current@freebsd.org
Subject:   Re: Port problems after r253839 on HEAD
Message-ID:  <52029973.5070607@gwdg.de>
In-Reply-To: <20130807174333.GK40254@ithaqua.etoilebsd.net>
References:  <520283C9.8030806@gwdg.de> <20130807174333.GK40254@ithaqua.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks, Bapt, for answering.

Am 07.08.2013 19:43, schrieb Baptiste Daroussin:
> 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,

#cd /usr/ports/www/evolution-webcal
#make config
===> No options to configure

#cd /usr/ports/editors/nano
#make config
===> No options to configure

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

Yupp, thanks, the following two patches seem to work:

--- Makefile.orig	2013-07-17 16:59:50.000000000 +0200
+++ Makefile	2013-08-07 20:42:11.000000000 +0200
@@ -15,11 +15,13 @@

 CONFLICTS=	nano-devel-2*

+LIB_DEPENDS=	tinfow:${PORTSDIR}/devel/ncurses
+
 GNU_CONFIGURE=	yes

 CONFIGURE_ARGS=	--docdir=${DOCSDIR}
 CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+LDFLAGS+=	-L${LOCALBASE}/lib -ltinfow

 .include <bsd.port.options.mk>



--- Makefile.orig	2013-06-20 17:40:13.000000000 +0200
+++ Makefile	2013-08-07 20:47:21.000000000 +0200
@@ -23,7 +23,7 @@
 USE_GNOME=	gnomeprefix gnomehack intlhack evolutiondataserver libgnomeui
 GNU_CONFIGURE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+LDFLAGS+=	-L${LOCALBASE}/lib -lgthread-2.0

 GCONF_SCHEMAS=	evolution-webcal.schemas


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

Hmm. As far as I can say my ports tree is uptodate and I did the
complete glib update (/usr/ports/UPDATING entry 20130731). So I have no
clue, why editors/nano does complain about devel/ncurses.

In particular I am wondering about the misbehaviour of my port
math/saga. As I wrote before, the autotools process does not find
libopencv.so, only and only if HEAD is using /usr/bin/ld r253839.
Probably there is a hidden problem, not seen before without the ld
patch? Any hint would be very appreciated.

Many thanks for your fast help and greetings from Göttingen in Germany,
Rainer
> 
> regards,
> Bapt
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52029973.5070607>