Package Details: openexr2 2.5.5-1

Git Clone URL: https://aur.archlinux.org/openexr2.git (read-only, click to copy)
Package Base: openexr2
Description: An high dynamic-range image file format library
Upstream URL: https://www.openexr.com/
Licenses: BSD
Conflicts: openexr
Provides: openexr
Submitter: bartus
Maintainer: bartus
Last Packager: bartus
Votes: 0
Popularity: 0.000000
First Submitted: 2021-05-01 07:45 (UTC)
Last Updated: 2021-06-24 06:15 (UTC)

Required by (139)

Sources (1)

Pinned Comments

bartus commented on 2022-03-14 10:35 (UTC)

Sorry lads, I'm at the Polish Ukraine border helping allocate refugees. Expect no update until this hell is over, wish us luck. Have no time nor access to my rig and AUR keys to test/post updates. If you have a patch, ping me on email - I'll add you as co-maintainer. Posted with my old script - https://github.com/bartoszek/aur-post

Latest Comments

1 2 Next › Last »

bartus commented on 2022-03-14 10:35 (UTC)

Sorry lads, I'm at the Polish Ukraine border helping allocate refugees. Expect no update until this hell is over, wish us luck. Have no time nor access to my rig and AUR keys to test/post updates. If you have a patch, ping me on email - I'll add you as co-maintainer. Posted with my old script - https://github.com/bartoszek/aur-post

FabioLolix commented on 2022-01-01 22:55 (UTC)

At first sight no other pkgbuilds depends on this

bartus commented on 2021-06-27 06:14 (UTC)

@schrmh: yay isn't actively maintained, I've already poked paru devs about it.

schrmh commented on 2021-06-26 15:57 (UTC)

@bartus Okay, thanks a lot so far! I wonder whether there are many more of those cases... Maybe it might not be a bad idea to switch to some other AUR helper in the future..

bartus commented on 2021-06-26 06:58 (UTC) (edited on 2021-06-26 06:59 (UTC) by bartus)

@schrmh: Yep, you're correct makepkg -is is required to pull dependencies from remote/local repository. Also I forgot, that yay and by extend paru has same problem with resolving dependencies: using only .SRCINFO and ignoring logic in PKGBUILD, check out the disclaimer I've made for blender-develop-git

Yay users warning:
Since yay relies solely on aur-rpc to solve dependencies instead of calling makepkg --sync it can't follow dependencies logic defined in PKGBUILD. That's why it's up to the user to provide dependencies to enable desired features.

I've already poked the devs about it few years ago but nothing seems to change so far ...

schrmh commented on 2021-06-24 22:45 (UTC) (edited on 2021-06-24 22:47 (UTC) by schrmh)

@bartus I just installed those two boost-python2{-libs} packages.

When I build without the flag you suggested, then building by using extra-x86_64-build would work without errors. But extra-x86_64-build -r /ramdisk/openexr2-build ENABLE_PYTHON2=1 (and 1:1 what you sent) does not work:

==> Installing missing dependencies...
error: target not found: boost-python2
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> python2
  -> python2-numpy
  -> boost-python2
  -> cmake
  -> patchelf
  -> python
  -> python-numpy
  -> boost
  -> freeglut
  -> chrpath
==> ERROR: Could not resolve all dependencies.
==> ERROR: Build failed, check /ramdisk/openexr2-build/extra-x86_64/duda/build

makepkg ENABLE_PYTHON2=1 works when I add -si.

Installing from AUR with yay -S still doesn't work (with and without the ENABLE_PYTHON2=1 flag). Terminates with the same error that I got when I first posted here.

berilac commented on 2021-06-24 08:58 (UTC)

@bartus: Cheers! Really appreciated

bartus commented on 2021-06-24 06:23 (UTC) (edited on 2021-06-24 06:24 (UTC) by bartus)

@schrmh, @berilac: I've fixed the issue, it occurs that imathnumpy_python2 requires boost-python2 which was dropped from core/boost-libs package. I've already pushed boost-python2{-libs} to AUR, but as openexr doesn't have switch to disable python2 support I have to use control env var to make python2 an optional feature.

To build openexr against python2 you have to pass ENABLE_PYTHON2=1 to build process (e.g: {yay/paru} openexr2 --mflags="ENABLE_PYTHON2=1", makepkg ENABLE_PYTHON2=1, extra-x86_64-build -- -- ENABLE_PYTHON2=1)

As an automagical dependency it also builds by it self if one has boost-python2 installed (this was a case on my system, and why you lads doesn't see one on yours)

schrmh commented on 2021-06-23 23:12 (UTC) (edited on 2021-06-23 23:20 (UTC) by schrmh)

@bartus Here is my xz-compressed log: http://ix.io/3qVJ
@berilac your first file gets uncompressed for me when I run xzless on it.