Re: [EXTERNAL] Updated cygwin this morning, mintty window flashes briefly and quits

2022-01-20 Thread Brian Inglis

On 2022-01-20 13:24, Lavrentiev, Anton wrote:

There should be only one of them running, unless you have multiple Cygwin 
installations,
then there can be per-installation instances.  Restart of all Cygwin processes 
was always
required (because the main DLL may not be properly replaced while it's in use by
any process) -- but a reboot usually took care of that quite well...

Honestly, this was new for me, too.  Formerly, install with a following reboot 
was all I needed
to do (since I'm not a power user on my work PC, that was the only way for me to 
"restart"
the service, anyways).  But now the reboot alone does not seem to help anymore: 
looks like
Win10 loads up services in a different (fast) fashion, like a wake-up from 
hibernate.
So an explicit restart of cygserver is now required (and now I have to ask 
sysadmin
to do that for me at work -- sigh).


I have modified my Cygwin services definitions to do Delayed Autostart 
and Preshutdown, with appropriate Windows service and 
inter-dependencies, shut them down and restart them in local scheduled 
tasks run under SYSTEM account on appropriate events and on demand, and 
restart them in a late local permanent postinstall script 
/etc/postinstall/zp_z0_l_start_services.dash after setup.


Some combination of these techniques may allow your sysadmin to set 
things up for you to control these services without their intervention.


--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]

--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: [EXTERNAL] Updated cygwin this morning, mintty window flashes briefly and quits

2022-01-20 Thread Keith Christian
Anton,

Interesting problems these days.

Thank you again!

-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


RE: [EXTERNAL] Updated cygwin this morning, mintty window flashes briefly and quits

2022-01-20 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
Keith,

There should be only one of them running, unless you have multiple Cygwin 
installations,
then there can be per-installation instances.  Restart of all Cygwin processes 
was always
required (because the main DLL may not be properly replaced while it's in use by
any process) -- but a reboot usually took care of that quite well...

Honestly, this was new for me, too.  Formerly, install with a following reboot 
was all I needed
to do (since I'm not a power user on my work PC, that was the only way for me 
to "restart"
the service, anyways).  But now the reboot alone does not seem to help anymore: 
looks like
Win10 loads up services in a different (fast) fashion, like a wake-up from 
hibernate.
So an explicit restart of cygserver is now required (and now I have to ask 
sysadmin
to do that for me at work -- sigh).

And the problem, as I understand it, is that cygserver caches the user IDs 
these days.
When mintty starts up, it looks up your account, and [with new DLL in place but 
no restart]
it can't!  The message that shows up momentarily in that disappearing window 
says exactly so,
"This account is currently not available", only if we can read this fast.

No problems at home, though :-)

HTH,

Anton Lavrentiev
Contractor NIH/NLM/NCBI


-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: CMake support into libssh-0.8.7-1 is broken.

2022-01-20 Thread Marco Atzeri

On 15.01.2022 14:19, Marco Atzeri wrote:

On 14.01.2022 23:30, Carlo B. wrote:

Hello,
I discovered that CMake support into current libssh-0.8.7-1 is broken.
After you installed the development package, you just need to add this
line into a dummy CMakeLists.txt:


find_package(libssh)






So, I downloaded the latest sources from the repository: GCC still
emits an internal compiler error, but only when building the examples.
So I configured with -DWITH_EXAMPLES=OFF and I got the base library
compiled.
Here, I verified that the macros for CMake are generated correctly
with the right names and paths.

Is it possible to fix or update this package?
Thank you very much for your time.

Sincerely.



noted

Regards
Marco



what´s happening if  you try to use libssh2 ?

Currently libssh is without maintainer and it is anyway obsolete
so probably you should build with libssh2

Regards
Marco







--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: [EXTERNAL] Updated cygwin this morning, mintty window flashes briefly and quits

2022-01-20 Thread Keith Christian
Anton,

There were two cygserver instances listed, one had a PID and the other
one had N/A for the PID.
I terminated both of them and now I can launch Cygwin64 term.

