* ONIE build is failing during!
@ 2025-03-22 13:25 MURALI VEMULA
2025-03-22 14:48 ` Tommy Murphy
0 siblings, 1 reply; 10+ messages in thread
From: MURALI VEMULA @ 2025-03-22 13:25 UTC (permalink / raw)
To: crossgcc
[-- Attachment #1: Type: text/plain, Size: 2292 bytes --]
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'
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ONIE build is failing during!
2025-03-22 13:25 ONIE build is failing during! MURALI VEMULA
@ 2025-03-22 14:48 ` Tommy Murphy
2025-03-22 17:17 ` MURALI VEMULA
0 siblings, 1 reply; 10+ messages in thread
From: Tommy Murphy @ 2025-03-22 14:48 UTC (permalink / raw)
To: crossgcc, MURALI VEMULA
[-- Attachment #1: Type: text/plain, Size: 446 bytes --]
> [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
Anything useful here?
https://github.com/crosstool-ng/crosstool-ng/issues?q=is%3Aissue%20kernel%20headers%20error%20127
Maybe you need rsync?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ONIE build is failing during!
2025-03-22 14:48 ` Tommy Murphy
@ 2025-03-22 17:17 ` MURALI VEMULA
2025-03-22 18:27 ` Tommy Murphy
0 siblings, 1 reply; 10+ messages in thread
From: MURALI VEMULA @ 2025-03-22 17:17 UTC (permalink / raw)
To: Tommy Murphy; +Cc: crossgcc
[-- Attachment #1: Type: text/plain, Size: 3309 bytes --]
Thanks Tommy. It went further and failed with this error:
[INFO ] =================================================================
[INFO ] Installing C library headers & start files
[INFO ] =================================================================
[INFO ] Building for multilib 1/1: ''
[ERROR] make[3]: *** [Makefile.in:164: ../..//extra/locale/c8tables.h] Error 1
[ERROR] make[2]: *** [Makefile.in:185: headers] Error 2
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Building for multilib 1/1: '''
[ERROR] >> called in step 'Installing C library headers & start files'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@376]
[ERROR] >> called from: uClibc_backend_once[scripts/build/libc/uClibc.sh@141]
[ERROR] >> called from: CT_IterateMultilibs[scripts/functions@1586]
[ERROR] >> called from: uClibc_backend[scripts/build/libc/uClibc.sh@36]
[ERROR] >> called from: uClibc_start_files[scripts/build/libc/uClibc.sh@10]
[ERROR] >> called from: do_libc_start_files[scripts/build/libc.sh@28]
[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:36.34)
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'
rm: cannot remove '/home/build/src/onie/build/x-tools/x86_64-g8.3.0-lnx5.4.86-uClibc-ng-1.0.38/build/.config.2': No such file or directory
make: *** [make/xtools.make:146: /home/build/src/onie/build/x-tools/x86_64-g8.3.0-lnx5.4.86-uClibc-ng-1.0.38/stamp/xtools-build] Error 1
> On Mar 22, 2025, at 7:48 AM, Tommy Murphy <tommy_murphy@hotmail.com> wrote:
>
> > [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
>
> Anything useful here?
>
> https://github.com/crosstool-ng/crosstool-ng/issues?q=is%3Aissue%20kernel%20headers%20error%20127
>
> Maybe you need rsync?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ONIE build is failing during!
2025-03-22 17:17 ` MURALI VEMULA
@ 2025-03-22 18:27 ` Tommy Murphy
2025-03-22 18:31 ` MURALI VEMULA
0 siblings, 1 reply; 10+ messages in thread
From: Tommy Murphy @ 2025-03-22 18:27 UTC (permalink / raw)
To: MURALI VEMULA; +Cc: crossgcc
[-- Attachment #1: Type: text/plain, Size: 505 bytes --]
Did you do a completely new/clean build from scratch just in case the previous failed build affects the new one?
> [ERROR] >> For more info on this error, look at the file: 'build.log
Does build.log contain any more detailed info about the failure?
> [ERROR] >> '/home/build/src/onie/build/crosstool-ng/crosstool-ng-1.24.0/docs/manual/B_Known_issues.md'
Your CT-NG seems to be old. Maybe try the latest release 1.27 in case that makes any difference?
https://crosstool-ng.github.io/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ONIE build is failing during!
2025-03-22 18:27 ` Tommy Murphy
@ 2025-03-22 18:31 ` MURALI VEMULA
2025-03-22 18:47 ` MURALI VEMULA
0 siblings, 1 reply; 10+ messages in thread
From: MURALI VEMULA @ 2025-03-22 18:31 UTC (permalink / raw)
To: Tommy Murphy; +Cc: crossgcc
[-- Attachment #1: Type: text/plain, Size: 1626 bytes --]
Yes Tommy, I did a clean one. I used the fix to Dockerfile mentioned in https://github.com/opencomputeproject/onie/issues/1012
Now I am facing the following error:
[INFO ] =================================================================
[INFO ] Installing cross-gdb
[ERROR] configure: error: failure running python-config --includes
[ERROR] make[3]: *** [Makefile:8798: configure-gdb] Error 1
[ERROR] make[2]: *** [Makefile:851: all] Error 2
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Installing cross-gdb'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@376]
[ERROR] >> called from: do_gdb_backend[scripts/build/debug/300-gdb.sh@281]
[ERROR] >> called from: do_debug_gdb_build[scripts/build/debug/300-gdb.sh@59]
[ERROR] >> called from: do_debug[scripts/build/debug.sh@35]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@696]
Thanks,
Murali
> On Mar 22, 2025, at 11:27 AM, Tommy Murphy <tommy_murphy@hotmail.com> wrote:
>
> Did you do a completely new/clean build from scratch just in case the previous failed build affects the new one?
>
> > [ERROR] >> For more info on this error, look at the file: 'build.log
>
> Does build.log contain any more detailed info about the failure?
>
> > [ERROR] >> '/home/build/src/onie/build/crosstool-ng/crosstool-ng-1.24.0/docs/manual/B_Known_issues.md'
>
> Your CT-NG seems to be old. Maybe try the latest release 1.27 in case that makes any difference?
>
> https://crosstool-ng.github.io/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ONIE build is failing during!
2025-03-22 18:31 ` MURALI VEMULA
@ 2025-03-22 18:47 ` MURALI VEMULA
2025-03-24 3:09 ` MURALI VEMULA
0 siblings, 1 reply; 10+ messages in thread
From: MURALI VEMULA @ 2025-03-22 18:47 UTC (permalink / raw)
To: Tommy Murphy; +Cc: crossgcc
[-- Attachment #1: Type: text/plain, Size: 1864 bytes --]
I found one suggestion and I am trying with python2 instead python3
Thanks,
Murali
> On Mar 22, 2025, at 11:31 AM, MURALI VEMULA <mvemula@icloud.com> wrote:
>
> Yes Tommy, I did a clean one. I used the fix to Dockerfile mentioned in https://github.com/opencomputeproject/onie/issues/1012
>
> Now I am facing the following error:
>
>
> [INFO ] =================================================================
> [INFO ] Installing cross-gdb
> [ERROR] configure: error: failure running python-config --includes
> [ERROR] make[3]: *** [Makefile:8798: configure-gdb] Error 1
> [ERROR] make[2]: *** [Makefile:851: all] Error 2
> [ERROR]
> [ERROR] >>
> [ERROR] >> Build failed in step 'Installing cross-gdb'
> [ERROR] >> called in step '(top-level)'
> [ERROR] >>
> [ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@376]
> [ERROR] >> called from: do_gdb_backend[scripts/build/debug/300-gdb.sh@281]
> [ERROR] >> called from: do_debug_gdb_build[scripts/build/debug/300-gdb.sh@59]
> [ERROR] >> called from: do_debug[scripts/build/debug.sh@35]
> [ERROR] >> called from: main[scripts/crosstool-NG.sh@696]
>
>
> Thanks,
> Murali
>
>> On Mar 22, 2025, at 11:27 AM, Tommy Murphy <tommy_murphy@hotmail.com> wrote:
>>
>> Did you do a completely new/clean build from scratch just in case the previous failed build affects the new one?
>>
>> > [ERROR] >> For more info on this error, look at the file: 'build.log
>>
>> Does build.log contain any more detailed info about the failure?
>>
>> > [ERROR] >> '/home/build/src/onie/build/crosstool-ng/crosstool-ng-1.24.0/docs/manual/B_Known_issues.md'
>>
>> Your CT-NG seems to be old. Maybe try the latest release 1.27 in case that makes any difference?
>>
>> https://crosstool-ng.github.io/
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ONIE build is failing during!
2025-03-22 18:47 ` MURALI VEMULA
@ 2025-03-24 3:09 ` MURALI VEMULA
2025-03-24 7:41 ` Tommy Murphy
0 siblings, 1 reply; 10+ messages in thread
From: MURALI VEMULA @ 2025-03-24 3:09 UTC (permalink / raw)
To: Tommy Murphy; +Cc: crossgcc
[-- Attachment #1: Type: text/plain, Size: 2462 bytes --]
Hi Tommy,
Thanks for your help.
I am in the final step of building ONIE and I am getting this error. May be I need to reach out to ONIE community.
make[2]: *** No rule to make target '/home/build/src/onie/encryption/machines/kvm_x86_64/keys/ONIE/efi-keys/ONIE-shim-key-cert.pem', needed by 'certs/signing_key.x509'. Stop.
make[2]: *** Waiting for unfinished jobs....
EXTRACT_CERTS
make[1]: *** [Makefile:1732: certs] Error 2
Thanks,
Murali
> On Mar 22, 2025, at 11:47 AM, MURALI VEMULA <mvemula@icloud.com> wrote:
>
> I found one suggestion and I am trying with python2 instead python3
>
> Thanks,
> Murali
>
>> On Mar 22, 2025, at 11:31 AM, MURALI VEMULA <mvemula@icloud.com> wrote:
>>
>> Yes Tommy, I did a clean one. I used the fix to Dockerfile mentioned in https://github.com/opencomputeproject/onie/issues/1012
>>
>> Now I am facing the following error:
>>
>>
>> [INFO ] =================================================================
>> [INFO ] Installing cross-gdb
>> [ERROR] configure: error: failure running python-config --includes
>> [ERROR] make[3]: *** [Makefile:8798: configure-gdb] Error 1
>> [ERROR] make[2]: *** [Makefile:851: all] Error 2
>> [ERROR]
>> [ERROR] >>
>> [ERROR] >> Build failed in step 'Installing cross-gdb'
>> [ERROR] >> called in step '(top-level)'
>> [ERROR] >>
>> [ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@376]
>> [ERROR] >> called from: do_gdb_backend[scripts/build/debug/300-gdb.sh@281]
>> [ERROR] >> called from: do_debug_gdb_build[scripts/build/debug/300-gdb.sh@59]
>> [ERROR] >> called from: do_debug[scripts/build/debug.sh@35]
>> [ERROR] >> called from: main[scripts/crosstool-NG.sh@696]
>>
>>
>> Thanks,
>> Murali
>>
>>> On Mar 22, 2025, at 11:27 AM, Tommy Murphy <tommy_murphy@hotmail.com> wrote:
>>>
>>> Did you do a completely new/clean build from scratch just in case the previous failed build affects the new one?
>>>
>>> > [ERROR] >> For more info on this error, look at the file: 'build.log
>>>
>>> Does build.log contain any more detailed info about the failure?
>>>
>>> > [ERROR] >> '/home/build/src/onie/build/crosstool-ng/crosstool-ng-1.24.0/docs/manual/B_Known_issues.md'
>>>
>>> Your CT-NG seems to be old. Maybe try the latest release 1.27 in case that makes any difference?
>>>
>>> https://crosstool-ng.github.io/
>>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ONIE build is failing during!
2025-03-24 3:09 ` MURALI VEMULA
@ 2025-03-24 7:41 ` Tommy Murphy
2025-03-24 22:50 ` MURALI VEMULA
0 siblings, 1 reply; 10+ messages in thread
From: Tommy Murphy @ 2025-03-24 7:41 UTC (permalink / raw)
To: MURALI VEMULA; +Cc: crossgcc
[-- Attachment #1: Type: text/plain, Size: 135 bytes --]
Anything useful here?
https://github.com/opencomputeproject/onie/issues/992
https://github.com/opencomputeproject/onie/issues/984
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ONIE build is failing during!
2025-03-24 7:41 ` Tommy Murphy
@ 2025-03-24 22:50 ` MURALI VEMULA
2025-03-25 7:36 ` Tommy Murphy
0 siblings, 1 reply; 10+ messages in thread
From: MURALI VEMULA @ 2025-03-24 22:50 UTC (permalink / raw)
To: Tommy Murphy; +Cc: crossgcc
[-- Attachment #1: Type: text/plain, Size: 412 bytes --]
Thanks Tommy. That did help.
Now I moved on to Ubuntu 20.04 instead of Debian. I am able to build the ONIE images there.
Thanks a lot for your help.
Regards,
Murali
> On Mar 24, 2025, at 12:41 AM, Tommy Murphy <tommy_murphy@hotmail.com> wrote:
>
> Anything useful here?
>
> https://github.com/opencomputeproject/onie/issues/992
> https://github.com/opencomputeproject/onie/issues/984
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ONIE build is failing during!
2025-03-24 22:50 ` MURALI VEMULA
@ 2025-03-25 7:36 ` Tommy Murphy
0 siblings, 0 replies; 10+ messages in thread
From: Tommy Murphy @ 2025-03-25 7:36 UTC (permalink / raw)
To: MURALI VEMULA; +Cc: crossgcc
[-- Attachment #1: Type: text/plain, Size: 714 bytes --]
Glad to hear that you're making progress. :-)
________________________________
From: MURALI VEMULA <mvemula@icloud.com>
Sent: Monday, March 24, 2025 10:50:53 PM
To: Tommy Murphy <tommy_murphy@hotmail.com>
Cc: crossgcc@sourceware.org <crossgcc@sourceware.org>
Subject: Re: ONIE build is failing during!
Thanks Tommy. That did help.
Now I moved on to Ubuntu 20.04 instead of Debian. I am able to build the ONIE images there.
Thanks a lot for your help.
Regards,
Murali
On Mar 24, 2025, at 12:41 AM, Tommy Murphy <tommy_murphy@hotmail.com> wrote:
Anything useful here?
https://github.com/opencomputeproject/onie/issues/992
https://github.com/opencomputeproject/onie/issues/984
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2025-03-25 7:36 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-22 13:25 ONIE build is failing during! MURALI VEMULA
2025-03-22 14:48 ` Tommy Murphy
2025-03-22 17:17 ` MURALI VEMULA
2025-03-22 18:27 ` Tommy Murphy
2025-03-22 18:31 ` MURALI VEMULA
2025-03-22 18:47 ` MURALI VEMULA
2025-03-24 3:09 ` MURALI VEMULA
2025-03-24 7:41 ` Tommy Murphy
2025-03-24 22:50 ` MURALI VEMULA
2025-03-25 7:36 ` Tommy Murphy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).