Discussion:
TEST build ERRORS: poppler.spec
Jan Palus
2018-08-31 17:33:12 UTC
Permalink
The imported target "openjp2_static" references the file
"/usr/lib64/libopenjp2.a"
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib64/openjpeg-2.3/OpenJPEGTargets.cmake"
but not all the files it references.
It appears that openjpeg2-devel requires both openjpeg2-static (libopenjp2.a)
and openjpeg2-progs (opj_decompress). Now is it valid to specify circular
dependency:

-devel: R: -static
-static: R: -devel

From what I've gathered empirically poldek/RPM are smart enough to handle it. Any
other ideas? Disable static libs?


Regards
Jan
Jakub Bogusz
2018-08-31 17:39:08 UTC
Permalink
Post by Jan Palus
The imported target "openjp2_static" references the file
"/usr/lib64/libopenjp2.a"
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib64/openjpeg-2.3/OpenJPEGTargets.cmake"
but not all the files it references.
It appears that openjpeg2-devel requires both openjpeg2-static (libopenjp2.a)
and openjpeg2-progs (opj_decompress). Now is it valid to specify circular
-devel: R: -static
-static: R: -devel
From what I've gathered empirically poldek/RPM are smart enough to handle it. Any
other ideas? Disable static libs?
Hack openjpeg cmake stuff not to check for static library.

I made such changes in at least one package (I think two), but I don't
remember which one(s) currently... I'll try to recall (the same should be
done for llvm, so that not all components are required for
find_package(LLVM) to work).
--
Jakub Bogusz http://qboosh.pl/
Jakub Bogusz
2018-08-31 17:56:10 UTC
Permalink
Post by Jakub Bogusz
Post by Jan Palus
The imported target "openjp2_static" references the file
"/usr/lib64/libopenjp2.a"
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib64/openjpeg-2.3/OpenJPEGTargets.cmake"
but not all the files it references.
It appears that openjpeg2-devel requires both openjpeg2-static (libopenjp2.a)
and openjpeg2-progs (opj_decompress). Now is it valid to specify circular
-devel: R: -static
-static: R: -devel
From what I've gathered empirically poldek/RPM are smart enough to handle it. Any
other ideas? Disable static libs?
Hack openjpeg cmake stuff not to check for static library.
I made such changes in at least one package (I think two), but I don't
remember which one(s) currently... I'll try to recall (the same should be
done for llvm, so that not all components are required for
find_package(LLVM) to work).
Found: gflags.spec and opencv.spec
--
Jakub Bogusz http://qboosh.pl/
Loading...