Bug 1217269

Summary: /usr/lib/build/createzyppdeps from package build fails to process tumbleweed repositories
Product: [openSUSE] openSUSE Tumbleweed Reporter: Giacomo Comes <comes>
Component: OtherAssignee: Dirk Mueller <dmueller>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: adrian.schroeter, dmueller, FSchreiner, marco.strigl
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Giacomo Comes 2023-11-16 19:39:48 UTC
install the package build
  zypper in build
add the tumbleweed repository if not there:
  zypper ar http://download.opensuse.org/tumbleweed/repo/oss/ testtumb
  zypper ref -r testtumb
run the command:
  /usr/lib/build/createzyppdeps --cachedir=/var/cache/build zypp://testtumb

it fails with the message:
Negative repeat count does nothing at /usr/lib/perl5/vendor_perl/5.38.0/x86_64-linux-thread-multi/XML/Parser/Expat.pm line 372.

syntax error at line 1, column 0, byte 0:
...
some garbage output
...
at /usr/lib/perl5/vendor_perl/5.38.0/x86_64-linux-thread-multi/XML/Parser.pm line 187.

This error happens only with the tumbleweed repositories:
  http://download.opensuse.org/tumbleweed/repo/oss/
  http://download.opensuse.org/tumbleweed/repo/non-oss/
it doesn't happens with leap or packman repositories
Comment 1 Dirk Mueller 2023-11-17 13:34:18 UTC
thats fallout from the zstd switch
Comment 2 Dirk Mueller 2023-11-17 16:59:17 UTC
https://github.com/openSUSE/obs-build/pull/966
Comment 3 Giacomo Comes 2023-11-17 17:49:38 UTC
The fix forks for me
Comment 4 Giacomo Comes 2023-11-17 17:50:20 UTC
(In reply to Giacomo Comes from comment #3)
> The fix forks for me

The fix works for me
Comment 5 Adrian Schröter 2023-11-20 08:16:21 UTC
merged and new build package submitted to factory