Bug 1216470

Summary: xfce4-branding-openSUSE breaks repeatedly upon xfce4 maintenance updates
Product: [openSUSE] openSUSE Distribution Reporter: Carlos Robinson <carlos.e.r>
Component: XfceAssignee: Maurizio Galli <maurizio.galli>
Status: CONFIRMED --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: Andreas.Stieger, guenter.halt, manfred.h, meissner
Version: Leap 15.5   
Target Milestone: ---   
Hardware: Other   
OS: Other   
See Also: https://bugzilla.opensuse.org/show_bug.cgi?id=1216516
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Carlos Robinson 2023-10-22 20:15:15 UTC
After [Bug 1216186] was solved, I get this similar problem:


#### YaST2 conflicts list - generated 2023-10-22 22:07:43 ####

the to be installed xfce4-notifyd-0.9.2-bp155.2.3.1.x86_64 requires 'xfce4-notifyd-branding = 0.9.2-bp155.2.3.1', but this requirement cannot be provided
not installable providers: xfce4-notifyd-branding-upstream-0.9.2-bp155.2.3.1.noarch[repo-backports-update]
    [ ] deinstallation of xfce4-notifyd-branding-openSUSE-4.18.0+git0.9a2f754-lp155.2.4.1.noarch

    [ ] do not install xfce4-notifyd-0.9.2-bp155.2.3.1.x86_64

    [ ] break xfce4-notifyd-0.9.2-bp155.2.3.1.x86_64 by ignoring some of its dependencies




#### YaST2 conflicts list END ###
Comment 1 Andreas Stieger 2023-10-23 08:41:38 UTC
From xfce4-notifyd.spec:

> Requires:       xfce4-notifyd-branding = %{version}-%{release}

From xfce4-branding-openSUSE.spec:

> %define xfce4_notifyd_version   %(rpm -q --queryformat '%%{VERSION}' xfce4-notifyd)
> [...]
> Provides:       xfce4-notifyd-branding = %{xfce4_notifyd_version}

xfce4-notifyd should require it's branding by %{version}, not by %{version}-%{release}
Comment 2 Andreas Stieger 2023-10-23 09:12:01 UTC
Actually, xfce4-notifyd-branding provides xfce4-branding-openSUSE = 0.8.2 while the version is 0.9.2
Comment 3 Andreas Stieger 2023-10-23 10:45:12 UTC
*** Bug 1216489 has been marked as a duplicate of this bug. ***
Comment 4 Andreas Stieger 2023-10-23 11:08:47 UTC
This broke through the incident below, in the very same way.
https://build.opensuse.org/project/show/openSUSE:Maintenance:18140
https://build.opensuse.org/request/show/1118877

Maintenance team could trigger a rebuild of xfce4-branding-openSUSE.
Review team could start rejecting these.
As I pointed out in bug 1213299 comment #3 this needs an automated test.
Comment 5 Marcus Meissner 2023-10-23 11:47:07 UTC
queued another rebuild niow.
Comment 6 Andreas Stieger 2023-10-23 19:58:27 UTC
Maybe hold on, there are more regressions in there: bug 1216516
Comment 7 Manfred Hollstein 2023-10-24 09:01:25 UTC
https://build.opensuse.org/request/show/1119909

Once it is approved, it has to be forwarded to the proper SLE update channel. Then this ticket can be closed.
Comment 8 Maurizio Galli 2023-10-25 13:26:02 UTC
In Leap, the openSUSE branding package needs to be constantly manually  rebuilt each time because it lives on a separate repo.

One way is to rethink the Conflicts/Provides to not include a {version}, just package name. There are downsides to this approach too but I can't think of a better solution.
Comment 9 Andreas Stieger 2023-10-25 18:58:01 UTC
Maintenance, see bug 1216516 comment #9... merge these incidents please, or we'd have to do it again
Comment 10 OBSbugzilla Bot 2023-11-16 11:35:02 UTC
This is an autogenerated message for OBS integration:
This bug (1216470) was mentioned in
https://build.opensuse.org/request/show/1126796 Factory / xfce4-notifyd
https://build.opensuse.org/request/show/1126800 Backports:SLE-15-SP5 / xfce4-notifyd
Comment 11 Marcus Meissner 2023-11-26 14:05:06 UTC
openSUSE-RU-2023:0381-1: An update that has two recommended fixes can now be installed.

Category: recommended (moderate)
Bug References: 1216470,1217193
CVE References: 
JIRA References: 
Sources used:
openSUSE Leap 15.5 (src):    xfce4-branding-openSUSE-4.18.0+git0.9a2f754-lp155.2.11.2
openSUSE Backports SLE-15-SP5 (src):    xfce4-notifyd-0.9.3-bp155.2.13.1