[MacPorts] #36688: Unable to Install gettext
#36688: Unable to Install gettext ---------------------------+-------------------------------- Reporter: jonlederman@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: gettext | Port: gettext ---------------------------+-------------------------------- 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 -- Ticket URL: <https://trac.macports.org/ticket/36688> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#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 | ----------------------------+-------------------------- Comment (by jonlederman@…): Hi, I tried again and it still fails. I am attaching the log file. Please help resolve this. Thanks. -Jon -- Ticket URL: <https://trac.macports.org/ticket/36688#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 | ----------------------------+-------------------------- Comment (by macsforever2000@…): What is the output of the following? {{{ port installed libiconv }}} -- Ticket URL: <https://trac.macports.org/ticket/36688#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 | ----------------------------+-------------------------- Comment (by macsforever2000@…): And also? {{{ file /opt/local/lib/libiconv.dylib }}} -- Ticket URL: <https://trac.macports.org/ticket/36688#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 | ----------------------------+-------------------------- Comment (by jonlederman@…): Replying to [comment:4 macsforever2000@…]:
And also?
{{{ file /opt/local/lib/libiconv.dylib }}}
Hi, Here is the output you requested: Jons-MacBook-Pro:gnu-crypto-2.0.1 Jon$ port installed libiconv The following ports are currently installed: libiconv @1.14_0 (active) Jons-MacBook-Pro:gnu-crypto-2.0.1 Jon$ Jons-MacBook-Pro:gnu-crypto-2.0.1 Jon$ file /opt/local/lib/libiconv.dylib /opt/local/lib/libiconv.dylib: Mach-O 64-bit dynamically linked shared library x86_64 Jons-MacBook-Pro:gnu-crypto-2.0.1 Jon$ Please advise. Best Regards, Jon -- Ticket URL: <https://trac.macports.org/ticket/36688#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 | ----------------------------+-------------------------- Comment (by jonlederman@…): Hi, Here is the output you requested: Jons-MacBook-Pro:gnu-crypto-2.0.1 Jon$ port installed libiconv The following ports are currently installed: libiconv @1.14_0 (active) Jons-MacBook-Pro:gnu-crypto-2.0.1 Jon$ Jons-MacBook-Pro:gnu-crypto-2.0.1 Jon$ file /opt/local/lib/libiconv.dylib /opt/local/lib/libiconv.dylib: Mach-O 64-bit dynamically linked shared library x86_64 Jons-MacBook-Pro:gnu-crypto-2.0.1 Jon$ Please advise. Best Regards, Jon -- Ticket URL: <https://trac.macports.org/ticket/36688#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36688: gettext: Undefined symbols _bswap_32 ----------------------------+-------------------------- Reporter: jonlederman@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: duplicate | Keywords: Port: gettext | ----------------------------+-------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => duplicate Comment: Duplicate of #29358. Please delete the file /usr/include/byteswap.h, clean gettext and try again. -- Ticket URL: <https://trac.macports.org/ticket/36688#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36688: gettext: Undefined symbols _bswap_32 ----------------------------+-------------------------- Reporter: jonlederman@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: duplicate | Keywords: Port: gettext | ----------------------------+-------------------------- Comment (by jonlederman@…): Hi, I removed: /opt/local/include/byteswap.h, cleaned and then reinstalled and got the same error: 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 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port gettext failed Jons-MacBook-Pro:gettext-0.18.1.1 Jon$ sudo vi /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/main.log dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid Password: Jons-MacBook-Pro:gettext-0.18.1.1 Jon$ cp /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/main.log ~/Desktop/main.log cp: /Users/Jon/Desktop/main.log: Permission denied Jons-MacBook-Pro:gettext-0.18.1.1 Jon$ sudo cp /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/main.log ~/Desktop/main.log dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid Please advise. I am attaching a new log file. Thanks. -Jon -- Ticket URL: <https://trac.macports.org/ticket/36688#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36688: gettext: Undefined symbols _bswap_32 ----------------------------+-------------------------- Reporter: jonlederman@… | Owner: ryandesign@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: gettext | ----------------------------+-------------------------- Changes (by ryandesign@…): * status: closed => reopened * resolution: duplicate => Comment: Please remember to use WikiFormatting. The new log still shows the same error... You said you removed /opt/local/include/byteswap.h. It surprises me that /opt/local/include/byteswap.h existed. Do you have any idea what port had installed that file? In #29358 the rogue byteswap.h file had been in /usr/include not /opt/local/include. Can you check if there are any other remaining copies of byteswap.h on your system by running: {{{ find /usr /opt/local/include -name byteswap.h }}} -- Ticket URL: <https://trac.macports.org/ticket/36688#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36688: gettext: Undefined symbols _bswap_32 ----------------------------+-------------------------- Reporter: jonlederman@… | Owner: ryandesign@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: gettext | ----------------------------+-------------------------- Comment (by jonlederman@…): Hi, I was able to resolve it. I had another file named Byteswap.h (capital B) in /usr/local/include. I renamed that and now gettext installed. Thanks. -Jon -- Ticket URL: <https://trac.macports.org/ticket/36688#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36688: gettext: Undefined symbols _bswap_32 ----------------------------+-------------------------- Reporter: jonlederman@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: duplicate | Keywords: Port: gettext | ----------------------------+-------------------------- Changes (by ryandesign@…): * status: reopened => closed * resolution: => duplicate Comment: Ah very good. -- Ticket URL: <https://trac.macports.org/ticket/36688#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts