Re: pipe hang issue when running as SYSTEM

2022-03-22 Thread Takashi Yano
On Mon, 21 Mar 2022 11:45:57 -0700 (PDT) Jeremy Drake wrote: > This issue was reported to MSYS2 as a hang when trying to build libxml2 in > a Windows docker container. Another user was able to come up with a > simple reproducer and a reasonable theory as to why it happens. The msys2 > issue is ht

Re: pipe hang issue when running as SYSTEM

2022-03-22 Thread Takashi Yano
On Tue, 22 Mar 2022 19:18:07 +0900 Takashi Yano wrote: > On Mon, 21 Mar 2022 11:45:57 -0700 (PDT) > Jeremy Drake wrote: > > This issue was reported to MSYS2 as a hang when trying to build libxml2 in > > a Windows docker container. Another user was able to come up with a > > simple reproducer and a

cygwin-64 + multiarch package (32bit gcc)

2022-03-22 Thread Pach Roman (PS-EC/ESG4) via Cygwin
Hello, are there any plans to get the multiarch package ported to Cygwin? What would be interesting for me, is to have an 32-bit gcc running in 64-bit Cygwin. Best regards Roman Pach -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Docume

Re: Unable to install source packages when running setup from command line

2022-03-22 Thread Jon Turney
On 20/03/2022 18:20, Adam Dinwoodie wrote: Hi, I *suspect* this is a bug, but it might just be this isn't supposed to work: there doesn't seem to be a way to download a source package for an already-installed Cygwin package when using setup from the command line. If I run, for example: /b

Re: cygwin-64 + multiarch package (32bit gcc)

2022-03-22 Thread Adam Dinwoodie
On Tue, Mar 22, 2022 at 01:25:19PM +, Pach Roman (PS-EC/ESG4) via Cygwin wrote: > Hello, > > are there any plans to get the multiarch package ported to Cygwin? > What would be interesting for me, is to have an 32-bit gcc running in 64-bit > Cygwin. I'm not familiar with the specifics -- thi

Re: Unable to install source packages when running setup from command line

2022-03-22 Thread Adam Dinwoodie
On Tue, Mar 22, 2022 at 01:54:48PM +, Jon Turney wrote: > On 20/03/2022 18:20, Adam Dinwoodie wrote: > > Hi, > > > > I *suspect* this is a bug, but it might just be this isn't supposed to > > work: there doesn't seem to be a way to download a source package for an > > already-installed Cygwin

Re: cygwin-64 + multiarch package (32bit gcc)

2022-03-22 Thread Brian Inglis
On 2022-03-22 07:25, Pach Roman (PS-EC/ESG4) via Cygwin wrote: are there any plans to get the multiarch package ported to Cygwin? What would be interesting for me, is to have an 32-bit gcc running in 64-bit Cygwin. Have a look at packages prefixed cygwin32 under 64 bit and cygwin64 under 32 b

Re: GNU make losing jobserver tokens in pipes

2022-03-22 Thread Brian Inglis
On 2022-03-22 00:54, Noel Grandin wrote: On 2022/03/21 5:09 pm, Ken Brown wrote: On 3/21/2022 10:28 AM, Magnus Ihse Bursie wrote: We have had a long-standing issue with make losing jobserver tokens. ("long-standing" here means for years, and years, at least since GNU make 4.0, up to and includ

Re: cygwin-64 + multiarch package (32bit gcc)

2022-03-22 Thread Achim Gratz
Pach Roman (PS-EC/ESG4) via Cygwin writes: > are there any plans to get the multiarch package ported to Cygwin? > What would be interesting for me, is to have an 32-bit gcc running in 64-bit > Cygwin. There are cross-compilation toolchains between the 64bit and 32bit Cygwin architectures (cygwin3

checking cyg version (was Re: GNU make losing jobserver tokens)

2022-03-22 Thread L A Walsh
On 2022/03/21 08:09, Ken Brown wrote: For starters, is your Cygwin installation up to date? Cygwin's internal implementation of pipes was overhauled starting with cygwin-3.3.0. How does one check the version of cygwin? I've updated cygwin files this year, but if I use cygcheck -V, I

Re: checking cyg version (was Re: GNU make losing jobserver tokens)

2022-03-22 Thread Adam Dinwoodie
On Tue, Mar 22, 2022 at 12:38:34PM -0700, L A Walsh wrote: > On 2022/03/21 08:09, Ken Brown wrote: > > > > For starters, is your Cygwin installation up to date? Cygwin's internal > > implementation of pipes was overhauled starting with cygwin-3.3.0. > How does one check the version of cygwin? I'

Running a command in a specific directory

2022-03-22 Thread Piotr Gliźniewicz
Hi, I'm trying to run a command at a specific "Windows" path. Basically something similar to what chere does for bash, but I want to execute ls in bash for a specific directory. I've tried variations of what chere leaves in the registry: C:\cygwin64\bin\bash.exe -c "/bin/xhere /bin/bash.exe

Re: Running a command in a specific directory

2022-03-22 Thread Eliot Moss
On 3/22/2022 6:35 PM, Piotr Gliźniewicz wrote: Hi, I'm trying to run a command at a specific "Windows" path. Basically something similar to what chere does for bash, but I want to execute ls in bash for a specific directory. I've tried variations of what chere leaves in the registry: C:\cygw

Re: checking cyg version (was Re: GNU make losing jobserver tokens)

2022-03-22 Thread Mark Geisert
L A Walsh wrote: On 2022/03/21 08:09, Ken Brown wrote: For starters, is your Cygwin installation up to date?  Cygwin's internal implementation of pipes was overhauled starting with cygwin-3.3.0. How does one check the version of cygwin?  I've updated cygwin files this year, but if I use cygch

Re: GNU make losing jobserver tokens

2022-03-22 Thread Roumen Petrov
Hi, Magnus Ihse Bursie wrote: Hi, I'm working for Oracle on the OpenJDK build team. We're using GNU make to build the JDK on all supported platforms. For Windows, we use Cygwin as our build environment, including the Cygwin version of GNU make. We have had a long-standing issue with make los