[MacPorts] #15308: grep-2.5.3 build error
#15308: grep-2.5.3 build error --------------------------------+------------------------------------------- Reporter: kngspook@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: grep, build error | --------------------------------+------------------------------------------- I'm guessing the install script broke; but I really don't know. {{{ [Users/me] > install grep ---> Staging grep into destroot 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 -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 -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 -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 -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: Status 1 encountered during processing. }}} On a side note, I can't find grep on the -- Ticket URL: <http://trac.macports.org/ticket/15308> MacPorts </> Ports system for Mac OS
#15308: grep-2.5.3 build error ---------------------------------+------------------------------------------ Reporter: kngspook@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: grep, build error ---------------------------------+------------------------------------------ Comment (by kngspook@gmail.com): Last sentence was supposed to be: "On a side note, I can't find grep on the website listing of portfiles." -- Ticket URL: <http://trac.macports.org/ticket/15308#comment:1> MacPorts </> Ports system for Mac OS
#15308: grep-2.5.3 build error ---------------------------------+------------------------------------------ Reporter: kngspook@gmail.com | Owner: waqar@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: grep, build error ---------------------------------+------------------------------------------ Changes (by jmr@macports.org): * cc: waqar@macports.org (removed) * owner: macports-tickets@lists.macosforge.org => waqar@macports.org Comment: Replying to [comment:1 kngspook@gmail.com]:
Last sentence was supposed to be: "On a side note, I can't find grep on the website listing of portfiles."
Turns out that a lot of ports are missing from the website. I opened a new ticket about that, #15309. -- Ticket URL: <http://trac.macports.org/ticket/15308#comment:2> MacPorts </> Ports system for Mac OS
#15308: grep-2.5.3 build error ---------------------------------+------------------------------------------ Reporter: kngspook@gmail.com | Owner: waqar@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: grep, build error ---------------------------------+------------------------------------------ Comment (by raimue@macports.org): grep installs fine for me on Mac OS X 10.5 Leopard with Xcode 3.0. -- Ticket URL: <http://trac.macports.org/ticket/15308#comment:3> MacPorts </> Ports system for Mac OS
#15308: grep-2.5.3 build error ---------------------------------+------------------------------------------ Reporter: kngspook@gmail.com | Owner: waqar@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: grep, build error ---------------------------------+------------------------------------------ Comment (by kngspook@gmail.com): I just tried a clean install, same error. I'm not terribly familiar with MacPorts, but this last line looks suspicious to me: "/./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 " It looks like it's trying to run a script in the current directory, but since there's a leading slash, the command actually tries to run a script effectively out of root. Could that be it? I'm on OS X 10.5.2, Xcode 3.0 as well. What other output would be helpful? -- Ticket URL: <http://trac.macports.org/ticket/15308#comment:4> MacPorts </> Ports system for Mac OS
#15308: grep-2.5.3 build error ---------------------------------+------------------------------------------ Reporter: kngspook@gmail.com | Owner: waqar@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: grep, build error ---------------------------------+------------------------------------------ Comment (by kngspook@gmail.com): I've attached a more detailed log of the error, by means of: {{{ sudo port clean grep -all sudo port -vd install grep }}} -- Ticket URL: <http://trac.macports.org/ticket/15308#comment:5> MacPorts </> Ports system for Mac OS
participants (1)
-
MacPorts