Your message dated Sun, 02 Feb 2025 18:05:20 +0000 with message-id <E1teeLQ-00AoQ9-1N@fasolo.debian.org> and subject line Bug#1089574: fixed in blender 4.3.2+dfsg-2 has caused the Debian Bug report #1089574, regarding blender:FTBFS:build failure on riscv (error: #error Please add support for your architecture in BLI_build_config.h) to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 1089574: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1089574 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: blender:FTBFS:build failure on riscv (error: #error Please add support for your architecture in BLI_build_config.h)
- From: Yue Gui <yuemeng.gui@gmail.com>
- Date: Mon, 9 Dec 2024 14:43:11 +0800
- Message-id: <CAM5FbjpeCcJyO5353hROpmgrczV2xFQrdxH0FogWR3Skw=9n4Q@mail.gmail.com>
Source: blender
Version: 4.3.0+dfsg-1Severity: serious
Tags: FTBFS, patch
User: debian-riscv@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-riscv@lists.debian.orgDear blender Maintainer,The package blender build failed because BLI_build_config.h does not support riscv64. The crucial buildd log below:```[ 58%] Building CXX object source/blender/makesrna/intern/CMakeFiles/makesrna.dir/rna_object.cc.o cd /<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/source/blender/makesrna/intern && /usr/bin/c++ -DHAVE_EXECINFO_H -DHAVE_MALLOC_STATS_H -DUSE_MAKEFILE_WORKAROUND -DWITH_ASSERT_ABORT -DWITH_AUDASPACE -DWITH_BULLET -DWITH_CINEON -DWITH_CYCLES -DWITH_FFMPEG -DWITH_FFTW3 -DWITH_FLUID -DWITH_FREESTYLE -DWITH_GMP -DWITH_INPUT_NDOF -DWITH_INTERNATIONAL -DWITH_JACK -DWITH_OCEANSIM -DWITH_OPENAL -DWITH_OPENEXR -DWITH_OPENGL_BACKEND -DWITH_OPENJPEG -DWITH_OPENSUBDIV -DWITH_PULSEAUDIO -DWITH_PYTHON -DWITH_TBB -DWITH_VULKAN_BACKEND -DWITH_WEBP -DWITH_XR_OPENXR -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D__LITTLE_ENDIAN__ -I/<<PKGBUILDDIR>>/source/blender/makesrna/intern -I/<<PKGBUILDDIR>>/source/blender/makesrna -I/<<PKGBUILDDIR>>/source/blender/animrig -I/<<PKGBUILDDIR>>/source/blender/asset_system -I/<<PKGBUILDDIR>>/source/blender/blenfont -I/<<PKGBUILDDIR>>/source/blender/blenkernel -I/<<PKGBUILDDIR>>/source/blender/blenlib -I/<<PKGBUILDDIR>>/source/blender/blenloader -I/<<PKGBUILDDIR>>/source/blender/blentranslation -I/<<PKGBUILDDIR>>/source/blender/bmesh -I/<<PKGBUILDDIR>>/source/blender/depsgraph -I/<<PKGBUILDDIR>>/source/blender/draw -I/<<PKGBUILDDIR>>/source/blender/functions -I/<<PKGBUILDDIR>>/source/blender/gpu -I/<<PKGBUILDDIR>>/source/blender/ikplugin -I/<<PKGBUILDDIR>>/source/blender/imbuf -I/<<PKGBUILDDIR>>/source/blender/io/usd -I/<<PKGBUILDDIR>>/source/blender/modifiers -I/<<PKGBUILDDIR>>/source/blender/nodes -I/<<PKGBUILDDIR>>/source/blender/nodes/geometry/include -I/<<PKGBUILDDIR>>/source/blender/sequencer -I/<<PKGBUILDDIR>>/source/blender/simulation -I/<<PKGBUILDDIR>>/source/blender/windowmanager -I/<<PKGBUILDDIR>>/source/blender/editors/asset -I/<<PKGBUILDDIR>>/source/blender/editors/include -I/<<PKGBUILDDIR>>/source/blender/render -I/<<PKGBUILDDIR>>/intern/clog -I/<<PKGBUILDDIR>>/intern/cycles/blender -I/<<PKGBUILDDIR>>/extern/fmtlib/include -I/<<PKGBUILDDIR>>/intern/memutil -I/<<PKGBUILDDIR>>/intern/mantaflow/extern -I/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/source/blender/makesrna -I/<<PKGBUILDDIR>>/source/blender/python -I/<<PKGBUILDDIR>>/intern/ffmpeg -I/<<PKGBUILDDIR>>/intern/rigidbody -I/<<PKGBUILDDIR>>/source/blender/freestyle -I/<<PKGBUILDDIR>>/intern/opensubdiv -I/<<PKGBUILDDIR>>/source/blender/makesdna -I/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/source/blender/makesdna/intern -I/<<PKGBUILDDIR>>/intern/atomic/. -I/<<PKGBUILDDIR>>/intern/guardedalloc -isystem /<<PKGBUILDDIR>>/extern/audaspace/bindings/C -isystem /<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/extern/audaspace -Wuninitialized -Wredundant-decls -Wall -Wno-invalid-offsetof -Wno-sign-compare -Wlogical-op -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Werror=return-type -Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith -Wunused-parameter -Wwrite-strings -Wundef -Wcomma-subscript -Wformat-signedness -Wrestrict -Wno-suggest-override -Wuninitialized -Wno-stringop-overread -Wno-stringop-overflow -Wimplicit-fallthrough=5 -Wundef -Wmissing-declarations -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -fopenmp -pipe -fPIC -funsigned-char -fno-strict-aliasing -ffp-contract=off -fmacro-prefix-map="/<<PKGBUILDDIR>>/"="" -fmacro-prefix-map="/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/"="" -std=c++17 -MD -MT source/blender/makesrna/intern/CMakeFiles/makesrna.dir/rna_object.cc.o -MF CMakeFiles/makesrna.dir/rna_object.cc.o.d -o CMakeFiles/makesrna.dir/rna_object.cc.o -c /<<PKGBUILDDIR>>/source/blender/makesrna/intern/rna_object.cc In file included from /<<PKGBUILDDIR>>/source/blender/blenlib/BLI_math_bits.h:11, from /<<PKGBUILDDIR>>/source/blender/blenlib/BLI_bit_span_ops.hh:8, from /<<PKGBUILDDIR>>/source/blender/blenkernel/BKE_subdiv_ccg.hh:15, from /<<PKGBUILDDIR>>/source/blender/blenkernel/BKE_paint.hh:30, from /<<PKGBUILDDIR>>/source/blender/makesrna/intern/rna_object.cc:40: /<<PKGBUILDDIR>>/source/blender/blenlib/BLI_build_config.h:341:4: error: #error Please add support for your architecture in BLI_build_config.h 341 | # error Please add support for your architecture in BLI_build_config.h | ^~~~~ [ 58%] Building CXX object source/blender/blenlib/CMakeFiles/bf_blenlib.dir/intern/bit_bool_conversion.cc.o cd /<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/source/blender/blenlib && /usr/bin/c++ -DHAVE_EXECINFO_H -DWITH_ASSERT_ABORT -DWITH_FFTW3 -DWITH_FFTW3_THREADS_F_SUPPORT -DWITH_GMP -DWITH_TBB -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D__LITTLE_ENDIAN__ -I/<<PKGBUILDDIR>>/source/blender/blenlib -I/<<PKGBUILDDIR>>/intern/eigen -I/<<PKGBUILDDIR>>/source/blender/makesdna -I/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/source/blender/makesdna/intern -I/<<PKGBUILDDIR>>/extern/fmtlib/include -I/<<PKGBUILDDIR>>/extern/xxhash -I/<<PKGBUILDDIR>>/intern/guardedalloc -I/<<PKGBUILDDIR>>/intern/atomic/. -isystem /<<PKGBUILDDIR>>/extern/wcwidth -isystem /<<PKGBUILDDIR>>/extern/json/include -isystem /<<PKGBUILDDIR>>/extern/Eigen3 -Wuninitialized -Wredundant-decls -Wall -Wno-invalid-offsetof -Wno-sign-compare -Wlogical-op -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Werror=return-type -Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith -Wunused-parameter -Wwrite-strings -Wundef -Wcomma-subscript -Wformat-signedness -Wrestrict -Wno-suggest-override -Wuninitialized -Wno-stringop-overread -Wno-stringop-overflow -Wimplicit-fallthrough=5 -Wundef -Wmissing-declarations -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -fopenmp -pipe -fPIC -funsigned-char -fno-strict-aliasing -ffp-contract=off -fmacro-prefix-map="/<<PKGBUILDDIR>>/"="" -fmacro-prefix-map="/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/"="" -std=c++17 -MD -MT source/blender/blenlib/CMakeFiles/bf_blenlib.dir/intern/bit_bool_conversion.cc.o -MF CMakeFiles/bf_blenlib.dir/intern/bit_bool_conversion.cc.o.d -o CMakeFiles/bf_blenlib.dir/intern/bit_bool_conversion.cc.o -c /<<PKGBUILDDIR>>/source/blender/blenlib/intern/bit_bool_conversion.cc /<<PKGBUILDDIR>>/source/blender/blenlib/intern/bit_bool_conversion.cc: In function ‘bool blender::bits::or_bools_into_bits(blender::Span<bool>, MutableBitSpan, int64_t)’: /<<PKGBUILDDIR>>/source/blender/blenlib/intern/bit_bool_conversion.cc:13:39: warning: unused parameter ‘allowed_overshoot’ [-Wunused-parameter] 13 | const int64_t allowed_overshoot) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ [ 58%] Building CXX object source/blender/blenlib/CMakeFiles/bf_blenlib.dir/intern/bit_ref.cc.o cd /<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/source/blender/blenlib && /usr/bin/c++ -DHAVE_EXECINFO_H -DWITH_ASSERT_ABORT -DWITH_FFTW3 -DWITH_FFTW3_THREADS_F_SUPPORT -DWITH_GMP -DWITH_TBB -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D__LITTLE_ENDIAN__ -I/<<PKGBUILDDIR>>/source/blender/blenlib -I/<<PKGBUILDDIR>>/intern/eigen -I/<<PKGBUILDDIR>>/source/blender/makesdna -I/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/source/blender/makesdna/intern -I/<<PKGBUILDDIR>>/extern/fmtlib/include -I/<<PKGBUILDDIR>>/extern/xxhash -I/<<PKGBUILDDIR>>/intern/guardedalloc -I/<<PKGBUILDDIR>>/intern/atomic/. -isystem /<<PKGBUILDDIR>>/extern/wcwidth -isystem /<<PKGBUILDDIR>>/extern/json/include -isystem /<<PKGBUILDDIR>>/extern/Eigen3 -Wuninitialized -Wredundant-decls -Wall -Wno-invalid-offsetof -Wno-sign-compare -Wlogical-op -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Werror=return-type -Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith -Wunused-parameter -Wwrite-strings -Wundef -Wcomma-subscript -Wformat-signedness -Wrestrict -Wno-suggest-override -Wuninitialized -Wno-stringop-overread -Wno-stringop-overflow -Wimplicit-fallthrough=5 -Wundef -Wmissing-declarations -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -fopenmp -pipe -fPIC -funsigned-char -fno-strict-aliasing -ffp-contract=off -fmacro-prefix-map="/<<PKGBUILDDIR>>/"="" -fmacro-prefix-map="/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/"="" -std=c++17 -MD -MT source/blender/blenlib/CMakeFiles/bf_blenlib.dir/intern/bit_ref.cc.o -MF CMakeFiles/bf_blenlib.dir/intern/bit_ref.cc.o.d -o CMakeFiles/bf_blenlib.dir/intern/bit_ref.cc.o -c /<<PKGBUILDDIR>>/source/blender/blenlib/intern/bit_ref.cc [ 58%] Building CXX object source/blender/blenlib/CMakeFiles/bf_blenlib.dir/intern/bit_span.cc.o cd /<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/source/blender/blenlib && /usr/bin/c++ -DHAVE_EXECINFO_H -DWITH_ASSERT_ABORT -DWITH_FFTW3 -DWITH_FFTW3_THREADS_F_SUPPORT -DWITH_GMP -DWITH_TBB -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D__LITTLE_ENDIAN__ -I/<<PKGBUILDDIR>>/source/blender/blenlib -I/<<PKGBUILDDIR>>/intern/eigen -I/<<PKGBUILDDIR>>/source/blender/makesdna -I/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/source/blender/makesdna/intern -I/<<PKGBUILDDIR>>/extern/fmtlib/include -I/<<PKGBUILDDIR>>/extern/xxhash -I/<<PKGBUILDDIR>>/intern/guardedalloc -I/<<PKGBUILDDIR>>/intern/atomic/. -isystem /<<PKGBUILDDIR>>/extern/wcwidth -isystem /<<PKGBUILDDIR>>/extern/json/include -isystem /<<PKGBUILDDIR>>/extern/Eigen3 -Wuninitialized -Wredundant-decls -Wall -Wno-invalid-offsetof -Wno-sign-compare -Wlogical-op -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Werror=return-type -Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith -Wunused-parameter -Wwrite-strings -Wundef -Wcomma-subscript -Wformat-signedness -Wrestrict -Wno-suggest-override -Wuninitialized -Wno-stringop-overread -Wno-stringop-overflow -Wimplicit-fallthrough=5 -Wundef -Wmissing-declarations -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -fopenmp -pipe -fPIC -funsigned-char -fno-strict-aliasing -ffp-contract=off -fmacro-prefix-map="/<<PKGBUILDDIR>>/"="" -fmacro-prefix-map="/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/"="" -std=c++17 -MD -MT source/blender/blenlib/CMakeFiles/bf_blenlib.dir/intern/bit_span.cc.o -MF CMakeFiles/bf_blenlib.dir/intern/bit_span.cc.o.d -o CMakeFiles/bf_blenlib.dir/intern/bit_span.cc.o -c /<<PKGBUILDDIR>>/source/blender/blenlib/intern/bit_span.cc In file included from /<<PKGBUILDDIR>>/source/blender/blenlib/BLI_math_bits.h:11, from /<<PKGBUILDDIR>>/source/blender/blenlib/BLI_bit_span_ops.hh:8, from /<<PKGBUILDDIR>>/source/blender/blenlib/intern/bit_span.cc:6: /<<PKGBUILDDIR>>/source/blender/blenlib/BLI_build_config.h:341:4: error: #error Please add support for your architecture in BLI_build_config.h 341 | # error Please add support for your architecture in BLI_build_config.h | ^~~~~ make[3]: *** [source/blender/makesrna/intern/CMakeFiles/makesrna.dir/build.make:726: source/blender/makesrna/intern/CMakeFiles/makesrna.dir/rna_object.cc.o] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu' make[2]: *** [CMakeFiles/Makefile2:8858: source/blender/makesrna/intern/CMakeFiles/makesrna.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs....```The full buildd log is here:My solution to this issue:Modify BLI_build_config.h to support the RISC-V architecture.I have tested this solution locally,and it works well.The debpatch is in the attachment.Please let me know whether this solution can be accepted.Attachment: fix_blender_build_failure_on_riscv.patch
Description: Binary data
--- End Message ---
--- Begin Message ---
- To: 1089574-close@bugs.debian.org
- Subject: Bug#1089574: fixed in blender 4.3.2+dfsg-2
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Sun, 02 Feb 2025 18:05:20 +0000
- Message-id: <E1teeLQ-00AoQ9-1N@fasolo.debian.org>
- Reply-to: mfv@debian.org (Matteo F. Vescovi)
Source: blender Source-Version: 4.3.2+dfsg-2 Done: Matteo F. Vescovi <mfv@debian.org> We believe that the bug you reported is fixed in the latest version of blender, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1089574@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Matteo F. Vescovi <mfv@debian.org> (supplier of updated blender package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Sun, 02 Feb 2025 16:00:31 +0100 Source: blender Architecture: source Version: 4.3.2+dfsg-2 Distribution: unstable Urgency: medium Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org> Changed-By: Matteo F. Vescovi <mfv@debian.org> Closes: 1089574 Changes: blender (4.3.2+dfsg-2) unstable; urgency=medium . * debian/patches/: patchset updated - 0006-fix_FTBFS_py313.patch added - 0007-fix_FTBFS_on_riscv64.patch added (Closes: #1089574) Checksums-Sha1: 1701cae4c19bccc46ce91fef50475886fb8cebc8 3147 blender_4.3.2+dfsg-2.dsc e50893ae0dc2e7d79830fad5c417dd3aecf9cd91 41920 blender_4.3.2+dfsg-2.debian.tar.xz 8fdaa330a86265a2094635e6ccce6cd36a4fb8d4 9058 blender_4.3.2+dfsg-2_source.buildinfo Checksums-Sha256: a8d38605be1286f5adeb96aa447f15e57fd2cc59ceb58ac0383a24f3c9ddeb78 3147 blender_4.3.2+dfsg-2.dsc 90f8d010863f4d077e9d4efaa21e2f11305818f10496d73d1ed306f6d4bf0506 41920 blender_4.3.2+dfsg-2.debian.tar.xz 623980b0811db492b6e21b414927c51db8c12dc0bd3e9ec0981e653fb08a5231 9058 blender_4.3.2+dfsg-2_source.buildinfo Files: 6f7ae40a26d41d0093fab69a5b9b22d7 3147 graphics optional blender_4.3.2+dfsg-2.dsc 79771289d8ed1edcf6d8d17f9c4bd719 41920 graphics optional blender_4.3.2+dfsg-2.debian.tar.xz 8a948251870f80ed8fdde1d7e50d553f 9058 graphics optional blender_4.3.2+dfsg-2_source.buildinfo -----BEGIN PGP SIGNATURE----- Comment: Debian powered! iQKTBAEBCgB9FiEE890J+NqH0d9QRsmbBhL0lE7NzVoFAmefiaRfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEYz REQwOUY4REE4N0QxREY1MDQ2Qzk5QjA2MTJGNDk0NEVDRENENUEACgkQBhL0lE7N zVo8dA//VgHnPj+a7jfeotcvuOcnNmc4VX40JbfeG4Dtk+ROZwsDTPpWxR/Z1uWs KgpCE6il8HCIPKGfapv4+K8lgxbBKspbOAznX1G0xZW1+vDOWvH86Q0b6aa7v1SK l445QKA3deZEMSJ3kCAZxWbj+yvTDrUa4JSfgVNChK3Psqb4W200WsVHHoG9ofGX WtO7xXpI9wylvjEBjBA9Ssag/S993kvZ336udl59TnTt8v/BkyzqcEZHYFg4ctTG ePs6OLuUM6FhrqwSrOL8VAerNVYspz9pKRZj5tjYaU81JJONtW6JArYwTSLp2287 /VI5CfiHXcqVYRci665dJtUIUPgWOEHfquDZg5Db0WNmvEtXkmSOOGxc83QOU4wP Yj8jnVYea3194KcZ1l3uIUlWbvsOumWSRfHw/Yq0K3VOY4IxYuNZe+pIslJFfjjX /waEYP9cl3cbwgLbrm055xzeD5+pShqNq56fAjZlCTSm18sAe4HRWY13fVSmGrmd JFm8iplS1oG8RO5LUvApF79JEktk6Cgzaqp6fU52yKfyvRGL4EMNvmRpmZ4u0a9Y ljFVmMFg84HIkWOGDRnlJkGCDnhqhUSRvFDIxFjwYTU1thQ2IvJkWWdaPMzpKXND McagV80ZCqOv/vK05DdLrR8PNLmcF9BacHqzOdVI18VfrNJQBBA= =qTSX -----END PGP SIGNATURE-----Attachment: pgpMAdolNZ1DP.pgp
Description: PGP signature
--- End Message ---