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

2022-05-21 Thread Sam Varshavchik
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 no

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

2022-05-21 Thread Zbigniew Jędrzejewski-Szmek
On Sat, May 21, 2022 at 08:16:22AM -0400, Sam Varshavchik wrote: > I'm taking a rather boring F35 SRPM and attempting to rebuild it in mock for > F36. > > Its stock configure script, that tries to test-compile conftest.c fails > thusly: > > gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -gr

F36 mock rebuild failure: cannot open linker script file

2022-05-21 Thread Sam Varshavchik
I'm taking a rather boring F35 SRPM and attempting to rebuild it in mock for F36. Its stock configure script, that tries to test-compile conftest.c fails thusly: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches - pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_S