I’m preparing a new release of camlp5
, and I see that there’s a new OS: “opensuse”.
the “diff” in the base install (based on “busybox”) lacks many of the options that GNU diff uses, and this breaks some Camlp5 tests that depend on those options. But opensuse refuses to install GNU diffutils, b/c it already has busybox-diff installed. I’m not sure how to proceed: has anybody else encountered this problem yet ?
I guess I could just disable testing on opensuse, but … maybe that would be a bad thing to do? Not sure what else to do: I really don’t want to redo those tests to use a backlevel diff, when they’ve worked for many releases unchanged so far.
asking the maintainers to just ignore the error on that platform seems like the simplest solutions at the moment to me if x-ci-accept-failures: ["opensuse-tumbleweed"]
doesn’t work.
Would it be an option to specify the package that has GNU diff as a depext on opensuse?
The problem is that I couldn’t find such a package here.
I am not an opensuse user myself, but the package diffutils seems to be what OP is looking for.
1 Like
As OP explained, the issue is that opensuse refuses to install GNU diff:
+ /usr/bin/sudo "zypper" "--non-interactive" "install" "diffutils" "pcre2-devel"
- Loading repository data...
- Reading installed packages...
- Resolving package dependencies...
-
- Problem: 1: the installed busybox-diffutils-1.36.1-32.2.noarch conflicts with 'diffutils' provided by the to be installed diffutils-3.10-1.7.x86_64
- Solution 1: deinstallation of busybox-diffutils-1.36.1-32.2.noarch
- Solution 2: do not install diffutils-3.10-1.7.x86_64
-
- Choose from above solutions by number or cancel [1/2/c/d/?] (c): c
[ERROR] System package install failed with exit code 4 at command:
sudo zypper --non-interactive install diffutils pcre2-devel
[ERROR] These packages are still missing: diffutils pcre2-devel
It’ll work, and I guess that’s what I’ll do. I was asking, mostly b/c … well, I didn’t want to ignore a test failure without at least getting somebody’s OK (or following others’ example in doing so grin).