Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 892297 - media-tv/kodi-19.5 fails to compile with dev-libs/crossguid-0.2.2_p20190529
Summary: media-tv/kodi-19.5 fails to compile with dev-libs/crossguid-0.2.2_p20190529
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-27 21:42 UTC by Arnim Eijkhoudt
Modified: 2023-01-28 03:58 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge-info.txt,19.49 KB, text/plain)
2023-01-27 21:42 UTC, Arnim Eijkhoudt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arnim Eijkhoudt 2023-01-27 21:42:02 UTC
Kodi-19.5 fails to emerge. During configure phase it fails to detect CrossGUID's presence/include dir, despite it being installed and present in the normal /usr/lib64/path:

Kodi Error:

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find CrossGUID (missing: CROSSGUID_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindCrossGUID.cmake:58 (find_package_handle_standard_args)
  cmake/scripts/common/Macros.cmake:354 (find_package)
  cmake/scripts/common/Macros.cmake:368 (find_package_with_ver)
  CMakeLists.txt:184 (core_require_dep)

CrossGUID presence:

└─# eix crossguid                                                                                                                                                                1 ⨯
[I] dev-libs/crossguid
     Available versions:  0_pre20150817^t (~)0.2.2_p20190529^t {test}

└─# ls /usr/lib64/libcrossguid.* -al
lrwxrwxrwx 1 root root    17 Jan 27 22:14 /usr/lib64/libcrossguid.so -> libcrossguid.so.0
lrwxrwxrwx 1 root root    21 Jan 27 22:14 /usr/lib64/libcrossguid.so.0 -> libcrossguid.so.0.2.3
-rwxr-xr-x 1 root root 39584 Jan 27 22:14 /usr/lib64/libcrossguid.so.0.2.3
                                                                                                                                                                                     
└─# ls -al /usr/include/crossguid          
total 28
drwxr-xr-x   2 root root  4096 Jan 27 22:14 .
drwxr-xr-x 282 root root 20480 Jan 27 22:30 ..
-rw-r--r--   1 root root  4010 Jan 27 22:14 guid.hpp

So far I've been unable to narrow this down to a specific change, such as a package update or USE flags change.

Reproducible: Always

Steps to Reproduce:
1. emerge kodi
2.
3.
Actual Results:  
Build fails.

Expected Results:  
Build should succeed.
Comment 1 Arnim Eijkhoudt 2023-01-27 21:42:34 UTC
Created attachment 849301 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-01-28 03:58:24 UTC
The bug has been closed via the following commit(s):

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

commit 4cc4b39ea1496b0cb2eb2837230023cc927753e6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-01-28 03:56:51 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-28 03:56:51 +0000

    media-tv/kodi: depend on older crossguid for 19.x
    
    For master, this is fixed, but the CMake module changes are a pain to backport,
    and Kodi is the only reverse dependency of crossguid anyway. So, for 20.x,
    this should work (no need for <).
    
    Closes: https://bugs.gentoo.org/892297
    Signed-off-by: Sam James <sam@gentoo.org>

 media-tv/kodi/kodi-19.4-r3.ebuild | 2 +-
 media-tv/kodi/kodi-19.4-r4.ebuild | 2 +-
 media-tv/kodi/kodi-19.5.ebuild    | 2 +-
 media-tv/kodi/kodi-19.9999.ebuild | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)