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

MacPorts trac at macosforge.org
Wed Nov 21 05:45:43 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:  assigned          
  Priority:  Normal                   |   Milestone:  Port Bugs         
 Component:  ports                    |     Version:  1.6.0             
Resolution:                           |    Keywords:                    
--------------------------------------+-------------------------------------
Comment (by bretthoerner at gmail.com):

 Using MacPorts 1.520 on OS X 10.5.1 I get the same(ish),

 {{{
 --->  Staging grep into destroot
 . missing (directory not created: File exists)
 ./Applications missing (directory not created: File exists)
 ./Developer missing (directory not created: File exists)
 ./Library missing (directory not created: File exists)
 Making install in intl
 if test "grep" = "gettext" \
            && test '' = 'intl-compat.o'; then \
           /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;;
 *) echo ".././mkinstalldirs" ;; esac`
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_grep/work/destroot/opt/local/lib
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_grep/work/destroot/opt/local/include;
 \
           /usr/bin/install -c -m 644 libintl.h
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_grep/work/destroot/opt/local/include/libintl.h;
 \
           @LIBTOOL@ --mode=install \
             /usr/bin/install -c -m 644 libintl.a
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_grep/work/destroot/opt/local/lib/libintl.a;
 \
         else \
           : ; \
         fi
 if test 'no' = yes; then \
           test no != no || /bin/sh `case "./mkinstalldirs" in /*) echo
 "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac`
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_grep/work/destroot/opt/local/lib;
 \
 temp=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_grep/work/destroot/opt/local/lib/t-charset.alias;
 \
 dest=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_grep/work/destroot/opt/local/lib/charset.alias;
 \
           if test -f
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_grep/work/destroot/opt/local/lib/charset.alias;
 then \
 orig=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_grep/work/destroot/opt/local/lib/charset.alias;
 \
             sed -f ref-add.sed $orig > $temp; \
             /usr/bin/install -c -m 644 $temp $dest; \
             rm -f $temp; \
           else \
             if test no = no; then \
               orig=charset.alias; \
               sed -f ref-add.sed $orig > $temp; \
               /usr/bin/install -c -m 644 $temp $dest; \
               rm -f $temp; \
             fi; \
           fi; \
           /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;;
 *) echo ".././mkinstalldirs" ;; esac`
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_grep/work/destroot/opt/local/share/locale;
 \
           test -f
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_grep/work/destroot/opt/local/share/locale/locale.alias
 \
             &&
 orig=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_grep/work/destroot/opt/local/share/locale/locale.alias
 \
             || orig=./locale.alias; \
 temp=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_grep/work/destroot/opt/local/share/locale/t-locale.alias;
 \
 dest=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_grep/work/destroot/opt/local/share/locale/locale.alias;
 \
           sed -f ref-add.sed $orig > $temp; \
           /usr/bin/install -c -m 644 $temp $dest; \
           rm -f $temp; \
         else \
           : ; \
         fi
 if test "grep" = "gettext"; then \
           /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;;
 *) echo ".././mkinstalldirs" ;; esac`
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_grep/work/destroot/opt/local/share/gettext/intl;
 \
           /usr/bin/install -c -m 644 VERSION
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_grep/work/destroot/opt/local/share/gettext/intl/VERSION;
 \
           /usr/bin/install -c -m 644 ChangeLog.inst
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_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 -c -m 644 ./$file \
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_grep/work/destroot/opt/local/share/gettext/intl/$file;
 \
           done; \
           chmod a+x
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_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 -c -m 644 $dir/$file \
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_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/_opt_local_var_macports_sources_rsync.macports.org_release_ports_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/_opt_local_var_macports_sources_rsync.macports.org_release_ports_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: Target org.macports.destroot returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_grep/work/grep-2.5.3"
 && make install
 DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_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/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_grep/work/destroot/opt/local/share/gettext/intl;
 \
           /usr/bin/install -c -m 644 VERSION
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_grep/work/destroot/opt/local/share/gettext/intl/VERSION;
 \
           /usr/bin/install -c -m 644 ChangeLog.inst
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_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 -c -m 644 ./$file \
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_grep/work/destroot/opt/local/share/gettext/intl/$file;
 \
           done; \
           chmod a+x
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_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 -c -m 644 $dir/$file \
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_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/_opt_local_var_macports_sources_rsync.macports.org_release_ports_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/_opt_local_var_macports_sources_rsync.macports.org_release_ports_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

 Warning: the following items did not execute (for grep):
 org.macports.destroot
 Error: Unable to upgrade port: 1
 }}}

 Could I be added to the CC also?

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13343#comment:11>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list