Description of problem: Package usd fails to build from source in Fedora rawhide. Version-Release number of selected component (if applicable): 21.05-5.fc35 Steps to Reproduce: koji build --scratch f35 usd-21.05-5.fc35.src.rpm Additional info: This package is tracked by Koschei. See: https://koschei.fedoraproject.org/package/usd
Initial triage: The problem is a linker error related to alembic (https://src.fedoraproject.org/rpms/alembic/commits/rawhide): > /usr/bin/g++ -Wall -pthread -Wno-deprecated -Wno-deprecated-declarations -Wno-unused-local-typedefs -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,--as-needed -DTBB_SUPPRESS_DEPRECATED_MESSAGES=1 -pie CMakeFiles/sdffilter.dir/sdffilter.cpp.o -o sdffilter ../../../../libusd_ms.so.0 /usr/lib64/libboost_program_options.so -ldl -lm /usr/lib64/libpython3.10.so /usr/lib64/libboost_python310.so /usr/lib64/libtbb.so /lib64/libAlembic.so /usr/lib64/libHalf-2_5.so /usr/lib64/libImath-2_5.so /usr/lib64/libIex-2_5.so /usr/lib64/libIexMath-2_5.so /usr/lib64/libhdf5.so /usr/lib64/libhdf5_cpp.so /usr/lib64/libhdf5_hl.so /usr/lib64/libhdf5_hl_cpp.so /usr/lib64/libX11.so /usr/lib64/libGL.so /usr/lib64/libosdCPU.so /usr/lib64/libosdGPU.so /lib64/libPtex.so /usr/lib64/libOpenColorIO.so /usr/lib64/libembree3.so /usr/lib64/libOpenImageIO.so /usr/lib64/libOpenImageIO_Util.so /usr/lib64/libIlmImf-2_5.so /usr/lib64/libIlmThread-2_5.so /usr/lib64/libIlmImfUtil-2_5.so /usr/lib64/libopenvdb.so /usr/lib64/libpython3.10.so /usr/lib64/libboost_python310.so /usr/lib64/libtbb.so /lib64/libAlembic.so /usr/lib64/libHalf-2_5.so /usr/lib64/libImath-2_5.so /usr/lib64/libIex-2_5.so /usr/lib64/libIexMath-2_5.so /usr/lib64/libhdf5.so /usr/lib64/libhdf5_cpp.so /usr/lib64/libhdf5_hl.so /usr/lib64/libhdf5_hl_cpp.so /usr/lib64/libX11.so /usr/lib64/libGL.so /usr/lib64/libosdCPU.so /usr/lib64/libosdGPU.so /lib64/libPtex.so /usr/lib64/libOpenColorIO.so /usr/lib64/libembree3.so /usr/lib64/libOpenImageIO.so /usr/lib64/libOpenImageIO_Util.so /usr/lib64/libIlmImf-2_5.so /usr/lib64/libIlmThread-2_5.so /usr/lib64/libIlmImfUtil-2_5.so /usr/lib64/libopenvdb.so > /usr/bin/ld: ../../../../libusd_ms.so.0: undefined reference to `Alembic::AbcGeom::v12::XformSample::addOp(Alembic::AbcGeom::v12::XformOp, Imath_2_5::Matrix44<double> const&)' > collect2: error: ld returned 1 exit status It likely has to do with https://src.fedoraproject.org/rpms/alembic/c/058cbdd3c7756838e9eface999375089c942977f?branch=rawhide, although I’m not planning to look into it more closely at the moment.
Unblocking RHBZ#1890881 (PYTHON3.10 tracker) because the timing seems to be a coincidence; the build failure seems to have nothing to do with the new Python beta.
Hello Ben, please keep PYTHON3.10 set even though it is not connected directly with Python 3.10. We have script monitoring all failing Python packages and PYTHON3.10 tracker helps us to track the ones with unreported failures. Thank you.
Dear Maintainer, your package has an open Fails To Build From Source bug for Fedora 35. Action is required from you. If you can fix your package to build, perform a build in koji, and either create an update in bodhi, or close this bug without creating an update, if updating is not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to acknowledge this. If you have already fixed this issue, please close this Bugzilla report. Following the policy for such packages [2], your package will be orphaned if this bug remains in NEW state more than 8 weeks (not sooner than 2021-09-07). A week before the mass branching of Fedora 36 according to the schedule [3], any packages not successfully rebuilt at least on Fedora 34 will be retired regardless of the status of this bug. [1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/ [2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/ [3] https://fedorapeople.org/groups/schedule/f-36/f-36-key-tasks.html
This bug appears to have been reported against 'rawhide' during the Fedora 35 development cycle. Changing version to 35.
After several fixes and workarounds, USD builds in F35 and Rawhide/F36.