Summary: | sys-fs/zfs sys-fs/zfs-kmod should depend on sys-libs/zlib : conftest.c:69:10: fatal error: zlib.h: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | anonymous <fakih18716> |
Component: | Current packages | Assignee: | Richard Yao (RETIRED) <ryao> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bkohler, gyakovlev |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
anonymous
2019-09-12 05:08:41 UTC
1. /usr/include/zlib.h already existed when I tried to install sys-fs/zfs. 2. zfs-kmod doesn't print an error about zlib.h oh I just realized there's a huge mistake in ebuild. will fix asap. the whole DEPEND is missing. sys-fs/zfs already depends on zlib, but it's only in RDEPEND for now. once it moved to DEPEND it'll be pulled before and found in sysroot. BDEPEND pulls it on host, but not on target. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab07fce7cbc7cf1e135aebc519f1aa51d5be16d4 commit ab07fce7cbc7cf1e135aebc519f1aa51d5be16d4 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2019-09-12 21:41:56 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2019-09-12 21:50:01 +0000 sys-fs/zfs: fix missing DEPEND in live ebuild Bug: https://bugs.gentoo.org/694126 Package-Manager: Portage-2.3.75, Repoman-2.3.17 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> sys-fs/zfs/zfs-9999.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) can you check how it works now? especially cool if you could test with USE=python. python bits are picky about cross-compiling. 1. /usr/include/zlib.h already exists in the build host and the target system. sys-fs/zfs already builds with emerge in an aarch64 chroot. It is aarch64-unknown-linux-gnu-emerge that fails to find /usr/include/zlib.h 2. sys-fs/zfs-kmod never complainsa bout zlib.h. But, it installs kernel modules in /path/to/rpi3b+/path/to/rpi3b+/lib/modules/kernel-ver instead of /path/to/rpi3b+/lib/modules/kernel-ver Anyway, I will check whether it builds and get back. I tried to build sys-fs/zfs-9999, but failed because sys-fs/zfs-kmod-9999 failed to build due to the following error. /lib/ld-linux-aarch64.so.1: No such file or directory Seems like you should close this bug and bug 693126 and open a new report for this new issue, no? fixed in 0.8.2 like I said in other bug please file cross-compilation related issues separately. |