Bug#1050216: cpu-features: FTBFS on armhf, armel "Including cpuinfo_aarch64.h from a non-aarch64 target"
On Tue, Aug 22, 2023 at 5:45 PM Emanuele Rocca wrote: > > Hi! > > On 2023-08-22 04:42, Shengjing Zhu wrote: > > I can't reproduce it on abel.debian.org > > https://db.debian.org/machines.cgi?host=abel > > I assume you are cross building, or running it on an armhf/armel > > container on arm64 host. > > Ah yes, good catch, I'm building on a arm64 host with: > > sbuild --arch=armhf > > Note that building 0.7.0-1 with `Machine Architecture: arm64` worked in > the past, see: > https://buildd.debian.org/status/fetch.php?pkg=cpu-features=armhf=0.7.0-1=1655403767=0 I uploaded 0.9.0-1, and it still builds on buildd for armhf/armel, with `Machine Architecture: arm64`. Could you test again? or maybe you have a different setup then buildd? -- Shengjing Zhu
Bug#1050216: cpu-features: FTBFS on armhf, armel "Including cpuinfo_aarch64.h from a non-aarch64 target"
Hi! On 2023-08-22 04:42, Shengjing Zhu wrote: > I can't reproduce it on abel.debian.org > https://db.debian.org/machines.cgi?host=abel > I assume you are cross building, or running it on an armhf/armel > container on arm64 host. Ah yes, good catch, I'm building on a arm64 host with: sbuild --arch=armhf Note that building 0.7.0-1 with `Machine Architecture: arm64` worked in the past, see: https://buildd.debian.org/status/fetch.php?pkg=cpu-features=armhf=0.7.0-1=1655403767=0
Bug#1050216: cpu-features: FTBFS on armhf, armel "Including cpuinfo_aarch64.h from a non-aarch64 target"
Control: severity -1 important On Tue, Aug 22, 2023 at 4:21 PM Emanuele Rocca wrote: > > Source: cpu-features > Version: 0.7.0-1 > Severity: serious > Tags: sid trixie ftbfs > User: debian-...@lists.debian.org > Usertags: armhf armel > > Hi, > > cpu-features fails to build on armhf and armel with the following error: > > In file included from /<>/test/cpuinfo_aarch64_test.cc:15: > /<>/test/../include/cpuinfo_aarch64.h:155:2: error: #error > "Including cpuinfo_aarch64.h from a non-aarch64 target." > 155 | #error "Including cpuinfo_aarch64.h from a non-aarch64 target." > | ^ > make[3]: *** [test/CMakeFiles/cpuinfo_aarch64_test.dir/build.make:79: > test/CMakeFiles/cpuinfo_aarch64_test.dir/cpuinfo_aarch64_test.cc.o] Error 1 > make[3]: Leaving directory '/<>/obj-arm-linux-gnueabi' > make[2]: *** [CMakeFiles/Makefile2:1400: > test/CMakeFiles/cpuinfo_aarch64_test.dir/all] Error 2 I can't reproduce it on abel.debian.org https://db.debian.org/machines.cgi?host=abel I assume you are cross building, or running it on an armhf/armel container on arm64 host. -- Shengjing Zhu
Bug#1050216: cpu-features: FTBFS on armhf, armel "Including cpuinfo_aarch64.h from a non-aarch64 target"
Source: cpu-features Version: 0.7.0-1 Severity: serious Tags: sid trixie ftbfs User: debian-...@lists.debian.org Usertags: armhf armel Hi, cpu-features fails to build on armhf and armel with the following error: In file included from /<>/test/cpuinfo_aarch64_test.cc:15: /<>/test/../include/cpuinfo_aarch64.h:155:2: error: #error "Including cpuinfo_aarch64.h from a non-aarch64 target." 155 | #error "Including cpuinfo_aarch64.h from a non-aarch64 target." | ^ make[3]: *** [test/CMakeFiles/cpuinfo_aarch64_test.dir/build.make:79: test/CMakeFiles/cpuinfo_aarch64_test.dir/cpuinfo_aarch64_test.cc.o] Error 1 make[3]: Leaving directory '/<>/obj-arm-linux-gnueabi' make[2]: *** [CMakeFiles/Makefile2:1400: test/CMakeFiles/cpuinfo_aarch64_test.dir/all] Error 2