Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#77236 - [opencolorio] openshadinglanguage / openimageio - dependency cycle
Attached to Project:
Community Packages
Opened by - (xiota) - Monday, 23 January 2023, 00:00 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 07 February 2023, 18:14 GMT
Opened by - (xiota) - Monday, 23 January 2023, 00:00 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 07 February 2023, 18:14 GMT
|
Details`pacman -Syu` reports:
warning: dependency cycle detected: warning: openshadinglanguage will be installed before its openimageio dependency `openshadinglanguage` dependencies: boost-libs **openimageio** imath freetype2 libpng libtiff zlib ncurses clang `openimageio` dependencies: openexr boost-libs openjpeg2 glew libtiff **opencolorio** libpng libraw libwebp pugixml pybind11 libheif hdf5 freetype2 `opencolorio` dependencies: freeglut glew lcms2 tinyxml yaml-cpp imath pystring minizip-ng **openimageio** **openshadinglanguage** |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Tuesday, 07 February 2023, 18:14 GMT
Reason for closing: Fixed
Tuesday, 07 February 2023, 18:14 GMT
Reason for closing: Fixed
Bootstrapping happens. If you're trying to build Arch completely from scratch, there are a number of situations like this.
````
$ sudo pacman -Runcdd openimageio openshadinglanguage
...
$ namcap /var/cache/pacman/pkg/opencolorio-2.2.0-2-x86_64.pkg.tar.zst
opencolorio W: Unused shared library '/usr/lib/libGLX.so.0' by file ('usr/bin/ociochecklut')
opencolorio W: Unused shared library '/usr/lib/libGLX.so.0' by file ('usr/bin/ocioconvert')
opencolorio W: Unused shared library '/usr/lib/libGLX.so.0' by file ('usr/bin/ociodisplay')
opencolorio E: Dependency openexr detected and not included (libraries ['usr/lib/libOpenEXR-3_1.so.30'] needed in files ['usr/bin/ociolutimage'])
````
opencolorio builds successfully with extra-x86_64-build after replacing openimageio and openshadinglanguage with openexr in the dependencies list.
Grepping the opencolorio source, there are comments that openimageio is optional, not used when openexr is present. openshadinglanguage is used in only some unit tests, but the PKGBUILD doesn't run the unit tests.
[1] https://github.com/AcademySoftwareFoundation/OpenColorIO/commit/8e04da773adfd6ba5bfb31075e963aae26365443
[2] https://github.com/AcademySoftwareFoundation/OpenColorIO/blob/v2.2.0/share/cmake/modules/FindExtPackages.cmake#L149
warning: dependency cycle detected:
warning: openimageio will be installed before its opencolorio dependency
To fix, in opencolorio, replace openimageio with openexr (in depends). Then add openimageio to checkdepends.
opencolorio E: Insecure RUNPATH '$ORIGIN/../lib' in file ('usr/bin/ociobakelut')
opencolorio E: Insecure RUNPATH '$ORIGIN/../lib' in file ('usr/bin/ociocheck')
opencolorio E: Insecure RUNPATH '$ORIGIN/../lib' in file ('usr/bin/ociochecklut')
opencolorio E: Insecure RUNPATH '$ORIGIN/../lib' in file ('usr/bin/ocioconvert')
opencolorio E: Insecure RUNPATH '$ORIGIN/../lib' in file ('usr/bin/ociodisplay')
opencolorio E: Insecure RUNPATH '$ORIGIN/../lib' in file ('usr/bin/ociolutimage')
opencolorio E: Insecure RUNPATH '$ORIGIN/../lib' in file ('usr/bin/ociomakeclf')
opencolorio E: Insecure RUNPATH '$ORIGIN/../lib' in file ('usr/bin/ocioperf')
opencolorio E: Insecure RUNPATH '$ORIGIN/../lib' in file ('usr/bin/ociowrite')
opencolorio E: Insecure RUNPATH '$ORIGIN/../lib' in file ('usr/lib/libOpenColorIO.so.2.2.1')
opencolorio E: Insecure RUNPATH '$ORIGIN/../..' in file ('usr/lib/python3.10/site-packages/PyOpenColorIO.so')
opencolorio W: Unused shared library '/usr/lib/libGLX.so.0' by file ('usr/bin/ociochecklut')
opencolorio W: Unused shared library '/usr/lib/libGLX.so.0' by file ('usr/bin/ocioconvert')
opencolorio W: Unused shared library '/usr/lib/libGLX.so.0' by file ('usr/bin/ociodisplay')
opencolorio W: Dependency imath included but already satisfied
Note: The namcap messages are from the package downloaded from the Arch repository, not a locally built copy.