All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH] package/libopenssl do not build in parallel
Date: Mon, 17 Mar 2025 18:32:39 +0100	[thread overview]
Message-ID: <87h63ra7go.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20250316210245.1706946-1-yann.morin.1998@free.fr> (Yann E. MORIN's message of "Sun, 16 Mar 2025 22:02:45 +0100")

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 > With highly parallel build on a hevily loaded machine, the libopenssl
 > build often (about half of the time) fails with spurious missing rules
 > in its Makefile:

 >>>> host-libopenssl 3.4.1 Installing to host directory
 >     [...] /usr/bin/make  -C [...]/build/host-libopenssl-3.4.1 install
 >     "/usr/bin/make" depend && "/usr/bin/make" _build_libs
 >     "/usr/bin/make" depend && "/usr/bin/make" _build_modules
 >     "/usr/bin/make" depend && "/usr/bin/make" _build_programs
 >     [...]
 >     make[3]: *** No rule to make target '_build_modules'.  Stop.
 >     make[2]: *** [Makefile:3159: build_modules] Error 2
 >     make[2]: *** Waiting for unfinished jobs....
 >     make[3]: Nothing to be done for '_build_programs'.
 >     make[3]: Nothing to be done for '_build_libs'.
 >     make[1]: *** [package/pkg-generic.mk:283: [...]/build/host-libopenssl-3.4.1/.stamp_host_installed] Error 2
 >     make[1]: *** Waiting for unfinished jobs....
 >     [...]
 >     make: *** [Makefile:23: _all] Error 2

 > Ideally, we'd like to fix the issue. However, the Nakefile is generated
 > by the Configure script, written in perl, from the template in
 > Configurations/unix-Makefile.tmpl, which also uses some kind of special
 > (perl-related, probably) templating language. That makes it pretty
 > difficult to see what is going on, though, and nigh impossible to fix
 > without a deep understanding of the openssl buildsystem.

 > So, we can only disable parallel builds until the issue is fixed
 > upstream [0]. Add a comment to both build commands (host and target) to
 > reference the upstream issue report.

 > Note that the issue has mostly been observed in the build of the host
 > variant so far, but there is no reason why it can't happen in the build
 > of the target variant.

 > [0] https://github.com/openssl/openssl/issues/27074

 > Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>

Committed, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2025-03-17 17:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-16 21:02 [Buildroot] [PATCH] package/libopenssl do not build in parallel Yann E. MORIN
2025-03-17 17:32 ` Peter Korsgaard [this message]
2025-03-24 12:19 ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h63ra7go.fsf@dell.be.48ers.dk \
    --to=peter@korsgaard.com \
    --cc=buildroot@buildroot.org \
    --cc=yann.morin.1998@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.