Skip to content

fix: use runtime require for xCAT::DHCP::Backend in dhcpop#7554

Merged
Obihoernchen merged 1 commit into
xcat2:masterfrom
VersatusHPC:fix/dhcpop-requires
May 6, 2026
Merged

fix: use runtime require for xCAT::DHCP::Backend in dhcpop#7554
Obihoernchen merged 1 commit into
xcat2:masterfrom
VersatusHPC:fix/dhcpop-requires

Conversation

@viniciusferrao
Copy link
Copy Markdown
Member

That PR should fix the precedence issue on the build system.

The xCAT-server build-readme script runs every tool in share/xcat/tools/
with --help during RPM packaging. At build time perl-xCAT is not installed,
so the compile-time 'use xCAT::DHCP::Backend' aborts before --help can run.

Switch to runtime require inside the remove-operation branch where the
module is actually needed.
@Obihoernchen Obihoernchen added this to the 2.18 milestone May 6, 2026
@Obihoernchen Obihoernchen merged commit b93a54d into xcat2:master May 6, 2026
2 checks passed
@viniciusferrao viniciusferrao deleted the fix/dhcpop-requires branch May 7, 2026 03:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants