Bug 1214167

Summary: OBS: nothing provides lzip
Product: [openSUSE] openSUSE.org Reporter: Manfred Schwarb <manfred99>
Component: BuildServiceAssignee: Dirk Mueller <dmueller>
Status: IN_PROGRESS --- QA Contact: Adrian Schröter <adrian.schroeter>
Severity: Normal    
Priority: P3 - Medium CC: Andreas.Stieger, jengelh, mpluskal, tiwai
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Manfred Schwarb 2023-08-10 23:04:34 UTC
In the package rcs (https://build.opensuse.org/package/show/devel:tools:scm/rcs),
there is a build error for Leap 15.4 and Leap 15.5:
"unresolvable: nothing provides lzip"
Although both distributions provide lzip, and the required
"BuildRequires:  lzip" is given in the spec file.

The issue seems to be, that OBS builds against a
subset of packages (drawing by Jan Engelhardt):
SLE-15.5-Base
`-- SLE-15.5-Update                 <- devel:tools:scm is pointing here
    `-- SLE-15.5-Backports          <- lzip is available from here
        `-- Leap:15.5
            `-- Leap:15.5:Update

Which explains why this can not work. But there are software projects
(such as RCS) which only distribute lzip-compressed release tarballs.

IMHO such a basic, widely used compression tool should be available
in SLE-15.5-Base or SLE-15.5-Update, so that OBS can use it to build
packages. Alternatively there should be a mechanism to provide essential
building blocks to OBS (outside of SLE-.*), so that OBS can do its duty.

At the moment there is no possibility to build software which provides lzip-tarballs.
Comment 1 Andreas Stieger 2023-08-11 06:07:57 UTC
The mechanism is already there. Change devel:tools:scm/meta to point to, or include, openSUSE:Backports:SLE-15-SP{4,5} for the 15.{4.5}. Which it should have been doing anyway.
Comment 2 Adrian Schröter 2023-08-11 06:13:04 UTC
yes, this is a configuration issue of the devel:tools:scm project.

The default distribution list also gives the user the choice already to limit to SLE only or only more. 

Closing this now, if you think it should be part of SLE neverthless this must be directed to the SLE people/product instead.
Comment 3 Dirk Mueller 2023-08-11 07:14:02 UTC
@Adrian: I think the request is valid and shouldn't be closed as worksforme. 

I've temporarily changed to Leap:15.5:Update as build path to fix the issue, but ultimatively we should be adding lzip to sles.
Comment 4 Dirk Mueller 2023-08-11 07:17:26 UTC
Filed as PED-5908