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 - usd: FTBFS in Fedora rawhide
Summary: usd: FTBFS in Fedora rawhide
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: usd
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Luya Tshimbalanga
QA Contact:
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: PYTHON3.10 F35FTBFS F36FTBFS
TreeView+ depends on / blocked
 
Reported: 2021-07-13 08:29 UTC by Tomáš Hrnčiar
Modified: 2021-08-12 03:13 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-12 03:13:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.

Comment 4 Fedora Release Engineering 2021-08-01 04:23:26 UTC
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

Comment 5 Ben Cotton 2021-08-10 13:12:58 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 35 development cycle.
Changing version to 35.

Comment 6 Ben Beasley 2021-08-12 03:13:28 UTC
After several fixes and workarounds, USD builds in F35 and Rawhide/F36.


Note You need to log in before you can comment on or make changes to this bug.