Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions utils/rpms/packaging/rpm_chrootbuild
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,26 @@ best=0
"""
EOF

# Leap 15.5 and Leap 15.6 DAOS packages COEXIST in a single Artifactory
# repository path. During dependency resolution for Leap 15.5, dnf prefers
# .suse.lp156 package candidates because string lp156 > lp155 from
# the string-comparison point of view.
#
# This leads to 15.5 builds pulling 15.6-built packages where these packages
# are not compatible with the Leap 15.5 system e.g. 15.6-built packages
# require GLIBC_2.34 symbols, while Leap 15.5 provides glibc up to 2.31.
#
# The result is an installation failure for Leap 15.5. Therefore we apply

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The result is an installation failure for Leap 15.5.

This is incorrect. The issue is that these packages will be installed, but you will not be able to use them.

# a repository filter in dnf.conf (exclude .lp156).
if [[ "$CHROOT_NAME" == *opensuse-leap-15.5* ]]; then
cat <<'EOF' >> mock.cfg
config_opts['dnf.conf'] += """
[main]
exclude=*.lp156*
"""
EOF
fi

# shellcheck disable=SC2153
repo_adds=()
repo_dels=()
Expand Down
Loading