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 2220055
Summary: | F39FailsToInstall: python3-openshadinglanguage | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Fedora Fails To Install <fti-bugs> |
Component: | openshadinglanguage | Assignee: | Luya Tshimbalanga <luya_tfz> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 39 | CC: | code, luya_tfz, mhroncok, mjg, negativo17, yselkowi, zebob.m |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openshadinglanguage-1.12.13.0-2.fc39 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-10-02 00:15:25 UTC | Type: | --- |
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: | 2185070, 2226066, 2235107 | ||
Bug Blocks: | 2168845, 2135404 |
Description
Fedora Fails To Install
2023-07-05 19:06:12 UTC
$ fedpkg mockbuild --enablerepo=local /builddir/build/BUILD/OpenShadingLanguage-1.12.10.0/src/liboslcomp/oslcomp.cpp:67 8:15: required from here /usr/include/OpenImageIO/detail/fmt/core.h:1691:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt 1691 | formattable, | ^~~~~~~~~~~ /usr/include/OpenImageIO/detail/fmt/core.h:1691:7: note: 'formattable' evaluates to false Looks like this was broken by fmt 10 (https://github.com/fmtlib/fmt/releases/tag/10.0.0). Hello, Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/ This package fails to install and maintainers are advised to take one of the following actions: - Fix this bug and close this bugzilla once the update makes it to the repository. (The same script that posted this comment will eventually close this bugzilla when the fixed package reaches the repository, so you don't have to worry about it.) or - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet. or - Orphan the package if you no longer plan to maintain it. If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue. This package may be orphaned in 7+ weeks. This is the first reminder (step 3) from the policy. Don't hesitate to ask for help on devel.org if you are unsure how to fix this bug. This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39. I have not confirmed yet, but could it be this one: https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/pull/1691 It is in 1.12.13.0 but not in 1.12.12.0, and it is the only one which stuck out. Newer fmt related upstream changes appear to fix code which is not in 1.12.12.0. (In reply to Michael J Gruber from comment #4) > I have not confirmed yet, but could it be this one: > > https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/pull/1691 > > It is in 1.12.13.0 but not in 1.12.12.0, and it is the only one which stuck > out. Newer fmt related upstream changes appear to fix code which is not in > 1.12.12.0. It does look like 1.12.13.0 should fix this. Unfortunately, it requires LLVM 9-15 (not 16). I tried packaging it with > BuildRequires: llvm15-devel and > export LLVM_ROOT='%{_libdir}/llvm15' but it can’t find an appropriate clang++: > CMake Error at src/cmake/llvm_macros.cmake:43 (message): > You must have a valid llvm bitcode generator (clang++) somewhere. I’m not sure where to go from there. # Required for the plugin directory name, see https://github.com/OpenImageIO/oiio/issues/2583 %global oiio_major_minor_ver %(rpm -q --queryformat='%%{version}' OpenImageIO-devel | cut -d . -f 1-2) #%%global prerelease -RC1 %bcond_without qt5 %global commit a4e779c44fbbc12f16bc2bcd9972af97022e2341 Name: openshadinglanguage Version: 1.12.13.0 Release: %autorelease Summary: Advanced shading language for production GI renderers License: BSD-3-Clause URL: https://github.com/AcademySoftwareFoundation/OpenShadingLanguage Source: %{url}/archive/%{commit}/OpenShadingLanguage-%{commit}%{?prerelease}.tar.gz BuildRequires: bison >= 2.7 BuildRequires: boost-devel >= 1.55 BuildRequires: clang BuildRequires: clang15-devel >= 3.4 BuildRequires: cmake >= 3.12 BuildRequires: flex >= 2.5.35 BuildRequires: gcc-c++ >= 6.1 BuildRequires: llvm15-devel >= 9 BuildRequires: ninja-build # Needed for OSL pointclound functions BuildRequires: partio-devel BuildRequires: pkgconfig(Imath) >= 2.4 BuildRequires: pkgconfig(OpenImageIO) >= 2.3 BuildRequires: pkgconfig(pugixml) >= 1.8 # For osltoy BuildRequires: pkgconfig(Qt6) BuildRequires: pkgconfig(zlib) # 64 bit only ExcludeArch: %{ix86} %{arm} %description Open Shading Language (OSL) is a small but rich language for programmable shading in advanced renderers and other applications, ideal for describing materials, lights, displacement, and pattern generation. %package doc Summary: Documentation for OpenShadingLanguage License: CC-BY BuildArch: noarch Requires: %{name} = %{version} %description doc Open Shading Language (OSL) is a language for programmable shading in advanced renderers and other applications, ideal for describing materials, lights, displacement, and pattern generation. This package contains documentation. %package example-shaders-source Summary: OSL shader examples License: BSD BuildArch: noarch Requires: %{name} = %{version}-%{release} Requires: %{name}-common-headers %description example-shaders-source Open Shading Language (OSL) is a language for programmable shading in advanced renderers and other applications, ideal for describing materials, lights, displacement, and pattern generation. This package contains some OSL example shaders. %package common-headers Summary: OSL standard library and auxiliary headers License: BSD BuildArch: noarch Requires: %{name} = %{version}-%{release} %description common-headers Open Shading Language (OSL) is a language for programmable shading in advanced renderers and other applications, ideal for describing materials, lights, displacement, and pattern generation. This package contains the OSL standard library headers, as well as some additional headers useful for writing shaders. %package -n OpenImageIO-plugin-osl Summary: OpenImageIO input plugin License: BSD %description -n OpenImageIO-plugin-osl Open Shading Language (OSL) is a language for programmable shading in advanced renderers and other applications, ideal for describing materials, lights, displacement, and pattern generation. This is a plugin to access OSL from OpenImageIO. %package libs Summary: OpenShadingLanguage's libraries License: BSD %description libs Open Shading Language (OSL) is a language for programmable shading in advanced renderers and other applications, ideal for describing materials, lights, displacement, and pattern generation. %package devel Summary: Development files for %{name} License: BSD Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package -n python3-%{name} Summary: %{summary} License: BSD BuildRequires: cmake(pybind11) >= 2.4.2 BuildRequires: pkgconfig(python3) BuildRequires: python3dist(numpy) %description -n python3-%{name} %{description} %prep %autosetup -p1 -n OpenShadingLanguage-%{commit}%{?prerelease} # Use python3 binary instead of unversioned python sed -i -e "s/COMMAND python/COMMAND python3/" $(find . -iname CMakeLists.txt) %build %cmake \ -G Ninja \ -DCMAKE_CXX_STANDARD=17 \ -DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/%{name} \ -DCMAKE_SKIP_RPATH=TRUE \ -DCMAKE_SKIP_INSTALL_RPATH=YES \ -DLLVM_STATIC=0 \ -DOSL_SHADER_INSTALL_DIR:PATH=%{_datadir}/%{name}/shaders/ \ -Dpartio_DIR=%{_prefix} \ -DPARTIO_INCLUDE_DIR=%{_includedir} \ -DPARTIO_LIBRARIES=%{_libdir}/libpartio.so \ -DPYTHON_VERSION=%{python3_version} \ -DLLVM_ROOT=%{_libdir}/llvm15 \ -DLLVM_BC_GENERATOR=%{_libdir}/clang++ \ -DSTOP_ON_WARNING=OFF %cmake_build %install %cmake_install # Move the OpenImageIO plugin into its default search path mkdir %{buildroot}%{_libdir}/OpenImageIO-%{oiio_major_minor_ver} mv %{buildroot}%{_libdir}/osl.imageio.so %{buildroot}%{_libdir}/OpenImageIO-%{oiio_major_minor_ver}/ %files %license LICENSE.md %doc CHANGES.md CONTRIBUTING.md README.md %{_bindir}/oslc %{_bindir}/oslinfo %if %{with qt5} %{_bindir}/osltoy %endif %{_bindir}/testrender %{_bindir}/testshade %{_bindir}/testshade_dso %files doc %doc %{_docdir}/%{name}/ %files example-shaders-source %{_datadir}/%{name}/shaders/*.osl %{_datadir}/%{name}/shaders/*.oso %files common-headers %dir %{_datadir}/%{name} %dir %{_datadir}/%{name}/shaders %{_datadir}/%{name}/shaders/*.h %files -n OpenImageIO-plugin-osl %license LICENSE.md %dir %{_libdir}/OpenImageIO-%{oiio_major_minor_ver}/ %{_libdir}/OpenImageIO-%{oiio_major_minor_ver}/osl.imageio.so %files libs %license LICENSE.md %{_libdir}/libosl*.so.1* %{_libdir}/libtestshade.so.1* %files devel %{_includedir}/OSL/ %{_libdir}/libosl*.so %{_libdir}/libtestshade.so %{_libdir}/cmake/ %{_libdir}/pkgconfig/ %files -n python3-%{name} %{python3_sitearch}/oslquery.so %changelog %autochangelog I was trying this, still fails, filed https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/issues/1720 My bad, I'm dumb : -DLLVM_BC_GENERATOR=%{_libdir}/clang++ \ -> -DLLVM_BC_GENERATOR=%{_bindir}/clang++ \ Anyway still doesn't work: [50/138] : && ccache /usr/lib64/ccache/g++ -fPIC -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 -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,now -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 -shared -o lib/python/site-packages/oslquery.so src/liboslquery/CMakeFiles/pyoslquery.dir/py_osl.cpp.o -L/usr/lib64/llvm15/lib -Wl,-rpath,/usr/lib64/llvm15/lib:/builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/lib: /usr/lib64/libpython3.12.so lib/liboslquery.so.1.12.13 /usr/lib64/libOpenImageIO.so.2.4.14 /usr/lib64/libOpenImageIO_Util.so.2.4.14 /usr/lib64/libImath-3_1.so.29.8.0 -lm && : [51/138] : && ccache /usr/lib64/ccache/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 -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,now -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/oslinfo/CMakeFiles/oslinfo.dir/oslinfo.cpp.o -o bin/oslinfo -L/usr/lib64/llvm15/lib -Wl,-rpath,/usr/lib64/llvm15/lib:/builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/lib: lib/liboslquery.so.1.12.13 /usr/lib64/libboost_filesystem.so /usr/lib64/libboost_system.so -lboost_thread /usr/lib64/libboost_chrono.so /usr/lib64/libboost_atomic.so -lrt -ldl /usr/lib64/libOpenImageIO.so.2.4.14 /usr/lib64/libOpenImageIO_Util.so.2.4.14 /usr/lib64/libImath-3_1.so.29.8.0 -lm && : [52/138] cd /builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/src/liboslexec && /usr/bin/clang++ -DOSL_FAST_MATH=1 -DOSL_INTERNAL=1 -DOIIO_DISABLE_DEPRECATED=1 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DOIIO_HIDE_FORMAT=1 -DOSL_LLVM_VERSION=150 -DOSL_LLVM_FULL_VERSION="15.0.7" -Dosoparse=OSL_v1_12_osoparse -Doslparse=OSL_v1_12_oslparse -std=c++17 -fno-use-cxa-atexit -Xclang -no-opaque-pointers -I/builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/src/liboslexec -I/builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/src/include -I/builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/include -I/usr/include -I/usr/include -I/usr/include -DOSL_COMPILING_TO_BITCODE=1 -Wno-deprecated-register -Wno-ignored-attributes -Wno-unknown-attributes -O3 -fno-math-errno -S -emit-llvm -o /builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/src/liboslexec/llvm_ops_host.s llvm_ops.cpp && /usr/lib64/llvm15/bin/llvm-as -f -o /builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/src/liboslexec/llvm_ops_host.bc /builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/src/liboslexec/llvm_ops_host.s FAILED: src/liboslexec/llvm_ops_host.bc /builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/src/liboslexec/llvm_ops_host.bc cd /builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/src/liboslexec && /usr/bin/clang++ -DOSL_FAST_MATH=1 -DOSL_INTERNAL=1 -DOIIO_DISABLE_DEPRECATED=1 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DOIIO_HIDE_FORMAT=1 -DOSL_LLVM_VERSION=150 -DOSL_LLVM_FULL_VERSION="15.0.7" -Dosoparse=OSL_v1_12_osoparse -Doslparse=OSL_v1_12_oslparse -std=c++17 -fno-use-cxa-atexit -Xclang -no-opaque-pointers -I/builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/src/liboslexec -I/builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/src/include -I/builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/include -I/usr/include -I/usr/include -I/usr/include -DOSL_COMPILING_TO_BITCODE=1 -Wno-deprecated-register -Wno-ignored-attributes -Wno-unknown-attributes -O3 -fno-math-errno -S -emit-llvm -o /builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/src/liboslexec/llvm_ops_host.s llvm_ops.cpp && /usr/lib64/llvm15/bin/llvm-as -f -o /builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/src/liboslexec/llvm_ops_host.bc /builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/src/liboslexec/llvm_ops_host.s /usr/lib64/llvm15/bin/llvm-as: /builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/src/liboslexec/llvm_ops_host.s:13308:79: error: unterminated attribute group attributes #0 = { alwaysinline mustprogress nofree nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } ^ [53/138] cd /builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/src/liboslexec && /usr/bin/clang++ -DOSL_FAST_MATH=1 -DOSL_INTERNAL=1 -DOIIO_DISABLE_DEPRECATED=1 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DOIIO_HIDE_FORMAT=1 -DOSL_LLVM_VERSION=150 -DOSL_LLVM_FULL_VERSION="15.0.7" -Dosoparse=OSL_v1_12_osoparse -Doslparse=OSL_v1_12_oslparse -std=c++17 -fno-use-cxa-atexit -Xclang -no-opaque-pointers -DOSL_FAST_MATH=1 -DOSL_INTERNAL=1 -DOIIO_DISABLE_DEPRECATED=1 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DOIIO_HIDE_FORMAT=1 -DOSL_LLVM_VERSION=150 -DOSL_LLVM_FULL_VERSION="15.0.7" -Dosoparse=OSL_v1_12_osoparse -Doslparse=OSL_v1_12_oslparse -std=c++17 -fno-use-cxa-atexit -Xclang -no-opaque-pointers -I/builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/src/liboslexec -I/builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/src/include -I/builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/include -I/usr/include -I/usr/include -I/usr/include -DOSL_COMPILING_TO_BITCODE=1 -Wno-deprecated-register -Wno-ignored-attributes -Wno-unknown-attributes -O3 -fno-math-errno -S -emit-llvm -o /builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/src/liboslexec/llvm_ops_host_rs.s llvm_ops.cpp && /usr/lib64/llvm15/bin/llvm-as -f -o /builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/src/liboslexec/llvm_ops_host_rs.bc /builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/src/liboslexec/llvm_ops_host_rs.s FAILED: src/liboslexec/llvm_ops_host_rs.bc /builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/src/liboslexec/llvm_ops_host_rs.bc cd /builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/src/liboslexec && /usr/bin/clang++ -DOSL_FAST_MATH=1 -DOSL_INTERNAL=1 -DOIIO_DISABLE_DEPRECATED=1 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DOIIO_HIDE_FORMAT=1 -DOSL_LLVM_VERSION=150 -DOSL_LLVM_FULL_VERSION="15.0.7" -Dosoparse=OSL_v1_12_osoparse -Doslparse=OSL_v1_12_oslparse -std=c++17 -fno-use-cxa-atexit -Xclang -no-opaque-pointers -DOSL_FAST_MATH=1 -DOSL_INTERNAL=1 -DOIIO_DISABLE_DEPRECATED=1 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DOIIO_HIDE_FORMAT=1 -DOSL_LLVM_VERSION=150 -DOSL_LLVM_FULL_VERSION="15.0.7" -Dosoparse=OSL_v1_12_osoparse -Doslparse=OSL_v1_12_oslparse -std=c++17 -fno-use-cxa-atexit -Xclang -no-opaque-pointers -I/builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/src/liboslexec -I/builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/src/include -I/builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/include -I/usr/include -I/usr/include -I/usr/include -DOSL_COMPILING_TO_BITCODE=1 -Wno-deprecated-register -Wno-ignored-attributes -Wno-unknown-attributes -O3 -fno-math-errno -S -emit-llvm -o /builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/src/liboslexec/llvm_ops_host_rs.s llvm_ops.cpp && /usr/lib64/llvm15/bin/llvm-as -f -o /builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/src/liboslexec/llvm_ops_host_rs.bc /builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/src/liboslexec/llvm_ops_host_rs.s /usr/lib64/llvm15/bin/llvm-as: /builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/src/liboslexec/llvm_ops_host_rs.s:13308:79: error: unterminated attribute group attributes #0 = { alwaysinline mustprogress nofree nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } ^ [54/138] cd /builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/src/liboslexec && /usr/bin/clang++ -DOSL_FAST_MATH=1 -DOSL_INTERNAL=1 -DOIIO_DISABLE_DEPRECATED=1 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DOIIO_HIDE_FORMAT=1 -DOSL_LLVM_VERSION=150 -DOSL_LLVM_FULL_VERSION="15.0.7" -Dosoparse=OSL_v1_12_osoparse -Doslparse=OSL_v1_12_oslparse -std=c++17 -fno-use-cxa-atexit -Xclang -no-opaque-pointers -I/builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/src/liboslexec -I/builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/src/include -I/builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/include -I/usr/include -I/usr/include -I/usr/include -DOSL_COMPILING_TO_BITCODE=1 -Wno-deprecated-register -Wno-ignored-attributes -Wno-unknown-attributes -O3 -fno-math-errno -S -emit-llvm -o /builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/src/liboslexec/opmatrix_host_rs.s opmatrix.cpp && /usr/lib64/llvm15/bin/llvm-as -f -o /builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/src/liboslexec/opmatrix_host_rs.bc /builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/src/liboslexec/opmatrix_host_rs.s FAILED: src/liboslexec/opmatrix_host_rs.bc /builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/src/liboslexec/opmatrix_host_rs.bc cd /builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/src/liboslexec && /usr/bin/clang++ -DOSL_FAST_MATH=1 -DOSL_INTERNAL=1 -DOIIO_DISABLE_DEPRECATED=1 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DOIIO_HIDE_FORMAT=1 -DOSL_LLVM_VERSION=150 -DOSL_LLVM_FULL_VERSION="15.0.7" -Dosoparse=OSL_v1_12_osoparse -Doslparse=OSL_v1_12_oslparse -std=c++17 -fno-use-cxa-atexit -Xclang -no-opaque-pointers -I/builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/src/liboslexec -I/builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/src/include -I/builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/include -I/usr/include -I/usr/include -I/usr/include -DOSL_COMPILING_TO_BITCODE=1 -Wno-deprecated-register -Wno-ignored-attributes -Wno-unknown-attributes -O3 -fno-math-errno -S -emit-llvm -o /builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/src/liboslexec/opmatrix_host_rs.s opmatrix.cpp && /usr/lib64/llvm15/bin/llvm-as -f -o /builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/src/liboslexec/opmatrix_host_rs.bc /builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/src/liboslexec/opmatrix_host_rs.s /usr/lib64/llvm15/bin/llvm-as: /builddir/build/BUILD/OpenShadingLanguage-1.12.13.0/redhat-linux-build/src/liboslexec/opmatrix_host_rs.s:35871:66: error: unterminated attribute group attributes #0 = { mustprogress nofree nosync nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } ^ ninja: build stopped: subcommand failed. Problem is likely from using Clang 16 with LLVM 15. Ok seems confirmed in LLVM forums: https://discourse.llvm.org/t/using-clang-16-with-llvm-15-to-emit-ir/73037 Luya, I see you assigned this bugzilla 2 months ago and cleared the needinfo recently. However, there was no progress here for almost a month. The package fails to install and fails to build. Fedora 39 Beta was just released. Is it probable that this will be fixed (or worked around) in time for the Fedora 39 Final Freeze (2023-10-03)? If not, could you please consider retiring the package, so we can obsolete it and unblock clean upgrades to Fedora 39? A retired package can be reintroduced later during the lifetime of Fedora 39. Miro, currently no binary clang15 is available at this time preventing the build. See #2235107. Thanks for the update, however, that does not answer my question. Is it probable that this will be fixed (or worked around) in time for the Fedora 39 Final Freeze (2023-10-03)? Yes it will once we get the missing binary dependency ready i.e. clang15 as mentioned on #22351073#c2. Additionally, we cannot retire openshadinglanguage due to requirement by Blender and OpenImageIO. It looks like the clang15 maintainer has agreed to the necessary change in https://src.fedoraproject.org/rpms/clang15/pull-request/1. It’s getting awfully close to the Final Freeze to get everything built, though. openshadinglanguage is now building again in rawhide. F39 is now waiting on https://src.fedoraproject.org/rpms/clang15/pull-request/2 FEDORA-2023-e524dc9fff has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-e524dc9fff FEDORA-2023-e524dc9fff has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-e524dc9fff` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-e524dc9fff See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. Hello, Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/ All subpackages of a package against which this bug was filled are now installable or removed from Fedora 40. Thanks for taking care of it! FEDORA-2023-e524dc9fff has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report. |