Summary: | net-dns/pdnsd-1.2.9a-r2 - /.../if.h: error: redefinition of struct ifmap | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alex, sam |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 811525 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tar.bz2 logs.tar.bz2 net-dns:pdnsd-1.2.9a-r2:20210712-053223.log temp.tar.bz2 fix cmake issue with kernels >=5.14 |
Description
Toralf Förster
![]() Created attachment 723439 [details]
emerge-info.txt
Created attachment 723442 [details]
emerge-history.txt
Created attachment 723445 [details]
environment
Created attachment 723448 [details]
etc.portage.tar.bz2
Created attachment 723451 [details]
logs.tar.bz2
Created attachment 723454 [details]
net-dns:pdnsd-1.2.9a-r2:20210712-053223.log
Created attachment 723457 [details]
temp.tar.bz2
Trying to get in touch with upstream... The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b4ee34b6dca38296dc45146bfc5cec27d6dfc89 commit 9b4ee34b6dca38296dc45146bfc5cec27d6dfc89 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2021-12-07 14:29:13 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2021-12-07 14:33:15 +0000 profiles/package.mask: Masked net-dns/pdnsd for removal Bug: https://bugs.gentoo.org/801688 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> profiles/package.mask | 6 ++++++ 1 file changed, 6 insertions(+) It compiles fine with the stable linux-headers. Why not add a DEPEND = ">linux-headers-5.11". or whatever, instead of removing? (In reply to Andreas Proteus from comment #10) > It compiles fine with the stable linux-headers. > Why not add a DEPEND = ">linux-headers-5.11". or whatever, instead of > removing? Because I will not force unstable users to downgrade linux-headers. Furthermore it is just a matter of time until new linux-headers get stabilized that break pdnsd. And once new linux-headers package is stable, old versions are being removed. If you desperately need this package, please consider adding it to a local or private overlay. Oh, and you need to add the dependency line like this: <sys-kernel/linux-headers-5.13 Created attachment 757944 [details, diff] fix cmake issue with kernels >=5.14 the following patch resolves the issue with kernels >=5.14 https://github.com/msylgj/pdnsd/commit/59859acf9083010639eb9bc0bf8cb5d03f03935f tested on 5.15.6-gentoo you may place it over: /etc/portage/patches/net-dns/pdnsd/5-14_fix.patch unfortunately, dnsmasq does not provide the full functionality of pdnsd (In reply to Alexandros C. Couloumbis from comment #12) > > unfortunately, dnsmasq does not provide the full functionality of pdnsd one of the important features dnsmasq is missing is the following: https://wiki.archlinux.org/title/pdnsd "Compared to BIND or dnsmasq it can remember its cache after a reboot; "p" stands for persistent." (In reply to Alexandros C. Couloumbis from comment #13) > (In reply to Alexandros C. Couloumbis from comment #12) > > > > unfortunately, dnsmasq does not provide the full functionality of pdnsd > > one of the important features dnsmasq is missing is the following: > > https://wiki.archlinux.org/title/pdnsd > > "Compared to BIND or dnsmasq it can remember its cache after a reboot; "p" > stands for persistent." Can you explain why this is so important? I genuinely don't get it. Surely the main use of this is on machines with uptime of at least a day, in which case a fair amount of TTLs will expire (invalidating the entries). The cache isn't going to be valid for very long, so it seems unlikely it actually needs to be persistent? This feels like exactly why nobody else has implemented this in their software? (In reply to Sam James from comment #14) > (In reply to Alexandros C. Couloumbis from comment #13) > > (In reply to Alexandros C. Couloumbis from comment #12) > > > > > > unfortunately, dnsmasq does not provide the full functionality of pdnsd > > > > one of the important features dnsmasq is missing is the following: > > > > https://wiki.archlinux.org/title/pdnsd > > > > "Compared to BIND or dnsmasq it can remember its cache after a reboot; "p" > > stands for persistent." > > Can you explain why this is so important? I genuinely don't get it. Surely > the main use of this is on machines with uptime of at least a day, in which > case a fair amount of TTLs will expire (invalidating the entries). > > The cache isn't going to be valid for very long, so it seems unlikely it > actually needs to be persistent? This feels like exactly why nobody else has > implemented this in their software? sure we run an open & free wireless network (AWMN since 2002) with around 400-600 nodes that has a single root name server (by design). my node daily scans the network for name servers & uses pdnsd pointing at each one of them with an infinite expire cache time in case some node goes off-line. pdnsd is used as a last resort. that been said, there is always this: https://dev.to/pichardoj/if-it-works--dont-thouch-it-4ij7 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ce35657f269c3b7016e8940ad36e59cf06e12a4 commit 7ce35657f269c3b7016e8940ad36e59cf06e12a4 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2021-12-16 09:59:03 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2021-12-16 10:03:00 +0000 net-dns/pdnsd: Fixed build with >=sys-kernel/linux-headers-5.13 update EAPI 7 -> 8 Thanks-to: Alexandros C. Couloumbis <alex@ozo.com> Closes: https://bugs.gentoo.org/801688 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> .../files/pdnsd-1.2.9a-linux-5.13_build_fix.patch | 39 ++++++++++++++++++++++ net-dns/pdnsd/pdnsd-1.2.9a-r2.ebuild | 6 +++- 2 files changed, 44 insertions(+), 1 deletion(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a27b0b43f00bfe239f413edaf2da398ce1bf06ec commit a27b0b43f00bfe239f413edaf2da398ce1bf06ec Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2021-12-16 10:01:20 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2021-12-16 10:03:00 +0000 profiles/package.mask: Cancel last-rite of net-dns/pdnsd for now Bug: https://bugs.gentoo.org/801688 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> profiles/package.mask | 6 ------ 1 file changed, 6 deletions(-) |