https://bugzilla.redhat.com/show_bug.cgi?id=2299704
Bug ID: 2299704 Summary: [regression] error: implicit declaration of function ‘BLI_endian_switch_uint32’ Product: Fedora Version: 40 Hardware: s390x URL: https://koji.fedoraproject.org/koji/taskinfo?taskID=12 0955251 OS: Linux Status: NEW Component: blender Keywords: Regression, TestBlocker Severity: medium Assignee: luya_tfz@thefinalzone.net Reporter: luya_tfz@thefinalzone.net QA Contact: extras-qa@fedoraproject.org CC: code@musicinmybrain.net, design-devel@lists.fedoraproject.org, epel-packagers-sig@lists.fedoraproject.org, kwizart@gmail.com, luya_tfz@thefinalzone.net, negativo17@gmail.com Target Milestone: --- Classification: Fedora
On Blender 4.2.0, the build failed due to implicit declaration of function ‘BLI_endian_switch_uint32’ from 'blender-4.2.0/source/blender/blenlib/intern/filereader_zstd.c'. It seems like a regression compared to the previous version 4.1.x.
Reproducible: Always
Steps to Reproduce: 1.Build Blender 4.2.0 on s390x architecture 2. 3. Actual Results: FAILED: source/blender/blenlib/CMakeFiles/bf_blenlib.dir/intern/filereader_zstd.c.o /usr/bin/ccache /usr/lib64/ccache/gcc -DHAVE_EXECINFO_H -DNDEBUG -DWITH_ASSERT_ABORT -DWITH_FFTW3 -DWITH_FFTW3_THREADS_F_SUPPORT -DWITH_GHOST_WAYLAND_LIBDECOR -DWITH_GMP -DWITH_TBB -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D__BIG_ENDIAN__ -I/builddir/build/BUILD/blender-4.2.0-build/blender-4.2.0/source/blender/blenlib -I/builddir/build/BUILD/blender-4.2.0-build/blender-4.2.0/intern/eigen -I/builddir/build/BUILD/blender-4.2.0-build/blender-4.2.0/source/blender/makesdna -I/builddir/build/BUILD/blender-4.2.0-build/blender-4.2.0/redhat-linux-build/source/blender/makesdna/intern -I/builddir/build/BUILD/blender-4.2.0-build/blender-4.2.0/extern/fmtlib/include -I/builddir/build/BUILD/blender-4.2.0-build/blender-4.2.0/extern/xxhash -I/builddir/build/BUILD/blender-4.2.0-build/blender-4.2.0/intern/guardedalloc -I/builddir/build/BUILD/blender-4.2.0-build/blender-4.2.0/intern/atomic/. -isystem /builddir/build/BUILD/blender-4.2.0-build/blender-4.2.0/extern/wcwidth -isystem /builddir/build/BUILD/blender-4.2.0-build/blender-4.2.0/extern/json/include -isystem /usr/include/eigen3 -Wall -Werror=implicit-function-declaration -Wstrict-prototypes -Werror=return-type -Werror=vla -Wmissing-prototypes -Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith -Wunused-parameter -Wwrite-strings -Wlogical-op -Wundef -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Wformat-signedness -Wrestrict -Wno-stringop-overread -Wno-stringop-overflow -Wnonnull -Wabsolute-value -Wuninitialized -Wredundant-decls -Wshadow -Wimplicit-fallthrough=5 -Wno-error=unused-but-set-variable -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,--as-needed -fopenmp -std=gnu11 -pipe -fPIC -funsigned-char -fno-strict-aliasing -ffp-contract=off -fmacro-prefix-map="/builddir/build/BUILD/blender-4.2.0-build/blender-4.2.0/"="" -fmacro-prefix-map="/builddir/build/BUILD/blender-4.2.0-build/blender-4.2.0/redhat-linux-build/"="" -Wno-maybe-uninitialized -DNDEBUG -MD -MT source/blender/blenlib/CMakeFiles/bf_blenlib.dir/intern/filereader_zstd.c.o -MF source/blender/blenlib/CMakeFiles/bf_blenlib.dir/intern/filereader_zstd.c.o.d -o source/blender/blenlib/CMakeFiles/bf_blenlib.dir/intern/filereader_zstd.c.o -c /builddir/build/BUILD/blender-4.2.0-build/blender-4.2.0/source/blender/blenlib/intern/filereader_zstd.c /builddir/build/BUILD/blender-4.2.0-build/blender-4.2.0/source/blender/blenlib/intern/filereader_zstd.c: In function ‘zstd_read_u32’: /builddir/build/BUILD/blender-4.2.0-build/blender-4.2.0/source/blender/blenlib/intern/filereader_zstd.c:42:3: error: implicit declaration of function ‘BLI_endian_switch_uint32’ [-Wimplicit-function-declaration] 42 | BLI_endian_switch_uint32(val);
Expected Results: Build should be successful.
https://bugzilla.redhat.com/show_bug.cgi?id=2299704
Luya Tshimbalanga luya_tfz@thefinalzone.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |467765 (ZedoraTracker), | |485231 | |(F-ExcludeArch-s390x) Doc Type|--- |If docs needed, set a value
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=467765 [Bug 467765] Fedora for System z (s390): Bug Tracker https://bugzilla.redhat.com/show_bug.cgi?id=485231 [Bug 485231] ExcludeArch Tracker for s390x
https://bugzilla.redhat.com/show_bug.cgi?id=2299704
Dan Horák dan@danny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dan@danny.cz
--- Comment #1 from Dan Horák dan@danny.cz --- I am pretty sure this upstream change is the culprit - https://github.com/blender/blender/commit/de18b629f0a62323c305b48ef9c100ec43...
https://bugzilla.redhat.com/show_bug.cgi?id=2299704
--- Comment #2 from Luya Tshimbalanga luya_tfz@thefinalzone.net --- Bug filed upstream. https://projects.blender.org/blender/blender/issues/125395
https://bugzilla.redhat.com/show_bug.cgi?id=2299704
Luya Tshimbalanga luya_tfz@thefinalzone.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
--- Comment #3 from Luya Tshimbalanga luya_tfz@thefinalzone.net --- Upstream restored support for s390x. Once the update is set, we can close the issue as solved.
https://bugzilla.redhat.com/show_bug.cgi?id=2299704
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED
--- Comment #4 from Fedora Update System updates@fedoraproject.org --- FEDORA-EPEL-2024-de8ded0e40 (blender-3.3.21-1.el9) has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-de8ded0e40
https://bugzilla.redhat.com/show_bug.cgi?id=2299704
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED
--- Comment #4 from Fedora Update System updates@fedoraproject.org --- FEDORA-EPEL-2024-de8ded0e40 (blender-3.3.21-1.el9) has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-de8ded0e40
--- Comment #5 from Fedora Update System updates@fedoraproject.org --- FEDORA-2024-0d769e844b (blender-4.2.1-3.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-0d769e844b
https://bugzilla.redhat.com/show_bug.cgi?id=2299704
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #6 from Fedora Update System updates@fedoraproject.org --- FEDORA-EPEL-2024-de8ded0e40 has been pushed to the Fedora EPEL 9 testing repository.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-de8ded0e40
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
https://bugzilla.redhat.com/show_bug.cgi?id=2299704
--- Comment #7 from Fedora Update System updates@fedoraproject.org --- FEDORA-2024-0d769e844b has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-0d769e844b` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-0d769e844b
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
https://bugzilla.redhat.com/show_bug.cgi?id=2299704
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Resolution|--- |ERRATA Fixed In Version| |blender-4.2.1-3.fc40 Last Closed| |2024-09-04 02:22:52
--- Comment #8 from Fedora Update System updates@fedoraproject.org --- FEDORA-2024-0d769e844b (blender-4.2.1-3.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=2299704
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|blender-4.2.1-3.fc40 |blender-4.2.1-3.fc40 | |blender-3.3.21-1.el9
--- Comment #9 from Fedora Update System updates@fedoraproject.org --- FEDORA-EPEL-2024-de8ded0e40 (blender-3.3.21-1.el9) has been pushed to the Fedora EPEL 9 stable repository. If problem still persists, please make note of it in this bug report.
design-devel@lists.fedoraproject.org