From completely.and.totally.trash@gmail.com Sun Nov 1 00:23:58 2026 From: completely.and.totally.trash@gmail.com (Backwoods BC) Date: Sat, 31 Oct 2026 17:23:58 -0700 Subject: Cygwin Western Canadian Time Zone Users In-Reply-To: <101e2c43-4fc1-4ec1-948c-a530d005c22f@SystematicSW.ab.ca> References: <101e2c43-4fc1-4ec1-948c-a530d005c22f@SystematicSW.ab.ca> Message-ID: On Sat, Oct 31, 2026 at 9:55?AM Brian Inglis via Cygwin wrote: > > Hi folks, > > Just a reminder that today is your last, best chance for Cygwin Western Canadian > time zone users to ensure that MS Windows and Cygwin dates and times are correct > from tomorrow 02:00 PDT/MST/MDT/CST/CDT/EST, when the time no longer changes: As a quick and dirty fix when BC first changed, I just set my Windows time zone to Yukon as they are on permanent MST since long ago. As far as I can tell, this has propagated across everything as I haven't updated my Cygwin for years (I like stability). From daniyar29@gmail.com Sun Nov 1 05:31:00 2026 From: daniyar29@gmail.com (Daniyar Oshakbayev) Date: Sun, 1 Nov 2026 10:31:00 +0500 Subject: 3.6.11: ps -ef omits sh started by system() and popen() (Windows 10) In-Reply-To: <1341672297.20261029110214@yandex.ru> References: <1341672297.20261029110214@yandex.ru> Message-ID: > > > Hi, Andrey (???????????!) > > Thanks for the reply. I think I explained it badly, so here is the > simplest case I started from. > > This is the whole program: > > #include > int main(void) > { > system("echo shell pid=$$ ppid=$PPID; ps -ef; echo done"); > return 0; > } > > Here is what I get today. My program (./a) is 1233, the shell started > by system() is 1240, and "ps" is 1241: > > shell pid=1240 ppid=1233 > UID PID PPID TTY STIME COMMAND > user 1241 1240 pty0 10:17:41 ps -ef > user 1233 1229 pty0 10:17:40 ./a > (other rows left out) > done > > So the shell (1240) started "ps" (1241), which is why "ps" shows 1240 > as its parent. But when "ps" lists all processes, there is no line for > 1240. The parent of "ps" is missing from the list. The shell is clearly > still alive, because it prints "done" after "ps" finishes. > > In my tests the shell is listed by "ps -ef" when I start the same > /bin/sh with fork() and exec, or with posix_spawn(). It is not listed > when I start it with system() or popen(). I tried these four ways, and > the test program and its output are attached to my first message. > > So my question is simple: is it expected that "ps -ef" does not list > the shell started by system()? If yes, that is fine, I just want to > know whether this is how Cygwin is supposed to work. > > If you want the longer details, I can send them. > > Thanks From jon.turney@dronecode.org.uk Sun Nov 1 21:56:29 2026 From: jon.turney@dronecode.org.uk (Jon Turney) Date: Sun, 1 Nov 2026 21:56:29 +0000 Subject: info on python 3.12.15 release In-Reply-To: References: Message-ID: <2375a211-a53d-4fb4-9722-f89b69b3766e@dronecode.org.uk> On 07/10/2026 21:55, Marco Atzeri via Cygwin wrote: > Hi Guys, > > The problem that caused 3.12.14 to segfault during the building > seems gone from Cygwin. > > For 3.12.15 there should be around 25 patches, between cygwin specific, > fedora ones and some derived from MSYS. > > As building with all of them at once have caused a bit of mess in my > build tree, I am restarting with 19 that apply with no problem and than > I will do the others one by one to be sure that every one of the other 6 > patches is effective and do not create any problem. > > The MSYS patches are the most problematic as they cover more than what > we need and can create negative effect on other points so I need to do a > selective usage. > > Issues to cover: > > https://cygwin.com/pipermail/cygwin/2025-April/258047.html > https://cygwin.com/pipermail/cygwin/2025-April/257974.html > https://cygwin.com/pipermail/cygwin/2026-August/259991.html > https://cygwin.com/pipermail/cygwin/2026-October/260102.html > > If I missed any more, let me know. Hi Marco, Something that seems to have regressed in 3.12.12 vs. 3.9.25, is the handling of following: > $ cat test.c > > #include > #include > #include > > int main() > { > return 0; > } > > $ gcc test.c -D_POSIX_C_SOURCE=200809L -I/usr/include/python3.9 > > $ gcc test.c -D_POSIX_C_SOURCE=200809L -I/usr/include/python3.12 > In file included from /usr/include/python3.12/Python.h:12, > from test.c:7: > /usr/include/python3.12/pyconfig.h:1901:9: warning: "__BSD_VISIBLE" redefined > 1901 | #define __BSD_VISIBLE 1 > | ^~~~~~~~~~~~~ > In file included from /usr/include/sys/config.h:5, > from /usr/include/_ansi.h:11, > from /usr/include/sys/types.h:20, > from test.c:6: > /usr/include/sys/features.h:279:9: note: this is the location of the previous definition > 279 | #define __BSD_VISIBLE 0 > | ^~~~~~~~~~~~~ > In file included from /usr/include/python3.12/pyport.h:202, > from /usr/include/python3.12/Python.h:38: > /usr/include/sys/time.h:106:34: error: unknown type name ?u_int?; did you mean ?int?? > 106 | bintime_mul(struct bintime *_bt, u_int _x) > | ^~~~~ > | int > (this is further reduced from the trivial example in [1], which my searches turned up investigating this problem in more complex rebuilds) This seems to be due to a change in pyconfig.h. In /usr/include/python3.9/pyconfig.h: > /* Define on FreeBSD to activate all library features */ > /* #undef __BSD_VISIBLE */ ... but in /usr/include/python3.12/pyconfig.h: > /* Define on FreeBSD to activate all library features */ > #define __BSD_VISIBLE 1 I don't think this is right. In newlib, __BSD_VISIBLE is an internal detail representing the result of checking the feature test macros, and nothing good can come from redefining it after headers have already been included. (And the comment says this should be on for FreeBSD, so why for us?) [1] https://stackoverflow.com/questions/39786845/cygwin-g-compiling-with-python-h-duplicated-definition-of-bsd-visible From Brian.Inglis@SystematicSW.ab.ca Mon Nov 2 07:24:21 2026 From: Brian.Inglis@SystematicSW.ab.ca (Brian Inglis) Date: Mon, 2 Nov 2026 01:24:21 -0600 Subject: info on python 3.12.15 release In-Reply-To: <2375a211-a53d-4fb4-9722-f89b69b3766e@dronecode.org.uk> References: <2375a211-a53d-4fb4-9722-f89b69b3766e@dronecode.org.uk> Message-ID: On 2026-11-01 15:56, Jon Turney via Cygwin wrote: > On 07/10/2026 21:55, Marco Atzeri via Cygwin wrote: >> Hi Guys, >> >> The problem that caused 3.12.14 to segfault during the building >> seems gone from Cygwin. >> >> For 3.12.15 there should be around 25 patches, between cygwin specific, fedora >> ones and some derived from MSYS. >> >> As building with all of them at once have caused a bit of mess in my build >> tree, I am restarting with 19 that apply with no problem and than I will do >> the others one by one to be sure that every one of the other 6 patches is >> effective and do not create any problem. >> >> The MSYS patches are the most problematic as they cover more than what we need >> and can create negative effect on other points so I need to do a selective usage. >> >> Issues to cover: >> >> https://cygwin.com/pipermail/cygwin/2025-April/258047.html >> https://cygwin.com/pipermail/cygwin/2025-April/257974.html >> https://cygwin.com/pipermail/cygwin/2026-August/259991.html >> https://cygwin.com/pipermail/cygwin/2026-October/260102.html >> >> If I missed any more, let me know. > > Hi Marco, > > Something that seems to have regressed in 3.12.12 vs. 3.9.25, is the handling of > following: > >> $ cat test.c >> >> #include >> #include >> #include >> >> int main() >> { >> ??? return 0; >> } >> >> $ gcc test.c -D_POSIX_C_SOURCE=200809L -I/usr/include/python3.9 >> >> $ gcc test.c -D_POSIX_C_SOURCE=200809L -I/usr/include/python3.12 >> In file included from /usr/include/python3.12/Python.h:12, >> ???????????????? from test.c:7: >> /usr/include/python3.12/pyconfig.h:1901:9: warning: "__BSD_VISIBLE" redefined >> ?1901 | #define __BSD_VISIBLE 1 >> ????? |???????? ^~~~~~~~~~~~~ >> In file included from /usr/include/sys/config.h:5, >> ???????????????? from /usr/include/_ansi.h:11, >> ???????????????? from /usr/include/sys/types.h:20, >> ???????????????? from test.c:6: >> /usr/include/sys/features.h:279:9: note: this is the location of the previous >> definition >> ? 279 | #define __BSD_VISIBLE?????????? 0 >> ????? |???????? ^~~~~~~~~~~~~ >> In file included from /usr/include/python3.12/pyport.h:202, >> ???????????????? from /usr/include/python3.12/Python.h:38: >> /usr/include/sys/time.h:106:34: error: unknown type name ?u_int?; did you mean >> ?int?? >> ? 106 | bintime_mul(struct bintime *_bt, u_int _x) >> ????? |????????????????????????????????? ^~~~~ >> ????? |????????????????????????????????? int >> > > (this is further reduced from the trivial example in [1], which my searches > turned up investigating this problem in more complex rebuilds) > > This seems to be due to a change in pyconfig.h. In /usr/include/python3.9/ > pyconfig.h: > >> /* Define on FreeBSD to activate all library features */ >> /* #undef __BSD_VISIBLE */ > > ... but in /usr/include/python3.12/pyconfig.h: > >> /* Define on FreeBSD to activate all library features */ >> #define __BSD_VISIBLE 1 > > I don't think this is right.? In newlib, __BSD_VISIBLE is an internal detail > representing the result of checking the feature test macros, and nothing good > can come from redefining it after headers have already been included. Clue stick required to keep hands off -- double underscore is reserved for implementation use -- python is only a lowly user app! > (And the comment says this should be on for FreeBSD, so why for us?) We do define and use some stuff for BSD and SunOS/Solaris sources that could be detected as such, as folks who write their *OWN* custom feature detection code are so smart, aware of the features of all systems, have access to every system, and test all of their code on all of them. ;^p > [1] https://stackoverflow.com/questions/39786845/cygwin-g-compiling-with-python- > h-duplicated-definition-of-bsd-visible The man-pages-linux feature_test_macros(7) man page says _BSD_SOURCE is the input user-definable feature request before any other includes, but that could produce warnings with glibc, unless _DEFAULT_SOURCE is also defined; _GNU_SOURCE defines both under glibc. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien ? ajouter not when there is no more to add mais lorsqu'il n'y a plus rien ? retrancher but when there is no more to cut -- Antoine de Saint-Exup?ry From marco.atzeri@gmail.com Mon Nov 2 09:00:25 2026 From: marco.atzeri@gmail.com (Marco Atzeri) Date: Mon, 2 Nov 2026 10:00:25 +0100 Subject: info on python 3.12.15 release In-Reply-To: <2375a211-a53d-4fb4-9722-f89b69b3766e@dronecode.org.uk> References: <2375a211-a53d-4fb4-9722-f89b69b3766e@dronecode.org.uk> Message-ID: <277aa6d9-0224-4527-b132-e8ff90cfc862@gmail.com> On 01/11/2026 22:56, Jon Turney via Cygwin wrote: > On 07/10/2026 21:55, Marco Atzeri via Cygwin wrote: >> Hi Guys, >> >> If I missed any more, let me know. > > Hi Marco, > > Something that seems to have regressed in 3.12.12 vs. 3.9.25, is the > handling of following: > >> $ cat test.c >> >> #include >> #include >> #include >> >> int main() >> { >> ??? return 0; >> } >> >> $ gcc test.c -D_POSIX_C_SOURCE=200809L -I/usr/include/python3.9 >> >> $ gcc test.c -D_POSIX_C_SOURCE=200809L -I/usr/include/python3.12 >> In file included from /usr/include/python3.12/Python.h:12, >> ???????????????? from test.c:7: >> /usr/include/python3.12/pyconfig.h:1901:9: warning: "__BSD_VISIBLE" >> redefined >> ?1901 | #define __BSD_VISIBLE 1 >> ????? |???????? ^~~~~~~~~~~~~ >> In file included from /usr/include/sys/config.h:5, >> ???????????????? from /usr/include/_ansi.h:11, >> ???????????????? from /usr/include/sys/types.h:20, >> ???????????????? from test.c:6: >> /usr/include/sys/features.h:279:9: note: this is the location of the >> previous definition >> ? 279 | #define __BSD_VISIBLE?????????? 0 >> ????? |???????? ^~~~~~~~~~~~~ >> In file included from /usr/include/python3.12/pyport.h:202, >> ???????????????? from /usr/include/python3.12/Python.h:38: >> /usr/include/sys/time.h:106:34: error: unknown type name ?u_int?; did >> you mean ?int?? >> ? 106 | bintime_mul(struct bintime *_bt, u_int _x) >> ????? |????????????????????????????????? ^~~~~ >> ????? |????????????????????????????????? int >> > > (this is further reduced from the trivial example in [1], which my > searches turned up investigating this problem in more complex rebuilds) > > This seems to be due to a change in pyconfig.h. In /usr/include/ > python3.9/pyconfig.h: > >> /* Define on FreeBSD to activate all library features */ >> /* #undef __BSD_VISIBLE */ > > ... but in /usr/include/python3.12/pyconfig.h: > >> /* Define on FreeBSD to activate all library features */ >> #define __BSD_VISIBLE 1 > > I don't think this is right.? In newlib, __BSD_VISIBLE is an internal > detail representing the result of checking the feature test macros, and > nothing good can come from redefining it after headers have already been > included. > > (And the comment says this should be on for FreeBSD, so why for us?) > > [1] https://stackoverflow.com/questions/39786845/cygwin-g-compiling- > with-python-h-duplicated-definition-of-bsd-visible > > It seems a upstream feature; on 3.12.12 and 3.12.15 sources I found ---------- configure.ac --------------------- # The later definition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables # certain features on FreeBSD, so we need __BSD_VISIBLE to re-enable # them. AC_DEFINE([__BSD_VISIBLE], [1], [Define on FreeBSD to activate all library features]) ---------------------------------------------- It seems that there is a misalignment between newlib and FreeBSD "How it is set: By default, FreeBSD enables __BSD_VISIBLE (set to 1) unless you explicitly define strict standard feature test macros like _POSIX_C_SOURCE or _XOPEN_SOURCE, which automatically lower or disable __BSD_VISIBLE (0) to enforce standards conformance." From Stromeko@nexgo.de Mon Nov 2 17:41:08 2026 From: Stromeko@nexgo.de (ASSI) Date: Mon, 02 Nov 2026 18:41:08 +0100 Subject: info on python 3.12.15 release In-Reply-To: <277aa6d9-0224-4527-b132-e8ff90cfc862@gmail.com> References: <2375a211-a53d-4fb4-9722-f89b69b3766e@dronecode.org.uk> <277aa6d9-0224-4527-b132-e8ff90cfc862@gmail.com> Message-ID: <875wyfm8qz.fsf@Gerda.invalid> Marco Atzeri via Cygwin writes: > It seems a upstream feature; on 3.12.12 and 3.12.15 sources I found > > ---------- configure.ac --------------------- > # The later definition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables > # certain features on FreeBSD, so we need __BSD_VISIBLE to re-enable > # them. > AC_DEFINE([__BSD_VISIBLE], [1], > [Define on FreeBSD to activate all library features]) > ---------------------------------------------- > > It seems that there is a misalignment between newlib and FreeBSD > > "How it is set: By default, FreeBSD enables __BSD_VISIBLE (set to 1) > unless you explicitly define strict standard feature test macros like > _POSIX_C_SOURCE or _XOPEN_SOURCE, which automatically lower or disable > __BSD_VISIBLE (0) to enforce standards conformance." But this is clearly done on a non-FreeBSD system, so it's simply a bug to not check that you are on the targeted system before dropping the #define. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds From marco.atzeri@gmail.com Mon Nov 2 18:09:14 2026 From: marco.atzeri@gmail.com (Marco Atzeri) Date: Mon, 2 Nov 2026 19:09:14 +0100 Subject: info on python 3.12.15 release In-Reply-To: <875wyfm8qz.fsf@Gerda.invalid> References: <2375a211-a53d-4fb4-9722-f89b69b3766e@dronecode.org.uk> <277aa6d9-0224-4527-b132-e8ff90cfc862@gmail.com> <875wyfm8qz.fsf@Gerda.invalid> Message-ID: On 02/11/2026 18:41, ASSI via Cygwin wrote: > Marco Atzeri via Cygwin writes: >> It seems a upstream feature; on 3.12.12 and 3.12.15 sources I found >> >> ---------- configure.ac --------------------- >> # The later definition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables >> # certain features on FreeBSD, so we need __BSD_VISIBLE to re-enable >> # them. >> AC_DEFINE([__BSD_VISIBLE], [1], >> [Define on FreeBSD to activate all library features]) >> ---------------------------------------------- >> >> It seems that there is a misalignment between newlib and FreeBSD >> >> "How it is set: By default, FreeBSD enables __BSD_VISIBLE (set to 1) >> unless you explicitly define strict standard feature test macros like >> _POSIX_C_SOURCE or _XOPEN_SOURCE, which automatically lower or disable >> __BSD_VISIBLE (0) to enforce standards conformance." > > > But this is clearly done on a non-FreeBSD system, so it's simply a bug > to not check that you are on the targeted system before dropping the > #define. > > > Regards, > Achim. they are not dropping __BSD_VISIBLE. on Newlib we are using __BSD_VISIBLE defined and not defined on FreeBSD they are using defined as 1. No idea if other BSD are like Newlib I will need to patch and eventually propose a change upstream for 3.15.x From matthias.andree@gmx.de Mon Nov 2 21:55:54 2026 From: matthias.andree@gmx.de (Matthias Andree) Date: Mon, 2 Nov 2026 22:55:54 +0100 Subject: info on python 3.12.15 release In-Reply-To: References: <2375a211-a53d-4fb4-9722-f89b69b3766e@dronecode.org.uk> <277aa6d9-0224-4527-b132-e8ff90cfc862@gmail.com> <875wyfm8qz.fsf@Gerda.invalid> Message-ID: Am 02.11.26 um 19:09 schrieb Marco Atzeri via Cygwin: > On 02/11/2026 18:41, ASSI via Cygwin wrote: >> Marco Atzeri via Cygwin writes: >>> It seems a upstream feature; on 3.12.12 and 3.12.15 sources I found >>> >>> ---------- configure.ac --------------------- >>> # The later definition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables >>> # certain features on FreeBSD, so we need __BSD_VISIBLE to re-enable >>> # them. >>> AC_DEFINE([__BSD_VISIBLE], [1], >>> ?????????? [Define on FreeBSD to activate all library features]) >>> ---------------------------------------------- >>> >>> It seems that there is a misalignment between newlib and FreeBSD >>> >>> "How it is set: By default, FreeBSD enables __BSD_VISIBLE (set to 1) >>> unless you explicitly define strict standard feature test macros like >>> _POSIX_C_SOURCE or _XOPEN_SOURCE, which automatically lower or disable >>> __BSD_VISIBLE (0) to enforce standards conformance." >> >> >> But this is clearly done on a non-FreeBSD system, so it's simply a bug >> to not check that you are on the targeted system before dropping the >> #define. >> >> >> Regards, >> Achim. > > they are not dropping __BSD_VISIBLE. > > on Newlib we are using __BSD_VISIBLE defined and not defined > on FreeBSD they are using defined as 1. Well... the latter depends, and it's private (you guessed that already from the leading double-underscore). __BSD_VISIBLE is set if you do *NOT* request any standards-conforming or Single Unix Specification modes the relevant symbols are incompatible with, and on FreeBSD you have no control over __BSD_VISIBLE (details below), that's an internal thing inside the headers. I'd argue you only stand a chance of defining __BSD_VISIBLE if you #undef and #define __BSD_VISIBLE 1 it after all #include if you're on FreeBSD. > No idea if other BSD are like Newlib I've checked OpenBSD 8.0, the relevant header there is /usr/include/sys/cdefs.h, same as in FreeBSD, and it will look at the usual suspects, meaning _XOPEN_SOURCE, _POSIX_C_SOURCE and _POSIX_SOURCE and then derive relevant symbols and some special casing. FreeBSD, look for sys/_visible.h -> https://cgit.freebsd.org/src/tree/sys/sys/_visible.h?h=releng/15.1 (this is as of releng/15.1 meaning fully patched 15.1-RELEASE-p) OpenBSD, look for the quote "The nice thing about standards is that there are so many to choose from." in this header -> https://cvsweb.openbsd.org/checkout/src/sys/sys/cdefs.h?rev=HEAD (link to the HEAD, currently OpenBSD 8.0). IIUC the header supports a _BSD_SOURCE that would expose BSD-specific symbols; I don't see such a thing on FreeBSD 15.1. I don't have DragonflyBSD or NetBSD links handy. > > I will need to patch and eventually propose a change upstream for 3.15.x > From my experience that works best with a concrete patch or merge request. HTH From Brian.Inglis@SystematicSW.ab.ca Mon Nov 2 23:08:36 2026 From: Brian.Inglis@SystematicSW.ab.ca (Brian Inglis) Date: Mon, 2 Nov 2026 17:08:36 -0600 Subject: info on python 3.12.15 release In-Reply-To: References: <2375a211-a53d-4fb4-9722-f89b69b3766e@dronecode.org.uk> <277aa6d9-0224-4527-b132-e8ff90cfc862@gmail.com> <875wyfm8qz.fsf@Gerda.invalid> Message-ID: <7ca66eca-52f8-4d34-8a99-d20ccfe85be3@SystematicSW.ab.ca> On 2026-11-02 12:09, Marco Atzeri via Cygwin wrote: > On 02/11/2026 18:41, ASSI via Cygwin wrote: >> Marco Atzeri via Cygwin writes: >>> It seems a upstream feature; on 3.12.12 and 3.12.15 sources I found >>> >>> ---------- configure.ac --------------------- >>> # The later definition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables >>> # certain features on FreeBSD, so we need __BSD_VISIBLE to re-enable >>> # them. They are talking about _..._SOURCE, so they should be defining/setting _BSD_SOURCE, and the library feature test macro headers should be those using that, defining/setting __BSD_VISIBLE, and enabling/disabling features and interfaces based on those settings. They should never be setting any feature test variable like that to 0! They should just undef the variable, although there is always the possibility of some other header doing the same or opposite, given that it is meant to be under the library's control. It adds more friction to using alternative features, interfaces, and code paths, when you have to accept a variable defined or set to 1 as enabled, or a variable undefined or set to 0 as disabled. Perhaps Python needs to be more selective in how they enable features on different platforms, and not merely enable everything everywhere all at once?, as it is normally impossible to be standards compliant or conforming and also enable all kinds of other features and interfaces, which may conflict, and is the whole the point of those symbols, trying to define every feature and interface leading to features' and interfaces' visibility possibly depending on which symbol is tested first in the library, with different platforms producing different results! >>> AC_DEFINE([__BSD_VISIBLE], [1], >>> ?????????? [Define on FreeBSD to activate all library features]) I would expect that to be already assumed and done on FreeBSD by its libraries? >>> It seems that there is a misalignment between newlib and FreeBSD >>> "How it is set: By default, FreeBSD enables __BSD_VISIBLE (set to 1) >>> unless you explicitly define strict standard feature test macros like >>> _POSIX_C_SOURCE or _XOPEN_SOURCE, which automatically lower or disable >>> __BSD_VISIBLE (0) to enforce standards conformance." That is done by the FreeBSD library feature test macro headers to avoid conflicts and expose the desired features and interfaces so all good! >> But this is clearly done on a non-FreeBSD system, so it's simply a bug >> to not check that you are on the targeted system before dropping the >> #define. They should not be touching it as libraries set it to control what they expose. > they are not dropping __BSD_VISIBLE. > > on Newlib we are using __BSD_VISIBLE defined and not defined That should be okay to decide what interfaces to define or expose. > on FreeBSD they are using defined as 1. That is conventional, so it is defined and has a logical value. > No idea if other BSD are like Newlib I would say rather that Newlib has features of BSDs, adopting library code, implementing BSD and SunOS/Solaris features and interfaces, others standardized in AT&T SVID, and those found useful in Linux, especially those supporting (often Free)BSD userland and libc. > I will need to patch and eventually propose a change upstream for 3.15.x Cheers and good luck persuading them of that. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien ? ajouter not when there is no more to add mais lorsqu'il n'y a plus rien ? retrancher but when there is no more to cut -- Antoine de Saint-Exup?ry From booleanlabel@gmail.com Tue Nov 3 01:39:40 2026 From: booleanlabel@gmail.com (Daisuke Fujimura) Date: Tue, 3 Nov 2026 10:39:40 +0900 Subject: libxml2 2.15.4-1: soname change without a new runtime package breaks dependents such as wget Message-ID: Hi, libxml2 2.15.4-1, uploaded on 2026-11-02 22:44, replaces 2.13.9-2 and changes the DLL name from cygxml2-2.dll to cygxml2-16.dll. The runtime package is still named libxml2, so the old DLL is removed on upgrade. Packages built against the old DLL still have their dependency on libxml2 satisfied, but can no longer load it. For example, wget no longer starts: $ wget --help C:/cygwin64/bin/wget.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory $ cygcheck /usr/bin/wget.exe |& grep cygxml2-2.dll cygcheck: track_down: could not find cygxml2-2.dll It depends on the old DLL indirectly: wget.exe (wget 1.25.0-1) -> cygmetalink-3.dll (libmetalink3 0.1.3-1) -> cygxml2-2.dll (no longer provided by libxml2 2.15.4-1) libmetalink3 declares "depends2: cygwin, libxml2", so setup has no reason to keep or install the old DLL. I have not checked other packages that depend on libxml2. Would it be possible to ship the DLL in a runtime package named after its ABI, such as libxml2_16, so that the old DLL can stay installed until its dependents are rebuilt? Alternatively, rebuilding libmetalink and the other dependents against the new DLL would also resolve this. Thanks, Daisuke Fujimura From marco.atzeri@gmail.com Tue Nov 3 07:28:22 2026 From: marco.atzeri@gmail.com (marco atzeri) Date: Tue, 3 Nov 2026 08:28:22 +0100 Subject: libxml2 2.15.4-1: soname change without a new runtime package breaks dependents such as wget In-Reply-To: References: Message-ID: Oh fuck. I was focused on the python side and missed this On Tue, 3 Nov 2026, 02:40 Daisuke Fujimura via Cygwin, wrote: > Hi, > > libxml2 2.15.4-1, uploaded on 2026-11-02 22:44, replaces 2.13.9-2 and > changes > the DLL name from cygxml2-2.dll to cygxml2-16.dll. The runtime package is > still > named libxml2, so the old DLL is removed on upgrade. Packages built > against the > old DLL still have their dependency on libxml2 satisfied, but can no longer > load it. > > For example, wget no longer starts: > > $ wget --help > C:/cygwin64/bin/wget.exe: error while loading shared libraries: ?: > cannot open shared object file: No such file or directory > > $ cygcheck /usr/bin/wget.exe |& grep cygxml2-2.dll > cygcheck: track_down: could not find cygxml2-2.dll > > It depends on the old DLL indirectly: > > wget.exe (wget 1.25.0-1) > -> cygmetalink-3.dll (libmetalink3 0.1.3-1) > -> cygxml2-2.dll (no longer provided by libxml2 2.15.4-1) > > libmetalink3 declares "depends2: cygwin, libxml2", so setup has no reason > to > keep or install the old DLL. I have not checked other packages that depend > on > libxml2. > > Would it be possible to ship the DLL in a runtime package named after its > ABI, > such as libxml2_16, so that the old DLL can stay installed until its > dependents > are rebuilt? Alternatively, rebuilding libmetalink and the other dependents > against the new DLL would also resolve this. > > Thanks, > Daisuke Fujimura > > -- > 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 > From marco.atzeri@gmail.com Tue Nov 3 08:09:00 2026 From: marco.atzeri@gmail.com (Marco Atzeri) Date: Tue, 3 Nov 2026 09:09:00 +0100 Subject: info on python 3.12.15 release In-Reply-To: <7ca66eca-52f8-4d34-8a99-d20ccfe85be3@SystematicSW.ab.ca> References: <2375a211-a53d-4fb4-9722-f89b69b3766e@dronecode.org.uk> <277aa6d9-0224-4527-b132-e8ff90cfc862@gmail.com> <875wyfm8qz.fsf@Gerda.invalid> <7ca66eca-52f8-4d34-8a99-d20ccfe85be3@SystematicSW.ab.ca> Message-ID: <4158b795-10e9-4f06-be60-3c5c8d9a3393@gmail.com> On 03/11/2026 00:08, Brian Inglis via Cygwin wrote: > On 2026-11-02 12:09, Marco Atzeri via Cygwin wrote: >> On 02/11/2026 18:41, ASSI via Cygwin wrote: >>> Marco Atzeri via Cygwin writes: >>>> It seems a upstream feature; on 3.12.12 and 3.12.15 sources I found >>>> >> I will need to patch and eventually propose a change upstream for 3.15.x > Cheers and good luck persuading them of that. last of my python problems ;-) Cheers Marco From carlo.bramini@gmail.com Tue Nov 3 09:11:47 2026 From: carlo.bramini@gmail.com (Carlo B.) Date: Tue, 3 Nov 2026 10:11:47 +0100 Subject: info on python 3.12.15 release In-Reply-To: <4158b795-10e9-4f06-be60-3c5c8d9a3393@gmail.com> References: <2375a211-a53d-4fb4-9722-f89b69b3766e@dronecode.org.uk> <277aa6d9-0224-4527-b132-e8ff90cfc862@gmail.com> <875wyfm8qz.fsf@Gerda.invalid> <7ca66eca-52f8-4d34-8a99-d20ccfe85be3@SystematicSW.ab.ca> <4158b795-10e9-4f06-be60-3c5c8d9a3393@gmail.com> Message-ID: Hello everyone, about this program: > #include > #include > #include > > int main() > { > return 0; > } In my opinion, it's the test program to be wrong and not Python. Here, the problem is that MUST be the first included header. If you look the official documentation: https://docs.python.org/3/c-api/intro.html "Note: Since Python may define some pre-processor definitions which affect the standard headers on some systems, you must include Python.h before any standard headers are included. It is recommended to always define PY_SSIZE_T_CLEAN before including Python.h. See Parsing arguments and building values for a description of this macro." If you move on top of your test.c, eveything will work. Instead, if you move that include elsewhere, it may or it may not work, but this is out of the design rules and you should not expect that it will build. I hope that you will find it useful. Sincerely, Carlo Bramini. Il giorno mar 3 nov 2026 alle ore 09:09 Marco Atzeri via Cygwin ha scritto: > > On 03/11/2026 00:08, Brian Inglis via Cygwin wrote: > > On 2026-11-02 12:09, Marco Atzeri via Cygwin wrote: > >> On 02/11/2026 18:41, ASSI via Cygwin wrote: > >>> Marco Atzeri via Cygwin writes: > >>>> It seems a upstream feature; on 3.12.12 and 3.12.15 sources I found > >>>> > > >> I will need to patch and eventually propose a change upstream for 3.15.x > > Cheers and good luck persuading them of that. > > last of my python problems ;-) > > Cheers > 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 From bruno@clisp.org Tue Nov 3 10:48:12 2026 From: bruno@clisp.org (Bruno Haible) Date: Tue, 03 Nov 2026 11:48:12 +0100 Subject: libxml2 2.15.4-1: breaks wget and xsltproc Message-ID: <11284752.zapYfy813O@cagnes> Hi, I'm using Cygwin for my continuous integration runs (currently Cygwin 3.6.12). Compared to last week, I see two regressions: * In my GNU libtool CI, a 'wget' command now fails with error 127. [1] * In my GNU bison CI, a 'xsltproc' command now fails with error 127: foo.y: error: xsltproc failed with status 127 The significant difference is that last week's run used libxml2 2.13.9-2 whereas this week's run uses libxml2 2.15.4-1 Bruno [1] https://productionresultssa16.blob.core.windows.net/actions-results/58d948b9-771b-8dde-9948-71a4ea9c8d49/workflow-job-run-f6a1d177-e372-5cdb-a141-92ee31a15d1f/logs/job/job-logs.txt?rsct=text%2Fplain&se=2026-11-03T10%3A53%3A44Z&sig=SkIszLK6rmIWfqUG95GVlZL05r4%2FFaCSMkFQX%2BJ1kBc%3D&ske=2026-11-03T12%3A31%3A14Z&skoid=ca7593d4-ee42-46cd-af88-8b886a2f84eb&sks=b&skt=2026-11-03T08%3A31%3A14Z&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skv=2025-11-05&sp=r&spr=https&sr=b&st=2026-11-03T10%3A43%3A39Z&sv=2025-11-05 From postmaster@raasu.org Fri Nov 6 05:39:57 2026 From: postmaster@raasu.org (Mika Lindqvist) Date: Fri, 6 Nov 2026 07:39:57 +0200 Subject: python312-lxml 6.1.3-2 fails when importing etree from lxml Message-ID: <703609d9-892a-4b90-8e78-46677abf7e4c@raasu.org> Last known working version: 6.1.3-1 With python312-lxml 6.1.3-2, I get: |Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/lib/python3.12/site-packages/gcovr/__main__.py", line 28, in from . import formats as gcovr_formats File "/usr/lib/python3.12/site-packages/gcovr/formats/__init__.py", line 22, in from ..data_model.container import CoverageContainer File "/usr/lib/python3.12/site-packages/gcovr/data_model/container.py", line 26, in from ..filter import is_file_excluded File "/usr/lib/python3.12/site-packages/gcovr/filter.py", line 26, in from .utils import force_unix_separator, is_fs_case_insensitive File "/usr/lib/python3.12/site-packages/gcovr/utils.py", line 32, in from lxml import etree # nosec # We only write XML files ^^^^^^^^^^^^^^^^^^^^^^ ImportError: No such file or directory| From takashi.yano@nifty.ne.jp Fri Nov 6 11:30:10 2026 From: takashi.yano@nifty.ne.jp (Takashi Yano) Date: Fri, 6 Nov 2026 20:30:10 +0900 Subject: 3.6.11: ps -ef omits sh started by system() and popen() (Windows 10) In-Reply-To: References: <1341672297.20261029110214@yandex.ru> Message-ID: <20261106203010.87955c355323e31c9aed29aa@nifty.ne.jp> On Sun, 1 Nov 2026 10:31:00 +0500 Daniyar Oshakbayev wrote: > > > > > > Hi, Andrey (???????????!) > > > > Thanks for the reply. I think I explained it badly, so here is the > > simplest case I started from. > > > > This is the whole program: > > > > #include > > int main(void) > > { > > system("echo shell pid=$$ ppid=$PPID; ps -ef; echo done"); > > return 0; > > } > > > > Here is what I get today. My program (./a) is 1233, the shell started > > by system() is 1240, and "ps" is 1241: > > > > shell pid=1240 ppid=1233 > > UID PID PPID TTY STIME COMMAND > > user 1241 1240 pty0 10:17:41 ps -ef > > user 1233 1229 pty0 10:17:40 ./a > > (other rows left out) > > done > > > > So the shell (1240) started "ps" (1241), which is why "ps" shows 1240 > > as its parent. But when "ps" lists all processes, there is no line for > > 1240. The parent of "ps" is missing from the list. The shell is clearly > > still alive, because it prints "done" after "ps" finishes. > > > > In my tests the shell is listed by "ps -ef" when I start the same > > /bin/sh with fork() and exec, or with posix_spawn(). It is not listed > > when I start it with system() or popen(). I tried these four ways, and > > the test program and its output are attached to my first message. > > > > So my question is simple: is it expected that "ps -ef" does not list > > the shell started by system()? If yes, that is fine, I just want to > > know whether this is how Cygwin is supposed to work. > > > > If you want the longer details, I can send them. > > > > Thanks Thanks for the report. This seems to be a bug since cygwin 3.3.6. I'll submit a patch to fix the issue. -- Takashi Yano From marco.atzeri@gmail.com Sat Nov 7 14:31:45 2026 From: marco.atzeri@gmail.com (Marco Atzeri) Date: Sat, 7 Nov 2026 15:31:45 +0100 Subject: python312-lxml 6.1.3-2 fails when importing etree from lxml In-Reply-To: <703609d9-892a-4b90-8e78-46677abf7e4c@raasu.org> References: <703609d9-892a-4b90-8e78-46677abf7e4c@raasu.org> Message-ID: On 06/11/2026 06:39, Mika Lindqvist via Cygwin wrote: > Last known working version: 6.1.3-1 > > With python312-lxml 6.1.3-2, I get: > sorry Mika, 6.1.3-3 is up to solve this side effect of https://sourceware.org/pipermail/cygwin-announce/2026-November/013557.html I forgot that 6.1.3-2 was built with 2.15.4-1 Regards Marco