Problems upgrading subversion port
Hi! While trying to upgrade the subversion port, I got the error (when compiling subversion): ld: Undefined symbols: _locale_charset referenced from libintl expected to be defined in libiconv /usr/bin/libtool: internal link edit command failed make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1 Trying to revert to the previous version using "port activate" results in a non-functional subversion port as some of the libraries subversion uses (such as neon) have been upgraded when upgrading the subversion port. Your help is appreciated. Cheers, Paulo ----------------------------------------------------------------- Paulo Jorge Lopes de Moura Dep. of Computer Science, University of Beira Interior 6201-001 Covilhã, Portugal Office 4.3 Ext. 3257 Phone: +351 275319891 Fax: +351 275319899 Email: <mailto:pmoura@di.ubi.pt> Home page: <http://www.di.ubi.pt/~pmoura> Research: <http://logtalk.org/> -----------------------------------------------------------------
On Nov 9, 2006, at 4:50 AM, Paulo Moura wrote:
While trying to upgrade the subversion port, I got the error (when compiling subversion):
ld: Undefined symbols: _locale_charset referenced from libintl expected to be defined in libiconv /usr/bin/libtool: internal link edit command failed make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1
Did you upgrade libiconv too? Then you'll need to upgrade any other ports that depend on libiconv but didn't get rebuilt?
Trying to revert to the previous version using "port activate" results in a non-functional subversion port as some of the libraries subversion uses (such as neon) have been upgraded when upgrading the subversion port. Your help is appreciated.
You would have to downgrade apr-util and neon to get the old version to work again. -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
Hi Daniel!
On Nov 9, 2006, at 4:50 AM, Paulo Moura wrote:
While trying to upgrade the subversion port, I got the error (when compiling subversion):
ld: Undefined symbols: _locale_charset referenced from libintl expected to be defined in libiconv /usr/bin/libtool: internal link edit command failed make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1
Did you upgrade libiconv too? Then you'll need to upgrade any other ports that depend on libiconv but didn't get rebuilt?
Doing a "sudo port upgrade subversion" resulted on other ports such as "libiconv" being automatically upgraded. I cannot find a port named "libintl". Running "port outdated" I found that "icu" and "gettext" are outdated so I upgraded them. After that, trying to finally upgrading subversion gives me the error: ld: Undefined symbols: _libintl_dgettext referenced from libneon.26 expected to be defined in /opt/local/lib/libintl.3.dylib /usr/bin/libtool: internal link edit command failed make: *** [subversion/libsvn_ra_dav/libsvn_ra_dav-1.la] Error 1 The "neon" port is up-to-date so I'm still looking for a solution that does not imply downgrading all ports upgraded in the last few hours :-) Cheers, Paulo ----------------------------------------------------------------- Paulo Jorge Lopes de Moura Dep. of Computer Science, University of Beira Interior 6201-001 Covilhã, Portugal Office 4.3 Ext. 3257 Phone: +351 275319891 Fax: +351 275319899 Email: <mailto:pmoura@di.ubi.pt> Home page: <http://www.di.ubi.pt/~pmoura> Research: <http://logtalk.org/> -----------------------------------------------------------------
Looks like it is the gettext 0.14 to 0.15 upgrade problem and it isn't pleasant. See the problem hotlist. http://trac.macosforge.org/projects/macports/wiki/ProblemHotlist Mark Paulo Moura <pmoura@di.ubi.pt> on Thursday, November 9, 2006 at 9:23 AM -0800 wrote:
On Nov 9, 2006, at 4:50 AM, Paulo Moura wrote:
While trying to upgrade the subversion port, I got the error (when compiling subversion):
ld: Undefined symbols: _locale_charset referenced from libintl expected to be defined in libiconv /usr/bin/libtool: internal link edit command failed make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1
Did you upgrade libiconv too? Then you'll need to upgrade any other ports that depend on libiconv but didn't get rebuilt?
Doing a "sudo port upgrade subversion" resulted on other ports such as "libiconv" being automatically upgraded. I cannot find a port named "libintl". Running "port outdated" I found that "icu" and "gettext" are outdated so I upgraded them. After that, trying to finally upgrading subversion gives me the error:
ld: Undefined symbols: _libintl_dgettext referenced from libneon.26 expected to be defined in /opt/local/lib/libintl.3.dylib /usr/bin/libtool: internal link edit command failed make: *** [subversion/libsvn_ra_dav/libsvn_ra_dav-1.la] Error 1
The "neon" port is up-to-date so I'm still looking for a solution that does not imply downgrading all ports upgraded in the last few hours :-)
On Nov 9, 2006, at 11:23 AM, Paulo Moura wrote:
Did you upgrade libiconv too? Then you'll need to upgrade any other ports that depend on libiconv but didn't get rebuilt?
Doing a "sudo port upgrade subversion" resulted on other ports such as "libiconv" being automatically upgraded. I cannot find a port named "libintl". Running "port outdated" I found that "icu" and "gettext" are outdated so I upgraded them. After that, trying to finally upgrading subversion gives me the error:
ld: Undefined symbols: _libintl_dgettext referenced from libneon.26 expected to be defined in /opt/local/lib/libintl.3.dylib /usr/bin/libtool: internal link edit command failed make: *** [subversion/libsvn_ra_dav/libsvn_ra_dav-1.la] Error 1
The "neon" port is up-to-date so I'm still looking for a solution that does not imply downgrading all ports upgraded in the last few hours :-)
That means neon got built against the old gettext (which provides libintl.dylib) and then it got upgraded/removed. Try: sudo port -f uninstall neon sudo port clean --all neon sudo port install neon ... and then see if subversion is happy (or if there's something else that's also depending on the now no-longer-present gettext). -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
Hi Mark!
Looks like it is the gettext 0.14 to 0.15 upgrade problem and it isn't pleasant. See the problem hotlist.
http://trac.macosforge.org/projects/macports/wiki/ProblemHotlist
That did the trick. Thanks for the tip. Btw, the functionality of the script on the web page above would be a nice addition to the "port" command... Cheers, Paulo ----------------------------------------------------------------- Paulo Jorge Lopes de Moura Dep. of Computer Science, University of Beira Interior 6201-001 Covilhã, Portugal Office 4.3 Ext. 3257 Phone: +351 275319891 Fax: +351 275319899 Email: <mailto:pmoura@di.ubi.pt> Home page: <http://www.di.ubi.pt/~pmoura> Research: <http://logtalk.org/> -----------------------------------------------------------------
On 2006/11/09, at 18:12, Daniel J. Luke wrote:
That means neon got built against the old gettext (which provides libintl.dylib) and then it got upgraded/removed.
Try:
sudo port -f uninstall neon sudo port clean --all neon sudo port install neon
... and then see if subversion is happy (or if there's something else that's also depending on the now no-longer-present gettext).
I can confirm: subversion is now happy :-) Cheers, Paulo ----------------------------------------------------------------- Paulo Jorge Lopes de Moura Dep. of Computer Science, University of Beira Interior 6201-001 Covilhã, Portugal Office 4.3 Ext. 3257 Phone: +351 275319891 Fax: +351 275319899 Email: <mailto:pmoura@di.ubi.pt> Home page: <http://www.di.ubi.pt/~pmoura> Research: <http://logtalk.org/> -----------------------------------------------------------------
Paulo Moura <pmoura@di.ubi.pt> on Thursday, November 9, 2006 at 10:25 AM -0800 wrote:
Looks like it is the gettext 0.14 to 0.15 upgrade problem and it isn't pleasant. See the problem hotlist.
http://trac.macosforge.org/projects/macports/wiki/ProblemHotlist
That did the trick. Thanks for the tip. Btw, the functionality of the script on the web page above would be a nice addition to the "port" command...
Paulo, I'm glad it worked for you. I think the script is only helpful for circumstances specific to the gettext upgrade problem, though I could be wrong. Because of that after awhile this specific problem will go away after everyone gets getext updated. I think deficiencies in the dependency handling of MacPorts, which are known but not dealt with yet, will at some point be addressed and those deficiencies are what really made the script necessary. Mark
participants (3)
-
Daniel J. Luke
-
Mark Duling
-
Paulo Moura