Build instructions:

git clean -xdf
git checkout .
git submodule update --init
libtoolize -ci
autoreconf -fi
./configure --disable-rpath --with-examples --with-drill --enable-ed25519 
--disable-ldns-config --build=x86_64-linux-gnu --prefix=/usr 
--includedir=/usr/include --mandir=/usr/share/man --infodir=/usr/share/info 
--sysconfdir=/etc --localstatedir=/var --disable-option-checking 
--disable-silent-rules --libdir=/usr//lib/x86_64-linux-gnu --runstatedir=/run 
--disable-maintainer-mode --disable-dependency-tracking
make
./examples/ldns-key2ds -n -2 ~/root.key

Various builds later (git = from git as above; pkg = re-build the pkg
as-is):

git 1.7.1@i - bad result
git 1.7.1@j - ftbfs openssl
pkg 1.7.1@i - bad result
pkg 1.7.1@j - bad result
git 1.8.1@j - good result

Insight:
- 1.7.1 in Impish (e.g. on rebuild) is affected by the same issue
  - old in-archive builld is from hirsute 19 Nov 2020
- Something in 1.8.1 makes this right in jammy
- openssl3 breakage blocks most free bisecting

git 1.8.1@i - good result
git 1.8.0@j - good result

Insight:
- whatever is in 1.8.x fixes impish as well
- 1.8.0 is already good
- we might be able to bisect on Impish (no openssl3 block there)

Bisect new tag:1.8.0 <-> old tag:release-1.7.1

Identified:
- https://github.com/NLnetLabs/ldns/issues/131
- 
https://github.com/NLnetLabs/ldns/commit/4d2057f0b5220487882be1b19c302833b84cffe3


git 1.7.1@i + cherry pick - good result
git 1.8.1@j - revert fix - bad result

Insight:
- it is actually a gcc-11 issue of ldns
- fix can be backported and fixes the issue
- fixed in 1.8.0 and later

** Bug watch added: github.com/NLnetLabs/ldns/issues #131
   https://github.com/NLnetLabs/ldns/issues/131

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1966237

Title:
  ldnsutils emits wrong sha256 hashes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ldns/+bug/1966237/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to