Are there any configs I should check for cygserver to make sure there
aren't two of them running?
I've never seen this problem before.

Thanks for the assist!

-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: libintl-devel not a dependency of python3-devel

2022-01-20 Thread Marco Atzeri

On 20.01.2022 08:50, Till Riedel wrote:

Hi,

Just an observation/bug report:

python3-config --ldflags outputs for 3.8.12:

-L/usr/lib -lpython3.8 -lcrypt -lintl -ldl

which make ld fail with

" cannot find -lintl" (actually I do not even know it its needed)

Fixing this (eg. for automated builds etc) requires libintl-devel  as a 
dependency


Best

Till

PS: this is rather an annoyance, as installing libintl-devel once will 
fix the issue for anyone forever. However, since python package builds 
are involved it might hit a few "novice" users





Thanks Till,

Noted for the next rebuild

--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


[ANNOUNCEMENT] Updated: lighttpd-1.4.64

2022-01-20 Thread Glenn Strauss
Version 1.4.64-1 of "lighttpd" has been uploaded.

lighttpd is a secure, fast, modular web server with low resource usage

lighttpd 1.4.64: remove deprecated modules, CVE-2022-22707 (rare configs)

Source: https://git.lighttpd.net/lighttpd/lighttpd1.4.git/
News: https://www.lighttpd.net/
License: BSD 3-clause
  https://git.lighttpd.net/lighttpd/lighttpd1.4/src/branch/master/COPYING

Cygwin Package Summary:
  https://www.cygwin.com/packages/summary/lighttpd-src.html
Cygport Source:
  https://cygwin.com/git/?p=git/cygwin-packages/lighttpd.git

-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


RE: [EXTERNAL] Updated cygwin this morning, mintty window flashes briefly and quits

2022-01-20 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> Click the Cygwin64 Terminal icon on the desktop, opens briefly then closes.
> Suggested troubleshooting steps?

Try to completely stop and then re-start Cygserver (found in "windows 
services").

HTH,

Anton Lavrentiev
Contractor NIH/NLM/NCBI


-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Updated cygwin this morning, mintty window flashes briefly and quits

2022-01-20 Thread Keith Christian
Downloaded the latest setup-x64.exe from the Cygwin website, ran a
normal Cygwin update this morning on my Windows 10 system, rebooted
after updates.
Click the Cygwin64 Terminal icon on the desktop, opens briefly then closes.
Suggested troubleshooting steps?

Thanks, everyone.

-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


CMake support into expat-2.4.1 is broken.

2022-01-20 Thread Carlo B.
Hello,
I tried to build the latest stable of OpenColorIO but I got an error
because the support for CMake into expat is broken.
I'm getting this message:


CMake Error at /usr/lib/cmake/expat-2.4.1/expat.cmake:74 (message):
  The imported target "expat::expat" references the file

 "/usr/lib/libexpat.so.1.8.1"

  but this file does not exist.


which is true, as you can see by inspecting the file
/usr/lib/cmake/expat-2.4.1/expat-noconfig.cmake.
As you can see by looking here:

https://github.com/libexpat/libexpat/tree/master/expat/cmake/autotools

this is a bug of Expath because "expat-noconfig__linux.cmake.in" is
installed rather than expat-noconfig__windows.cmake.in.
Here:

https://github.com/libexpat/libexpat/pull/546

I made a PR to the master of Expat for fixing this issue.
I was wondering if a newer packaged could be published with a newer
stable version of Expat (when it will be released with this fix) or by
updating the cygport file by including the same patch.

Thank you very much.
Sincerely.

-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


mpg123 delayed reaction to keyboard

2022-01-20 Thread Миронов Леонид Владимирович
Hi,

mpg123 reacts to keyboard commands after a ~3 second delay while playing but 
not when paused i.e. when spacebar is pressed while music is playing it stops 
after 3 seconds but when spacebar is pressed again it resumes playing 
instantaneously. No such issue on linux with the same 1.25.10. Changing buffer 
size (-b) has no effect.


-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple