On Thu, 25 Sep 2025 19:06:32 +0100, Jon Turney via Cygwin-apps
<[email protected]> wrote:
>On 25/09/2025 17:27, Andrew Schulman via Cygwin-apps wrote:
>> In screen.cygport, I have
>>
>> CYGWIN_FILES="
>> CYGWIN-PATCHES/README
>> CYGWIN-PATCHES/colortest.sh
>> "
>>
>> cygport is happy with this. It reads ${top}/CYGWIN-PATCHES/README et al. and
>> installs them correctly.
>>
>> However calm doesn't like it. From
>> https://github.com/cygwin/scallywag/actions/runs/18013629781/job/51252720116:
>>
>>>>> Creating source package
>> cp: cannot stat
>> '/cygdrive/d/a/scallywag/screen/screen-5.0.1-3.x86_64/src/screen-5.0.1/CYGWIN-PATCHES/CYGWIN-PATCHES/README':
>> No such file or directory
>>
>> Note that calm is looking in ${S}/CYGWIN-PATCHES/CYGWIN-PATCHES.
>
>Huh.
>
>I think only anticipated this would be used with simple filenames, and
>that's probably all I've tested it with.
>
>You shouldn't need to prefix the filenames in CYGWIN_FILES with
>"CYGWIN_PATCHES/". Does it not work in that form?
Right - forgot to mention that I tried that. With
CYGWIN_FILES="
README
colortest.sh
"
my local cygport quits with
cp: cannot stat '/home/Andrew/dev/cygwin/screen/README': No such file or
directory
>Maybe there's a bug here, or the documentation need a bit of improvement?
It does seem that my local cygport and calm's cygport are expecting
CYGPORT_FILES to be relative to different directories. The documentaton for
CYGPORT_FILES
(https://cygwin.github.io/cygport/src_prep_cygpart.html#CYGWIN_FILES) doesn't
say what directory that should be, so I thought it should be $top.
I also tried making them absolute paths, but that bombed too - local cygport
tried to make them relative to $top anyway.
cygport vs. calm smackdown ?!?