Bug 1207239

Summary: YaST build fails: Ruby 3.2: URI("dir:///foo").to_s no longer returns "dir:/foo"
Product: [openSUSE] openSUSE Tumbleweed Reporter: Martin Vidner <mvidner>
Component: YaST2Assignee: Martin Vidner <mvidner>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Martin Vidner 2023-01-18 08:49:02 UTC
This is a continuation of https://bugzilla.suse.com/show_bug.cgi?id=1206419

Since 3.2.0, there's been a bug fix it seems and URI::Generic no longer omits the host component (it is "" instead of nil)
$ ruby -r uri -e 'p URI("dir:///foo").to_s'
"dir:/foo"    # up to 3.1.0
"dir:///foo"  # since 3.2.0

YaST builds fail in Staging:H

- yast2-packager
- yast2-configuration-manaegment
Comment 1 Martin Vidner 2023-01-26 10:33:25 UTC
cfg mgmt: PR merged
- https://github.com/yast/yast-configuration-management/pull/92

packager: IMHO a libzypp bug needing an analogous fix to the Ruby stdlib
- https://github.com/openSUSE/libzypp/issues/441
Comment 4 Martin Vidner 2023-02-14 18:02:58 UTC
packager:
- not a libzypp bug, instead the fix is in 2 repos:
- https://github.com/yast/yast-yast2/pull/1285 (merged)
- https://github.com/yast/yast-packager/pull/633
Comment 5 Martin Vidner 2023-02-16 09:26:50 UTC
yast2-packager-4.5.15 merged