Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931009 - genkernel cannot create initramfs (musl mdadm compilation error)
Summary: genkernel cannot create initramfs (musl mdadm compilation error)
Status: RESOLVED DUPLICATE of bug 928279
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-01 06:59 UTC by Vieri
Modified: 2024-05-01 15:49 UTC (History)
3 users (show)

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


Attachments
genkernel log (genkernel.log.bz2,152.21 KB, application/x-bzip)
2024-05-01 06:59 UTC, Vieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vieri 2024-05-01 06:59:55 UTC
Created attachment 892055 [details]
genkernel log

Hi,

Reporting an issue on a new amd64-hardened-musl livecd while compiling kernel and creating initramfs with genkernel:

*            We are now building Linux kernel 6.6.21-gentoo-x86_64 for x86_64 ...
*         >> Compiling 6.6.21-gentoo-x86_64 bzImage ...
*         >> Compiling 6.6.21-gentoo-x86_64 modules ...
*         >> Installing 6.6.21-gentoo-x86_64 modules (and stripping) ...
*         >> Generating module dependency data ...
*         >> Compiling out-of-tree module(s) ...
*         >> Saving config of successful build to '/etc/kernels/kernel-config-6.6.21-gentoo-x86_64' ...

* initramfs: >> Initializing ...
*         >> Appending devices cpio data ...
*         >> Appending base_layout cpio data ...
*         >> Appending util-linux cpio data ...
*         >> Appending eudev cpio data ...
*         >> Appending auxiliary cpio data ...
*         >> Appending busybox cpio data ...
*         >> Appending mdadm cpio data ...
* ERROR: Command 'nice -n10 make -j2 V=1 mdadm mdmon' failed!
* ERROR: create_initramfs(): append_data(): append_mdadm(): populate_binpkg(): gkbuild(): Failed to create binpkg of mdadm-4.1!
* Please consult '/var/log/genkernel.log' for more information and any
* errors that were reported above.
*
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* '/var/log/genkernel.log' so that your issue can be dealt with effectively.
*
* Please do *not* report kernel compilation failures as genkernel bugs!


Attaching log.

restripe.c:758:43: error: 'off64_t' undeclared (first use in this function); did you mean 'off_t'?

Regards
Comment 1 Ben Kohler gentoo-dev 2024-05-01 12:55:15 UTC
Looks like same as bug 907082, we'll just need to get that patch into genkernel.
Comment 2 Ben Kohler gentoo-dev 2024-05-01 15:49:30 UTC

*** This bug has been marked as a duplicate of bug 928279 ***