bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] Upgrading to gawk 4.1.1 fails when write access to prefix


From: Aharon Robbins
Subject: Re: [bug-gawk] Upgrading to gawk 4.1.1 fails when write access to prefix is denied
Date: Sun, 20 Apr 2014 11:50:57 +0300
User-agent: Heirloom mailx 12.5 6/20/10

Hi.

Thank you for taking the time to send in a bug report. I appreciate it.

As Andy mentioned, this was reported earlier and has been fixed
in the git repo.

It's great that MacPorts is tracking the latest gawk; it is very pleasing
to see important projects like this staying up to date.

Thanks!

Arnold

> From: Ryan Schmidt <address@hidden>
> Date: Fri, 18 Apr 2014 20:36:12 -0500
> To: address@hidden
> Subject: [bug-gawk] Upgrading to gawk 4.1.1 fails when write access to
>       prefix is denied
>
> Greetings,
>
> Upgrading gawk 4.1.0 to 4.1.1 fails during the "make install" part when
> using the DESTDIR variable to specify an alternate destination directory
> and denying access to other directories including PREFIX (which is what
> the MacPorts package management system does, to prevent rogue software
> from writing files where it shouldn?t):
>
>
> /usr/bin/make  install-data-hook
> make[4]: Entering directory 
> `/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_gawk/gawk/work/gawk-4.1.1/extension'
> for i in filefuncs.la fnmatch.la fork.la inplace.la ordchr.la readdir.la 
> readfile.la revoutput.la revtwoway.la rwarray.la testext.la time.la ; do \
>               rm -f /opt/local/lib/gawk/$i ; \
>       done
> rm: /opt/local/lib/gawk/filefuncs.la: Permission denied
> rm: /opt/local/lib/gawk/fnmatch.la: Permission denied
> rm: /opt/local/lib/gawk/fork.la: Permission denied
> rm: /opt/local/lib/gawk/inplace.la: Permission denied
> rm: /opt/local/lib/gawk/ordchr.la: Permission denied
> rm: /opt/local/lib/gawk/readdir.la: Permission denied
> rm: /opt/local/lib/gawk/readfile.la: Permission denied
> rm: /opt/local/lib/gawk/revoutput.la: Permission denied
> rm: /opt/local/lib/gawk/revtwoway.la: Permission denied
> rm: /opt/local/lib/gawk/rwarray.la: Permission denied
> rm: /opt/local/lib/gawk/testext.la: Permission denied
> rm: /opt/local/lib/gawk/time.la: Permission denied
> make[4]: *** [install-data-hook] Error 1
>
>
> Here?s my MacPorts bug report about this:
>
> https://trac.macports.org/ticket/43406
>
> Here's the fix I committed, which I think is correct and should be
> applied to your upstream sources:
>
> https://trac.macports.org/browser/trunk/dports/lang/gawk/files/patch-extensions-Makefile.in.diff?rev=119180
>
> That patch is for extensions/Makefile.in; you?ll want to patch
> extensions/Makefile.am instead; see attachment.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]