[MacPorts] #42751: gettext fails to upgrade to gettext-0.18.3.2 (Mac OSX Lion 10.7.5 , Macports : 2.2.1)
#42751: gettext fails to upgrade to gettext-0.18.3.2 (Mac OSX Lion 10.7.5 , Macports : 2.2.1) --------------------------------------------+------------------------------ Reporter: creativecommon@… | Owner: macports- Type: defect | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Keywords: gettext, error, upgrade, fails | Version: 2.2.1 | Port: gettext --------------------------------------------+------------------------------ I am unable to upgraded outdated packages due to gettext upgrade failure. OS : Mac OSX 10.7.5 (Lion)[[BR]] Macports Version : 2.2.1[[BR]] Macports Install location : /macports[[BR]] [[BR]] {{{ % sudo port clean gettext % sudo port install gettext ---> Computing dependencies for gettext ---> Fetching distfiles for gettext ---> Verifying checksums 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: /macports/var/macports/logs/_macports_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 }}} ---- {{{ % cat /macports/var/macports/logs/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/main.log ... ...... ....... :info:build libtool: link: dsymutil .libs/libintl.8.dylib || : :info:build warning: no debug symbols in executable (-arch x86_64) :info:build libtool: link: (cd ".libs" && rm -f "libintl.dylib" && ln -s "libintl.8.dylib" "libintl.dylib") :info:build libtool: link: ar cru .libs/libintl.a bindtextdom.o dcgettext.o dgettext.o gettext.o finddomain.o hash-string.o loadmsgcat.o localealias.o textdomain.o l10nflist.o explodename.o dcigettext.o dcngettext.o dngettext.o ngettext.o plural.o plural-exp.o localcharset.o threadlib.o lock.o relocatable.o langprefs.o localename.o log.o printf.o setlocale.o version.o xsize.o osdep.o intl-compat.o :info:build /macports/bin/ranlib: line 390: ./gsed: No such file or directory :info:build : unrecognized option `-q' :info:build Try ` --help' for more information. :info:build ar: internal ranlib command failed :info:build make[3]: *** [libintl.la] Error 1 :info:build make[3]: Leaving directory `/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/work/gettext-0.18.3.2 /gettext-runtime/intl' :info:build make[2]: *** [all-recursive] Error 1 :info:build make[2]: Leaving directory `/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/work/gettext-0.18.3.2 /gettext-runtime' :info:build make[1]: *** [all] Error 2 :info:build make[1]: Leaving directory `/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/work/gettext-0.18.3.2 /gettext-runtime' :info:build make: *** [all-recursive] Error 1 :info:build make: Leaving directory `/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/work/gettext-0.18.3.2' :info:build Command failed: cd "/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/work/gettext-0.18.3.2" && /usr/bin/make -j2 -w all :info:build Exit code: 2 :error:build org.macports.build for port gettext returned: command execution failed :debug:build Error code: CHILDSTATUS 67410 2 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: targets not executed for gettext: org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Please see the log file for port gettext for details: /macports/var/macports/logs/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/main.log }}} ---- I am attaching the full main.log (gettext) as well the the output of % sudo port -v -d install gettext Any help will be appreciated. Thanks in advance. -- Ticket URL: <https://trac.macports.org/ticket/42751> MacPorts <http://www.macports.org/> Ports system for OS X
#42751: ranlib: line 390: ./gsed: No such file or directory -------------------------------+-------------------------------- Reporter: creativecommon@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: ranlib | -------------------------------+-------------------------------- Changes (by ryandesign@…): * keywords: gettext, error, upgrade, fails => * cc: creativecommon@… (removed) * cc: ryandesign@…, jeremyhu@… (added) * port: gettext => ranlib Comment: Your log says: {{{ :info:build /macports/bin/ranlib: line 390: ./gsed: No such file or directory }}} Sounds like your ranlib needs gsed, and gsed wasn't there. This is not a gettext problem; you'd encounter this problem with any port you try to build that uses ranlib. You could work around this by installing the gsed port. However, normally, ranlib is part of cctools, and is just a symlink to libtool, which is also part of cctools, and libtool is supposed to be a compiled executable, not a script with line numbers as your error message seems to indicate. Could you show the output of: {{{ ls -l /macports/bin/ranlib port provides /macports/bin/ranlib }}} Could you also attach /macports/bin/ranlib (or, if it's a symlink, what it's pointing to) for us to examine? -- Ticket URL: <https://trac.macports.org/ticket/42751#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42751: ranlib: line 390: ./gsed: No such file or directory -------------------------------+-------------------------------- Reporter: creativecommon@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: ranlib | -------------------------------+-------------------------------- Comment (by ryandesign@…): Replying to [comment:2 ryandesign@…]:
You could work around this by installing the gsed port.
Actually, that's not going to work yet, since gsed requires gettext. You could deactivate cctools for the duration of your gettext build: {{{ sudo port clean gettext gsed sudo port -f deactivate cctools sudo port install gsed sudo port activate cctools }}} -- Ticket URL: <https://trac.macports.org/ticket/42751#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#42751: ranlib: line 390: ./gsed: No such file or directory -------------------------------+-------------------------------- Reporter: creativecommon@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: ranlib | -------------------------------+-------------------------------- Comment (by creativecommon@…): {{{ % ls -l /macports/bin/ranlib lrwxr-xr-x 1 root admin 7 Aug 24 2013 /macports/bin/ranlib -> libtool }}} {{{ % port provides /macports/bin/ranlib /macports/bin/ranlib is provided by: cctools }}} /macports/bin/ranlib is a symlink to /macports/bin/libtool *Attaching* libtool file which appears to be a script in my case, to the list of attachments -- Ticket URL: <https://trac.macports.org/ticket/42751#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#42751: cctools: ranlib: line 390: ./gsed: No such file or directory -------------------------------+-------------------------------- Reporter: creativecommon@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: invalid | Keywords: Port: cctools | -------------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid * port: ranlib => cctools Comment: That's not cctools' libtool; that's GNU libtool, a totally different software. Please rebuild cctools to put back cctools' libtool; all should be well after that. {{{ sudo port -n upgrade --force cctools }}} -- Ticket URL: <https://trac.macports.org/ticket/42751#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#42751: cctools: ranlib: line 390: ./gsed: No such file or directory -------------------------------+-------------------------------- Reporter: creativecommon@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: invalid | Keywords: Port: cctools | -------------------------------+-------------------------------- Comment (by creativecommon@…): {{{ % sudo port -n upgrade --force cctools Password: ---> Computing dependencies for cctools Warning: Your DNS servers incorrectly claim to know the address of nonexistent hosts. This may cause checksum mismatches for some ports. ---> Fetching distfiles for cctools ---> Attempting to fetch cctools-845.tar.gz from http://lil.fr.distfiles.macports.org/cctools ---> Verifying checksums for cctools ---> Extracting cctools ---> Applying patches to cctools ---> Configuring cctools ---> Building cctools Error: org.macports.build for port cctools returned: command execution failed Please see the log file for port cctools for details: /macports/var/macports/logs/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/main.log Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets }}} {{{ :info:build /macports/bin/libtool: line 390: ./gsed: No such file or directory :info:build /macports/bin/libtool: line 390: ./gsed: No such file or directory :info:build : unrecognized option `-static' :info:build : unrecognized option `-static' :info:build Try ` --help' for more information. :info:build make[2]: *** [libstuff.dylib] Error 1 :info:build Try ` --help' for more information. :info:build make[2]: Leaving directory `/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-845/libstuff/dynamic_obj' :info:build make[1]: *** [dynamic] Error 2 :info:build make[2]: *** [libstuff_p.a] Error 1 :info:build make[1]: *** Waiting for unfinished jobs.... :info:build make[2]: Leaving directory `/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-845/libstuff/profile_obj' :info:build make[1]: *** [profile] Error 2 :info:build make[1]: Leaving directory `/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-845/libstuff' :info:build make: *** [all] Error 1 :info:build make: Leaving directory `/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-845' :info:build Command failed: cd "/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-845" && /usr/bin/make -j2 -w all RC_OS="macos" RC_ProjectSourceVersion=845 USE_DEPENDENCY_FILE=NO BUILD_DYLIBS=NO CC="/usr/bin/clang -Os" CXX="/usr/bin/clang++ -Os" CXXLIB="" RC_ARCHS="x86_64" SDK="-I/macports/include" LTO=-DLTO_SUPPORT RC_CFLAGS="-arch x86_64 `llvm- config-mp-3.3 --cflags`" LLVM_MC="llvm-mc-mp-3.3" TRIE=-DTRIE_SUPPORT :info:build Exit code: 2 :error:build org.macports.build for port cctools returned: command execution failed :debug:build Error code: CHILDSTATUS 97401 2 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: targets not executed for cctools: org.macports.install org.macports.build org.macports.destroot :notice:build Please see the log file for port cctools for details: /macports/var/macports/logs/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/main.log }}} -- Ticket URL: <https://trac.macports.org/ticket/42751#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#42751: cctools: ranlib: line 390: ./gsed: No such file or directory -------------------------------+-------------------------------- Reporter: creativecommon@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: invalid | Keywords: Port: cctools | -------------------------------+-------------------------------- Comment (by ryandesign@…): Ok, you'll have to remove the bad libtool first, e.g. by first uninstalling cctools. {{{ sudo port -f uninstall cctools sudo port clean cctools sudo port install cctools }}} -- Ticket URL: <https://trac.macports.org/ticket/42751#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#42751: cctools: ranlib: line 390: ./gsed: No such file or directory -------------------------------+-------------------------------- Reporter: creativecommon@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: invalid | Keywords: Port: cctools | -------------------------------+-------------------------------- Comment (by jeremyhu@…): And don't install things to /macports which will clobber files managed by base. -- Ticket URL: <https://trac.macports.org/ticket/42751#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#42751: cctools: ranlib: line 390: ./gsed: No such file or directory -------------------------------+-------------------------------- Reporter: creativecommon@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: invalid | Keywords: Port: cctools | -------------------------------+-------------------------------- Comment (by creativecommon@…): Sorry for the late response. I have resolved the problem by following the steps you guys provided earlier. {{{ sudo port clean gettext gsed sudo port -f deactivate cctools sudo port uninstall gsed sudo port install gsed sudo port activate cctools }}} Followed by {{{ sudo port -n upgrade --force cctools }}} Thanks a lot ryandesign and jeremyhu. I really appreciate it. -- Ticket URL: <https://trac.macports.org/ticket/42751#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts