Package Details: python-pyvips 2.2.3-1

Git Clone URL: https://aur.archlinux.org/python-pyvips.git (read-only, click to copy)
Package Base: python-pyvips
Description: Python binding for libvips using cffi
Upstream URL: https://github.com/libvips/pyvips
Keywords: libvips python pyvips vips
Licenses: MIT
Submitter: hxss
Maintainer: aliu (hottea)
Last Packager: aliu
Votes: 3
Popularity: 0.48
First Submitted: 2020-11-28 16:09 (UTC)
Last Updated: 2024-06-20 01:49 (UTC)

Latest Comments

1 2 Next › Last »

xuiqzy commented on 2024-06-20 01:41 (UTC)

Failure in build on this pkg with version 2.2.2 (2.2.3 would be newest):

...
build/temp.linux-x86_64-cpython-312/_libvips.c: In function ‘_cffi_d_vips_value_set_blob’:
build/temp.linux-x86_64-cpython-312/_libvips.c:6208:27: error: passing argument 2 of ‘vips_value_set_blob’ from incompatible pointer type [-Wincompatible-pointer-types]
 6208 |   vips_value_set_blob(x0, x1, x2, x3);
      |                           ^~
      |                           |
      |                           void (*)(void *)
In file included from /usr/include/vips/vips.h:102,
                 from build/temp.linux-x86_64-cpython-312/_libvips.c:570:
/usr/include/vips/type.h:275:24: note: expected ‘VipsCallbackFn’ {aka ‘int (*)(void *, void *)’} but argument is of type ‘void (*)(void *)’
  275 |         VipsCallbackFn free_fn, const void *data, size_t length);
      |         ~~~~~~~~~~~~~~~^~~~~~~
build/temp.linux-x86_64-cpython-312/_libvips.c: In function ‘_cffi_f_vips_value_set_blob’:
build/temp.linux-x86_64-cpython-312/_libvips.c:6256:29: error: passing argument 2 of ‘vips_value_set_blob’ from incompatible pointer type [-Wincompatible-pointer-types]
 6256 |   { vips_value_set_blob(x0, x1, x2, x3); }
      |                             ^~
      |                             |
      |                             void (*)(void *)
/usr/include/vips/type.h:275:24: note: expected ‘VipsCallbackFn’ {aka ‘int (*)(void *, void *)’} but argument is of type ‘void (*)(void *)’
  275 |         VipsCallbackFn free_fn, const void *data, size_t length);
      |         ~~~~~~~~~~~~~~~^~~~~~~
build/temp.linux-x86_64-cpython-312/_libvips.c: In function ‘_cffi_checkfld__GEnumClass’:
build/temp.linux-x86_64-cpython-312/_libvips.c:6433:25: error: initialization of ‘GTypeClass **’ from incompatible pointer type ‘GTypeClass *’ [-Wincompatible-pointer-types]
 6433 |   { GTypeClass * *tmp = &p->g_type_class; (void)tmp; }
      |                         ^
build/temp.linux-x86_64-cpython-312/_libvips.c: In function ‘_cffi_checkfld__GFlagsClass’:
build/temp.linux-x86_64-cpython-312/_libvips.c:6457:25: error: initialization of ‘GTypeClass **’ from incompatible pointer type ‘GTypeClass *’ [-Wincompatible-pointer-types]
 6457 |   { GTypeClass * *tmp = &p->g_type_class; (void)tmp; }
      |                         ^
build/temp.linux-x86_64-cpython-312/_libvips.c: In function ‘_cffi_checkfld__GValue’:
build/temp.linux-x86_64-cpython-312/_libvips.c:6519:25: error: initialization of ‘uint64_t (*)[2]’ {aka ‘long unsigned int (*)[2]’} from incompatible pointer type ‘union <anonymous> (*)[2]’ [-Wincompatible-pointer-types]
 6519 |   { uint64_t(*tmp)[2] = &p->data; (void)tmp; }
      |                         ^
build/temp.linux-x86_64-cpython-312/_libvips.c: In function ‘_cffi_checkfld__VipsObject’:
build/temp.linux-x86_64-cpython-312/_libvips.c:6589:19: error: initialization of ‘void **’ from incompatible pointer type ‘VipsArgumentTable **’ {aka ‘GHashTable **’} [-Wincompatible-pointer-types]
 6589 |   { void * *tmp = &p->argument_table; (void)tmp; }
      |                   ^
build/temp.linux-x86_64-cpython-312/_libvips.c: In function ‘_cffi_checkfld__VipsProgress’:
build/temp.linux-x86_64-cpython-312/_libvips.c:6619:19: error: initialization of ‘void **’ from incompatible pointer type ‘GTimer **’ [-Wincompatible-pointer-types]
 6619 |   { void * *tmp = &p->start; (void)tmp; }
      |                   ^
error: command '/usr/bin/gcc' failed with exit code 1

ERROR Backend subprocess exited when trying to invoke build_wheel

hrehfeld commented on 2024-05-01 11:33 (UTC) (edited on 2024-05-01 11:36 (UTC) by hrehfeld)

==> Starting package()...
usage: python -m installer [-h] [--destdir path] [--prefix path] [--compile-bytecode level] [--no-compile-bytecode] wheel
python -m installer: error: unrecognized arguments: dist/pyvips-2.2.2-cp312-cp312-linux_x86_64.whl

I have this with other packages too, did this change recently?

MarsSeed commented on 2023-08-13 00:29 (UTC)

pip should not be used in a PKGBUILD. Please use @hottea's solution to eliminate it.

hottea commented on 2023-05-15 07:42 (UTC)

Building the pkg from the source is preferred when possible. I create a PKGBUILD you could refer to.

motherofmilk commented on 2022-04-30 18:02 (UTC)

Updated to version 2.2.0. Removed the license conflict.

tchernomax commented on 2021-12-13 21:56 (UTC)

@motherofmilk

2.1.16-2 should also fix your issue with the license file. no, I still get

install: will not overwrite just-created '/home/max/.cache/yay/python-pyvips/pkg/python-pyvips/usr/share/licenses/python-pyvips/LICENSE.txt' with '/home/max/.cache/yay/python-pyvips/pkg/python-pyvips/LICENSE.txt'

In fact, after the curl call :

./pkg/python-pyvips/usr/lib/python3.10/site-packages/pyvips-2.1.16.dist-info/LICENSE.txt
./pkg/python-pyvips/LICENSE.txt

So install is trying to install 2 files under the same path… which fail.

For my part I just removed the curl call (so it's ./pkg/python-pyvips/usr/lib/python3.10/site-packages/pyvips-2.1.16.dist-info/LICENSE.txt that is install under ./pkg/python-pyvips/usr/share/licenses/python-pyvips/LICENSE.txt).

motherofmilk commented on 2021-11-25 11:40 (UTC)

@hrehfeld 2.1.16-2 should also fix your issue with the license file.

motherofmilk commented on 2021-11-25 11:22 (UTC)

Updated to 2.1.16 and switched to curl for the license file.

hrehfeld commented on 2021-10-06 16:34 (UTC)

Builds fine if I remove the last two commands regarding LICENSE.

hrehfeld commented on 2021-10-06 16:32 (UTC)

I'm getting this in all cases of:

  • deleted pikaur cache
  • yay
  • fresh install