Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942316 - media-libs/libdisplay-info-0.2.0 can not be cross compiled (meson.build:24:11: ERROR: File /usr/share/hwdata/pnp.ids does not exist.)
Summary: media-libs/libdisplay-info-0.2.0 can not be cross compiled (meson.build:24:1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: James Le Cuirot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-27 07:31 UTC by BogDan
Modified: 2024-11-11 16:53 UTC (History)
1 user (show)

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


Attachments
# sparc64-unknown-linux-gnu-emerge --info '=media-libs/libdisplay-info-0.2.0::gentoo' (file_942316.txt,4.85 KB, text/plain)
2024-10-27 07:32 UTC, BogDan
Details
media-libs/libdisplay-info-0.2.0/temp/build.log (file_942316.txt,4.64 KB, text/plain)
2024-10-27 07:33 UTC, BogDan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description BogDan 2024-10-27 07:31:17 UTC
I'm trying to cross compile weston to sparc64-unknown-linux-gnu, but the process gets stops at libdisplay-info which seems that it can not be cross compiled.


Reproducible: Always

Steps to Reproduce:
# USE="X wayland jpeg editor wayland-compositor xwayland" VIDEO_CARDS="radeon" sparc64-unknown-linux-gnu-emerge --ask --verbose  media-libs/libdisplay-inf
Comment 1 BogDan 2024-10-27 07:32:09 UTC
Created attachment 906950 [details]
# sparc64-unknown-linux-gnu-emerge --info '=media-libs/libdisplay-info-0.2.0::gentoo'
Comment 2 BogDan 2024-10-27 07:33:41 UTC
Created attachment 906951 [details]
media-libs/libdisplay-info-0.2.0/temp/build.log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-10-27 07:34:36 UTC
It might just be missing hwdata in BDEPEND. It's in DEPEND+RDEPEND but not BDEPEND.
Comment 4 BogDan 2024-10-27 07:39:27 UTC
I just installed `hwdata` also for AMD64 and now it works fine..

IMHO media-libs/libdisplay-info should be fixed by adding hwdata as a dependency also for AMD64 not only for host.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-10-27 08:20:15 UTC
Yes, BDEPEND means "build dependency for CBUILD".
Comment 6 Larry the Git Cow gentoo-dev 2024-11-11 16:53:42 UTC
The bug has been closed via the following commit(s):

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

commit 0123e73dabb28126e2f450835cb0ba74797541b4
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2024-11-11 16:53:28 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2024-11-11 16:53:28 +0000

    media-libs/libdisplay-info: sys-apps/hwdata is only used at build time
    
    Closes: https://bugs.gentoo.org/942316
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 .../{libdisplay-info-0.1.1.ebuild => libdisplay-info-0.1.1-r1.ebuild}   | 2 +-
 .../{libdisplay-info-0.2.0.ebuild => libdisplay-info-0.2.0-r1.ebuild}   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)