Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1981730

Summary: usd: FTBFS in Fedora rawhide
Product: [Fedora] Fedora Reporter: Tomáš Hrnčiar <thrnciar>
Component: usdAssignee: Luya Tshimbalanga <luya_tfz>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: code, luya_tfz, negativo17
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/usd
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1890881, 1927309    

Description Tomáš Hrnčiar 2021-07-13 08:29:10 UTC
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

Comment 1 Ben Beasley 2021-07-13 13:35:50 UTC
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.

Comment 2 Ben Beasley 2021-07-13 13:38:13 UTC
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.

Comment 3 Tomáš Hrnčiar 2021-07-14 10:09:38 UTC
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.