Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 780846 - app-text/poppler: add riscv support
Summary: app-text/poppler: add riscv support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: riscv Linux
: Normal normal (vote)
Assignee: Maciej Mrozowski
URL:
Whiteboard:
Keywords:
Depends on: 781134
Blocks:
  Show dependency tree
 
Reported: 2021-04-07 14:12 UTC by Yixun Lan
Modified: 2021-08-22 15:08 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log of app-text/poppler (build.log.xz,2.51 KB, application/x-xz)
2021-04-07 14:14 UTC, Yixun Lan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yixun Lan archtester gentoo-dev 2021-04-07 14:12:18 UTC
keep track of add riscv support for this package..

and I've meet two-level library path issue here, cmake fail to search media-libs/openjpeg

Reproducible: Always




0) cmake file installed by sys-libs/openjpeg

/usr/lib64/lp64d/cmake/openjpeg-2.4/OpenJPEGTargets.cmake
/usr/lib64/lp64d/cmake/openjpeg-2.4/OpenJPEGTargets-gentoo.cmake
/usr/lib64/lp64d/cmake/openjpeg-2.4/OpenJPEGConfig.cmake
/usr/lib64/lp64d/pkgconfig/libopenjp2.pc


1) error log from poppler

-- Found Iconv: /usr/lib64/lp64d/libc.so
-- Found ZLIB: /usr/lib64/lp64d/libz.so (found version "1.2.11") 
CMake Warning at CMakeLists.txt:249 (find_package):
  By not providing "FindOpenJPEG.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "OpenJPEG",
  but CMake did not find one.

  Could not find a package configuration file provided by "OpenJPEG" with any
  of the following names:

    OpenJPEGConfig.cmake
    openjpeg-config.cmake

  Add the installation prefix of "OpenJPEG" to CMAKE_PREFIX_PATH or set
  "OpenJPEG_DIR" to a directory containing one of the above files.  If
  "OpenJPEG" provides a separate development package or SDK, be sure it has
  been installed.


CMake Error at CMakeLists.txt:252 (message):
  Install libopenjpeg2 before trying to build poppler.  You can also decide
  to use the internal unmaintained JPX decoder or none at all.


-- Configuring incomplete, errors occurred!
Comment 1 Yixun Lan archtester gentoo-dev 2021-04-07 14:14:34 UTC
Created attachment 698244 [details]
build log of app-text/poppler
Comment 2 Andreas Sturmlechner gentoo-dev 2021-08-22 15:08:50 UTC
It appears an opportunity was missed to close this bug.


commit 093161af52f21d4b100c994e8b1d424904ef2e0c
Author: Yixun Lan
Date:   Sat Jul 17 14:27:44 2021 +0800

    app-text/poppler: keyword ~riscv
    
    Package-Manager: Portage-3.0.19, Repoman-3.0.3
    Signed-off-by: Yixun Lan