[aur-general] Cannot build alice-vision-git
Hello, after I managed to build cctag (by insertion of "cd" commands into PKGBUILD), now I have problems building alice-vision-git. The problem: Minor versions of OpenEXR (3.0.x) and Imath (3.1.x) differ. To fix the problem, I added "-DOPENEXR_IMATH_LIBRARY=/usr/lib/libImath-3_1.so" to PKGBUILD. This worked in one (or some) case(s), but it does not work for libAlembic: /usr/bin/ld: warning: libImath-3_0.so.28, needed by /usr/lib/libAlembic.so.1.8, not found (try using -rpath or -rpath-link) /usr/bin/ld: /usr/lib/libAlembic.so.1.8: undefined reference to `Imath_3_0::half::convert(int)' /usr/bin/ld: /usr/lib/libAlembic.so.1.8: undefined reference to `Imath_3_0::half::_eLut' /usr/bin/ld: /usr/lib/libAlembic.so.1.8: undefined reference to `Imath_3_0::half::_toFloat' /usr/bin/ld: Linux-x86_64/libaliceVision_sfmDataIO.so.2.4: undefined reference to `Alembic::AbcGeom::v12::XformSample::setMatrix(Imath_3_1::Matrix44<double> const&)' It seems, QmlAlembic does not honour the config option "OPENEXR_IMATH_LIBRARY". Kind regards, Peter
El domingo, 1 de agosto de 2021 11:20:08 (CEST), Peter Nabbefeld via aur-general escribió:
Minor versions of OpenEXR (3.0.x) and Imath (3.1.x) differ
Please post the full, exact error message.
Am 01.08.21 um 11:39 schrieb Antonio Rojas via aur-general:
El domingo, 1 de agosto de 2021 11:20:08 (CEST), Peter Nabbefeld via aur-general escribió:
Minor versions of OpenEXR (3.0.x) and Imath (3.1.x) differ
Please post the full, exact error message.
I've posted the exact error message. But I've found code somewhere (sorry, I don't remember where :-/ ) which seems to expect the same maj/min Versions for openexr and imath. And I couldn't find a direct reference to imath version 3.0, yet. But I'm not a C programmer, so I may be missing sth. important. If I found a reference to imath 3.0, I'd try to fix it. Kind regards, Peter
El domingo, 1 de agosto de 2021 11:48:01 (CEST), Peter Nabbefeld via aur-general escribió:
I've posted the exact error message. But I've found code somewhere (sorry, I don't remember where :-/ ) which seems to expect the same maj/min Versions for openexr and imath.
Well, whatever it is, it's wrong. imath and openexr have different versioning and release schedules since version 3.0 so their minor versions shouldn't be expected to match.
Am 01.08.21 um 11:39 schrieb Antonio Rojas via aur-general:
El domingo, 1 de agosto de 2021 11:20:08 (CEST), Peter Nabbefeld via aur-general escribió:
Minor versions of OpenEXR (3.0.x) and Imath (3.1.x) differ
Please post the full, exact error message.
There's an interesting point: libAlembic has been installed by alembic-qfix package, which is no longer used by alice-vision-git package and might cause the issue. I've noticed there's a community/alembic package version 1.8.2-2, and PKGBUILD references a dependency "alembic". So, solution might be to remove the package and install the one from community. Kind regards, Peter
Am 01.08.21 um 11:59 schrieb Antonio Rojas via aur-general:
El domingo, 1 de agosto de 2021 11:48:01 (CEST), Peter Nabbefeld via aur-general escribió:
I've posted the exact error message. But I've found code somewhere (sorry, I don't remember where :-/ ) which seems to expect the same maj/min Versions for openexr and imath.
Well, whatever it is, it's wrong. imath and openexr have different versioning and release schedules since version 3.0 so their minor versions shouldn't be expected to match.
It seems I've been confused about the previous version using alembic-qfix and some strange behaviour of pikaur, which still insists on missing alembic-qfix dependency. :-O However, in the meantime I could manage to build alice-vision-git, so I'm happy now. :-) Kind regards, Peter
participants (2)
-
Antonio Rojas
-
Peter Nabbefeld