[MacPorts] #18842: gettext not compiling (was: libgrep not compiling)

MacPorts noreply at macports.org
Sun Mar 15 08:06:46 PDT 2009


#18842: gettext not compiling
---------------------------------+------------------------------------------
 Reporter:  gilbert@…            |       Owner:  ryandesign@…           
     Type:  defect               |      Status:  new                    
 Priority:  Normal               |   Milestone:  Port Bugs              
Component:  ports                |     Version:  1.7.0                  
 Keywords:  libgrep              |        Port:  gettext                
---------------------------------+------------------------------------------
Changes (by macsforever2000@…):

  * owner:  macports-tickets@… => ryandesign@…
  * port:  => gettext


Old description:

> running on leopard 10.5.6
> anything i compile that has libgrep fails. Eg compiling nemesis
>
> bash-3.2# port install nemesis
> --->  Building gettext
> 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'.
> Making all in po
> Making all in man
> make[3]: Nothing to be done for `all'.
> Making all in m4
> make[3]: Nothing to be done for `all'.
> Making all in tests
> make[3]: Nothing to be done for `all'.
> 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
> make[4]: Nothing to be done for `all-am'.
> Making all in libgrep
> make[3]: Nothing to be done for `all'.
> Making all in src
> make  all-am
> /bin/sh ../libtool --tag=CC   --mode=link /usr/bin/gcc-4.0 -std=gnu99
> -O2  -L/opt/local/lib -o msggrep msggrep-msggrep.o ../libgrep/libgrep.a
> libgettextsrc.la -Wl,-framework -Wl,CoreFoundation
> /usr/bin/gcc-4.0 -std=gnu99 -O2 -o .libs/msggrep msggrep-msggrep.o
> -Wl,-framework -Wl,CoreFoundation  -L/opt/local/lib ../libgrep/libgrep.a
> ./.libs/libgettextsrc.dylib
> /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/libgettextlib.dylib -lncurses
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/work/gettext-0.17
> /gettext-tools/intl/.libs/libintl.dylib /opt/local/lib/libiconv.dylib -lc
> ld: in ../libgrep/libgrep.a, archive has no table of contents
> collect2: ld returned 1 exit status
> make[4]: *** [msggrep] Error 1
> make[3]: *** [all] Error 2
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all] Error 2
> make: *** [all-recursive] Error 1
>
> Error: The following dependencies failed to build: libnet libtool
> automake autoconf help2man gettext p5-locale-gettext perl5 perl5.8 m4
> Error: Status 1 encountered during processing.

New description:

 running on leopard 10.5.6
 anything i compile that has libgrep fails. Eg compiling nemesis

 {{{
 bash-3.2# port install nemesis
 --->  Building gettext
 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'.
 Making all in po
 Making all in man
 make[3]: Nothing to be done for `all'.
 Making all in m4
 make[3]: Nothing to be done for `all'.
 Making all in tests
 make[3]: Nothing to be done for `all'.
 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
 make[4]: Nothing to be done for `all-am'.
 Making all in libgrep
 make[3]: Nothing to be done for `all'.
 Making all in src
 make  all-am
 /bin/sh ../libtool --tag=CC   --mode=link /usr/bin/gcc-4.0 -std=gnu99  -O2
 -L/opt/local/lib -o msggrep msggrep-msggrep.o ../libgrep/libgrep.a
 libgettextsrc.la -Wl,-framework -Wl,CoreFoundation
 /usr/bin/gcc-4.0 -std=gnu99 -O2 -o .libs/msggrep msggrep-msggrep.o
 -Wl,-framework -Wl,CoreFoundation  -L/opt/local/lib ../libgrep/libgrep.a
 ./.libs/libgettextsrc.dylib
 /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/libgettextlib.dylib -lncurses
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/work/gettext-0.17
 /gettext-tools/intl/.libs/libintl.dylib /opt/local/lib/libiconv.dylib -lc
 ld: in ../libgrep/libgrep.a, archive has no table of contents
 collect2: ld returned 1 exit status
 make[4]: *** [msggrep] Error 1
 make[3]: *** [all] Error 2
 make[2]: *** [all-recursive] Error 1
 make[1]: *** [all] Error 2
 make: *** [all-recursive] Error 1

 Error: The following dependencies failed to build: libnet libtool automake
 autoconf help2man gettext p5-locale-gettext perl5 perl5.8 m4
 Error: Status 1 encountered during processing.
 }}}

--

Comment:

 This is actually a problem with gettext.

-- 
Ticket URL: <http://trac.macports.org/ticket/18842#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list