From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D9C61C77B61 for ; Sun, 16 Apr 2023 20:46:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 7B00B41C24; Sun, 16 Apr 2023 20:46:01 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 7B00B41C24 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yhT4jEiyxo3G; Sun, 16 Apr 2023 20:46:00 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 3CDAC41DB8; Sun, 16 Apr 2023 20:45:59 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 3CDAC41DB8 Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id D5CEF1C3EB5 for ; Sun, 16 Apr 2023 20:45:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id AF98340201 for ; Sun, 16 Apr 2023 20:45:57 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org AF98340201 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KXr02tLmCYOQ for ; Sun, 16 Apr 2023 20:45:56 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 94E8C400C6 Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [212.27.42.5]) by smtp2.osuosl.org (Postfix) with ESMTPS id 94E8C400C6 for ; Sun, 16 Apr 2023 20:45:56 +0000 (UTC) Received: from ymorin.is-a-geek.org (unknown [171.22.1.1]) (Authenticated sender: yann.morin.1998@free.fr) by smtp5-g21.free.fr (Postfix) with ESMTPSA id C54535FFA1; Sun, 16 Apr 2023 22:45:48 +0200 (CEST) Received: by ymorin.is-a-geek.org (sSMTP sendmail emulation); Sun, 16 Apr 2023 22:45:48 +0200 Date: Sun, 16 Apr 2023 22:45:48 +0200 From: "Yann E. MORIN" To: Petr Vorel Message-ID: <20230416204548.GJ2819@scaer> References: <20230416201705.2294430-1-pevik@seznam.cz> <20230416201705.2294430-3-pevik@seznam.cz> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230416201705.2294430-3-pevik@seznam.cz> User-Agent: Mutt/1.5.22 (2013-10-16) X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1681677955; bh=R6HY/NFjAovqvhhQH+D6IZA5DHJs/3bqTuIDXA+h0QY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=SCwke5OYD6qiikIfrbbHJFeKlo51ycg5S2fV0F4aufxWIRjmC2Yo6XcTpyfXnPvoj m/6mN8zLwQkO50tNoER3KkctR97jE865spgWZIYtkEmUzt6Pk3IOprVBnTb6HvLlPb vVClPzb+26lVjbGOYq7tZegTPrxPlSrMmbC24M/VssaLOL21ZUmaS7YKoaXvP3Ep3+ 5YZCmnPX7IVPN/KdqQvn4+atMnXeksiKukqs8YdcCGHfwbgP0xPOf6BI22/j9zMLeO YwtOT6NtOviSQ0IQlWwO25GkgB4Rb3ESedrZIcUx8Aq6N5f8fQtv2Oq+lnc9wchmTL 9NLHdCOQNpXXw== X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key) header.d=free.fr header.i=@free.fr header.a=rsa-sha256 header.s=smtp-20201208 header.b=SCwke5OY Subject: Re: [Buildroot] [PATCH v3 2/2] package/ltp-testsuite: bump version to 20230127 X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Petazzoni , Anders Roxell , buildroot@buildroot.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Petr, All, On 2023-04-16 22:17 +0200, Petr Vorel spake thusly: > From: Petr Vorel > > Backport fix for buildroot toolchain This is not specific to Buildrot; it is a conflict between glibc headers and kernel headers. I've slightly reworded that, and applied to master, thanks. Regards, Yann E. MORIN. > Fixes: > - http://autobuild.buildroot.org/results/4dbb72e1bf081afd3cd944571b9beeefc7608865 > > Signed-off-by: Petr Vorel > --- > changes v2->v3 > * backport was squashed to version update (Yann) > > ...onfigure.ac-fix-mount_attr-detection.patch | 54 +++++++++++++++++++ > package/ltp-testsuite/ltp-testsuite.hash | 5 +- > package/ltp-testsuite/ltp-testsuite.mk | 2 +- > 3 files changed, 57 insertions(+), 4 deletions(-) > create mode 100644 package/ltp-testsuite/0001-configure.ac-fix-mount_attr-detection.patch > > diff --git a/package/ltp-testsuite/0001-configure.ac-fix-mount_attr-detection.patch b/package/ltp-testsuite/0001-configure.ac-fix-mount_attr-detection.patch > new file mode 100644 > index 0000000000..740d3a6d6a > --- /dev/null > +++ b/package/ltp-testsuite/0001-configure.ac-fix-mount_attr-detection.patch > @@ -0,0 +1,54 @@ > +From 30353a1eb3ee8940f38d6a0e8f5f39352fd8a179 Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Sun, 26 Feb 2023 20:25:54 +0100 > +Subject: [PATCH] configure.ac: fix mount_attr detection > +Upstream: https://github.com/linux-test-project/ltp/commit/30353a1eb3ee8940f38d6a0e8f5f39352fd8a179 > + > +Commit b857f8723f30a4b9554bf6b0ff8fa52fd07e8b60 tried to fix build with > +latest glibc which provides mount_attr in sys/mount.h. Unfortunately, > +the following build failure is still raised because sys/mount is now > +unconditionally included in include/lapi/fsmount.h: > + > +In file included from fsconfig01.c:9: > +../../../../include/lapi/fsmount.h:55:8: error: redefinition of 'struct mount_attr' > + 55 | struct mount_attr { > + | ^~~~~~~~~~ > +In file included from ../../../../include/lapi/fsmount.h:14: > +/home/autobuild/autobuild/instance-4/output-1/host/armeb-buildroot-linux-gnueabi/sysroot/usr/include/sys/mount.h:210:8: note: originally defined here > + 210 | struct mount_attr > + | ^~~~~~~~~~ > + > +Fixes: b857f8723 ("lapi/fsmount: resolve conflict in different header files") > +Fixes: http://autobuild.buildroot.org/results/4dbb72e1bf081afd3cd944571b9beeefc7608865 > +Link: https://lore.kernel.org/ltp/20230226192554.669332-1-fontaine.fabrice@gmail.com/ > +Reviewed-by: Li Wang > +[ pvorel: fix from b857f8723 is needed for glibc before glibc-2.37~426, > +i.e. without fix 774058d729 ("linux: Fix sys/mount.h usage with kernel headers") > +(which was backported to 2.35 and 2.34 maintenance). ] > +Reviewed-by: Petr Vorel > +Signed-off-by: Fabrice Fontaine > +--- > + configure.ac | 6 +++--- > + 1 file changed, 3 insertions(+), 3 deletions(-) > + > +diff --git a/configure.ac b/configure.ac > +index 114468ae3..4c8763376 100644 > +--- a/configure.ac > ++++ b/configure.ac > +@@ -224,10 +224,10 @@ AC_CHECK_TYPES([struct __kernel_old_timeval, struct __kernel_old_timespec, struc > + > + AC_CHECK_TYPES([struct futex_waitv],,,[#include ]) > + AC_CHECK_TYPES([struct mount_attr],,,[ > +-#ifdef HAVE_LINUX_MOUNT_H > +-# include > +-#else > ++#ifdef HAVE_MOUNT_SETATTR > + # include > ++#elif HAVE_LINUX_MOUNT_H > ++# include > + #endif > + ]) > + > +-- > +2.40.0 > + > diff --git a/package/ltp-testsuite/ltp-testsuite.hash b/package/ltp-testsuite/ltp-testsuite.hash > index 8b411a8ffe..59ba5d0045 100644 > --- a/package/ltp-testsuite/ltp-testsuite.hash > +++ b/package/ltp-testsuite/ltp-testsuite.hash > @@ -1,5 +1,4 @@ > -# From: https://github.com/linux-test-project/ltp/releases/download/20220527/ltp-full-20220527.tar.bz2.sha1 > -sha1 c8d658cd3ab1f5a5c7b5bf56398d3a9525012c6b ltp-full-20220930.tar.xz > +# From: https://github.com/linux-test-project/ltp/releases/download/20230127/ltp-full-20230127.tar.xz.sha256 > +sha256 254412a52c7238f35a247337da186f485e76fb64c6549ed849b3442fc7a417ef ltp-full-20230127.tar.xz > # Locally computed > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING > -sha256 533ab63915b916640667ecce17ee4998006d80d394d4b1f1d105a7aa1df50d38 ltp-full-20220930.tar.xz > diff --git a/package/ltp-testsuite/ltp-testsuite.mk b/package/ltp-testsuite/ltp-testsuite.mk > index 34412d562f..78271b0730 100644 > --- a/package/ltp-testsuite/ltp-testsuite.mk > +++ b/package/ltp-testsuite/ltp-testsuite.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LTP_TESTSUITE_VERSION = 20220930 > +LTP_TESTSUITE_VERSION = 20230127 > LTP_TESTSUITE_SOURCE = ltp-full-$(LTP_TESTSUITE_VERSION).tar.xz > LTP_TESTSUITE_SITE = https://github.com/linux-test-project/ltp/releases/download/$(LTP_TESTSUITE_VERSION) > > -- > 2.40.0 > -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot