All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/ktap: fix compilation with gcc >= 8.x and newer kernel
@ 2020-06-19 12:46 Ralph Siemsen
  2020-06-20 14:29 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Ralph Siemsen @ 2020-06-19 12:46 UTC (permalink / raw)
  To: buildroot

Package currently fails to build for multiple architectures.
Can be fixed with two patches, taken from following github PR:
https://github.com/ktap/ktap/pull/107

---
Direct links to the patches, for reviewers convenience:
https://github.com/ktap/ktap/pull/107/commits/65923a4439398318e6d395da76e3f8c28bd6e1d4
https://github.com/ktap/ktap/pull/107/commits/b2651aa7dca61e55d16668adb7b849fde6755e4c

 package/ktap/ktap.hash | 2 ++
 package/ktap/ktap.mk   | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/package/ktap/ktap.hash b/package/ktap/ktap.hash
index 1eff712501..697c0356c7 100644
--- a/package/ktap/ktap.hash
+++ b/package/ktap/ktap.hash
@@ -1,3 +1,5 @@
 # Locally calculated
 sha256 44a0808d57175cf9d15466f720e1e10d5ed1abc3497aedf9ddd6469545552345  ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz
 sha256 e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4  LICENSE-GPL
+sha256 5b0ecb2e3d73df5f91513834dc64ea2e3845fa6cfbd74c895d9182498b799c7c  65923a4439398318e6d395da76e3f8c28bd6e1d4.patch
+sha256 a3dca7eacaec4a2a22e9fa58328aa454b58cebc763f552a433d6ff2961e2cb26  b2651aa7dca61e55d16668adb7b849fde6755e4c.patch
diff --git a/package/ktap/ktap.mk b/package/ktap/ktap.mk
index 3b9134da65..7479fa3b13 100644
--- a/package/ktap/ktap.mk
+++ b/package/ktap/ktap.mk
@@ -8,6 +8,8 @@ KTAP_VERSION = 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f
 KTAP_SITE = $(call github,ktap,ktap,$(KTAP_VERSION))
 KTAP_LICENSE = GPL-2.0
 KTAP_LICENSE_FILES = LICENSE-GPL
+KTAP_PATCH += https://github.com/leitao/ktap/commit/65923a4439398318e6d395da76e3f8c28bd6e1d4.patch
+KTAP_PATCH += https://github.com/leitao/ktap/commit/b2651aa7dca61e55d16668adb7b849fde6755e4c.patch
 
 ifeq ($(BR2_PACKAGE_ELFUTILS),y)
 KTAP_DEPENDENCIES += elfutils
-- 
2.17.1

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

* [Buildroot] [PATCH] package/ktap: fix compilation with gcc >= 8.x and newer kernel
  2020-06-19 12:46 [Buildroot] [PATCH] package/ktap: fix compilation with gcc >= 8.x and newer kernel Ralph Siemsen
@ 2020-06-20 14:29 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2020-06-20 14:29 UTC (permalink / raw)
  To: buildroot

Hello Ralph,

On Fri, 19 Jun 2020 08:46:06 -0400
Ralph Siemsen <ralphs@netwinder.org> wrote:

> Package currently fails to build for multiple architectures.
> Can be fixed with two patches, taken from following github PR:
> https://github.com/ktap/ktap/pull/107

Thanks a lot for your contribution!

However, we cannot pull patches directly from Github: our past
experience has shown that the contents of the patches can change in
subtle ways (typically the Git commit SHA1 included in the patch can
change to no longer be ambiguous with new SHA1s being used for new
commits in the same repository).

Due to this, we prefer to have such patches directly in Buildroot. Each
patch will need to carry your Signed-off-by, plus a detail of where
they come from.

In addition, the overall Buildroot patch should also have your
Signed-off-by.

Could you adjust this and send a new iteration ?

That being said, is ktap still being maintained ? The last commit on
Github is from 2017, the ktap.org domain no longer exists, and the pull
request you're using here dates back from 2018 has still hasn't been
merged.

Best regards,

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

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

end of thread, other threads:[~2020-06-20 14:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-19 12:46 [Buildroot] [PATCH] package/ktap: fix compilation with gcc >= 8.x and newer kernel Ralph Siemsen
2020-06-20 14:29 ` Thomas Petazzoni

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.