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/1d159d24-8078-489f-bf95-d9537c5c7dfan%40googlegroups.com.

Reply via email to