#13224 closed defect (fixed)
gettext has undeclared libxml2, glib2 and libcroco dependencies
Reported by: | sebsto@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.5.0 |
Keywords: | Cc: | sebsto@…, ryandesign (Ryan Carsten Schmidt), nox@… | |
Port: |
Description
After upgrading to Leopard and having install Leopard development tools, I can't upgrade some ports.
For example
spirou:~ sst$ sudo port upgrade outdated ---> Building gettext with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/work/gettext-0.17" && make all " returned error 2 Command output: make[3]: Nothing to be done for `all-am'. Making all in gettext-tools make all-recursive Making all in doc make[3]: Nothing to be done for `all'. Making all in intl make[3]: Nothing to be done for `all'. Making all in gnulib-lib make all-am /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -O2 -release 0.17 ../intl/libintl.la -L/opt/local/lib -liconv -R/opt/local/lib -Wl,-framework -Wl,CoreFoundation -L/opt/local/lib -liconv -R/opt/local/lib -lc -L/opt/local/lib -lglib-2.0 -L/opt/local/lib -lintl -L/opt/local/lib -liconv -lc -R/opt/local/lib -L/opt/local/lib -liconv -R/opt/local/lib -L/opt/local/lib -lncurses -R/opt/local/lib -L/opt/local/lib -o libgettextlib.la -rpath /opt/local/lib areadlink.lo gl_array_list.lo backupfile.lo addext.lo basename.lo c-ctype.lo c-strcasecmp.lo c-strncasecmp.lo c-strcasestr.lo c-strstr.lo classpath.lo clean-temp.lo closeout.lo copy-file.lo csharpcomp.lo csharpexec.lo error-progname.lo execute.lo exitfail.lo fatal-signal.lo fd-ostream.lo file-ostream.lo concat-filename.lo findprog.lo fstrcmp.lo full-write.lo fwriteerror.lo gcd.lo hash.lo html-ostream.lo html-styled-ostream.lo javacomp.lo javaexec.lo javaversion.lo linebreak.lo gl_linkedhash_list.lo gl_list.lo localcharset.lo localename.lo lock.lo malloca.lo mbchar.lo mbslen.lo mbsstr.lo mbswidth.lo ostream.lo pipe.lo progname.lo propername.lo quote.lo quotearg.lo sh-quote.lo striconv.lo strnlen1.lo styled-ostream.lo term-ostream.lo term-styled-ostream.lo tls.lo tmpdir.lo uniname/uniname.lo unistr/u16-mbtouc.lo unistr/u16-mbtouc-aux.lo unistr/u16-mbtouc-unsafe.lo unistr/u16-mbtouc-unsafe-aux.lo unistr/u8-mbtouc.lo unistr/u8-mbtouc-aux.lo unistr/u8-mbtouc-unsafe.lo unistr/u8-mbtouc-unsafe-aux.lo unistr/u8-uctomb.lo unistr/u8-uctomb-aux.lo uniwidth/width.lo wait-process.lo xmalloc.lo xstrdup.lo xerror.lo xmalloca.lo xreadlink.lo xsetenv.lo xstriconv.lo xvasprintf.lo xasprintf.lo acl.lo argmatch.lo asnprintf.lo canonicalize-lgpl.lo error.lo file-has-acl.lo getdelim.lo getline.lo getopt.lo getopt1.lo obstack.lo printf-args.lo printf-parse.lo safe-read.lo safe-write.lo stpncpy.lo strnlen.lo tempname.lo vasnprintf.lo wcwidth.lo libcroco_rpl.la libxml_rpl.la rm -fr .libs/libgettextlib.lax rm -fr .libs/libgettextlib.lax mkdir .libs/libgettextlib.lax rm -fr .libs/libgettextlib.lax/libcroco_rpl.a mkdir .libs/libgettextlib.lax/libcroco_rpl.a Extracting /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/work/gettext-0.17/gettext-tools/gnulib-lib/./.libs/libcroco_rpl.a (cd .libs/libgettextlib.lax/libcroco_rpl.a && ar x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/work/gettext-0.17/gettext-tools/gnulib-lib/./.libs/libcroco_rpl.a) rm -fr .libs/libgettextlib.lax/libxml_rpl.a mkdir .libs/libgettextlib.lax/libxml_rpl.a Extracting /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/work/gettext-0.17/gettext-tools/gnulib-lib/./.libs/libxml_rpl.a (cd .libs/libgettextlib.lax/libxml_rpl.a && ar x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/work/gettext-0.17/gettext-tools/gnulib-lib/./.libs/libxml_rpl.a) gcc -std=gnu99 -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libgettextlib-0.17.dylib .libs/areadlink.o .libs/gl_array_list.o .libs/backupfile.o .libs/addext.o .libs/basename.o .libs/c-ctype.o .libs/c-strcasecmp.o .libs/c-strncasecmp.o .libs/c-strcasestr.o .libs/c-strstr.o .libs/classpath.o .libs/clean-temp.o .libs/closeout.o .libs/copy-file.o .libs/csharpcomp.o .libs/csharpexec.o .libs/error-progname.o .libs/execute.o .libs/exitfail.o .libs/fatal-signal.o .libs/fd-ostream.o .libs/file-ostream.o .libs/concat-filename.o .libs/findprog.o .libs/fstrcmp.o .libs/full-write.o .libs/fwriteerror.o .libs/gcd.o .libs/hash.o .libs/html-ostream.o .libs/html-styled-ostream.o .libs/javacomp.o .libs/javaexec.o .libs/javaversion.o .libs/linebreak.o .libs/gl_linkedhash_list.o .libs/gl_list.o .libs/localcharset.o .libs/localename.o .libs/lock.o .libs/malloca.o .libs/mbchar.o .libs/mbslen.o .libs/mbsstr.o .libs/mbswidth.o .libs/ostream.o .libs/pipe.o .libs/progname.o .libs/propername.o .libs/quote.o .libs/quotearg.o .libs/sh-quote.o .libs/striconv.o .libs/strnlen1.o .libs/styled-ostream.o .libs/term-ostream.o .libs/term-styled-ostream.o .libs/tls.o .libs/tmpdir.o uniname/.libs/uniname.o unistr/.libs/u16-mbtouc.o unistr/.libs/u16-mbtouc-aux.o unistr/.libs/u16-mbtouc-unsafe.o unistr/.libs/u16-mbtouc-unsafe-aux.o unistr/.libs/u8-mbtouc.o unistr/.libs/u8-mbtouc-aux.o unistr/.libs/u8-mbtouc-unsafe.o unistr/.libs/u8-mbtouc-unsafe-aux.o unistr/.libs/u8-uctomb.o unistr/.libs/u8-uctomb-aux.o uniwidth/.libs/width.o .libs/wait-process.o .libs/xmalloc.o .libs/xstrdup.o .libs/xerror.o .libs/xmalloca.o .libs/xreadlink.o .libs/xsetenv.o .libs/xstriconv.o .libs/xvasprintf.o .libs/xasprintf.o .libs/acl.o .libs/argmatch.o .libs/asnprintf.o .libs/canonicalize-lgpl.o .libs/error.o .libs/file-has-acl.o .libs/getdelim.o .libs/getline.o .libs/getopt.o .libs/getopt1.o .libs/obstack.o .libs/printf-args.o .libs/printf-parse.o .libs/safe-read.o .libs/safe-write.o .libs/stpncpy.o .libs/strnlen.o .libs/tempname.o .libs/vasnprintf.o .libs/wcwidth.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-additional-sel.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-attr-sel.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-cascade.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-declaration.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-doc-handler.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-enc-handler.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-fonts.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-input.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-num.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-om-parser.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-parser.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-parsing-location.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-prop-list.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-pseudo.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-rgb.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-sel-eng.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-selector.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-simple-sel.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-statement.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-string.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-style.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-stylesheet.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-term.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-tknzr.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-token.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-utils.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-c14n.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-catalog.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-chvalid.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-debugXML.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-dict.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-DOCBparser.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-encoding.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-entities.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-error.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-globals.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-hash.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-HTMLparser.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-HTMLtree.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-legacy.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-list.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-nanoftp.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-nanohttp.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-parser.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-parserInternals.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-pattern.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-relaxng.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-SAX.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-SAX2.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-schematron.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-threads.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-tree.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-uri.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-valid.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xinclude.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xlink.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlIO.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlmemory.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlmodule.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlreader.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlregexp.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlsave.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlschemas.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlschemastypes.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlstring.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlunicode.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlwriter.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xpath.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xpointer.o ../intl/.libs/libintl.dylib -L/opt/local/lib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib -lncurses -Wl,-framework -Wl,CoreFoundation -install_name /opt/local/lib/libgettextlib-0.17.dylib ld: duplicate symbol _g_bit_nth_lsf in .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-additional-sel.o and .libs/term-styled-ostream.o
collect2: ld returned 1 exit status make[4]: * [libgettextlib.la] Error 1 make[3]: * [all] Error 2 make[2]: * [all-recursive] Error 1 make[1]: * [all] Error 2 make: * [all-recursive] Error 1
Error: Unable to upgrade port: 1
Change History (9)
comment:1 Changed 17 years ago by cssdev
Owner: | changed from macports-dev@… to ryandesign@… |
---|
comment:2 Changed 17 years ago by nox@…
Cc: | ryandesign@… added |
---|---|
Milestone: | MacPorts 1.5 → Port Bugs |
Summary: | gettext port does not update on Leopard → gettext fails to build on Mac OS X 10.5 Leopard |
comment:3 Changed 17 years ago by nox@…
Cc: | nox@… added |
---|
This is a problem in glib2, not gettext, see #13006.
From the DEPENDENCIES
file:
* libxml2 + Optional. Needed for the --color option of the various programs. If not present, a subset of libxml2 (included in this package) will be compiled into libgettextlib. + Homepage: http://xmlsoft.org/ + Download: ftp://xmlsoft.org/libxml2/ + If it is installed in a nonstandard directory, pass the option --with-libxml2-prefix=DIR to 'configure'. * GNOME glib2 + Optional. Needed for the --color option of the various programs. If not present, a subset of libglib2 (included in this package) will be compiled into libgettextlib. + Homepage: http://developer.gnome.org/arch/gtk/glib.html + Download: http://ftp.gnome.org/pub/GNOME/sources/glib/ + If it is installed in a nonstandard directory, pass the option --with-libglib-2.0-prefix=DIR to 'configure'. * GNOME libcroco 0.6.1 or newer + Optional. Needed for the --color option of the various programs. If not present, a copy of libcroco-0.6.1 (included in this package) will be compiled into libgettextlib. + Homepage: http://www.freespiders.org/projects/libcroco/ + Download: http://ftp.gnome.org/pub/GNOME/sources/libcroco/0.6/ + If it is installed in a nonstandard directory, pass the option --with-libcroco-0.6-prefix=DIR to 'configure'.
Maybe we should add --with-included-glib --with-included-libcroco --with-included-libxml
to the configure.args
or add these 3 three ports as lib dependencies?
comment:4 Changed 17 years ago by nox@…
Summary: | gettext fails to build on Mac OS X 10.5 Leopard → gettext has undeclared libxml2, glib2 and libcroco dependencies |
---|
comment:5 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Status: | new → assigned |
---|
I do not see how #13006 is related to this problem.
libcroco and glib2 declare dependencies on gettext. Therefore, gettext cannot declare dependencies on them. (Circular dependencies are not allowed.)
--with-included-glib --with-included-libcroco --with-included-libxml
sounds good. I'll try that.
comment:6 Changed 17 years ago by nox@…
The _g_bit_nth_lsf
duplicate symbol thing has been reported first in #13006, this is a glib2 problem.
Didn't notice that these 3 ports already depend on gettext, let's roll for included libs.
comment:7 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Ah yes, of course, sorry. Didn't see _g_bit_nth_lsf
in the original report, but there it is. That's #13006 alright.
comment:8 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in r31252.
Assigning to port maintainer