* Messages for package net-dns/ddclient-3.10.0_rc2: * FAILED postinst: 1 * ERROR: net-dns/ddclient-3.10.0_rc2::gentoo failed (postinst phase): * (no error message) * * Call stack: * ebuild.sh, line 122: Called pkg_postinst * environment, line 1823: Called die * The specific snippet of code: * cp /etc/ddclient/ddclient.conf /etc/ddclient.conf || die; * * If you need support, post the output of `emerge --info '=net-dns/ddclient-3.10.0_rc2::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-dns/ddclient-3.10.0_rc2::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-dns/ddclient-3.10.0_rc2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-dns/ddclient-3.10.0_rc2/temp/environment'. * Working directory: '/var/tmp/portage/net-dns/ddclient-3.10.0_rc2/empty' * S: '/var/tmp/portage/net-dns/ddclient-3.10.0_rc2/work/ddclient-3.10.0_2' Reproducible: Always
We need to check if ddclient.conf exists before moving it. But we should also avoid keywording RCs unless carefully considered.
The question is, why is /etc/ddclient/ddclient.conf not present? It's default installed by 3.9.x. > We need to check if ddclient.conf exists before moving it. Yeah, makes sense. > But we should also avoid keywording RCs unless carefully considered. I don't see any problems here. Using it now for month locally.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50ff065438d63596d5651ac0b5c36adbdc9b5d1b commit 50ff065438d63596d5651ac0b5c36adbdc9b5d1b Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2022-10-10 21:58:02 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2022-10-10 22:00:52 +0000 net-dns/ddclient: add exist check for config Check, if old config exists before migrating it. Closes: https://bugs.gentoo.org/876628 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> net-dns/ddclient/ddclient-3.10.0_rc2.ebuild | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
(In reply to Conrad Kostecki from comment #2) > The question is, why is /etc/ddclient/ddclient.conf not present? It's > default installed by 3.9.x. I think the problem is with the version check: "if ver_test "${v}" -lt 3.10.0; then" If "3.10.0_rc2" is considered lower than "3.10.0", reinstalling the latest version triggers the problem. List of version modifier precedence: https://devmanual.gentoo.org/ebuild-writing/file-format/index.html#file-naming-rules