Can confirm also on macOS x86_64 with just upgraded openjpeg. And upgrading to pillow-10.2.0 (latest) does NOT help.
On Wednesday, February 28, 2024 at 2:22:08 PM UTC-8 John H Palmieri wrote: > The failing command: > > gcc -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common > -dynamic -DNDEBUG -g -O3 -Wall -isysroot > /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -g -O2 -g > -DHAVE_LIBTIFF -DHAVE_LIBJPEG -DHAVE_OPENJPEG -DHAVE_LIBZ -DHAVE_XCB > -DPILLOW_VERSION=\"10.1.0\" > -I/opt/homebrew/Cellar/openjpeg/2.5.1/include/openjpeg-2.5 > -I/opt/homebrew/Cellar/jpeg-turbo/3.0.1/include > -I/opt/homebrew/Cellar/libtiff/4.6.0/include > -I/opt/homebrew/Cellar/zstd/1.5.5/include > -I/opt/homebrew/Cellar/xz/5.4.6/include > -I/opt/homebrew/Cellar/freetype/2.13.2/include/freetype2 > -I/opt/homebrew/Cellar/libpng/1.6.42/include/libpng16 > -I/opt/homebrew/Cellar/harfbuzz/8.3.0_1/include/harfbuzz > -I/opt/homebrew/Cellar/glib/2.78.4/include/glib-2.0 > -I/opt/homebrew/Cellar/glib/2.78.4/lib/glib-2.0/include > -I/opt/homebrew/Cellar/gettext/0.22.5/include > -I/opt/homebrew/Cellar/pcre2/10.42/include > -I/opt/homebrew/Cellar/graphite2/1.3.14/include > -I/opt/homebrew/Cellar/fribidi/1.0.13/include/fribidi > -I/opt/homebrew/Cellar/little-cms2/2.16/include > -I/Users/jpalmier/Sage/TESTING/sage-10.3.rc0/local/include > -I/opt/homebrew/Cellar/primesieve/12.0/include > -I/opt/homebrew/Cellar/bdw-gc/8.2.6/include > -I/opt/homebrew/Cellar/libpng/1.6.42/include > -I/opt/homebrew/Cellar/ntl/11.5.1/include > -I/opt/homebrew/Cellar/readline/8.2.10/include -I/opt/homebrew/include > -I/Users/jpalmier/Sage/TESTING/sage-10.3.rc0/local/var/lib/sage/venv-python3.12/include > > -I/opt/homebrew/Cellar/freetype/2.13.2/include > -I/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include > -I/Users/jpalmier/Sage/TESTING/sage-10.3.rc0/local/var/lib/sage/venv-python3.12/include > > -I/opt/homebrew/opt/pyt...@3.12/Frameworks/Python.framework/Versions/3.12/include/python3.12 > > -c src/libImaging/Jpeg2KDecode.c -o > build/temp.macosx-14.0-arm64-cpython-312/src/libImaging/Jpeg2KDecode.o > > Compared to the previous version (from January): the differences are > > - the new version includes -fno-strict-overflow > - the old version includes -fwrapv > - various version numbers have changed, of course > > > On Wednesday, February 28, 2024 at 2:16:42 PM UTC-8 John H Palmieri wrote: > >> OS X, Apple Silicon, with many homebrew packages, including a recently >> upgraded openjpeg (from 2.5.0 to 2.5.1): pillow is failing to build, with >> the error message >> >> src/libImaging/Jpeg2KDecode.c:673:43: error: too few arguments to >> function call, expected 3, have 2 >> opj_stream_set_user_data(stream, state); >> ~~~~~~~~~~~~~~~~~~~~~~~~ ^ >> >> /opt/homebrew/Cellar/openjpeg/2.5.1/include/openjpeg-2.5/openjpeg.h:1235:27: >> note: 'opj_stream_set_user_data' declared here >> OPJ_API void OPJ_CALLCONV opj_stream_set_user_data(opj_stream_t* >> p_stream, >> ^ >> 1 error generated. >> error: command '/usr/bin/gcc' failed with exit code 1 >> error: subprocess-exited-with-error >> >> × Building wheel for Pillow (pyproject.toml) did not run successfully. >> │ exit code: 1 >> ╰─> See above for output. >> >> I'm a little confused about jpeg, though: although this is using >> openjpeg-2.5.1, Sage's top-level config.log file says >> >> pkg_cv_libjpeg_CFLAGS=-I/opt/homebrew/Cellar/jpeg-turbo/3.0.1/include >> pkg_cv_libjpeg_LIBS='-L/opt/homebrew/Cellar/jpeg-turbo/3.0.1/lib >> -ljpeg' >> >> pillow's log file says >> >> Looking for `libjpeg` using pkg-config. >> Appending path /opt/homebrew/Cellar/jpeg-turbo/3.0.1/lib >> Appending path /opt/homebrew/Cellar/jpeg-turbo/3.0.1/include >> Looking for `libopenjp2` using pkg-config. >> Appending path /opt/homebrew/Cellar/openjpeg/2.5.1/lib >> Appending path >> /opt/homebrew/Cellar/openjpeg/2.5.1/include/openjpeg-2.5 >> >> This is similar to a log file from a successful build, though. (I don't >> know how to attach files from the browser interface to Google groups.) >> >> Suggestions? >> >> >> >> >> On Sunday, February 25, 2024 at 10:44:20 AM UTC-8 Volker Braun wrote: >> >> As always, you can get the latest beta version from the "develop" git >> branch. Alternatively, the self-contained source tarball is at >> http://www.sagemath.org/download-latest.html >> >> acbe15dcd87 (HEAD -> develop, tag: 10.3.rc0, github/develop) Updated >> SageMath version to 10.3.rc0 >> 0fb793fa91a gh-37410: minor fixes in sandpiles >> 57d4e09af50 gh-37405: links for errors in doc of groups >> 6030e58afa0 gh-37398: fix `relabel` for permutation groups >> 5bda2e23eb2 gh-37397: fix some ruff suggestions in cluster_algebra_quiver >> ccd3f8b852e gh-37385: Remove some last traces of Trac >> 64b991ab0df gh-37376: src/sage/rings/polynomial: Link to spkg page by >> label >> e01a4380176 gh-37375: Speed up square matrix times vector over GF(2) >> 193e49d6742 gh-37367: improve random sampling of quotient-ring elements >> 702e32f43f9 gh-37366: use Parent in skew polynomials >> 3ffb70a0d5a gh-37360: Fix doctest for `multiplication_by_m` >> f5983a3c510 gh-37355: less usage of method .is_commutative >> 218012299eb gh-37354: Allow submodule construction of a free module over >> a ring >> 686f7e9a362 gh-37352: `sage --package create`: When re-creating with a >> different source type, clean up >> 0df697a0a2d gh-37350: `sage -package dependencies` >> fba0587aa94 gh-37343: Add simple methods to convert to and from bytes for >> `ZZ` and finite fields >> 805c1522b87 gh-37342: remove some old deprecations in functional.py >> a451b65a356 gh-37341: Avoid algebra in polynomials >> 57a404ca7ae gh-37339: Removed whitespaces in `ncsym.py` >> ec7b486614b gh-37338: Speedup database_matroids.py tests >> 0f35a6911dc gh-37334: Preparation for Sphinx 7 >> e2c3fe9998e gh-37333: fixing ruff UP037 (about type annotation) >> 34de9761f25 gh-37329: add optional order= argument to .log() method for >> PARI finite-field elements >> 7f85dca6971 gh-37328: remove "known bug" marker for #6413 from doctest >> 721030b1b1d gh-37324: Basis completion for matrices over univariate >> polynomials >> 0b38b3eac89 gh-37318: Allowing HeckeAlgebraSymmetricGroupT to accept >> elements of SymmetricGroup(n) as input >> f016b015301 gh-37316: use CommutativeRing in ring_extension >> e54f7eb5e14 gh-37313: Fix package install instructions in "Numerical >> Sage" tutorial >> 0e819af60b8 gh-37311: Add tips for choosing an exception in developer >> guide >> c3e76e125c1 gh-37306: Fix random test failures in >> `number_field_element_quadratic` >> c1f56258170 gh-37303: use Parent in Weyl algebra >> 2416d61a12f gh-37302: use Parent instead of Algebra in finite_gca >> 2e9c5754bd6 gh-37299: use parent in quaternions >> 49881576723 gh-37286: sagemath-standard: fix manifest >> 99fd4f42794 gh-37283: Fix RegularSequence.subsequence for zero sequence >> 9a1a9649f33 gh-37281: details in Zariski-Van-Kampen >> c02dfc43a6c gh-37273: large pep8 cleanup in interfaces >> 044b3aa1638 gh-37268: Allow custom degree in `random_element` of >> polynomial quotient ring >> ffa87518e0f gh-37260: extend `all_paths_iterator` and `all_simple_paths` >> to Graph >> d4075f1979c gh-37242: Improved algorithm choice for isogeny computation >> 54307752f5a gh-37231: Use matroid-database package >> 71f2ef44c96 gh-37227: build/pkgs/ipython/dependencies: Add >> matplotlib_inline >> 3eac6ea28db gh-37221: Added the alt nu-tamari lattices >> abc70998ef1 gh-37206: Various edits of developer guide >> 726052b07ab gh-37186: Update debian.txt for various Python packages >> bdf8f978a3c gh-37129: Sphinx 7 >> efd42e5ab18 gh-37089: Implemented order computation and identity checking >> for automorphisms of elliptic curves >> e7037f3a005 gh-36988: Adding support for sums, intersection, and equality >> of SubmodulesWithBasis >> eabd2bf80bc gh-36694: CI conda: On `pull_request`, only run 1 macOS job >> and 1 Linux job >> 4937796a77c gh-36602: Tidy PR template >> 34e561800a8 gh-36587: Created functions to generate random k-tree and >> partial k-tree graphs >> be3a1163b69 gh-35103: SCIPBackend: Faster copy, remove_constraint methods >> 30b3d78fac8 (tag: 10.3.beta8) Updated SageMath version to 10.3.beta8 >> >> -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/90178a51-4723-4a3d-85be-ef38cbab6508n%40googlegroups.com.