Re: help needed with failing eccodes build for f40

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

 



V Thu, Feb 29, 2024 at 10:02:32AM +0100, Jos de Kloe napsal(a):
> Dear all,
> 
> while doing koji builds for the latest eccodes version 2.34.1 I ran in to an
> issue that is puzzling to me, and I have no idea to solve this.
> 
> The build runs just fine for f38, f39 and f41/rawhide, but for f40 I get a
> number of g++ errors like this:
> 
>  error: ‘opj_destroy_decompress’ was not declared in this scope; did you
> mean ‘opj_end_decompress’?
>   209 |         opj_destroy_decompress(dinfo);
>       |         ^~~~~~~~~~~~~~~~~~~~~~
>       |         opj_end_decompress
> 
> see: https://koji.fedoraproject.org/koji/buildinfo?buildID=2412368
> 
> Does anyone have an idea what is happening here and how this can be solved?
> 
The function is supposed to be declared in openjpeg.h header file which is
supposed to be packaged in openjpeg2-devel.

Checking root.log files of eccodes builds, F40 used
openjpeg2-devel-2.5.1-1.fc40, while F41 used openjpeg2-devel-2.5.2-1.fc41.

It's quite possible that opj_destroy_decompress was added in 2.5.2 and does
not exist in 2.5.1. If it is so, you should specify the minimal version among
BuildRequires: openjpeg2-devel >= 2.5.2.

Why is openjpeg2-devel-2.5.2-1.fc40 not available in F40 build root? It is
because that build has not been submitted to Bodhi and has not passed into
updates repository.

I recommend creating a side tag for F40, tag openjpeg2-devel-2.5.2-1.fc40
there, build eccodes there, and both builds push into a single Bodhi update.

-- Petr

Attachment: signature.asc
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, 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