Re: RPM build errors: Illegal char '@' (0x40) in: @2.15.0@

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

 



On Wed, 12 May 2021 at 04:23, Sandro Mani <manisandro@xxxxxxxxx> wrote:
>
> Hi
>
> This is a new one [1] (koji task [2]):
>
> Provides: libimagequant = 2.15.0-1.fc35 libimagequant(x86-64) = 2.15.0-1.fc35 libimagequant.so.0()(64bit)
> Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libgomp.so.1()(64bit) libgomp.so.1(GOMP_1.0)(64bit) libgomp.so.1(GOMP_4.0)(64bit) libgomp.so.1(OMP_1.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.27)(64bit) libm.so.6(GLIBC_2.29)(64bit) rtld(GNU_HASH)
> Processing files: libimagequant-devel-2.15.0-1.fc35.x86_64
> error: Illegal char '@' (0x40) in: @2.15.0@
> Provides: libimagequant-devel = 2.15.0-1.fc35 libimagequant-devel(x86-64) = 2.15.0-1.fc35
> Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> Requires: /usr/bin/pkg-config libimagequant.so.0()(64bit)
> RPM build errors:
>     Illegal char '@' (0x40) in: @2.15.0@
> Child return code was: 1
>
> 2.15.0 is the version of the package. Any ideas where this one comes from?

In the build log, I see:
sed 's|PREFIX|/usr|;s|VERSION|2.15.0|' < imagequant.pc.in > imagequant.pc

And it says @VERSION@ to be substituted by CMake, so this ends up as @2.15.0@.

See the diff:
https://github.com/ImageOptim/libimagequant/compare/2.14.1..2.15.0

IOW, you can stop doing that manually.

> Apparently not from elfdeps:
>
> $ /usr/lib/rpm/elfdeps --provides libimagequant.so
> libimagequant.so.0()(64bit)
> $ /usr/lib/rpm/elfdeps --requires libimagequant.so
> libgcc_s.so.1(GCC_3.3.1)(64bit)
> libgomp.so.1(GOMP_4.0)(64bit)
> libgomp.so.1(GOMP_1.0)(64bit)
> libgomp.so.1(OMP_1.0)(64bit)
> libm.so.6(GLIBC_2.27)(64bit)
> libm.so.6(GLIBC_2.2.5)(64bit)
> libm.so.6(GLIBC_2.29)(64bit)
> libc.so.6(GLIBC_2.3.4)(64bit)
> libc.so.6(GLIBC_2.14)(64bit)
> libc.so.6(GLIBC_2.4)(64bit)
> libc.so.6(GLIBC_2.2.5)(64bit)
> libm.so.6()(64bit)
> libgomp.so.1()(64bit)
> libgcc_s.so.1()(64bit)
> libc.so.6()(64bit)
> rtld(GNU_HASH)
>
> Thanks
> Sandro
>
> [1] https://kojipkgs.fedoraproject.org//work/tasks/743/67740743/build.log
> [2] https://koji.fedoraproject.org/koji/taskinfo?taskID=67740603
>
> _______________________________________________
> 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 on the list, report it: https://pagure.io/fedora-infrastructure



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




[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