Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Apr 2013 07:30:01 GMT
From:      "sadsfae" <sadsfae@funcamp.net>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: amd64/177760: circular dependency with libiconv/gettext
Message-ID:  <201304110730.r3B7U1SC046897@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/177760; it has been noted by GNATS.

From: "sadsfae" <sadsfae@funcamp.net>
To: "Scot Hetzel" <swhetzel@gmail.com>
Cc: "Will Foster" <sadsfae@funcamp.net>, freebsd-gnats-submit@freebsd.org
Subject: Re: amd64/177760: circular dependency with libiconv/gettext
Date: Thu, 11 Apr 2013 03:21:50 -0400 (EDT)

 > On Wed, Apr 10, 2013 at 7:44 PM, Scot Hetzel <swhetzel@gmail.com> wrote:
 >
 >> On Wed, Apr 10, 2013 at 1:22 PM, Will Foster <sadsfae@funcamp.net>
 >> wrote:
 >>
 >>> When following the UPDATING.txt instructions up to or prior to 20130316
 >>> (my ports were dated 2014-02-25) the following error occurs -after-
 >>> removal
 >>> of gettext and during the build of libiconv.
 >>>
 >>> Shared object "libintl.so.9" not found, required by "sed"
 >>>
 >>> # pkg delete -f devel/gettext (goes ok)
 >>> # portmaster converters/libiconv devel/gettext (libiconv build fails to
 >>> error above)
 >>>
 >>> Because devel/gettext is removed the system is left unusable for many
 >>> applications.  In my case I simply restored from ZFS root snapshot to
 >>> troubleshoot various approaches with help from folks in the FreeBSD
 >>> forums.
 >>>
 >>> The only make config option set for converters/libiconv was [x]
 >>> Encodings: Include extra character sets
 >>>
 >>> Full details are here:
 >>> https://forums.freebsd.org/showthread.php?t=38970
 >>>
 >>>
 >> According to the forum posts you have the following ports installed:
 >>
 >> converters/libiconv
 >> devel/gettext
 >> textproc/gsed
 >>
 >> textproc/gsed has a dependancy on devel/gettext if the NLS option is
 >> selected.
 >>
 >> The problem you are encountering is that the configure script for
 >> converters/libiconv is using /usr/local/bin/sed instead of the base
 >> systems
 >> sed.  This is what is causing the libintl.so.9 not found error.
 >>
 >> You will need to re-install textproc/gsed before upgrading
 >> converters/libiconv.  If you don't need NLS support in gsed, then just
 >> uncheck that option before rebuilding textproc/gsed.
 >>
 >
 > One thing I missed in the forum posts is that you tried de-installing
 > textproc/gsed before re-installing converters/libiconv.
 >
 > Does /usr/local/bin/sed still exists after de-installing textproc/gsed?
 >
 > What does the following show had installed sed?
 >
 > pkg which /usr/local/bin/sed
 >
 > If it wasn't installed by textproc/gsed, then you will need to re-install
 > that port.
 >
 > --
 > DISCLAIMER:
 >
 > No electrons were maimed while sending this message. Only slightly
 > bruised.
 >
 
 Thanks for the replies, prior to copying the libintl.so.9 around I tried
 both removing gsed and simply renaming the /usr/local/bin/sed binary so
 that it might use the system sed - neither worked prior to following the
 UPDATING.txt steps.
 
 pkg which "/usr/local/bin/sed"
 /usr/local/bin/sed was not found in the database
 
 I certainly have sed (at least gsed) installed however [gsed-4.2.1_2]
 
 -will



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