On 6/22/23 20:56, Steve Grubb wrote:
Hello,

I have switched to F38 and find a couple items annoying. I have a workflow that
checks things I develop out of github, rolls it up into an rpm, builds it,
and runs the results through annocheck.

If there is a warning I'd like to investigate, I cd into the build directory.
But oops, now its gone (problem #1). OK, I use rpmbuild -bc  to rebuild it. I
cd into the build directory make a change and run make.

This is because rpm >= 4.18 automatically cleans up the build directory on a successful binary package build. Use --noclean to override, or add something like this to ~/.popt for a more permanent effect:

        rpmbuild alias -b --noclean


gcc: fatal error: environment variable 'RPM_ARCH' not defined

(problem #2)

This is a rather unfortunate side-effect of https://fedoraproject.org/wiki/Changes/Package_information_on_ELF_objects discussed in (already linked) https://bugzilla.redhat.com/show_bug.cgi?id=2043092

        - Panu -

How do I fix these things?

-Steve

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to