Hi all,
I have 2 pogoplug pro. One of them is running pi-hole 5.x for quite some time now. This works perfectly without any downtime or crashes.
Looking forward to the future, I wanted to give Beta 6.0 a try to see what to expect from this upgrade. So I created a fresh Debian (bookworm) install on another pogoplug pro (identical chipset / architecture).
neofetch shows this:
root@pogo01:~# neofetch
_,met$$$$$gg. root@pogo01
,g$$$$$$$$$$$$$$$P. -----------
,g$$P" """Y$$.". OS: Debian GNU/Linux 12 (bookworm) armv6l
,$$P' `$$$. Host: Pogoplug V3 Pro
',$$P ,ggs. `$$b: Kernel: 5.15.158-oxnas-tld-2
`d$$' ,$P"' . $$$ Uptime: 15 hours, 43 mins
$$P d$' , $$P Packages: 405 (dpkg)
$$: $$. - ,d$$' Shell: bash 5.2.15
$$; Y$b._ _,d$P' Terminal: /dev/pts/1
Y$$. `.`"Y$$$$P"' CPU: Generic DT based system (2)
`$$b "-.__ Memory: 33MiB / 112MiB
`Y$$
`Y$$.
`$$b.
`Y$$b.
`"Y$b._
`"""
root@pogo01:~#
Using the instructions I can find here: Pi-hole V6 Beta Testing β Pi-hole I tried to install Beta 6.0. In one of the final steps, the script tries to download a binary and fails, because this architecture seems unsupported. So I downloaded an ARM v6 binary here: index - powered by h5ai v0.30.0 (https://larsjung.de/h5ai/), pihole-FTL-armv6
.
This one fails with an Illegal instruction
exception. Below you can find the strace:
strace ./pihole-FTL-armv6
execve("./pihole-FTL-armv6", ["./pihole-FTL-armv6"], 0xbec53d70 /* 17 vars */) = 0
set_tls(0x69ce3c) = 0
set_tid_address(0x69ce80) = 17089
open("/proc/cpuinfo", O_RDONLY|O_LARGEFILE) = 3
brk(NULL) = 0x16bf000
brk(0x16c1000) = 0x16c1000
mmap2(0x16bf000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x16bf000
--- SIGILL {si_signo=SIGILL, si_code=ILL_ILLOPC, si_addr=0x3f2e78} ---
+++ killed by SIGILL +++
Illegal instruction
Finally I tried to compile the binary myself, using the instructions I can find here: https://github.com/pi-hole/docs/blob/release/v6.0/docs/ftldns/compile.md
This also seems to fail
cmake --build . -- -j $(nproc)
[ 1%] Built target tools
[ 2%] Compiling specs/teleporter.yaml
[ 3%] Compiling external/highlight-default.min.css
[ 3%] Compiling external/highlight.min.js
[ 3%] Compiling external/rapidoc-min.js
Building Pi-hole FTL daemon
- Branch: development-v6
- Architecture: armv6l (compiled locally)
- Version: v5.25.2-1917-g9491cdfe
- Tag: v5.25.2
- Hash: 9491cdfe
- Commit date: 2024-06-06 18:56:54 +0200
[ 3%] Built target gen_version
[ 4%] Compiling external/rapidoc-min.js.map
[ 4%] Built target civetweb
[ 5%] Built target cJSON
[ 5%] Compiling images/logo.svg
[ 6%] Compiling index.css
[ 6%] Compiling index.html
[ 7%] Building C object src/zip/CMakeFiles/zip.dir/gzip.c.o
[ 7%] Compiling pi-hole.js
[ 8%] Compiling specs/action.yaml
[ 8%] Compiling specs/auth.yaml
[ 9%] Compiling specs/clients.yaml
[ 10%] Compiling specs/common.yaml
[ 10%] Compiling specs/config.yaml
[ 10%] Compiling specs/dhcp.yaml
[ 10%] Compiling specs/dns.yaml
[ 11%] Compiling specs/docs.yaml
/root/FTL/src/zip/gzip.c:19: error: "__USE_MISC" redefined [-Werror]
19 | #define __USE_MISC
|
In file included from /usr/include/time.h:25,
from /root/FTL/src/zip/miniz/miniz.h:171,
from /root/FTL/src/zip/gzip.h:14,
from /root/FTL/src/zip/gzip.c:11:
/usr/include/features.h:395: note: this is the location of the previous definition
395 | # define __USE_MISC 1
|
[ 11%] Compiling specs/domains.yaml
[ 12%] Compiling specs/endpoints.yaml
[ 12%] Compiling specs/groups.yaml
[ 13%] Compiling specs/history.yaml
[ 13%] Compiling specs/info.yaml
[ 14%] Compiling specs/lists.yaml
[ 14%] Compiling specs/logs.yaml
[ 15%] Compiling specs/main.yaml
[ 15%] Compiling specs/network.yaml
[ 15%] Compiling specs/queries.yaml
[ 16%] Compiling specs/search.yaml
[ 16%] Compiling specs/stats.yaml
[ 16%] Building C object src/api/docs/CMakeFiles/api_docs.dir/docs.c.o
cc1: all warnings being treated as errors
gmake[2]: *** [src/zip/CMakeFiles/zip.dir/build.make:76: src/zip/CMakeFiles/zip.dir/gzip.c.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:614: src/zip/CMakeFiles/zip.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
[ 16%] Built target api_docs
gmake: *** [Makefile:136: all] Error 2
So, TL;DR, two questions:
- will armv6l be a supported architecture?
- anything I can do to fix the build and compile the FTL binary myself?
Many thanks in advance, and thank you for delivering such a nice product