[MacPorts] #29358: gettext: Undefined symbols _bswap_32

MacPorts noreply at macports.org
Thu Sep 22 11:41:00 PDT 2011


#29358: gettext: Undefined symbols _bswap_32
-------------------------------+--------------------------------------------
 Reporter:  ldduffy@…          |       Owner:  ryandesign@…           
     Type:  defect             |      Status:  new                    
 Priority:  Normal             |   Milestone:                         
Component:  ports              |     Version:  1.9.2                  
 Keywords:                     |        Port:  gettext                
-------------------------------+--------------------------------------------

Comment(by armand.tanzarian@…):

 similar issue here.

 versions:

 ProductName:    Mac OS X
 ProductVersion: 10.7.1
 BuildVersion:   11B26

 portVersion: 2.0.3

 xcode 4.1 xcode-select version 2003.

 see attached log from # port install gettext

 fink install coreutils has identical failure:


 {{{

 fink install coreutils

 ...

 gcc -g -O2 -o .libs/msgfmt msgfmt-msgfmt.o msgfmt-write-mo.o msgfmt-write-
 java.o msgfmt-write-csharp.o msgfmt-write-resources.o msgfmt-write-tcl.o
 msgfmt-write-qt.o msgfmt-hash-string.o -Wl,-framework -Wl,CoreFoundation
 -L/sw/lib ./.libs/libgettextsrc.dylib /sw/src/fink.build/gettext-
 tools-0.17-18/gettext-0.17/gettext-tools/gnulib-
 lib/.libs/libgettextlib.dylib -lncurses /sw/src/fink.build/gettext-
 tools-0.17-18/gettext-0.17/gettext-tools/intl/.libs/libintl.dylib
 /sw/lib/libiconv.dylib -lc
 Undefined symbols for architecture x86_64:
   "_bswap_32", referenced from:
       _write_table in msgfmt-write-mo.o
 ld: symbol(s) not found for architecture x86_64
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 make[3]: *** [msgfmt] Error 1
 make[2]: *** [all] Error 2
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2
 ### execution of cd failed, exit code 2
 Removing runtime build-lock...
 Removing build-lock package...
 /sw/bin/dpkg-lockwait -r fink-buildlock-gettext-tools-0.17-18
 (Reading database ... 5066 files and directories currently installed.)
 Removing fink-buildlock-gettext-tools-0.17-18 ...
 Failed: phase compiling: gettext-tools-0.17-18 failed


 }}}

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


More information about the macports-tickets mailing list