Changes between Initial Version and Version 1 of Ticket #66833, comment 2


Ignore:
Timestamp:
Feb 5, 2023, 1:26:07 AM (20 months ago)
Author:
jmroot (Joshua Root)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #66833, comment 2

    initial v1  
    1 Hm, or maybe just a mismatch of expectations with what this port is doing. The distfile `go-ipfs-source.tar.gz` contains a directory called `ipfs-kubo-0.18.1`. But that doesn't get extracted directly into `$workpath` because the Portfile sets `extract.dir         ${workpath}/${go.author}-${go.project}-${version}`. And then the github portgroup is used, which defaults to `extract.rename yes`, which renames the extracted directory to `$distname`. The portgroup expects to find either `${workpath}/${go.author}-${go.project}-*`, `${workpath}/${go.project}`, or `${workpath}/${go.project}-*`.
     1Hm, or maybe just a mismatch of expectations with what this port is doing. The distfile `go-ipfs-source.tar.gz` contains a directory called `ipfs-kubo-0.18.1`. The Portfile sets `extract.dir ${workpath}/${go.author}-${go.project}-${version}` presumably in an attempt to extract to a different directory, but that's not really what that does, it just controls what is the current working directory when the extract command is run. And then the github portgroup is used, which defaults to `extract.rename yes`, which renames the extracted directory to `$distname`. The portgroup expects to find either `${workpath}/${go.author}-${go.project}-*`, `${workpath}/${go.project}`, or `${workpath}/${go.project}-*`.