ONIE build is failing during!

MURALI VEMULA via crossgcc <[email protected]> Sat, 22 Mar 2025 06:25:21 -0700
Newsgroups gmane.comp.gcc.cross-compiling
Message-ID <[email protected]>
Hi Team,

I am trying to build ONIE on Debian 10 docker. Towards the end I am getting this error.

Thanks,
Murali

[INFO ]  =================================================================
[INFO ]  Installing pass-1 core C gcc compiler
[INFO ]  Installing pass-1 core C gcc compiler: done in 115.05s (at 05:21)
[INFO ]  =================================================================
[INFO ]  Installing kernel headers
[ERROR]    make[3]: *** [/home/build/src/onie/build/x-tools/x86_64-g8.3.0-lnx5.4.86-uClibc-ng-1.0.38/build/build/x86_64-onie-linux-uclibc/src/linux/Makefile
:1215: headers_install] Error 127
[ERROR]    make[2]: *** [Makefile:179: sub-make] Error 2
[ERROR]  
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Installing kernel headers'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@376]
[ERROR]  >>        called from: do_kernel_headers[scripts/build/kernel/linux.sh@64]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@696]
[ERROR]  >>
[ERROR]  >>  For more info on this error, look at the file: 'build.log'
[ERROR]  >>  There is a list of known issues, some with workarounds, in:
[ERROR]  >>      '/home/build/src/onie/build/crosstool-ng/crosstool-ng-1.24.0/docs/manual/B_Known_issues.md'
[ERROR]  >>
[ERROR]  >> NOTE: You configuration uses non-default patch sets. Please
[ERROR]  >> select 'bundled' as the set of patches applied and attempt
[ERROR]  >> to reproduce this issue. Issues reported with other patch
[ERROR]  >> set selections (none, local, bundled+local) are going to be
[ERROR]  >> closed without explanation.
[ERROR]  >>
[ERROR]  >>  If you feel this is a bug in crosstool-NG, report it at:
[ERROR]  >>      https://github.com/crosstool-ng/crosstool-ng/issues/
[ERROR]  >>
[ERROR]  >>  Make sure your report includes all the information pertinent to this issue.
[ERROR]  >>  Read the bug reporting guidelines here:
[ERROR]  >>      http://crosstool-ng.github.io/support/
[ERROR]  
[ERROR]  (elapsed: 5:29.63)
make[1]: *** [/home/build/src/onie/build/crosstool-ng/crosstool-ng-1.24.0/ct-ng:261: build] Error 2
make[1]: Leaving directory '/home/build/src/onie/build/x-tools/x86_64-g8.3.0-lnx5.4.86-uClibc-ng-1.0.38/build'

--
For unsubscribe information see http://sourceware.org/lists.html#faq