libfontconfig-devel-2.15.0-1 links wrong DLL
Hi If I understand correctly, libfontconfig-devel-2.15.0-1 links wrong DLL (i.e. libfontconfig-1.dll) instead of correct DLL (i.e. cygfontconfig-1.dll). Since the wrong DLL does not exist, the executable file using libfontconfig-devel-2.15.0-1 cannot be executed. ``` $ cat foo.c #include int main(void) { FcInit(); return 0; } $ gcc -o foo foo.c -lfontconfig $ ldd foo ntdll.dll => /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffccda5) KERNEL32.DLL => /cygdrive/c/WINDOWS/System32/KERNEL32.DLL (0x7ffccc23) KERNELBASE.dll => /cygdrive/c/WINDOWS/System32/KERNELBASE.dll (0x7ffccb59) cygwin1.dll => /usr/bin/cygwin1.dll (0x7ffcb3ff) libfontconfig-1.dll => not found $ ``` Using the previous version, libfontconfig-devel-2.13.1-2, it is fine. ``` $ gcc -o foo foo.c -lfontconfig $ ldd foo ntdll.dll => /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffccda5) KERNEL32.DLL => /cygdrive/c/WINDOWS/System32/KERNEL32.DLL (0x7ffccc23) KERNELBASE.dll => /cygdrive/c/WINDOWS/System32/KERNELBASE.dll (0x7ffccb59) cygwin1.dll => /usr/bin/cygwin1.dll (0x7ffcb3ff) cygfontconfig-1.dll => /usr/bin/cygfontconfig-1.dll (0x507fd) cygexpat-1.dll => /usr/bin/cygexpat-1.dll (0x5d5bf) cygfreetype-6.dll => /usr/bin/cygfreetype-6.dll (0x51c6b) cygintl-8.dll => /usr/bin/cygintl-8.dll (0x5ee2d) cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x50caa) cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x3d2a1) cygbrotlidec-1.dll => /usr/bin/cygbrotlidec-1.dll (0x42f93) cygz.dll => /usr/bin/cygz.dll (0x597fd) cygbz2-1.dll => /usr/bin/cygbz2-1.dll (0x3e1e3) cygpng16-16.dll => /usr/bin/cygpng16-16.dll (0x5a987) cygbrotlicommon-1.dll => /usr/bin/cygbrotlicommon-1.dll (0x4678a) $ ``` -- 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
libfontconfig-common-2.15.0-2 system font cache directory settings seem to be wrong
Hi If I understand correctly, the system font cache directory setting in /etc/fonts/fonts.conf provided by libfontconfig-common-2.15.0-2 is wrong. In /etc/fonts/fonts.conf provided by libfontconfig-common-2.13.1-2 ``` /var/cache/fontconfig ``` So `fc-cache -s` creates system font cache files in `/var/cache/fontconfig`. It is correct because `/var/cache` is a common system cache directory. In /etc/fonts/fonts.conf provided by libfontconfig-common-2.15.0-2 ``` LOCAL_APPDATA_FONTCONFIG_CACHE ``` So `fc-cache -s` creates system font cache files in `./LOCAL_APPDATA_FONTCONFIG_CACHE`. `LOCAL_APPDATA_FONTCONFIG_CACHE` directory is created in the *current* directory when fc-cache. It is wrong because it means that processes with different current directories have different system font cache directories, and the caches are no longer shared. -- 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
python 3.12.9 hangs on Flask
Hi. I've found python 3.12.9 hangs on Flask. After starting the Flask HTTP server, the first HTTP access works fine but hangs immediately afterward. Once hung, CTRL+C and sending any signals have no effect. Here's a reproduction procedure. ``` $ uname -srvmo CYGWIN_NT-10.0-19045 3.5.7-1.x86_64 2025-01-29 19:46 UTC x86_64 Cygwin $ python3.12 -m venv --system-site-packages --without-pip .venv $ source .venv/bin/activate (.venv) $ python -V Python 3.12.9 (.venv) $ python -m pip install Flask [...snip...] Requirement already satisfied: Jinja2>=3.1.2 in /usr/lib/python3.12/site-packages (from Flask) (3.1.5) [...snip...] Requirement already satisfied: MarkupSafe>=2.0 in /usr/lib/python3.12/site-packages (from Jinja2>=3.1.2->Flask) (3.0.2) [...snip...] Installing collected packages: Werkzeug, itsdangerous, click, blinker, Flask Successfully installed Flask-3.1.0 Werkzeug-3.1.3 blinker-1.9.0 click-8.1.8 itsdangerous-2.2.0 (.venv) $ cat app.py from flask import Flask app = Flask(__name__) @app.route("/") def hello_world() -> str: return "Hello, World!" (.venv) $ flask run * Debug mode: off WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Running on http://127.0.0.1:5000 Press CTRL+C to quit 127.0.0.1 - - [09/Mar/2025 13:37:32] "GET / HTTP/1.1" 200 - ``` Thanks. -- 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