V Wed, May 12, 2021 at 10:22:29AM +0200, Sandro Mani napsal(a): > 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@
It happened when processing files of libimagequant-devel.
[test@fedora-35 libimagequant-2.15.0]$ grep -Hnr '@2.15.0@'
imagequant.pc:8:Version: @2.15.0@
imagequant.pc is one of them:
%files devel
%{_includedir}/%{name}.h
%{_libdir}/%{name}.so
%{_libdir}/pkgconfig/imagequant.pc
So your imagequant.pc is broken. This pkg-config file would generate
an illegal "pkgconfig(imagequant) = @2.15.0@" provide. It seems that
imagequant.pc.in is wrongly translated into imagequant.pc:
$ grep Version: imagequant.pc*
imagequant.pc:Version: @2.15.0@
imagequant.pc.in:Version: @VERSION@
It seems a sed script in Makefile is wrong:
$ grep -Hnr imagequant.pc
CMakeLists.txt:45:configure_file(imagequant.pc.in imagequant.pc @ONLY)
CMakeLists.txt:50:install(FILES ${CMAKE_BINARY_DIR}/imagequant.pc
DESTINATION lib/pkgconfig)
.gitignore:2:imagequant.pc
Makefile:29:DISTFILES = $(OBJS:.o=.c) *.h README.md CHANGELOG COPYRIGHT
Makefile configure imagequant.pc.in
Makefile:32:PKGCONFIG = imagequant.pc
Makefile:111: rm -f imagequant.pc
Makefile:137: sed 's|PREFIX|$(PREFIX)|;s|VERSION|$(VERSION)|' <
imagequant.pc.in > $(PKGCONFIG)
-- Petr
signature.asc
Description: PGP signature
_______________________________________________ devel mailing list -- [email protected] To unsubscribe send an email to [email protected] 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/[email protected] Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
