This is the mail archive of the
mailing list for the Cygwin project.
Re: calm: mksetupini doesn't allow non-empty source but empty install files for an obsolete package
On 23/05/2017 19:16, Ken Brown wrote:
On 5/23/2017 12:55 PM, Jon Turney wrote:
On 23/05/2017 14:44, Ken Brown wrote:
I've created an obsolete package (as discussed starting at
mksetupini doesn't like it:
mksetupini: package 'texlive-collection-htmlxml' version '20170520-1'
source has no non-empty install tarfiles
mksetupini: package set has errors, not writing setup.ini
I thought the following would fix it:
@@ -636,6 +636,9 @@ def validate_packages(args, packages):
This should be being caught by this case (source is empty), but it
isn't, I guess because it's got a .keep file due to other problems
The source contains a .cygport file and a fake upstream source tarball.
Of course it does. Doh!
+ if '_obsolete' in packages[p].vermap[v].get('category',
I think this maybe needs to be
packages[p].version_hints[v].get('category', '') ?
Yes, that fixes it, thanks. Patch attached.