[MacPorts] #36688: Unable to Install gettext

MacPorts noreply at macports.org
Mon Oct 22 09:34:00 PDT 2012


#36688: Unable to Install gettext
----------------------------+--------------------------
  Reporter:  jonlederman@…  |      Owner:  ryandesign@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.1.2
Resolution:                 |   Keywords:
      Port:  gettext        |
----------------------------+--------------------------
Changes (by macsforever2000@…):

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


Old description:

> Hi,
>
> I've tried to install getttext both using macports and manually.
> After trying with macports, I get:
>
> Jons-MacBook-Pro:gettext-0.18.1.1 Jon$ sudo port clean gettext
> dyld: DYLD_ environment variables being ignored because main executable
> (/usr/bin/sudo) is setuid or setgid
> --->  Cleaning gettext
> Jons-MacBook-Pro:gettext-0.18.1.1 Jon$ sudo port install gettext
> configure.compiler=llvm-gcc-4.2
> dyld: DYLD_ environment variables being ignored because main executable
> (/usr/bin/sudo) is setuid or setgid
> --->  Computing dependencies for gettext
> --->  Fetching archive for gettext
> --->  Attempting to fetch gettext-0.18.1.1_2.darwin_12.x86_64.tbz2 from
> http://packages.macports.org/gettext
> --->  Attempting to fetch gettext-0.18.1.1_2.darwin_12.x86_64.tbz2 from
> http://lil.fr.packages.macports.org/gettext
> --->  Attempting to fetch gettext-0.18.1.1_2.darwin_12.x86_64.tbz2 from
> http://mse.uk.packages.macports.org/sites/packages.macports.org/gettext
> --->  Fetching distfiles for gettext
> --->  Verifying checksum(s) for gettext
> --->  Extracting gettext
> --->  Applying patches to gettext
> --->  Configuring gettext
> --->  Building gettext
> Error: org.macports.build for port gettext returned: command execution
> failed
> Please see the log file for port gettext for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/main.log
>
> Looking at the log I see:
>
> /gettext-0.18.1.1/gettext-tools/intl/.libs/libintl.dylib
> /opt/local/lib/libiconv.dylib -lc
> :info:build Undefined symbols for architecture x86_64:
> :info:build   "_bswap_32", referenced from:
> :info:build       _write_table in msgfmt-write-mo.o
> :info:build ld: symbol(s) not found for architecture x86_64
> :info:build collect2: ld returned 1 exit status
> :info:build make[4]: *** [msgfmt] Error 1
> :info:build make[4]: *** Waiting for unfinished jobs....
>
> I am not sure where to obtain the libraries with these symbols.  Any help
> would be greatly appreciated.
>
> Thanks.
>
> -Jon

New description:

 Hi,

 I've tried to install getttext both using macports and manually.
 After trying with macports, I get:

 {{{
 Jons-MacBook-Pro:gettext-0.18.1.1 Jon$ sudo port clean gettext
 dyld: DYLD_ environment variables being ignored because main executable
 (/usr/bin/sudo) is setuid or setgid
 --->  Cleaning gettext
 Jons-MacBook-Pro:gettext-0.18.1.1 Jon$ sudo port install gettext
 configure.compiler=llvm-gcc-4.2
 dyld: DYLD_ environment variables being ignored because main executable
 (/usr/bin/sudo) is setuid or setgid
 --->  Computing dependencies for gettext
 --->  Fetching archive for gettext
 --->  Attempting to fetch gettext-0.18.1.1_2.darwin_12.x86_64.tbz2 from
 http://packages.macports.org/gettext
 --->  Attempting to fetch gettext-0.18.1.1_2.darwin_12.x86_64.tbz2 from
 http://lil.fr.packages.macports.org/gettext
 --->  Attempting to fetch gettext-0.18.1.1_2.darwin_12.x86_64.tbz2 from
 http://mse.uk.packages.macports.org/sites/packages.macports.org/gettext
 --->  Fetching distfiles for gettext
 --->  Verifying checksum(s) for gettext
 --->  Extracting gettext
 --->  Applying patches to gettext
 --->  Configuring gettext
 --->  Building gettext
 Error: org.macports.build for port gettext returned: command execution
 failed
 Please see the log file for port gettext for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/main.log
 }}}

 Looking at the log I see:

 {{{
 /gettext-0.18.1.1/gettext-tools/intl/.libs/libintl.dylib
 /opt/local/lib/libiconv.dylib -lc
 :info:build Undefined symbols for architecture x86_64:
 :info:build   "_bswap_32", referenced from:
 :info:build       _write_table in msgfmt-write-mo.o
 :info:build ld: symbol(s) not found for architecture x86_64
 :info:build collect2: ld returned 1 exit status
 :info:build make[4]: *** [msgfmt] Error 1
 :info:build make[4]: *** Waiting for unfinished jobs....
 }}}

 I am not sure where to obtain the libraries with these symbols.  Any help
 would be greatly appreciated.

 Thanks.

 -Jon

--

Comment:

 In the future, please use WikiFormatting, and Cc the port maintainer(s).

 Why are you trying to change the compiler? The port installs fine
 normally.

 Please clean the port and install it normally. It it fails to build,
 attach the complete main.log.

 {{{
 sudo port clean gettext
 sudo port install gettext
 }}}

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


More information about the macports-tickets mailing list