On Tue, 15 Sep 2015 18:09:44 +0100, Jonathan Wakely wrote:

> On 15/09/15 13:58 +0200, arnaud gaboury wrote:
> >I have been working on my first rpmbuild since quite a few days now.
> 
> As a more gneral comment, why not try something *much* simpler for
> your first rpmbuild?
> 
> Try something that doesn't use an alternative compiler, doesn't
> require lots of environment variables, and doesn't use a new spec file
> that has never been successfully tested.
> 
> Maybe just take a working spec file for another project and run
> rpmbuild, and check the results. That would reveal if you're looking
> in the wrong place for the output, and you wouldn't waste time looking
> for problems in the spec file if you know the spec file is already
> correct.

Also try --short-circuit builds for the individual %build and %install
sections. "rpmbuild -bi --short-circuit specfile" is extremely helpful
for debugging problems in %install and %files sections as it skips the
earlier successful %build stage.

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to