For NetworkManager testing, we build a RPM in gitlab-ci. [1] is the the gitlab-ci.yaml script we use for that Since today, we fail to build the tests "f28_rpm_autotools_dbg" and "f28_rpm_meson_dbg" [2]. I assume this is due to gnutls 3.6.5-1.fc28 (x86_64), which was updated very recently. I tried to downgrade gnutls package to "3.6.2-1.fc28", then the test passes again [3]. The failure is a linker error: cc -o libnm-core/tests/libnm-core-test-crypto 'libnm-core/tests/libnm-core@tests@@libnm-core-test-crypto@exe/meson-generated_.._nm-core-tests-enum-types.c.o' 'libnm-core/tests/libnm-core@tests@@libnm-core-test-crypto@exe/test-crypto.c.o' -Wl,--no-undefined -Wl,--as-needed -Wl,--gc-sections -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--start-group libnm-core/libnm-core.a libnm-core/libnm-crypto-gnutls.a shared/libc-siphash.a shared/libnm-systemd-shared.a shared/libnm-systemd-logging-stub.a /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so -Wl,--export-dynamic /usr/lib64/libgmodule-2.0.so -pthread -Wl,--export-dynamic -pthread -Wl,--export-dynamic -pthread -ldl /usr/lib64/libudev.so -Wl,--export-dynamic -pthread /usr/lib64/libuuid.so /usr/lib64/libjansson.so -ldl -Wl,--export-dynamic -pthread /usr/lib64/libgnutls.so -Wl,--end-group -Wl,--export-dynamic -pthread -Wl,--export-dynamic -pthread /usr/lib64/libgnutls.so: undefined reference to `nettle_rsa_sec_decrypt@HOGWEED_4' collect2: error: ld returned 1 exit status [1] https://gitlab.freedesktop.org/NetworkManager/NetworkManager/blob/master/.gitlab-ci.yml [2] https://gitlab.freedesktop.org/NetworkManager/NetworkManager/pipelines/14630 [3] https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/jobs/78595 (I am sorry, I think the actual test data from above links is not accessible. But there isn't much more to see, except the above linker error).
You need to upgrade Nettle to 3.4.1 as well, this is a new function that is needed to plug a recent CVE. We probably need to check that the Build Requires are also updated to require this new NEttle release.
The installed version is indeed only "nettle-devel.x86_64 3.4-2.fc28" the script issues a `dnf upgrade`, but nettle is not updated to 3.4.1-1. Though, it should be already in stable, I guess https://bodhi.fedoraproject.org/updates/FEDORA-2018-f7d9989c42 Shouldn't gnutls package depend on a working nettle version? Maybe waiting will resolve the issue...
(In reply to Thomas Haller from comment #2) > The installed version is indeed only "nettle-devel.x86_64 3.4-2.fc28" > > the script issues a `dnf upgrade`, but nettle is not updated to 3.4.1-1. > Though, it should be already in stable, I guess > https://bodhi.fedoraproject.org/updates/FEDORA-2018-f7d9989c42 > > > Shouldn't gnutls package depend on a working nettle version? > > > Maybe waiting will resolve the issue... Yes, sorry about this. Indeed this was cause because gnutls-3.6.5-1.fc28 depends on nettle-3.4.1-1, which is not in stable yet (but it got the needed karma and is already in batched). It was my fault because I forgot to uncheck the autopush flag from the gnutls update, which let it to reach stable as soon as it got the required karma. Since gnutls is more tested than nettle, it got the required karma faster than nettle, reaching stable before its dependency. I should have controlled the order manually. Hopefully nettle update will get to stable soon.
No Anderson, the error is in the fact you did not upgrade the RPM Requires fields for Nettle. Please change the spec and release a new GnuTLS package that require Nettle >= 3.4.1
And Build Requires too
Ouch, right that is worse than I thought. I'll do it ASAP.
gnutls-3.6.5-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2019-1a0d4443f8
gnutls-3.6.5-2.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-1a0d4443f8
gnutls-3.6.5-2.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.