2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2026-10-17 09:10:30 +00:00

test(xcat-dep): an EL10 service node cannot reach perl-Net-DNS

t/servicenode_perl_deps.t left perl-Net-DNS out of the EL10 service node set.
The recorded reason was that this tree held Net-DNS 0.80, which has no KEY
record, so shipping it would replace a working copy with a broken one. The tree
now builds 1.57 and that record is present.

No AlmaLinux 10 repository carries perl-Net-DNS, and the AlmaLinux 10 DVD that
copycds copies carries neither perl-Net-DNS nor libdb. xCAT-server requires
perl-Net-DNS, so dnf install xCATsn on an EL10 service node does not resolve.

Add perl-Net-DNS to the EL10 set. The test fails for [alma+epel-10-x86_64] and
[alma+epel-10-ppc64le] until the manifest lists the package. perl-DB_File stays
out: xCAT-server requires it outside riscv64, EL10 dropped libdb, and xcat-dep
has no source to build it from.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
This commit is contained in:
Daniel Hilst
2026-10-01 00:47:27 -03:00
parent d01ce3ce13
commit 5d4641f034
+5 -6
View File
@@ -13,17 +13,16 @@ use MockBuildUtils qw(read_manifest);
# requires, declares perl dependencies that EL keeps in CRB or in EPEL, so `dnf install xCATsn` on
# a service node does not resolve unless xcat-dep carries them.
#
# The set below was read on 2026-09-04 from the "nothing provides" lines of:
# The set below was read on 2026-10-01 from the "nothing provides" lines of:
# dnf --releasever=<el> --installroot=<empty> install xCATsn \
# --repofrompath=baseos,<alma>/<el>/BaseOS/<arch>/os/ \
# --repofrompath=appstream,<alma>/<el>/AppStream/<arch>/os/ \
# --repofrompath=core,<xcat-core repo> --repofrompath=dep,<xcat-dep repo>
# x86_64 and ppc64le give the same answer on every release.
#
# perl-Net-DNS is left out although an EL10 service node needs it. xcat-dep carries Net-DNS 0.80,
# which has no KEY resource record, and xCAT builds one in ddns.pm. Shipping 0.80 to a service
# node replaces a working AppStream copy with a broken one, so the EL10 Net-DNS gap waits for the
# version bump.
# perl-DB_File is the one package this set leaves out. xCAT-server requires it outside riscv64,
# no AlmaLinux 10 repository carries it, and it needs libdb, which EL10 dropped. xcat-dep has no
# source for it, so listing it here would assert a package nothing can build.
my %SN_PERL_DEPS = (
8 => [qw(perl-Crypt-CBC perl-Crypt-Rijndael perl-Crypt-SSLeay perl-Digest-SHA1
@@ -31,7 +30,7 @@ my %SN_PERL_DEPS = (
9 => [qw(perl-Crypt-CBC perl-Crypt-Rijndael perl-Crypt-SSLeay
perl-Expect perl-HTML-Form perl-IO-Tty perl-Net-Telnet)],
10 => [qw(perl-Crypt-CBC perl-Crypt-Rijndael perl-Crypt-SSLeay perl-Digest-SHA1
perl-Expect perl-HTML-Form perl-IO-Tty perl-Net-Telnet)],
perl-Expect perl-HTML-Form perl-IO-Tty perl-Net-DNS perl-Net-Telnet)],
);
my $builder = "$RealBin/../mockbuild-perl-packages.pl";