Mailinglist Archive: opensuse-buildservice (87 mails)

< Previous Next >
[opensuse-buildservice] OBS 2.10 not publishing, modifyrepo failed: 256
I'm getting this in publisher.log:

2019-10-29 10:47:25: [19794] publishing GMPMS:CIS/SLES12-SP4
fetched 0 patterns
running createrepo
creating appdata files
adding appdata.xml to repodata
adding app-icons.tar to repodata
Cannot open /srv/obs/repos/GMPMS:/CIS/SLES12-SP4/repodata/app-icons.tar: Cannot
detect compression type
publish failed for GMPMS:CIS/SLES12-SP4 : modifyrepo failed: 256
syncing database (6 ops)


I'm using modifyrepo_c

I don't care the least for appstream stuff anyway, so this fixes it:


obs:/usr/lib/obs/server # diff bs_publish~ bs_publish -u
--- bs_publish~ 2019-09-20 12:32:53.000000000 +0000
+++ bs_publish 2019-08-27 08:45:47.394200100 +0000
@@ -645,7 +645,7 @@
}
if (-e "$extrep/repodata/app-icons.tar") {
print " adding app-icons.tar to repodata\n";
- qsystem($modifyrepo_bin, "$extrep/repodata/app-icons.tar",
"$extrep/repodata", @legacyargs) && die("
modifyrepo failed: $?\n");
+ qsystem($modifyrepo_bin, "$extrep/repodata/app-icons.tar",
"$extrep/repodata", @legacyargs) && warn("
modifyrepo failed: $?\n");
unlink("$extrep/repodata/app-icons.tar");
}
}

--
Stefan Seyfried

"For a successful technology, reality must take precedence over
public relations, for nature cannot be fooled." -- Richard Feynman
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages