Re: Koji build failure from missing tarball

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Top post to say many thanks to all for the help / debug tips.

I am all good now, just needed to import the right `source`

I now have this documented for future prosperity!


On Fri, Feb 7, 2020 at 11:39 AM Miro Hrončok <mhroncok@xxxxxxxxxx> wrote:
On 07. 02. 20 11:20, Luke Hinds wrote:
> When I perform 'fedpkg mockbuild' everything passes, yet 'fedpkg build' results
> in a build failure from not being able to find the tarball...

Hello Luke. Others have already identified the cause, so let me just share a tip
about how to debug such issue in the first place.

'fedpkg mockbuild' sees all files in the current directory, it doesn't really
let you know if what you have is not what Koji would have. Whether it is local
changes, unpushed files, or sources not uploaded to the lookaside cache like in
this case.

In order to approximate more Koji-like behavior, it is always good idea to clone
the package to a different location on disk and try to attempt the build from a
clean working directory. (Alternatively, clean the current directory properly,
but that can be tricky sometimes, as it requires several different ways of
cleaning.)

Hope that helps in the future.

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok



--
Luke Hinds  | CTO Office | Red Hat
e: lhinds@xxxxxxxxxx | irc: lhinds @freenode | t: +44 12 52 36 2483
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux