2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2026-12-03 15:47:02 +00:00
Daniel Hilst baf4226096 fix(xcat-dep): the perl packages cannot resolve their BuildRequires on Leap
The four perl packages are rebuilt from Fedora source rpms, which BuildRequire
perl-generators and perl-interpreter. openSUSE has neither: there perl provides
the interpreter and rpm generates the perl dependencies itself. dnf builddep
stops before the build, so every one of them fails in a Leap chroot and the
repository ships without perl-IO-Stty, perl-HTTP-Async, perl-Net-HTTPS-NB and
perl-Net-Telnet, all of which xCAT requires.

A build-only rpm provides those three names and pulls the real perl, in a local
repository the mock configuration of a SUSE target reads. It is never shipped.
The decision, the spec and the configuration text move into MockBuildUtils so a
test can exercise them in process; mockbuild-perl-packages.pl keeps the rpmbuild
and createrepo_c calls and builds the repository under the caller's own
per-package directory, so parallel perl builds cannot race on it.

perl_mock_cfg_text refuses a SUSE target with no compat repository rather than
writing a configuration without it, because building without the compat is the
failure this prevents.

The fix existed on the uftp-suse lineage and was never proposed here.

t/perl_buildreq_compat.t fails 3 of 6 on the parent commit.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-10-23 01:20:26 -03:00
2013-05-29 14:58:44 +00:00
2008-10-13 15:50:23 +00:00
2011-11-08 18:33:23 +00:00
2009-07-08 18:55:52 +00:00
2020-01-06 16:34:55 -05:00
2018-11-29 05:44:55 -05:00
2018-11-29 05:44:55 -05:00
2008-04-10 19:42:20 +00:00
2011-09-21 19:13:13 +00:00
2018-11-29 05:44:55 -05:00
2018-11-29 05:44:55 -05:00
2018-11-29 05:44:55 -05:00
2022-09-26 16:20:45 +02:00
2018-11-29 05:44:55 -05:00
2018-11-29 05:44:55 -05:00
2009-04-24 20:17:23 +00:00
2016-12-12 13:44:39 -05:00
S
Description
No description provided
245 MiB
Languages
Perl 79.3%
JavaScript 6.3%
C 3.9%
Shell 3.1%
SQLPL 2%
Other 5.2%