macports-users Digest, Vol 163, Issue 13
Murray Eisenberg
murrayeisenberg at gmail.com
Wed Mar 18 14:57:47 UTC 2020
On17 Mar 2020 17:17:37 +0100, Pieter van Oostrum <pieter-l at vanoostrum.org <mailto:pieter-l at vanoostrum.org>> wrote:
>
> Date: Tue,
> From: Pieter van Oostrum <pieter-l at vanoostrum.org <mailto:pieter-l at vanoostrum.org>>
> To: macports-users at lists.macports.org <mailto:macports-users at lists.macports.org>
> Subject: Re: macports-users Digest, Vol 163, Issue 12
> Message-ID: <lx36a7arby.fsf at cochabamba.vanoostrum.org <mailto:lx36a7arby.fsf at cochabamba.vanoostrum.org>>
> Content-Type: text/plain
>
> Murray Eisenberg <murrayeisenberg at gmail.com <mailto:murrayeisenberg at gmail.com>> writes:
>
>> I did that: used mode 755 for directories, mode 644 for files there.
>>
>> Still, same error Unable to execute port: Could not open file: /Users/murray/macports/myports/kde/
>> okular/Portfile
>>
>> Did you get this to work with your own version of a port already included in MacPorts?
>
> Yes, I do this regularly. Never had a problem.
> My working mode is: I have a clone of the git repository, but for the ports I am working on, I make a copy of the Portfile and other relevant files in a shadow directory, but only for those ports.
>
> But 'could not open file' sounds like a protection issue.
> What happens when you execute the shell command?
>
> sudo cat /Users/murray/macports/myports/kde/okular/Portfile
>
> By the way, another way is to go to the directory
> /Users/murray/macports/myports/kde/okular
>
> and execute the command 'sudo port install' (i.e. without port name). It should install the port in that directory.
> --
Command "sudo cat /Users/murray/macports/myports/kde/okular/Portfile" _does_ type out the file contents
However, cd to that okulr directory and executing “sudo port install” there once again gives the same error "Unable to execute port: Could not open file: /Users/murray/macports/myports/kde/okular/Portfile”.
cdNote that I have:
$ ls -l Portfile
-rw-r--r--@ 1 murray staff 2296 Mar 16 15:18 Portfile
Moreover, I get the same error if I execute “chmod a+wx Portfile”.
---
Murray Eisenberg murrayeisenberg at gmail.com
503 King Farm Blvd #101 Home (240)-246-7240
Rockville, MD 20850-6667 Mobile (413)-427-5334
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20200318/6e91b7ad/attachment.html>
More information about the macports-users
mailing list