Re: F36 mock rebuild failure: cannot open linker script file

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

 



Zbigniew Jędrzejewski-Szmek writes:

The issue is that in %prep, %buildsubdir is not defined, so the definition
of %_package_note_file, which uses %buildsubdir, has a different value than
in %build and later. Generally the best solution is to move the step that
tries to make use of the package notes file in %prep to %build.
But looking at https://src.fedoraproject.org/rpms/courier- unicode/blob/rawhide/f/courier-unicode.spec,

I see that in this one, %configure gets invoked from %build.

I don't see anything in %prep that'd cause an issue. Can you post the
spec file that is causing problems?

But in mine's %configure gets invoked in %prep instead:

https://github.com/svarshavchik/courier-libs/blob/master/unicode/courier- unicode.spec.in

I guess I'll move this one to %build as well. I tried searching for some current documentation, and all the examples I found also invoked %configure from %build.

My recollection was that early rpm packaging documentation was otherwise, in the context of using --short-circuit. That is, the tutorials were: get the configure options right, then use -bb --short-circuit to get your make to succeed, you've already taken care of ./configure in the %setup step.


Attachment: pgprnr19xYgwq.pgp
Description: PGP signature

_______________________________________________
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
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[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