liblapack-devel seems to be missing liblapack0 dependency

2023-11-30 Thread airplanemath via Cygwin
To whom it may concern, An automated script started failing yesterday, apparently because it could not find the lapack and blas DLLs.  On investigation, only liblapack-devel was installed, not liblapack0.  Should we be updating scripts to explicitly install liblapack0 when using some executab

PyIter_Check false positives

2022-05-27 Thread airplanemath via Cygwin
I found this problem running the tests for pandas, but can reproduce it more simply. Compile the following cython file to create a thin wrapper around the C-API function: > from cpython.iterator cimport PyIter_Check > > def is_iterator(obj: object) -> bool: > return PyIter_Check(obj) with

Re: Possible xpdf packaging error?

2022-04-07 Thread airplanemath via Cygwin
On Thu, Apr 07 2022, Eliot Moss wrote: > Dear Cygwin-ers -- > > Today I had use for pdftotext. It man page is installed, but the program > itself is missing. On Ubuntu (etc.) it is part of the xpdf package, the > Cygwin version of which I have installed. pdftotext.cc is in the source > package,

Weird results from PyIter_Check

2022-04-02 Thread airplanemath via Cygwin
PyIter_Check appears to be the C-level equivalent of isinstance(..., collections.abc.Iterator), testing whether the python next() or the C PyIter_Next will succeed. However, PyIter_Check disagrees with collections.abc.Iterator and next about whether a given object is an iterator. $ cat test_ite

Re: python-numpy (1.22.0-1) can't be imported

2022-02-06 Thread airplanemath via Cygwin
On Sat, Jan 22 2022, Masamichi Hosoda wrote: >> It is something like that, but "-Wl,--export-all-symbols" >> is not used on 1.21.4 and is not needed for most of the other >> modules on 1.22.x >> >> so I am looking for a less extreme action. >> Also to understand how it can impact other python sub

Re: python-numpy (1.22.0-1) can't be imported

2022-01-13 Thread airplanemath via Cygwin
On Wed, Jan 12 2022, Marco Atzeri wrote: > On 12.01.2022 12:47, ggl329 wrote: >> Hi Marco, >> I upgraded python39-numpy to 1.22.0-1, and failed to import numpy. >> It seems that mtrand.cpython-39-x86_64-cygwin.dll does not have >> PyInit_mtrand. >> Could you check if numpy can be imported in your

Re: [ANNOUNCEMENT] Updated: python 3.9 packages

2021-12-23 Thread airplanemath via Cygwin
On Tue, Dec 21 2021, Marco Atzeri via Cygwin-announce wrote: > Several python packages have been added to the Cygwin distribution > and at the same time the updated packages for 3.6/3./3.8 > have been uploaded. > > python39-pillow 8.4.0-1 Is this replacing python3[6-9]-ima

Re: [ANNOUNCEMENT] Updated: lapack-3.10.0-1

2021-12-09 Thread airplanemath via Cygwin
On Tue, Nov 30 2021, Marco Atzeri via Cygwin-announce via Cygwin wrote: > New versions 3.10.0-1 of > > liblapack0 > liblapack-devel > liblapack-doc > > are available in the Cygwin distribution. The shared libraries seem to be in /usr/bin rather than /usr/lib/lapack now. I don't remember the di

Re: hypotl(LDBL_MAX, 0.0L) = inf

2021-04-25 Thread airplanemath via Cygwin
On Mon, Apr 19 2021, Corinna Vinschen via Cygwin wrote: > On Apr 17 10:02, airplanemath via Cygwin wrote: >> Given that hypot(DBL_MAX, 0.0) = DBL_MAX and hypotf(FLT_MAX, 0.0f) = >> FLT_MAX, I suspect this is a problem in hypotl. Am I missing >> something? > > No.

hypotl(LDBL_MAX, 0.0L) = inf

2021-04-17 Thread airplanemath via Cygwin
Given that hypot(DBL_MAX, 0.0) = DBL_MAX and hypotf(FLT_MAX, 0.0f) = FLT_MAX, I suspect this is a problem in hypotl. Am I missing something? There is a similar difference in cabsl compared to cabs and cabsf, which probably has a similar cause. I attached my test case, which I compile with gcc -O

Re: [ANNOUNCEMENT] TeX Live collections 20210118-1

2021-02-06 Thread airplanemath via Cygwin
texlive-collection-latexrecommended contains "/usr/share/texmf-dist/tex/latex/ragged2e/ragged2e.sty". On line 145, this file uses everysel.sty, which appears to have been dropped from the 2021 rebuild: $ cygcheck -p everysel.sty Found 5 matches for everysel.sty texlive-collection-langjapanese-2019

Re: sqrtl behavior inconsistent with sqrt and sqrtf

2020-10-27 Thread airplanemath via Cygwin
airplanemath via Cygwin writes: > Compiling and running the attached program with the command line below > produces the output below: > > $ gcc -O0 -Og test_sqrt.c -o test_sqrt && ./test_sqrt > Long double: -inf -inf > Double: -inf -nan > Float: -inf -n

sqrtl behavior inconsistent with sqrt and sqrtf

2020-10-27 Thread airplanemath via Cygwin
Compiling and running the attached program with the command line below produces the output below: #include #include int main() { long double a, b; double c, d; float f, g; a = (long double) -INFINITY; c = (double) -INFINITY; f = (float) -INFINITY; b = sqrtl(a); d = sqrt(c); g =

Re: cpp /usr/include/threads.h fails; modfl segfaults

2020-08-30 Thread airplanemath--- via Cygwin
Corinna Vinschen writes: > On Aug 29 08:52, airplanemath via Cygwin wrote: >> Hello, >> >> I have two reports. A brief description of the system: >> $ uname -a | sed "s/${HOSTNAME}/\${HOSTNAME}/g" >> CYGWIN_NT-10.0 ${HOSTNAME} 3.1.7(0.340/5/3) 2020

Re: cpp /usr/include/threads.h fails; modfl segfaults

2020-08-29 Thread airplanemath via Cygwin
On 8/29/2020 1:57 PM, Ken Brown wrote: > On 8/29/2020 8:52 AM, airplanemath via Cygwin wrote: >> Hello, >> >> I have two reports.� A brief description of the system: >> $ uname -a | sed "s/${HOSTNAME}/\${HOSTNAME}/g" >> CYGWIN_NT-10.0 ${HOSTNAM

cpp /usr/include/threads.h fails; modfl segfaults

2020-08-29 Thread airplanemath via Cygwin
Hello, I have two reports.  A brief description of the system: $ uname -a | sed "s/${HOSTNAME}/\${HOSTNAME}/g" CYGWIN_NT-10.0 ${HOSTNAME} 3.1.7(0.340/5/3) 2020-08-22 17:48 x86_64 Cygwin The first report: $ cpp /usr/include/threads.h # 1 "/usr/include/threads.h" # 1 "" # 1 "" # 1 "/usr/include/th

Re: Strange behavior of Python Package Index

2020-01-29 Thread airplanemath via cygwin
> I have selected python38-tkinter package for the Cygwin setup. > Tkinter is available when I start python3.8, but when I try to check list of > packages installed with pip3.8, > tkinter is not listed. > It seems that all packages selected from Cygwin setup are missing. > Only packages installe

gfortran problems with equivalence statement in module

2019-01-27 Thread airplanemath via cygwin
module test integer, parameter :: rb = kind(1.0) real(kind=rb) :: ka(5,13,10) , absa(65,10) real(kind=rb) :: kb(5,13:59,10), absb(235,10) equivalence (ka(1,1,1),absa(1,1)), (kb(1,13,1),absb(1,1)) end module test Compiling the attached fortran code with "gfortran -c test_comp