WorkSrcDir Question

Mark Anderson emer at emer.net
Sun Oct 28 00:53:55 UTC 2018


I got this:
github PortGroup: Error: ${worksrcpath} does not exist after extracting
distfiles. This might indicate that the author or project is different than
set in the Portfile due to a rename at GitHub. Please examine the extracted
directory in
/opt/local/var/macports/build/_opt_src_macports_macports-ports_lang_Io/Io/work
and try to correct the Portfile by either changing the author or project or
adding the worksrcdir option with the correct directory name.

How do I get a worksrcdir of IoLanguage-io-b8a18fc/

Do I have to change the Name of the Port? I run with Debug and couldn't see
what happened.

—Mark
_______________________
Mark E. Anderson <emer at emer.net>


On Sat, Oct 27, 2018 at 5:23 PM Ryan Schmidt <ryandesign at macports.org>
wrote:

>
>
> On Oct 27, 2018, at 16:09, Mark Anderson wrote:
>
> > So, I'm trying to update the Io Language port, and I get a worksrcdir of:
> > IoLanguage-io-b8a18fc
> >
> > Is there a good way to figure that name out programatically, or change
> it? Or am I just stuck with it?
>
>
> The github portgroup, which I see the io port already uses, takes care of
> that for you. It renames the directory to something more predictable.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20181027/230bfaca/attachment.html>


More information about the macports-dev mailing list