koschei icon indicating copy to clipboard operation
koschei copied to clipboard

Try build from dist-git when package is FTBFS

Open voxik opened this issue 7 years ago • 2 comments

When shebang mangling was introduced into Fedora, rubygem-bundler started to fail [[1], [2]] and I fixed the bug in dist-git. However, this won't fix nothing serious in Bundler so I would prefer not to build the package, since it is just unnecessary churn for our users. OTOH, I'd love this bug to be resolved and reflected in Koschei.

Is there any chance, that Koschei would detect the additional commit in dist-git and started to build the dist-git version?

[1] https://apps.fedoraproject.org/koschei/package/rubygem-bundler?collection=f28 [2] https://koji.fedoraproject.org/koji/taskinfo?taskID=24611545

voxik avatar Feb 01 '18 10:02 voxik

In short: No, I don't think this is doable right now, but maybe @msimacek will have some ideas.

There is no way to reliably detect from which git commit particular build was done (I don't count parsing build logs as a reliable way that Koschei could depend on). Technically it would be possible to switch all builds to SCM, but that would cause much more resources to be consumed - in many cases twice as much as building from existing SRPM.

Moreover, IMHO FTBFS is a serious bug. Users should be able to rebuild SRPM on their own. But unless you include the fix in a build, users won't receive it through normal channels.

mizdebsk avatar Feb 01 '18 10:02 mizdebsk

See also https://github.com/msimacek/koschei/issues/276

hroncok avatar Jun 28 '19 09:06 hroncok