mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* Re: [ptxdist] collections changed?
       [not found] <CAMwGMjyddc3N5a0fWds+2fJxxg9H_j7y0UyZcXubnSod0dCsGA@mail.gmail.com>
@ 2021-05-29 19:50 ` Roland Hieber
  2021-05-31  6:53   ` [ptxdist] [PATCH] ptxd_colgen: propagate errors from ptxd_make_log Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Roland Hieber @ 2021-05-29 19:50 UTC (permalink / raw)
  To: Jon Ringle; +Cc: ptxdist

On Fri, May 28, 2021 at 07:09:26PM -0400, Jon Ringle wrote:
> As I am updating bsp from 2020.10.0 to 2021.05.0, I noticed that the
> collections now remove every package that I had previously marked to build
> for the collection. How is this supposed to work now?

If one of those packages was gdb or gdbserver, that is probably only a
follow-up error of your GDB version problem which you wrote about in
your last thread.

(… I have the feeling that you're doing the same thing I was doing a few
days ago, so let me try to answer your next question by giving you the
hint that you forgot to replace KERNEL by KERNEL_PACKAGENAME when
backporting commit 8484ecb7b244…)

 - Roland

-- 
Roland Hieber, Pengutronix e.K.          | r.hieber@pengutronix.de     |
Steuerwalder Str. 21                     | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686         | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ptxdist] [PATCH] ptxd_colgen: propagate errors from ptxd_make_log
  2021-05-29 19:50 ` [ptxdist] collections changed? Roland Hieber
@ 2021-05-31  6:53   ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2021-05-31  6:53 UTC (permalink / raw)
  To: ptxdist; +Cc: Michael Olbrich

Actually abort if ptxd_make_log fails. Not only when awk fails.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
---

On Sat, May 29, 2021 at 09:50:36PM +0200, Roland Hieber wrote:
> On Fri, May 28, 2021 at 07:09:26PM -0400, Jon Ringle wrote:
> > As I am updating bsp from 2020.10.0 to 2021.05.0, I noticed that the
> > collections now remove every package that I had previously marked to build
> > for the collection. How is this supposed to work now?
>·
> If one of those packages was gdb or gdbserver, that is probably only a
> follow-up error of your GDB version problem which you wrote about in
> your last thread.
>·
> (… I have the feeling that you're doing the same thing I was doing a few
> days ago, so let me try to answer your next question by giving you the
> hint that you forgot to replace KERNEL by KERNEL_PACKAGENAME when
> backporting commit 8484ecb7b244…)

And maybe try this first. It won't fix the underlying problem, but you
should get an error instread of the corrupted collection config.

Michael

 scripts/lib/ptxd_lib_colgen.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/lib/ptxd_lib_colgen.sh b/scripts/lib/ptxd_lib_colgen.sh
index e41e1913e64d..d3a4b0309114 100644
--- a/scripts/lib/ptxd_lib_colgen.sh
+++ b/scripts/lib/ptxd_lib_colgen.sh
@@ -76,6 +76,7 @@ ptxd_colgen_generate_sections()
 	"${PTX_MAP_ALL}" \
 	"${PTX_MAP_DEPS}" \
 	-
+    check_pipe_status
 }
 
 
-- 
2.29.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-31  6:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAMwGMjyddc3N5a0fWds+2fJxxg9H_j7y0UyZcXubnSod0dCsGA@mail.gmail.com>
2021-05-29 19:50 ` [ptxdist] collections changed? Roland Hieber
2021-05-31  6:53   ` [ptxdist] [PATCH] ptxd_colgen: propagate errors from ptxd_make_log Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox