Package Details: pi-hole-ftl 5.10.2-1

Git Clone URL: https://aur.archlinux.org/pi-hole-ftl.git (read-only, click to copy)
Package Base: pi-hole-ftl
Description: The Pi-hole FTL engine
Upstream URL: https://github.com/pi-hole/FTL
Licenses: EUPL-1.1
Conflicts: dnsmasq
Provides: dnsmasq
Submitter: max.bra
Maintainer: max.bra (graysky)
Last Packager: max.bra
Votes: 43
Popularity: 1.58
First Submitted: 2017-05-07 15:23
Last Updated: 2021-09-30 20:17

Required by (77)

Sources (7)

Pinned Comments

max.bra commented on 2018-02-09 16:46

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.

Latest Comments

1 2 3 4 5 6 ... Next › Last »

max.bra commented on 2021-10-13 08:53

hi kaivai, arch packages are not necessarily working out of the box. often there is a need for configuration and adaptations for your system. for example, lighttpd is an optional dep (because you can use other web server) and of course web interface is not working without user intervention.
1) network-online.target is not mandatory (dnsmasq can resolve lan hostnames only and live happy) and you are the first submitting this problem. perhaps the problem lies in your particular configuration.
2) reading the dnsmasq documentation, bind-interfaces has nothing to do with dhcp especially if external.

-z, --bind-interfaces
        On systems which support it, dnsmasq binds the wildcard address, even 
when it is listening on only some interfaces. It then discards requests that it 
shouldn't reply to. This has the advantage of working even when interfaces come 
and go and change address. This option forces dnsmasq to really bind only the 
interfaces it is listening on. About the only time when this is useful is when 
running another nameserver (or another instance of dnsmasq) on the same machine.
Setting this option also enables multiple instances of dnsmasq which provide 
DHCP service to run in the same machine.

do you have pi-hole on a "firewall" box with two nics?

kaivai commented on 2021-10-13 01:21

Thanks for this package! Not sure if this belongs upstream, but in case you would like them. I needed to make 2x changes for this to work for me:

1) if not requires network-online.target, service start fails due to network-interface not existing yet.

# /lib/systemd/system/pihole-FTL.service
[Unit]
After=network.target network-online.target

# ...

2) set bind-interfaces for networks with DHCP provided by non-dnsmasq/pihole

# /etc/dnsmasq.conf

bind-interfaces

graysky commented on 2021-08-24 12:03

@PowaBanga - Builds for me on aarch64 (RPi4 not 3 but shouldn't matter). Are you using makepkg or some aurhelper? Hint: never use an aurhelper.

max.bra commented on 2021-08-24 12:02

Hi powabanga, I'm on mobile and can't read properly all but I think that you too are in need of a swap space. Current ftl need about 800mb of ram to compile.

PowaBanga commented on 2021-08-24 11:53

Hi Max.bra I have a fail i compilation on my rpi3 (aarch64)

/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:20948: undefined reference to `sqlite3_snprintf'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:20948: undefined reference to `sqlite3_snprintf'
/usr/bin/ld: database/CMakeFiles/sqlite3.dir/shell.c.o: in function `verify_uninitialized':
/home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:20927: undefined reference to `sqlite3_config'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:20927: undefined reference to `sqlite3_config'
/usr/bin/ld: database/CMakeFiles/sqlite3.dir/shell.c.o: in function `sqlite3_shell_main':
/home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21246: undefined reference to `sqlite3_initialize'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21246: undefined reference to `sqlite3_initialize'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21250: undefined reference to `sqlite3_vfs_find'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21250: undefined reference to `sqlite3_vfs_find'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21252: undefined reference to `sqlite3_vfs_register'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21252: undefined reference to `sqlite3_vfs_register'
/usr/bin/ld: database/CMakeFiles/sqlite3.dir/shell.c.o: in function `sqlite3_appendvfs_init':
/home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:4283: undefined reference to `sqlite3_vfs_find'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:4283: undefined reference to `sqlite3_vfs_find'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:4287: undefined reference to `sqlite3_vfs_register'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:4287: undefined reference to `sqlite3_vfs_register'
/usr/bin/ld: database/CMakeFiles/sqlite3.dir/shell.c.o: in function `process_sqliterc':
/home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:20844: undefined reference to `sqlite3_free'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:20844: undefined reference to `sqlite3_free'
/usr/bin/ld: database/CMakeFiles/sqlite3.dir/shell.c.o: in function `sqlite3_shell_main':
/home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21476: undefined reference to `sqlite3_free'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21476: undefined reference to `sqlite3_free'
/usr/bin/ld: database/CMakeFiles/sqlite3.dir/shell.c.o: in function `process_sqliterc':
/home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:20828: undefined reference to `sqlite3_mprintf'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:20828: undefined reference to `sqlite3_mprintf'
/usr/bin/ld: database/CMakeFiles/sqlite3.dir/shell.c.o: in function `sqlite3_shell_main':
/home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21166: undefined reference to `sqlite3_config'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21166: undefined reference to `sqlite3_config'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21303: undefined reference to `sqlite3_snprintf'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21303: undefined reference to `sqlite3_snprintf'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21489: undefined reference to `sqlite3_libversion'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21489: undefined reference to `sqlite3_libversion'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21489: undefined reference to `sqlite3_sourceid'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21489: undefined reference to `sqlite3_sourceid'
/usr/bin/ld: database/CMakeFiles/sqlite3.dir/shell.c.o: in function `close_db':
/home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:14841: undefined reference to `sqlite3_close'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:14841: undefined reference to `sqlite3_close'
/usr/bin/ld: database/CMakeFiles/sqlite3.dir/shell.c.o: in function `sqlite3_shell_main':
/home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21533: undefined reference to `sqlite3_free'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21533: undefined reference to `sqlite3_free'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21175: undefined reference to `sqlite3_config'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21175: undefined reference to `sqlite3_config'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21506: undefined reference to `sqlite3_snprintf'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21506: undefined reference to `sqlite3_snprintf'
/usr/bin/ld: database/CMakeFiles/sqlite3.dir/shell.c.o: in function `close_db':
/home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:14843: undefined reference to `sqlite3_errmsg'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:14843: undefined reference to `sqlite3_errmsg'
/usr/bin/ld: database/CMakeFiles/sqlite3.dir/shell.c.o: in function `sqlite3_shell_main':
/home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21476: undefined reference to `sqlite3_free'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21476: undefined reference to `sqlite3_free'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21195: undefined reference to `sqlite3_config'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21195: undefined reference to `sqlite3_config'
/usr/bin/ld: database/CMakeFiles/sqlite3.dir/shell.c.o: in function `verify_uninitialized':
/home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:20927: undefined reference to `sqlite3_config'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:20927: undefined reference to `sqlite3_config'
/usr/bin/ld: database/CMakeFiles/sqlite3.dir/shell.c.o: in function `sqlite3_shell_main':
/home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21246: undefined reference to `sqlite3_initialize'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21246: undefined reference to `sqlite3_initialize'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21348: undefined reference to `sqlite3_snprintf'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21348: undefined reference to `sqlite3_snprintf'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21342: undefined reference to `sqlite3_snprintf'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21342: undefined reference to `sqlite3_snprintf'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21338: undefined reference to `sqlite3_snprintf'
/usr/bin/ld: database/CMakeFiles/sqlite3.dir/shell.c.o:/home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21338: more undefined references to `sqlite3_snprintf' follow
/usr/bin/ld: database/CMakeFiles/sqlite3.dir/shell.c.o: in function `sqlite3_shell_main':
/home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21377: undefined reference to `sqlite3_libversion'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21377: undefined reference to `sqlite3_libversion'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21377: undefined reference to `sqlite3_sourceid'
/usr/bin/ld: /home/powabanga/.cache/aurutils/sync/pi-hole-ftl/src/FTL-5.8.1/src/database/shell.c:21377: undefined reference to `sqlite3_sourceid'
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/pihole-FTL.dir/build.make:376: pihole-FTL] Error 1
make[1]: *** [CMakeFiles/Makefile2:218: src/CMakeFiles/pihole-FTL.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

max.bra commented on 2021-08-09 09:45

Don't flag packages on makepkg problems

max.bra commented on 2021-06-20 15:46

@Palaress (hi Palaress) and like L0ric0 you need to add a swap partition or file

Palaress commented on 2021-06-20 12:58

Hello guys, I have the same problem as @L0ric0, similar error message (see below)

It's also Arch Linux aarch64

I tried upgrading from pi-hole-ftl version 5.7-1 to 5.8.1-1 by using the AUR helper yay.

Error Message:

[ 99%] Built target dnsmasq
{standard input}: Assembler messages:
{standard input}:1478379: Warning: end of file not at end of a line; newline inserted
cc: fatal error: Killed signal terminated program cc1
compilation terminated.
make[2]: *** [src/database/CMakeFiles/sqlite3.dir/build.make:90: src/database/CMakeFiles/sqlite3.dir/sqlite3.c.o] Error 1
make[2]: *** Deleting file 'src/database/CMakeFiles/sqlite3.dir/sqlite3.c.o'
make[1]: *** [CMakeFiles/Makefile2:348: src/database/CMakeFiles/sqlite3.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Note, that it did not fail at Build target FTL but on dnsmasq. Building FTL did pass earlier in the build process.

max.bra commented on 2021-06-14 10:53

@dama Hi dama, glad you solved and welcome to Linux. Don't be sorry, the only problem was that this is a place for talking about the package itself and its problems and errors.
when you are in need of tips and information try first the Arch Wiki (very active and complete) than the forum. Meanwhile, in another browser tab, search for your need between "discourse", "reddit" and "stackoverflow" hundreds results. see you.

dama commented on 2021-06-14 10:44

@Taijian: Sorry, I'm not an developer, I thought it was a kind of debug-file. I tried systemd-swap with 1024M swap file and this works for me. Thanke for the hint!