On Sat, Sep 3, 2022 at 11:14 AM Sandro Mani <manisandro@gmail.com> wrote:

On 03.09.22 18:09, Richard Shaw wrote:

On Sat, Sep 3, 2022 at 10:33 AM Richard Shaw <hobbes1069@gmail.com> wrote:
On Sat, Sep 3, 2022 at 10:22 AM Sandro Mani <manisandro@gmail.com> wrote:

On 03.09.22 17:10, Richard Shaw wrote:
> I'm trying to migrate fltk right now and running into an issue:
>
> Processing files: fltk-debugsource-1.3.8-4.fc38.x86_64
>
> RPM build warnings:
>
> RPM build errors:
> error: Could not open %files file
> /builddir/build/BUILD/fltk-1.3.8/debugsourcefiles.list: No such file
> or directory
>
> Building the mingw packages seems to be interfering with the native build.

I put %{?mingw_package_header} in the %{with mingw} (disabled) conditional this time and the build completed, so something in there is causing the issue.

You actually don't need %{?mingw_package_header} anymore at all (it actually should just be a no-op with a current mingw-filesystem).


Ok, removed. Now I'm getting an error on the mingw-debuginfo 

RPM build errors:
error: Could not open %files file /builddir/build/BUILD/fltk-1.3.8/mingw32-debugfiles.list: No such file or directory

I've uploaded the whole src rpm if you want to take a look:
https://hobbes1069.fedorapeople.org/fltk-1.3.8-4.fc38.src.rpm

Thanks,
Richard