Public bug reported: Hello launchpad maintainers,
In an application I make use of use libopenimageio on Ubuntu 20.10. With this apt-get library, I would observe undesirable metadata debug output emitted through the library in my client application. I expected no such output. My colleague built the library from scratch and would not see the same errors through the same libopenimageio routines. After searching launchpad build logs, and conferring with libopenimageio maintainers, it appears that from the maintainer perspective -DCMAKE_BUILD_TYPE=Release is lacking from Ubuntu repository build logs. Thus, some debug facilities are exercised in the library. In the launchpad Ubuntu build, could this cmake configure flag be added? Please see the log from the package as provided here on launchpad: https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/4246-deletedppa/+build/19915647 See the 'buildlog' link.... I hope this is the correct build log (Pretty sure!). This line indicates -DCMAKE_BUILD_TYPE=None from the build log: cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DBUILD_MISSING_PYBIND11=OFF -DROBINMAP_INCLUDE_DIR=/usr/include/ -DCMAKE_SKIP_RPATH=ON -DINSTALL_FONTS=OFF -DPYTHON_VERSION=3.8 -DSTOP_ON_WARNING=OFF -DUSE_FIELD3D=OFF -DUSE_OPENGL=ON .. Please see my recent bug report on libopenimageio emitting errors from debug facilities. The report is in the repo here: https://github.com/OpenImageIO/oiio/issues/2882 I am on 20.10 groovy gorilla in a docker instance. The package I observed issues with is libopenimageio2.1 Version: 2.1.19.0~dfsg0-1build1. I observed this issue in docker instances of the build of openimageio provided in 20.04... and my memory is fading but if I recall correctly 18.04 as well. I have not tried 'Hurstute Hippo' build, which I believe distributes the updated libopenimageio with updates to libopenimageio's error handling. Why it matters: We are looking to create out of box deployable developer sandboxes that use apt acquired libopenimageio with the main Ubuntu distributions. If -DCMAKE_BUILD_TYPE=Release has any performance implications for libopenimageio (or other imaging libraries for that matter) it could be a huge win-win for all of the visual computing developer ecosystem. Re: "This bus is a security vulnerability" checkbox.... I don't know for certain if debug facilities in the build creates a security vulnerability. I will leave the box unchecked. This may be a consideration to take up with the lipopenimageio maintainers. Thanks for your attention and consideration, -MichaelC ** Affects: openimageio (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1918351 Title: Build for libopenimageio2.1 package does not appear to be in Release mode... leading to debug output To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openimageio/+bug/1918351/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
