Re: Planning to start unifying native and mingw packages

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

 




On 03.09.22 20:28, Richard Shaw wrote:
On Sat, Sep 3, 2022 at 11:14 AM Sandro Mani <manisandro@xxxxxxxxx> wrote:

On 03.09.22 18:09, Richard Shaw wrote:

On Sat, Sep 3, 2022 at 10:33 AM Richard Shaw <hobbes1069@xxxxxxxxx> wrote:
On Sat, Sep 3, 2022 at 10:22 AM Sandro Mani <manisandro@xxxxxxxxx> 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

You need to add

%mingw_debug_install_post

after %install.

Also, you could use the shorthand

%mingw_make_build (rather than %mingw_make %{?_smp_mflags})

and

%mingw_make_install (rather than %mingw_make_install DESTDIR=%{buildroot})


Sandro

_______________________________________________
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, report it: https://pagure.io/fedora-infrastructure/new_issue

[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