https://bugzilla.redhat.com/show_bug.cgi?id=2259558
--- Comment #12 from Ben Beasley <code(a)musicinmybrain.net> ---
It looks like Luya built openvdb-11.0.0-7.fc40 and
openshadinglanguage-1.13.7.0-1.fc40 – both ABI-incompatible – into
f40-build-side-86961 on 2024-04-03. I don’t like shipping those ABI breaks as
zero-day updates, but with Blender broken in F40 I am not sure there is any way
out but forward.
I just finished doing a bunch of local test builds like this:
Round 1:
OpenImageIO, openvkl, prusa-slicer
Round 2:
luxcorerender, usd
Round 3:
blender
The result was:
Error:
Problem: cannot install both openshadinglanguage-libs-1.12.14.0-13.fc40.x86_64
from fedora and openshadinglanguage-libs-1.13.7.0-1.fc40.x86_64 from @System
- package openshadinglanguage-1.12.14.0-13.fc40.x86_64 from fedora requires
liboslquery.so.1.12()(64bit), but none of the providers can be installed
- package openshadinglanguage-1.12.14.0-13.fc40.x86_64 from fedora requires
liboslexec.so.1.12()(64bit), but none of the providers can be installed
- package openshadinglanguage-1.12.14.0-13.fc40.x86_64 from fedora requires
liboslcomp.so.1.12()(64bit), but none of the providers can be installed
- package openshadinglanguage-devel-1.13.7.0-1.fc40.x86_64 from @System
requires liboslcomp.so.1.13()(64bit), but none of the providers can be
installed
- package openshadinglanguage-devel-1.13.7.0-1.fc40.x86_64 from @System
requires liboslexec.so.1.13()(64bit), but none of the providers can be
installed
- package openshadinglanguage-devel-1.13.7.0-1.fc40.x86_64 from @System
requires liboslnoise.so.1.13()(64bit), but none of the providers can be
installed
- package openshadinglanguage-devel-1.13.7.0-1.fc40.x86_64 from @System
requires liboslquery.so.1.13()(64bit), but none of the providers can be
installed
- package openshadinglanguage-devel-1.13.7.0-1.fc40.x86_64 from @System
requires libtestshade.so.1.13()(64bit), but none of the providers can be
installed
- package openshadinglanguage-devel-1.13.7.0-1.fc40.x86_64 from @System
requires openshadinglanguage-libs(x86-64) = 1.13.7.0-1.fc40, but none of the
providers can be installed
- package openshadinglanguage-common-headers-1.12.14.0-13.fc40.noarch from
fedora requires openshadinglanguage = 1.12.14.0-13.fc40, but none of the
providers can be installed
Ok, looking more closely, there seems to be some kind of dependency loop
between openshadinglanguage and OpenImageIO, where openshadinglanguage should
be rebuilt again after OpenImageIO. I tried that, and got the following in the
second build of openshadinglanguage:
[49/133] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -sp
ecs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64
-mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -
fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG
-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs
=/usr/lib/rpm/redhat/redhat-hardened-ld
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1
-specs=/usr/lib/rpm/redhat/redhat-package-notes
src/liboslnoise/CMakeFiles/oslnoise_test.dir/oslno
ise_test.cpp.o -o bin/oslnoise_test -L/usr/lib64/llvm15/lib
-Wl,-rpath,/usr/lib64/llvm15/lib:/builddir/build/BUILD/OpenShadingLanguage-1.13.7.0/redhat-linux-build/lib
lib/liboslnoise.so.1.13.7 /usr/lib64
/libOpenImageIO.so.2.5.7 /usr/lib64/libOpenImageIO_Util.so.2.5.7
/usr/lib64/libImath-3_1.so.29.9.0 -lm && :
FAILED: bin/oslnoise_test
: && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/
lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64
-mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-prote
ction -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG
-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib
/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes
src/liboslnoise/CMakeFiles/oslnoise_test.dir/oslnoise_test.
cpp.o -o bin/oslnoise_test -L/usr/lib64/llvm15/lib
-Wl,-rpath,/usr/lib64/llvm15/lib:/builddir/build/BUILD/OpenShadingLanguage-1.13.7.0/redhat-linux-build/lib
lib/liboslnoise.so.1.13.7 /usr/lib64/libOpenI
mageIO.so.2.5.7 /usr/lib64/libOpenImageIO_Util.so.2.5.7
/usr/lib64/libImath-3_1.so.29.9.0 -lm && :
/usr/bin/ld: /usr/lib64/libOpenImageIO.so.2.5.7: undefined reference to
`openvdb::v11_0abi10::io::StreamMetadata::delayedLoadMeta() const'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so.2.5.7: undefined reference to
`openvdb::v11_0abi10::uninitialize()'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so.2.5.7: undefined reference to
`openvdb::v11_0abi10::io::File::readGrid(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, open
vdb::v11_0abi10::math::BBox<openvdb::v11_0abi10::math::Vec3<double>
const&)'
/usr/bin/ld:
/usr/lib64/libOpenImageIO.so.2.5.7: undefined reference to
`openvdb::v11_0abi10::io::getHalfFloat(std::ios_base&)'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so.2.5.7: undefined reference to
`openvdb::v11_0abi10::io::File::close()'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so.2.5.7: undefined reference to
`openvdb::v11_0abi10::io::DelayedLoadMetadata::getCompressedSize(unsigned long)
const'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so.2.5.7: undefined reference to
`openvdb::v11_0abi10::io::File::beginName() const'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so.2.5.7: undefined reference to
`openvdb::v11_0abi10::io::getFormatVersion(std::ios_base&)'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so.2.5.7: undefined reference to
`openvdb::v11_0abi10::io::GridDescriptor::nameAsString(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char>
const&)'
/usr/bin/ld:
/usr/lib64/libOpenImageIO.so.2.5.7: undefined reference to
`openvdb::v11_0abi10::io::MappedFile::createBuffer() const'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so.2.5.7: undefined reference to
`openvdb::v11_0abi10::io::getGridBackgroundValuePtr(std::ios_base&)'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so.2.5.7: undefined reference to
`openvdb::v11_0abi10::GridBase::META_FILE_BBOX_MAX'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so.2.5.7: undefined reference to
`openvdb::v11_0abi10::GridBase::getName[abi:cxx11]() const'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so.2.5.7: undefined reference to
`openvdb::v11_0abi10::io::setStreamMetadataPtr(std::ios_base&,
std::shared_ptr<openvdb::v11_0abi10::io::StreamMetadata>&, bool)'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so.2.5.7: undefined reference to
`openvdb::v11_0abi10::io::File::isOpen() const'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so.2.5.7: undefined reference to
`openvdb::v11_0abi10::io::getStreamMetadataPtr(std::ios_base&)'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so.2.5.7: undefined reference to
`openvdb::v11_0abi10::GridBase::META_FILE_BBOX_MIN'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so.2.5.7: undefined reference to
`openvdb::v11_0abi10::io::getDataCompression(std::ios_base&)'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so.2.5.7: undefined reference to
`openvdb::v11_0abi10::io::unzipFromStream(std::istream&, char*, unsigned long)'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so.2.5.7: undefined reference to
`openvdb::v11_0abi10::io::File::endName() const'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so.2.5.7: undefined reference to
`openvdb::v11_0abi10::io::StreamMetadata::gridMetadata()'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so.2.5.7: undefined reference to
`openvdb::v11_0abi10::initialize()'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so.2.5.7: undefined reference to
`openvdb::v11_0abi10::io::DelayedLoadMetadata::getMask(unsigned long) const'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so.2.5.7: undefined reference to
`openvdb::v11_0abi10::io::File::open(bool, std::function<void
(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocato
r<char> >)
const&)'
/usr/bin/ld:
/usr/lib64/libOpenImageIO.so.2.5.7: undefined reference to
`openvdb::v11_0abi10::io::bloscFromStream(std::istream&, char*, unsigned long)'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so.2.5.7: undefined reference to
`openvdb::v11_0abi10::io::File::File(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char>
const&)'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so.2.5.7: undefined
reference to
`openvdb::v11_0abi10::io::StreamMetadata::leaf() const'
collect2: error: ld returned 1 exit status
That reminds me of what I see if I try to build Blender in Rawhide:
/usr/include/openvdb/points/AttributeArray.h:1166: error: undefined reference
to
'openvdb::v11_0abi10::points::AttributeArray::AttributeArray(openvdb::v11_0abi10::points::AttributeArray
const&, tbb::spin_mutex::scoped_lock const&)'
/usr/include/openvdb/points/AttributeArray.h:1166: error: undefined reference
to
'openvdb::v11_0abi10::points::AttributeArray::AttributeArray(openvdb::v11_0abi10::points::AttributeArray
const&, tbb::spin_mutex::scoped_lock const&)'
/usr/include/openvdb/points/AttributeArray.h:1166: error: undefined reference
to
'openvdb::v11_0abi10::points::AttributeArray::AttributeArray(openvdb::v11_0abi10::points::AttributeArray
const&, tbb::spin_mutex::scoped_lock const&)'
I wish this all could have been cleaned up before Final Freeze. I’m not going
to attempt any builds into the side tag because I don’t know how to make the
whole stack work.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2259558
Report this comment as SPAM:
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=rep...