Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 956821 - app-text/ebook-tools-0.2.2-r3: CMake Error at cmake/FindPackageHandleStandardArgs.cmake:51 (MESSAGE): FOUND_VAR
Summary: app-text/ebook-tools-0.2.2-r3: CMake Error at cmake/FindPackageHandleStandard...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-30 03:27 UTC by Jon Daniel
Modified: 2025-05-30 15:46 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,5.27 KB, text/x-log)
2025-05-30 03:27 UTC, Jon Daniel
Details
emerge --info (emerge.info,15.90 KB, text/plain)
2025-05-30 03:28 UTC, Jon Daniel
Details
emerge --info dev-libs/libzip (emerge-libzip.log,16.49 KB, text/x-log)
2025-05-30 14:06 UTC, Jon Daniel
Details
emerge --info dev-libs/libzip (emerge-libzip.log,16.37 KB, text/x-log)
2025-05-30 14:12 UTC, Jon Daniel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Daniel 2025-05-30 03:27:43 UTC
Created attachment 930014 [details]
build.log

emerge -v ebook-tools breaks with summary/build.log error
Comment 1 Jon Daniel 2025-05-30 03:28:25 UTC
Created attachment 930015 [details]
emerge --info
Comment 2 Jon Daniel 2025-05-30 03:29:17 UTC
Call Stack (most recent call first):
  /usr/lib64/cmake/libzip/modules/Findzstd.cmake:145 (find_package_handle_standard_args)
  /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  /usr/lib64/cmake/libzip/libzip-config.cmake:60 (find_dependency)
  CMakeLists.txt:14 (find_package)
Comment 3 Andreas Sturmlechner gentoo-dev 2025-05-30 11:51:27 UTC
Please show emerge --info dev-libs/libzip
Comment 4 Jon Daniel 2025-05-30 14:06:32 UTC
Created attachment 930031 [details]
emerge --info dev-libs/libzip
Comment 5 Jon Daniel 2025-05-30 14:12:18 UTC
Created attachment 930032 [details]
emerge --info dev-libs/libzip

recompiled without -fPIC -fPIE
Comment 6 Larry the Git Cow gentoo-dev 2025-05-30 15:45:26 UTC
The bug has been closed via the following commit(s):

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

commit 9841807aeb2ccd52836b79fb718a37ea20707ae2
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2025-05-30 14:35:23 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2025-05-30 15:45:15 +0000

    app-text/ebook-tools: Respin libzip-cmake.patch to not override cmake module
    
    Custom FindPackageHandleStandardArgs.cmake in CMAKE_MODULE_PATH = bad
    
    Closes: https://bugs.gentoo.org/956821
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 app-text/ebook-tools/ebook-tools-0.2.2-r3.ebuild   |  2 +-
 .../files/ebook-tools-0.2.2-crashfix.patch         | 11 +--
 .../files/ebook-tools-0.2.2-libzip-cmake.patch     | 78 ++++++++++++++++++++--
 3 files changed, 79 insertions(+), 12 deletions(-)