This is the mail archive of the cygwin-apps mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
If a package has no curr version, mksetupini will emit a warning and later fail, as in the following example[*]: mksetupini.py: package 'perl' doesn't have a curr version Traceback (most recent call last): File "/usr/lib/python3.4/runpy.py", line 170, in _run_module_as_main "__main__", mod_spec) File "/usr/lib/python3.4/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/kbrown/src/calm/calm/mksetupini.py", line 126, in <module> sys.exit(main()) File "/home/kbrown/src/calm/calm/mksetupini.py", line 118, in main do_main(args) File "/home/kbrown/src/calm/calm/mksetupini.py", line 61, in do_main if not package.validate_packages(args, packages): File "/home/kbrown/src/calm/calm/package.py", line 498, in validate_packages versions[packages[install_p].stability['curr']].append(install_p) KeyError: 'curr' The first of the two attached patches prevents the failure. The second provides a user option to suppress the warning. Ken [*] Here I had built perl-5.24.0 for my own use and put it in my local repository as a test version.
Attachment:
0001-Don-t-fail-if-a-package-has-no-curr-version.patch
Description: Text document
Attachment:
0002-Add-option-okmissing-curr-to-mksetupini.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |