WorkSrcDir Question

Zero King l2dy at macports.org
Sun Oct 28 01:58:41 UTC 2018


On Sat, Oct 27, 2018 at 08:53:55PM -0400, Mark Anderson wrote:
>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/

Upstream moved their repository, you should use "github.setup IoLanguage io ..." now.

(from https://github.com/stevedekorte/io to https://github.com/IoLanguage/io)

>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.
>>
>>
>>

-- 
Zero
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3533 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20181028/9004a1b6/attachment-0001.bin>


More information about the macports-dev mailing list