Current release 5.1 doesn't build for me:
Scanning dependencies of target api
[ 67%] Building C object src/api/CMakeFiles/api.dir/api.c.o
In file included from /usr/include/string.h:495,
from /home/user/.cache/pikaur/build/pi-hole-ftl/src/FTL-5.1/src/FTL.h:24,
from /home/user/.cache/pikaur/build/pi-hole-ftl/src/FTL-5.1/src/api/api.c:11:
In function ‘memcpy’,
inlined from ‘getVersion’ at /home/user/.cache/pikaur/build/pi-hole-ftl/src/FTL-5.1/src/api/api.c:1062:2:
/usr/include/bits/string_fortified.h:34:10: error: ‘__builtin_memcpy’ forming offset [1, 6] is out of the bounds [0, 1] [-Werror=array-bounds]
34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [src/api/CMakeFiles/api.dir/build.make:82: src/api/CMakeFiles/api.dir/api.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:237: src/api/CMakeFiles/api.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 67%] Built target sqlite3
make: *** [Makefile:149: all] Error 2
Anything I can do?
Pinned Comments
max.bra commented on 2018-02-09 16:46 (UTC) (edited on 2019-10-18 23:13 (UTC) by max.bra)
ArchLinux Pi-hole is not officially supported by Pi-hole project. In case of bugs and malfunctions please DO NOT file a report upstream.
First of all check if the wiki (https://wiki.archlinux.org/index.php/Pi-hole) can help then ask here for assistance and tips.
When it will be excluded that the problem does not depend on ArchLinux we will file a bug upstream.