Setting up overlay package server

2017-03-25 Thread Ivan Gagis
Hi, I'm developing some software which consists of several libraries and I would like to distribute it for Cygwin. So, I would need a feature of setting up a custom cygwin repository for my packages. As I understand the most suitable here would be an overlay package server. Right? Unfortunat

mksetupini could not find pkg_resources

2017-03-27 Thread Ivan Gagis
Hi, I'm having the following problem with mksetupini script. On the fresh cygwin installation (both 32 and 64 bits) the script fails with the following error message: Traceback (most recent call last): File "/usr/bin/mksetupini", line 5, in from pkg_resources import load_entry_point ImportError:

Re: mksetupini could not find pkg_resources

2017-03-27 Thread Ivan Gagis
(most recent call last): File "/usr/bin/mksetupini", line 6, in from pkg_resources import load_entry_point ImportError: No module named 'pkg_resources' Does anybody have other ideas of what could be wrong? What can I try to analyze the problem? Br, Ivan On 03/27/2017 09:56 PM, Jo

Re: mksetupini could not find pkg_resources

2017-03-28 Thread Ivan Gagis
On 03/28/2017 04:10 PM, Jon Turney wrote: On 27/03/2017 21:03, Ivan Gagis wrote: thanks for updating the 'calm', not it seems like it goes to python3.6 directory: not -> now? Yes, sorry for the typo. C:\cygwin64\bin\bash -e -l -c "ls /usr/lib/python3.4/site-packages/&qu

Re: mksetupini could not find pkg_resources

2017-03-28 Thread Ivan Gagis
Thank you for help! It works now with -g option to setup invocation! On 03/28/2017 05:14 PM, Jon Turney wrote: On 28/03/2017 14:57, Ivan Gagis wrote: On 03/28/2017 04:10 PM, Jon Turney wrote: On 27/03/2017 21:03, Ivan Gagis wrote: Does 'python3 -v /usr/bin/mksetupini' tell you any

Overlay repo on github

2017-03-28 Thread Ivan Gagis
Hi, I'm trying to setup a cygwin overlay repo right on github, here: https://github.com/igagis/cygwin-repo But when I pass the repo URL to setup utility as follows: http://github.com/igagis/cygwin-repo/raw/master/ it does not work. Setup utility tries to download setup.xz and just stalls wi

Re: Overlay repo on github

2017-03-28 Thread Ivan Gagis
Ah, I see, even though I use http it still redirects to https... Is it hard to add support for https? Any plans to do that? Br, Ivan On 03/28/2017 08:57 PM, David Stacey wrote: On 28/03/17 18:21, Ivan Gagis wrote: I'm trying to setup a cygwin overlay repo right on github, here:

Re: Overlay repo on github

2017-03-29 Thread Ivan Gagis
2017-03-29 14:57 GMT+03:00 Jon Turney : > On 28/03/2017 19:03, Ivan Gagis wrote: >> >> Ah, I see, even though I use http it still redirects to https... >> >> Is it hard to add support for https? Any plans to do that? > > > No plans, but we take patches :) I wan

Re: g++ std::map initializing raises segmentation fault.

2017-07-07 Thread Ivan Gagis
Hi, I'm having the same problem after updating to latest cygwin packages. It seems quite important problem, are there any plans to fix it? Trying to debug the test program from Masamichi Hosoda it can be seen that crash occurs in std::map implementation, see stacktrace below. I wonder if there wa

Re: g++ std::map initializing raises segmentation fault.

2017-07-07 Thread Ivan Gagis
I installed g++ 6.3.0-2 and still can reproduce the segfault :(. Br, Ivan 2017-07-07 17:09 GMT+03:00 Masamichi Hosoda : >> On 07/07/2017 14:51, Marco Atzeri wrote: >>> On 06/07/2017 14:26, Masamichi Hosoda wrote: Hello, On Cygwin 2.8.1 x86_64, I've found that g++ std:map initializi

mksetupini does not return error code

2017-11-29 Thread Ivan Gagis
Hi, I found that in case packages validation fails the mksetup script just returns success, though it prints a line in the console saying "mksetupini: package set has errors, not writing setup.ini". I think it should return some error code so that it would not be considered as success by CI scrip

mksetupini fails validating packages because curr is test

2017-11-29 Thread Ivan Gagis
Hi, I have an overlay cygwin repo where I publish my packages. Recently I started getting errors from mksetupini script: " mksetupini: package 'mypackage' version '0.4.38-1' is most recent non-test version, but version '0.4.43-1' is curr: mksetupini: package set has errors, not writing setup.ini

Re: mksetupini fails validating packages because curr is test

2017-11-30 Thread Ivan Gagis
t all? Isn't version number enough for tracking earlier-later files? Br, Ivan 2017-11-30 0:13 GMT+02:00 Jon Turney : > On 29/11/2017 21:34, Ivan Gagis wrote: >> >> What is that timestamp? Is it when the package was uploaded? > > > Sorry, by timestamp, I just mean the mt

Re: mksetupini fails validating packages because curr is test

2017-11-30 Thread Ivan Gagis
unnecessary in my case and good that it can be turned off now. Br, Ivan 2017-11-30 14:41 GMT+02:00 Jon Turney : > On 30/11/2017 09:28, Ivan Gagis wrote: >> >> I use git repository on github to store the files. And to update it I >> clone the repo, run mksetupini and then commit and

Re: mksetupini fails validating packages because curr is test

2017-12-04 Thread Ivan Gagis
Ok, thanks! But what would be the schedule of releasing it to cygwin repo? I don't want to mess up my CI scripts which install the whole build env from scratch on every build, so I need it in cygwin repo. Br, Ivan 2017-12-01 13:00 GMT+02:00 Jon Turney : > On 30/11/2017 22:16, Ivan Gag

Re: mksetupini fails validating packages because curr is test

2017-12-04 Thread Ivan Gagis
Exactly! Thanks, it works perfectly now! Br, Ivan 2017-12-04 16:00 GMT+02:00 Jon Turney : > On 04/12/2017 12:02, Ivan Gagis wrote: >> >> Ok, thanks! But what would be the schedule of releasing it to cygwin repo? >> >> I don't want to mess up my CI scripts whic

mksetupini: depends nonexisting package

2018-02-01 Thread Ivan Gagis
Hi, recently I started getting the following errors: ... mksetupini: package 'mypackage' version '0.1.1-1' depends nonexistent package 'cygwin' ... when trying to build the mypackage using calm. It looks like there were some changes to calm lately, so perhaps something has changed re

Re: mksetupini: depends nonexisting package

2018-02-01 Thread Ivan Gagis
Thanks, it worked! 2018-02-01 20:46 GMT+02:00 Jon Turney : > On 01/02/2018 18:05, Ivan Gagis wrote: >> >> Hi, >> >> recently I started getting the following errors: >> >> ... >> mksetupini: package 'mypackage' v