Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 729726

Summary: app-text/xournalpp-1.0.18 should depend on app-text/poppler[cairo] - Checking for module 'poppler-glib >= 0.41.0' // Package 'poppler-glib', required by 'virtual:world', not found
Product: Gentoo Linux Reporter: blacknfuzzy
Component: Current packagesAssignee: Andreas K. Hüttel <dilfridge>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log, emerge --info, emerge -pqv, environment

Description blacknfuzzy 2020-06-26 13:34:31 UTC
Created attachment 646554 [details]
Build log, emerge --info, emerge -pqv, environment

app-text/xournalpp-1.0.18 fails to build with error:

-- Checking for module 'poppler-glib >= 0.41.0'
--   Package 'poppler-glib', required by 'virtual:world', not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:497 (message):
  A required package was not found

 * ERROR: app-text/xournalpp-1.0.18::gentoo failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure
 *   environment, line 2045:  Called cmake-utils_src_configure
 *   environment, line  867:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";

adding the cairo use flag to app-text/poppler fixes the issue.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2020-06-26 13:47:55 UTC
Checking for module 'poppler-glib >= 0.41.0' // Package 'poppler-glib', required by 'virtual:world', not found
Comment 2 Larry the Git Cow gentoo-dev 2020-09-28 23:42:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd8f338f49266f2f58b5729d42ac86e95219221c

commit dd8f338f49266f2f58b5729d42ac86e95219221c
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2020-09-28 23:41:25 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2020-09-28 23:42:37 +0000

    app-text/xournalpp: Fix poppler dependency
    
    Closes: https://bugs.gentoo.org/729726
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 .../xournalpp/{xournalpp-1.0.18.ebuild => xournalpp-1.0.18-r1.ebuild}   | 2 +-
 app-text/xournalpp/xournalpp-9999.ebuild                                | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)