[MacPorts] #13343: grep 2.5.3_0 won't install; 2.5.1a_1 worked fine

MacPorts trac at macosforge.org
Sun Nov 18 20:25:47 PST 2007


#13343: grep 2.5.3_0 won't install; 2.5.1a_1 worked fine
-------------------------------------+--------------------------------------
 Reporter:  ryandesign at macports.org  |       Owner:  waqar at macports.org
     Type:  defect                   |      Status:  new               
 Priority:  Normal                   |   Milestone:  Port Bugs         
Component:  ports                    |     Version:  1.6.0             
 Keywords:                           |  
-------------------------------------+--------------------------------------
 grep 2.5.3_0 won't install. Here's what I get with MacPorts 1.6.0-rc1 on
 Mac OS X 10.4.10 with Xcode 2.4.1 on a macbookpro3,1:

 {{{
 $ sudo port install grep
 --->  Fetching grep
 --->  Verifying checksum(s) for grep
 --->  Extracting grep
 --->  Configuring grep
 --->  Building grep with target all
 --->  Staging grep into destroot
 Error: Target org.macports.destroot returned: shell command " cd
 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_sysutils_grep/work/grep-2.5.3"
 && make install
 DESTDIR=/opt/local/var/macports/build/_Users_rschmidt_macports_dports_sysutils_grep/work/destroot
 " returned error 2
 Command output:   : ; \
 fi
 if test "grep" = "gettext"; then \
   /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo
 ".././mkinstalldirs" ;; esac`
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_sysutils_grep/work/destroot/opt/local/share/gettext/intl;
 \
   /usr/bin/install -m 644 VERSION
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_sysutils_grep/work/destroot/opt/local/share/gettext/intl/VERSION;
 \
   /usr/bin/install -m 644 ChangeLog.inst
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_sysutils_grep/work/destroot/opt/local/share/gettext/intl/ChangeLog;
 \
   dists="COPYING.LIB-2.0 COPYING.LIB-2.1 Makefile.in config.charset
 locale.alias ref-add.sin ref-del.sin gmo.h gettextP.h hash-string.h
 plural-exp.h eval-plural.h os2compat.h libgnuintl.h loadinfo.h
 bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c
 localealias.c textdomain.c l10nflist.c explodename.c dcigettext.c
 dcngettext.c dngettext.c ngettext.c plural.y plural-exp.c localcharset.c
 localename.c osdep.c os2compat.c intl-compat.c"; \
   for file in $dists; do \
     /usr/bin/install -m 644 ./$file \
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_sysutils_grep/work/destroot/opt/local/share/gettext/intl/$file;
 \
   done; \
   chmod a+x
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_sysutils_grep/work/destroot/opt/local/share/gettext/intl/config.charset;
 \
   dists="plural.c"; \
   for file in $dists; do \
     if test -f $file; then dir=.; else dir=.; fi; \
     /usr/bin/install -m 644 $dir/$file \
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_sysutils_grep/work/destroot/opt/local/share/gettext/intl/$file;
 \
   done; \
   dists="xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c
 COPYING.LIB-2 gettext.h libgettext.h plural-eval.c"; \
   for file in $dists; do \
     rm -f
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_sysutils_grep/work/destroot/opt/local/share/gettext/intl/$file;
 \
   done; \
 else \
   : ; \
 fi
 Making install in po
 /./install-sh -c -d
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_sysutils_grep/work/destroot//opt/local/share
 make[1]: /./install-sh: Command not found
 make[1]: *** [install-data-yes] Error 127
 make: *** [install-recursive] Error 1

 Error: Status 1 encountered during processing.
 }}}

 Here are the versions of grep's dependencies I have installed:

 {{{
 $ port installed pcre gettext libiconv expat
 The following ports are currently installed:
   pcre @7.4_0+universal (active)
   gettext @0.17_1+universal (active)
   libiconv @1.12_0+darwin_8+universal (active)
   expat @2.0.1_0+examples+universal (active)
 $
 }}}

 If I backdate the grep port to r24969, grep 2.5.1a_1 installs just fine.

-- 
Ticket URL: <https://trac.macports.org/projects/macports/ticket/13343>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list