Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2022 14:47:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 262888] graphics/poppler 21.12.0_1 Cannot Find libopenjpeg2
Message-ID:  <bug-262888-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262888

            Bug ID: 262888
           Summary: graphics/poppler 21.12.0_1 Cannot Find libopenjpeg2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: desktop@FreeBSD.org
          Reporter: ryanrfrederick@gmail.com
          Assignee: desktop@FreeBSD.org
             Flags: maintainer-feedback?(desktop@FreeBSD.org)

Building of graphics/poppler 21.12.0_1 fails on some systems due to not bei=
ng
able to find libopenjpeg2 despite graphics/openjpeg being installed:

###

=3D=3D=3D>  Configuring for poppler-21.12.0_1
=3D=3D=3D>  Performing in-source build
/bin/mkdir -p /usr/ports/graphics/poppler/work/poppler-21.12.0
-- The C compiler identification is Clang 10.0.1
-- The CXX compiler identification is Clang 10.0.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/local/bin/pkgconf (found version "1.8.0")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Found Threads: TRUE
-- Checking _FILE_OFFSET_BITS for large files
-- Checking _FILE_OFFSET_BITS for large files - not needed
CMake Warning at CMakeLists.txt:102 (message):


   No test data found in $testdatadir.
   You will not be able to run 'make test' successfully.



   The test data is not included in the source packages
   and is also not part of the main git repository. Instead,
   you can checkout the test data from its own git
   repository with:



     git clone git://git.freedesktop.org/git/poppler/test



   You should checkout the test data as a sibling of your
   poppler source folder or specify the location of your
   checkout with -DTESTDATADIR=3D/path/to/checkoutdir/test.



-- Found Freetype: /usr/local/lib/libfreetype.so (found version "2.11.1")
-- Checking for module 'fontconfig'
--   Found fontconfig, version 2.13.94
-- Found Fontconfig: /usr/local/lib/libfontconfig.so
-- Found JPEG: /usr/local/lib/libjpeg.so (found version "80")
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.11")
-- Found PNG: /usr/local/lib/libpng.so (found version "1.6.37+apng")
-- Found TIFF: /usr/local/lib/libtiff.so (found version "4.3.0")
-- Checking for module 'nss>=3D3.19'
--   Found nss, version 3.76
-- Found NSS3: nss3;smime3;ssl3;nssutil3;plds4;plc4;nspr4;dl
-- Package Qt6Core or Qt6Gui or Qt6Widgets or Qt6Test not found
-- Checking for module 'cairo>=3D1.10.0'
--   Found cairo, version 1.17.4
-- Found Cairo: /usr/local/lib/libcairo.so (Required is at least version
"1.10.0")
-- Found Boost: /usr/local/include (found suitable version "1.72.0", minimum
required is "1.58.0")
-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST
-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST - Failed
-- Could NOT find openjpeg2.
CMake Error at CMakeLists.txt:272 (message):
  Install libopenjpeg2 before trying to build poppler.  You can also decide
  to use the internal unmaintained JPX decoder or none at all.

  Possible options are: -DENABLE_LIBOPENJPEG=3Dopenjpeg2,
  -DENABLE_LIBOPENJPEG=3Dnone, -DENABLE_LIBOPENJPEG=3Dunmaintained,


-- Configuring incomplete, errors occurred!
See also
"/usr/ports/graphics/poppler/work/poppler-21.12.0/CMakeFiles/CMakeOutput.lo=
g".
See also
"/usr/ports/graphics/poppler/work/poppler-21.12.0/CMakeFiles/CMakeError.log=
".
*** Error code 1=20=20=20

Stop.
make[1]: stopped in /usr/ports/graphics/poppler
*** Error code 1=20=20=20

Stop.
make: stopped in /usr/ports/graphics/poppler

=3D=3D=3D>>> make build failed for graphics/poppler
=3D=3D=3D>>> Aborting update


=3D=3D=3D>>> You can restart from the point of failure with this command li=
ne:
       portmaster <flags> graphics/poppler

This command has been saved to ~/portmasterfail.txt

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262888-7788>