Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/ltp-testsuite: add upstream patches
Date: Mon, 8 Oct 2018 17:55:56 +0200	[thread overview]
Message-ID: <20181008175556.4bc9a087@windsurf> (raw)
In-Reply-To: <20181005064525.28631-1-F.LaRoche@pilz.de>

Hello Florian,

Thanks for working on ltp!

On Fri, 5 Oct 2018 08:45:25 +0200, Florian La Roche wrote:
> Add patches from the upstream ltp-testsuite github
> repository to compile correctly.

"compile correctly" is very vague. Which issues is this fixing ?

It seems like the statx patch is fixing a build issue with glibc 2.28.
If that is the case, it should be explained in the commit log, and a
reference to the autobuilder failure should be added (see
http://autobuild.buildroot.net/?reason=ltp% for all ltp-testsuite build
failures).

The commit title should then be fixed to be:

	package/ltp-testsuite: fix build with glibc 2.28

>  package/ltp-testsuite/0002-execve05.patch | 44 +++++++++++++++++++++++

This is a runtime fix, it should be added a separate patch, explaining
why it should be added.

Also, please use "git format-patch" to generate the patches, and keep
the file name generated by git format-patch for the patches.

> diff --git a/package/ltp-testsuite/0002-execve05.patch b/package/ltp-testsuite/0002-execve05.patch
> new file mode 100644
> index 0000000000..06e40c54e1
> --- /dev/null
> +++ b/package/ltp-testsuite/0002-execve05.patch
> @@ -0,0 +1,44 @@
> +From 6f61cad559df8791add50aa8d053ca77cd97c594 Mon Sep 17 00:00:00 2001
> +From: "Allen, John" <John.Allen@amd.com>
> +Date: Wed, 26 Sep 2018 14:31:37 +0000
> +Subject: [PATCH] runtest/{ltplite, stress.part3}: Update execve05 calling
> + convention
> +
> +The calling convention for execve05 was recently changed and was updated
> +in runtest/syscalls when the change was introduced, but not for other
> +runtest files where execve05 is called. Update all calls to execve05 to
> +use the new calling convention.
> +
> +Signed-off-by: John Allen <john.allen@amd.com>
> +Acked-by: Cyril Hrubis <chrubis@suse.cz>

Please add your Signed-off-by to patches added in Buildroot.


> diff --git a/package/ltp-testsuite/0004-statx.patch b/package/ltp-testsuite/0004-statx.patch
> new file mode 100644
> index 0000000000..7b9002d708
> --- /dev/null
> +++ b/package/ltp-testsuite/0004-statx.patch
> @@ -0,0 +1,26 @@
> +This is based on 0003-statx.patch so that autoconf does not have to run again.
> +

As Petr suggested, we prefer to add AUTORECONF = YES in
ltp-testsuite.mk.

Just add something like this:

# 0004-blablalba.patch
LTP_TESTSUITE_AUTORECONF = YES

Could you fix those minor details, and send an updated version of your
patch ?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

      parent reply	other threads:[~2018-10-08 15:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-05  6:45 [Buildroot] [PATCH 1/1] package/ltp-testsuite: add upstream patches Florian La Roche
2018-10-05 12:21 ` Petr Vorel
2018-10-08 15:55 ` Thomas Petazzoni [this message]

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=20181008175556.4bc9a087@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox