Package Details: pi-hole-ftl 5.25.2-2

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.2
Conflicts: dnsmasq
Provides: dnsmasq
Submitter: max.bra
Maintainer: max.bra (graysky)
Last Packager: max.bra
Votes: 54
Popularity: 0.011271
First Submitted: 2017-05-07 15:23 (UTC)
Last Updated: 2024-08-10 09:53 (UTC)

Required by (65)

Sources (6)

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.

Latest Comments

« First ‹ Previous 1 .. 21 22 23 24 25 26 27 28 29 30 31 .. 44 Next › Last »

max.bra commented on 2019-10-07 09:30 (UTC)

don't paste code here w/o markdown it, it's unusable and incomprehensible

thepasto commented on 2019-10-07 09:27 (UTC) (edited on 2019-10-07 09:41 (UTC) by thepasto)

Adding https://pastebin.com/GXUaeHWk

Should solve @pepper_chico issue

EDIT: Sorry

max.bra commented on 2019-10-07 09:15 (UTC) (edited on 2019-10-07 09:30 (UTC) by max.bra)

yes! it's about latest glib update. patching... done!

rbr1685 commented on 2019-10-07 08:21 (UTC) (edited on 2019-10-07 08:26 (UTC) by rbr1685)

@max.bra - precisely the same result using makepkg. Fully updated system 5.3.4-arch1-1-ARCH

Also same result booting to 4.19.77-1-lts

max.bra commented on 2019-10-07 07:14 (UTC) (edited on 2019-10-07 07:21 (UTC) by max.bra)

@iegubkin @rbr1685 mmm, make no sense. can you please download the package snapshot from this page, unzip it and makepkg from there using NO aur helper?

max.bra commented on 2019-10-07 07:06 (UTC)

@pepper_chico it seems that your kernel has not ambient capabilities enabled. can you try, or better, upgrade to a different/recent kernel version checking that CONFIG_SECURITY_CAPABILITIES kernel config option is enabled?

pepper_chico commented on 2019-10-07 03:15 (UTC)

@max.bra, in case you were asking my OS and kernel version:

[I] ➜ uname -a
Linux planck 3.14.79-3-ARCH #1 SMP Wed May 10 01:50:38 UTC 2017 armv7l GNU/Linux

iegubkin commented on 2019-10-07 03:04 (UTC) (edited on 2019-10-07 03:11 (UTC) by iegubkin)

I'm having the same problem as rbr1685. A fully updated install as of this time cannot successfully build pi-hole-ftl. Tried it on three machines with the same result.

dnsmasq/dhcp.c: In function ‘dhcp_packet’:
dnsmasq/dhcp.c:182:17: error: ‘SIOCGSTAMP’ undeclared (first use in this function); did you mean ‘SIOCGARP’?
  182 |   if (ioctl(fd, SIOCGSTAMP, &tv) == 0)
      |                 ^~~~~~~~~~
      |                 SIOCGARP
dnsmasq/dhcp.c:182:17: note: each undeclared identifier is reported only once for each function it appears in
make: *** [Makefile:120: dnsmasq/obj/dhcp.o] Error 1
make: *** Waiting for unfinished jobs....

...

sqlite3.c:88511:1: note: here
88511 | case OP_Rewind: {        /* jump */
      | ^~~~
sqlite3.c:89810:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
89810 |   pOp->opcode = OP_AggStep1;
      |               ^
sqlite3.c:89813:1: note: here
89813 | case OP_AggStep1: {
      | ^~~~
sqlite3.c:90681:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
90681 |   pOp->opcode += 2;
      |   ~~~~~~~~~~~~^~~~
sqlite3.c:90684:1: note: here
90684 | case OP_PureFunc:              /* group */
      | ^~~~
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'pi-hole-ftl'

The package was able to be built before this update:

Packages (69) bash-5.0.011-1  binutils-2.32-3  bluez-libs-5.51-2
              ca-certificates-mozilla-3.46.1-1  cairo-1.17.2+17+g52a7c79fd-2
              firefox-69.0.2-1  fribidi-1.0.7-1  fuse-common-3.7.0-1  fuse3-3.7.0-1
              gcc-9.2.0-2  gcc-libs-9.2.0-2  geany-1.36-1  geany-plugins-1.36-1
              glib-networking-2.62.1-1  glib2-2.62.1-1  glibc-2.30-1  gnutls-3.6.10-1
              gtk-update-icon-cache-1:3.24.12-1  gtk3-1:3.24.12-1  harfbuzz-2.6.2-1
              iana-etc-20190930-1  imagemagick-7.0.8.68-1  jack-0.125.0-8  kodi-18.4-3
              kodi-addon-inputstream-adaptive-2.4.2-3  kodi-bin-18.4-3
              kodi-eventclients-18.4-3  kodi-platform-20190726.809c5e9-4
              lib32-gcc-libs-9.2.0-2  lib32-glib2-2.62.1-1  lib32-glibc-2.30-1
              lib32-harfbuzz-2.6.2-1  lib32-libglvnd-1.2.0-1  lib32-libpcap-1.9.1-1
              lib32-mesa-19.2.0-2  lib32-sdl-1.2.15-8  libglvnd-1.2.0-1  libnl-3.5.0-1
              libpcap-1.9.1-1  libtool-2.4.6+42+gb88cebd5-6  libusb-1.0.23-1
              libva-mesa-driver-19.2.0-2  linux-5.3.4.arch1-1  linux-api-headers-5.3.1-1
              linux-firmware-20190923.417a9c6-1  lximage-qt-0.14.1-2  mesa-19.2.0-2
              mpv-1:0.29.1-10  mujs-1.0.6-1  nano-4.5-1  noto-fonts-20190926-1
              nss-3.46.1-1  p11-kit-0.23.18.1-1  pacman-contrib-1.2.0-1
              pacman-mirrorlist-20191001-1  python-3.7.4-2  python-packaging-19.2-2
              python-pip-19.2.3-1  python-urllib3-1.25.5-1  python2-packaging-19.2-2
              python2-pycryptodomex-3.9.0-1  sdl-1.2.15-13  sqlite-3.30.0-1
              vulkan-icd-loader-1.1.123-1  wine-4.17-1
              xf86-video-intel-1:2.99.917+892+gc6cb1b19-1  zita-alsa-pcmi-0.3.2-2
              zita-resampler-1.6.2-2  zstd-1.4.3-1

From this list I manually updated--gcc gcc-libs sqlite binutils glib-networking glib2 glibc--and was able to successfully build the package. After installing the remaining ones the build failed as noted above.

pepper_chico commented on 2019-10-07 02:49 (UTC)

@max.bra, this is what's in journal:

Oct 06 23:46:54 planck systemd[1]: pihole-FTL.service: Main process exited, code=exited, status=218/CAPABILITIES
Oct 06 23:46:54 planck systemd[14094]: pihole-FTL.service: Failed at step CAPABILITIES spawning /usr/bin/pihole-FTL: Invalid argument
Oct 06 23:46:54 planck systemd[14094]: pihole-FTL.service: Failed to apply ambient capabilities (before UID change): Invalid argument

rbr1685 commented on 2019-10-07 02:18 (UTC) (edited on 2019-10-07 08:44 (UTC) by rbr1685)

dnsmasq/dhcp.c: In function ‘dhcp_packet’: dnsmasq/dhcp.c:182:17: error: ‘SIOCGSTAMP’ undeclared (first use in this function); did you mean ‘SIOCGARP’? 182 | if (ioctl(fd, SIOCGSTAMP, &tv) == 0) | ^~~~~~~~~~ | SIOCGARP dnsmasq/dhcp.c:182:17: note: each undeclared identifier is reported only once for each function it appears in make: *** [Makefile:120: dnsmasq/obj/dhcp.o] Error 1 ==> ERROR: A failure occurred in build(). Aborting...

Error from latest upgrade - is there a fix for this please?