Bug 1216952

Summary: libxpm cannot be built on Leap: unresolvable: nothing provides /usr/bin/gzip
Product: [openSUSE] openSUSE Distribution Reporter: Michal Suchanek <msuchanek>
Component: X.OrgAssignee: Marcus Meissner <meissner>
Status: RESOLVED FIXED QA Contact: Gfx Bugs <gfx-bugs>
Severity: Normal    
Priority: P5 - None CC: sndirsch
Version: Leap 15.5   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Michal Suchanek 2023-11-08 09:36:00 UTC
https://build.opensuse.org/package/show/X11:XOrg/libXpm

unresolvable: nothing provides /usr/bin/gzip
Comment 1 Marcus Meissner 2023-11-08 09:41:17 UTC
we dont have the Fileprovides for /usr/bin/gzip configured in the SLE15 / Leap project config tree as far as I see.

How important is it to have that working
Comment 2 Michal Suchanek 2023-11-08 09:43:10 UTC
How important is to have it not working?
Comment 3 Michal Suchanek 2023-11-08 09:47:53 UTC
-------------------------------------------------------------------
Wed Apr 12 11:59:25 UTC 2023 - Stefan Dirsch <sndirsch@suse.com>

- Depend also on /usr/bin/uncompress, not only /usr/bin/gzip;
  Requiring binaries instead of packages resolves the file 
  conflict with busybox-gzip, which is used when building nginx
  opensuse images; dep chain was: nginx -> libdg3 -> libXpm4 -> gzip
  ==> conflict with busybox-gzip

-------------------------------------------------------------------
Tue Apr 11 13:41:44 UTC 2023 - Fabian Vogt <fvogt@suse.com>
  
- Depend on /usr/bin/gzip, not gzip
Comment 4 Stefan Dirsch 2023-11-08 09:51:02 UTC
(In reply to Marcus Meissner from comment #1)
> we dont have the Fileprovides for /usr/bin/gzip configured in the SLE15 /
> Leap project config tree as far as I see.
> 
> How important is it to have that working

Well, I think we still want to be able to read/"uncompress" .xpm.gz files ...

JFYI,

-------------------------------------------------------------------
Tue Apr 11 13:41:44 UTC 2023 - Fabian Vogt <fvogt@suse.com>

- Depend on /usr/bin/gzip, not gzip

I personally don't know how often we moved gzip command from another package than gzip or how often we renamed this package or where we will move gzip  command in the future or how we will rename it ...
Comment 5 Stefan Dirsch 2023-11-08 09:52:43 UTC
Ah. The reason was the conflict with busybox-gzip ...
Comment 6 Marcus Meissner 2023-11-08 09:53:23 UTC
iwill have autobuild add fileprovides for /usr/bin/gzip and /usr/bin/uncompress

(these are only used during build)
Comment 7 Stefan Dirsch 2023-11-08 10:39:41 UTC
Thanks, Marcus! So let's reasssign this to you.
Comment 8 Marcus Meissner 2023-11-09 12:51:48 UTC
autobuild applied the fileprovides to SLE15* and Leap15
Comment 9 Michal Suchanek 2023-11-09 12:54:40 UTC
Looks it is working now, thanks