TEST build ERRORS: poppler.spec

Jakub Bogusz qboosh at pld-linux.org
Fri Aug 31 19:39:08 CEST 2018


On Fri, Aug 31, 2018 at 07:33:12PM +0200, Jan Palus wrote:
> On 31.08.2018 17:19, PLD th-x86_64 builder wrote:
> > CMake Error at /usr/lib64/openjpeg-2.3/OpenJPEGTargets.cmake:90 (message):
> >   The imported target "openjp2_static" references the file
> > 
> >      "/usr/lib64/libopenjp2.a"
> > 
> >   but this file does not exist.  Possible reasons include:
> > 
> >   * 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?

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/


More information about the pld-devel-en mailing list