From patchwork Mon Jun 17 12:04:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 45242 X-Patchwork-Delegate: steve@sakoman.com 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C9C4DC2BA18 for ; Mon, 17 Jun 2024 12:05:14 +0000 (UTC) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mx.groups.io with SMTP id smtpd.web11.54561.1718625907344508986 for ; Mon, 17 Jun 2024 05:05:07 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=dZht3QKk; spf=softfail (domain: sakoman.com, ip: 209.85.210.181, mailfrom: steve@sakoman.com) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-7041e39a5beso3128877b3a.3 for ; Mon, 17 Jun 2024 05:05:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1718625907; x=1719230707; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=7okafwD+4Reob3oeJ5DUXS/6Ngpjbkcs5SArx6m6VMU=; b=dZht3QKk9zBm9XiZNZWqHhLHwvuXXUqJAGIL8d3XicFBb/osORd2a3IBuBYq9yDWVl JAdM8mhkUpeZPfHJTL42QirEnaDZS+KtzIJXcq/MeftH8hh2rG01s2Y/8Hq8RKVCQm4G 6Au80xfnD1zJJoYeNfF7P/hSabtjcGag4SayHSJRk1+JeycXSnFKYB3cUKrykaUJHLzR /b1xTEPghnLw0U49bj6/k7vvI/4TmS3/1Em4Sm0kGoNfxZ09jp+5iwNYapw+vDbkCoes Kir79OUmWT5GQmk+PbTMGW6DeybpTR0Th4vYLOxdjcVdxqBtKkbdUn8/LjsypQP0Mlhp I3Yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718625907; x=1719230707; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7okafwD+4Reob3oeJ5DUXS/6Ngpjbkcs5SArx6m6VMU=; b=YU2jJvSG/PVVLszUIL4pN4xkT+muZSTlwF8lJzGXwVrNrsELTt/TS2rmvWhgI3zKMF KmiB5IGKGC+slG9Jl7eUq2bbcUeplJJrZw0xiJ5mCdN4Ym4EEzhcltaMDIEioet62q0i jEIG2GFQxDpDVhWqLW4SjoAn30c994XbSp8WSWIqBwPVZpMw98c/V/l0IYdkAfCrGkHi S+F5VyEn8UD++LM9V9fZb0m10B1c2xMFyIq8sbVVy2si1vtq9/1ixaOKliAg64euN+aT 04GC17QEk58gE3n5a9E+Vhl9S3vLm4OGZ6v0lHq5FA5AYcIhIPpYVSLiPdxEMU/CqLJt TwUA== X-Gm-Message-State: AOJu0YyF+rKDwWLpygfZWtbhPilCXA7q5LAAA3hcrOIF1iEJq4t5+HQz QbsdBqGJlgTQ4AfSFt0thBkxyKk+ZwqzqtMK2p9ajoTn16NMA2/SrXC8F0S0Rdsvwk68qhnOsUr fsF0= X-Google-Smtp-Source: AGHT+IGEbew02HmABBij6eO8Ss4fiUKCjjCHZB2qtGzjIAvCjF4kNqPA3fzmXwmVCTZGuP+0+FMvVg== X-Received: by 2002:aa7:8e8f:0:b0:704:24fb:11b8 with SMTP id d2e1a72fcca58-705d70eb625mr10630410b3a.7.1718625906473; Mon, 17 Jun 2024 05:05:06 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-705cc925fe7sm7482348b3a.19.2024.06.17.05.05.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 05:05:06 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 01/22] yocto-uninative: Update to 4.5 for gcc 14 Date: Mon, 17 Jun 2024 05:04:39 -0700 Message-Id: <335d11ad2dd4207e5927f1938c449547a3a2975b.1718625680.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 17 Jun 2024 12:05:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/200812 From: Michael Halstead Signed-off-by: Michael Halstead Signed-off-by: Richard Purdie (cherry picked from commit f5638681cef7e250ac64832dbe791418d97f05ba) Signed-off-by: Steve Sakoman --- meta/conf/distro/include/yocto-uninative.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/conf/distro/include/yocto-uninative.inc b/meta/conf/distro/include/yocto-uninative.inc index 4ac66fd506..657c1032f9 100644 --- a/meta/conf/distro/include/yocto-uninative.inc +++ b/meta/conf/distro/include/yocto-uninative.inc @@ -7,9 +7,9 @@ # UNINATIVE_MAXGLIBCVERSION = "2.39" -UNINATIVE_VERSION = "4.4" +UNINATIVE_VERSION = "4.5" UNINATIVE_URL ?= "http://downloads.yoctoproject.org/releases/uninative/${UNINATIVE_VERSION}/" -UNINATIVE_CHECKSUM[aarch64] ?= "b61876130f494f75092f21086b4a64ea5fb064045769bf1d32e9cb6af17ea8ec" -UNINATIVE_CHECKSUM[i686] ?= "9f28627828f0082cc0344eede4d9a861a9a064bfa8f36e072e46212f0fe45fcc" -UNINATIVE_CHECKSUM[x86_64] ?= "d81c54284be2bb886931fc87281d58177a2cd381cf99d1981f8923039a72a302" +UNINATIVE_CHECKSUM[aarch64] ?= "df2e29e2e6feb187a3499abf3b1322a3b251da819c77a7b19d4fe952351365ab" +UNINATIVE_CHECKSUM[i686] ?= "8ef3eda53428b484c20157f6ec3c130b03080b3d4b3889067e0e184e05102d35" +UNINATIVE_CHECKSUM[x86_64] ?= "43ee6a25bcf5fce16ea87076d6a96e79ead6ced90690a058d07432f902773473" From patchwork Mon Jun 17 12:04:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 45244 X-Patchwork-Delegate: steve@sakoman.com 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D8835C41513 for ; Mon, 17 Jun 2024 12:05:14 +0000 (UTC) Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) by mx.groups.io with SMTP id smtpd.web10.55009.1718625908623713045 for ; Mon, 17 Jun 2024 05:05:08 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=HiIOhV5a; spf=softfail (domain: sakoman.com, ip: 209.85.215.170, mailfrom: steve@sakoman.com) Received: by mail-pg1-f170.google.com with SMTP id 41be03b00d2f7-656d8b346d2so3015873a12.2 for ; Mon, 17 Jun 2024 05:05:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1718625908; x=1719230708; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=a7bH4UGiW+MvGPh9wDOD3T4A2GrW+z9WGqtLSCI8xpA=; b=HiIOhV5aj/vpXJ/+TGBYRvtLV9cyUhc0pGmP83smg1tSI5J0PgdZSwfFyYZNpfzJzD K6kIY8bZDIFlS463l9juAcUSR8Y5tvUbROD0i6RazxYZYgW41sQcwsZbQNFIQl9iUKY/ sznggL/6+6ijQxP5VVQyRHNeSkOC3pKdKRPftoZRT9bBZ3KhU+Y3C5BOB1PRmXdpoe9n XxzS4i5EO/px/YprbMTqEuBU1oB/efvR8YF7q7J8kSmVaate6hIhGaGNiLv12BnH7s24 9VrKbjfAofKyt/SfosjUYZWW0xo2n89+3ONMjNI+GwOhNJex6Z+PShFBR6QKzTzp1Vtz 1BAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718625908; x=1719230708; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=a7bH4UGiW+MvGPh9wDOD3T4A2GrW+z9WGqtLSCI8xpA=; b=jstw/peTUYWUuzGolpz2WdW0onugScPhWpREGGNAVXOu8CdsSbJ483saevDXaqH+zf rguMRr6ZMQr4pwye9ap61n7wOJi+7nNcWg1Fy6po6eAuRcU2uXJox3ogjW+UvIfM+hNb gZpiSdkDWmWtqb1D2z34qO2eHx50u6XOadboh34PRyx39ASch8EczbKGVwJH4ws6dMV8 lkBS9FvHd5idp697AbDnVgb+SCQcdcpCqjW0qjAhQ76FQ2z/KT9TCnoGtyrqq0zQjbbn u2P5/X0aRh5dhsj49Vu7xmNI9eYwBNlLrPk2SN6PCW7Jje+Oyxd0hG2xXrX8FfviiFby TqQg== X-Gm-Message-State: AOJu0YzBIzwOl3I06r+aYjsfvJklcd65TkxfxD9BqbUa2v984G5GHpbn zvmsJYEHIFlQtb9Mp/st+HXmyO8nQZQZldRaOKzt/jA06mQdt4MrPO0uJu9yQ9ggPScqCfAvMmm qdYU= X-Google-Smtp-Source: AGHT+IH0NuogaMalxqqX9CuSnAAUreJL7mASXjlKlb3B77BI7MClwIALv3uj+Dp7Qozp72OclfQBRg== X-Received: by 2002:a05:6a20:cf8b:b0:1b5:1b:d5d9 with SMTP id adf61e73a8af0-1bae800c69bmr9139500637.44.1718625907790; Mon, 17 Jun 2024 05:05:07 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-705cc925fe7sm7482348b3a.19.2024.06.17.05.05.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 05:05:07 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 02/22] oeqa/sdkext/devtool: replace use of librdfa Date: Mon, 17 Jun 2024 05:04:40 -0700 Message-Id: <311e7b5b9ee4f0d96a376a06f01c5bfd379ca244.1718625680.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 17 Jun 2024 12:05:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/200813 From: Ross Burton librdfa hasn't had a commit for a decade now and as such has problems with modern compilers (specifically gcc 14.1). Switch the recipe creation test to something much simpler that we also control: dbus-wait. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit d801de1f702d8d0def55011b5b6ad39d85f978f1) Signed-off-by: Steve Sakoman --- meta/lib/oeqa/sdkext/cases/devtool.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/meta/lib/oeqa/sdkext/cases/devtool.py b/meta/lib/oeqa/sdkext/cases/devtool.py index 5ffb732556..d0746e68eb 100644 --- a/meta/lib/oeqa/sdkext/cases/devtool.py +++ b/meta/lib/oeqa/sdkext/cases/devtool.py @@ -69,10 +69,9 @@ class DevtoolTest(OESDKExtTestCase): self._test_devtool_build(self.myapp_cmake_dst) def test_extend_autotools_recipe_creation(self): - req = 'https://github.com/rdfa/librdfa' - recipe = "librdfa" - self._run('devtool sdk-install libxml2') - self._run('devtool add %s %s' % (recipe, req) ) + recipe = "test-dbus-wait" + self._run('devtool sdk-install dbus') + self._run('devtool add %s https://git.yoctoproject.org/git/dbus-wait' % (recipe) ) try: self._run('devtool build %s' % recipe) finally: From patchwork Mon Jun 17 12:04:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 45245 X-Patchwork-Delegate: steve@sakoman.com 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id B05CBC27C79 for ; Mon, 17 Jun 2024 12:05:34 +0000 (UTC) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mx.groups.io with SMTP id smtpd.web10.55019.1718625933653716942 for ; Mon, 17 Jun 2024 05:05:33 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=rz54yKpS; spf=softfail (domain: sakoman.com, ip: 209.85.210.181, mailfrom: steve@sakoman.com) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-705bf368037so3787376b3a.0 for ; Mon, 17 Jun 2024 05:05:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1718625933; x=1719230733; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=C278fLgHV1CHc+PWU9ZS/7UN4ozQsoAykw1vpm6IobI=; b=rz54yKpSRJ26HY3vCgh1SwX/0QZTgS26zFQhqF82HIOzexwHIOatUWY8uNVrM1ZJ0Q s1ehUsh9rx8qs2ZuvBhvJFh+ehFOlSUKaL9Zxzx3r9P6NykmK6hJxUm+DJZ6YGdUdrLz kLLDWL5uOYbv7iDO0a89eBX5xv0ggBeEvmTrPbCnZi8ASmBBJHAatBtum0VXe/PfR5L/ Nfw0bni+rjWgekD+cAHO0QfcIpOjen9GcgSlKeG2atIYAa9hI+6ykd8W5BAJpz8butJl 2GwAmb8JYV7FiPnLMmn+cGGdNhUoPr3aotVAgWAZpcXRcIENLJ8FTZ5ARWpWXUzH3JOW FWzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718625933; x=1719230733; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=C278fLgHV1CHc+PWU9ZS/7UN4ozQsoAykw1vpm6IobI=; b=muXhkpERi5FAOtuJaJC6Ukn6lbSFuImE4ZAlZEi80TpLzI+wfhDZqNriRm9jN572QU RiXUv7drA16YDsZxkvkiKisq/W86ZPhs+8dJySPGVkYW/SKodvYtG8wTp/oKweODOWi4 mIsFZsZYN3k9EUWdDQc1tf270tCGCO9fpm/bXS+lvoyM75ImyKPTwNHBZ6EwSqlF1iFm hfYsaiz281L9DEP60ksxUu8UiWY4uUqe7Fd8dftIYTGAgn+S35uWeRgrrhDqWrxbyFmf PPri42ZtsIarIYP+crkcWeLC+kUWSwFVx1IHlfAhASIcgRGqDnY4fG2sKYRql3dZJeES z4Fg== X-Gm-Message-State: AOJu0YwtulIikOtdU30YBq3f+ZK4Gx8ddWHXVgtdG5fWGSPsCNC2bA7p OEh+mfVuud1ZdSovoEWiTNfOC0l0oJVlGsqMMfkfcbyLoW6IUP8Hr8AjMNjPg+yL7KmdXRbXMhk Jtoc= X-Google-Smtp-Source: AGHT+IGCfpkPgukAb1ueSO2T8nVA8lYUa1O1nQRrifHCVy7yhfbfusQ469/ibnF1jAosA2MaaUL8YA== X-Received: by 2002:a05:6a20:258c:b0:1b8:2211:b7e6 with SMTP id adf61e73a8af0-1bae802a38amr12351113637.49.1718625932944; Mon, 17 Jun 2024 05:05:32 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-705cc925fe7sm7482348b3a.19.2024.06.17.05.05.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 05:05:32 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 03/22] oeqa/sdk/assimp: Upgrade and fix for gcc 14 Date: Mon, 17 Jun 2024 05:04:41 -0700 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 17 Jun 2024 12:05:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/200814 From: Richard Purdie To enable this test to work with gcc 14, pass the option to make warnings non-fatal. Also upgrade to version 5.4.1 from 5.3.1. Signed-off-by: Richard Purdie (cherry picked from commit c3df6287ae26dc9d7f11eb7e26fdbcaefe4dfead) Signed-off-by: Steve Sakoman --- meta/lib/oeqa/sdk/cases/assimp.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/lib/oeqa/sdk/cases/assimp.py b/meta/lib/oeqa/sdk/cases/assimp.py index e986838aea..d990b1e97d 100644 --- a/meta/lib/oeqa/sdk/cases/assimp.py +++ b/meta/lib/oeqa/sdk/cases/assimp.py @@ -25,10 +25,10 @@ class BuildAssimp(OESDKTestCase): def test_assimp(self): with tempfile.TemporaryDirectory(prefix="assimp", dir=self.tc.sdk_dir) as testdir: - tarball = self.fetch(testdir, self.td["DL_DIR"], "https://github.com/assimp/assimp/archive/v5.3.1.tar.gz") + tarball = self.fetch(testdir, self.td["DL_DIR"], "https://github.com/assimp/assimp/archive/v5.4.1.tar.gz") dirs = {} - dirs["source"] = os.path.join(testdir, "assimp-5.3.1") + dirs["source"] = os.path.join(testdir, "assimp-5.4.1") dirs["build"] = os.path.join(testdir, "build") dirs["install"] = os.path.join(testdir, "install") @@ -39,7 +39,7 @@ class BuildAssimp(OESDKTestCase): self._run("sed -i '/# ifdef _FILE_OFFSET_BITS/I,+2 d' {source}/contrib/zlib/gzguts.h".format(**dirs)) os.makedirs(dirs["build"]) - self._run("cd {build} && cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DASSIMP_BUILD_ZLIB=ON {source}".format(**dirs)) + self._run("cd {build} && cmake -DASSIMP_WARNINGS_AS_ERRORS=OFF -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DASSIMP_BUILD_ZLIB=ON {source}".format(**dirs)) self._run("cmake --build {build} -- -j".format(**dirs)) self._run("cmake --build {build} --target install -- DESTDIR={install}".format(**dirs)) - self.check_elf(os.path.join(dirs["install"], "usr", "local", "lib", "libassimp.so.5.3.0")) + self.check_elf(os.path.join(dirs["install"], "usr", "local", "lib", "libassimp.so.5.4.1")) From patchwork Mon Jun 17 12:04:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 45246 X-Patchwork-Delegate: steve@sakoman.com 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id B1509C2BA15 for ; Mon, 17 Jun 2024 12:05:44 +0000 (UTC) Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mx.groups.io with SMTP id smtpd.web11.54574.1718625935089711143 for ; Mon, 17 Jun 2024 05:05:35 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=td5chM32; spf=softfail (domain: sakoman.com, ip: 209.85.210.178, mailfrom: steve@sakoman.com) Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-701b0b0be38so3832547b3a.0 for ; Mon, 17 Jun 2024 05:05:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1718625934; x=1719230734; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=IV70n/h9H2MUnsy2vxQfudXU+UdvL1hwczMekgBlIKA=; b=td5chM32TCNGXfncNPhP7E4y+/ahVz55SNUq+rxD4cAiACy8sae7G+Zv+Z1KBAABwY yxssh4XLPLO4tyLa/BT0rmz8NA3WzJtT2Vfuj9ScMSaqAMM3j2wzKZo3n5DUjAyy0kC7 enMxi/6xXb60jqt6geStEO8nDZOsVxBnBpacQfvb5jG9esMl3FgG2pbM7A+V1ZO3CLwm pLdCEsagVrOmMTcmiJR0QvLNqszN/9DHMKbfXPjPhhFIpoWMmBCFTebzS/6b1LYbgRsR LVxjjpjP2yln01KJ94zwoZRfKGmKupy5AdNUloA06IfAl8z8sEzo3qrP2cWlhrPA5ubM LG4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718625934; x=1719230734; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IV70n/h9H2MUnsy2vxQfudXU+UdvL1hwczMekgBlIKA=; b=K5GdsvjfUpObfP1GlAYnA2fQPwfmQEgDZ9pCjjftbnOUX9jU5R/aKJukNY+SMvOnrB yf2HT2f7m+g+DUGKM7DVp05naHiLXl2Y4yvN2ctWLpVYGR7ouP98INSY2rjay68sFw5n xE9HKHpwMNN8mmSEcbCz2IQnymXZN2vxiBWTi4BIDpYTvxe45dT2VLA+1ij9cK5abBEc +3Nhf0FnVnewUIWI5/R4Vr+xVq2xAKsSl3DjBC81wKxRnBCJBo95xkImhxp5DUyIL/pC mAy9UsrsoRjpOsiqcFwdUl3mO75BcIWmO3BI43/Q18nbX6ruWQHlVyFiBD8X3Xk9BUS/ KmgQ== X-Gm-Message-State: AOJu0Yx3kzWJcop6dbzLfPbVU7vqCJhj3Gw0tRr4n0jwLjN2hcYQ0BzR Uq/hXaCHOJo9Ls88OdoJDWNDk00asnmIzrLaoQAsYTd0w+PnJ1g332peYhGA2isRmGTt+noLlUU 5/xI= X-Google-Smtp-Source: AGHT+IFD7eWbZsJGPehl1U/ZH2pMycH6I+5/wOOVpHPktFZfYWOWgHuCsHimopOsdylI9i4c3dW2gg== X-Received: by 2002:a05:6a20:7fa7:b0:1b6:3dfa:cc09 with SMTP id adf61e73a8af0-1bae7f147b3mr12507507637.35.1718625934300; Mon, 17 Jun 2024 05:05:34 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-705cc925fe7sm7482348b3a.19.2024.06.17.05.05.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 05:05:34 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 04/22] gcc-runtime: libgomp fix for gcc 14 warnings with mandb selftest Date: Mon, 17 Jun 2024 05:04:42 -0700 Message-Id: <276ca15f21321dd406b30acd87d64237f707d615.1718625680.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 17 Jun 2024 12:05:44 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/200815 From: Richard Purdie ERROR: gcc-runtime-14.1.0-r0 do_package: QA Issue: gcc-runtime: Files/directories were installed but not shipped in any package: /usr/share/info /usr/share/info/libgomp.info-2 /usr/share/info/libgomp.info-1 Signed-off-by: Richard Purdie (cherry picked from commit 4f73ddd6c276dcd579d2113db1974d446dbf7751) Signed-off-by: Steve Sakoman --- meta/recipes-devtools/gcc/gcc-runtime.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc index dbc9141000..89b0bebcfb 100644 --- a/meta/recipes-devtools/gcc/gcc-runtime.inc +++ b/meta/recipes-devtools/gcc/gcc-runtime.inc @@ -92,7 +92,7 @@ do_install () { mv ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include/* ${D}${libdir}/${TARGET_SYS}/${BINV}/include rmdir --ignore-fail-on-non-empty -p ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include fi - rm -rf ${D}${infodir}/libgomp.info ${D}${infodir}/dir + rm -rf ${D}${infodir}/libgomp.info* ${D}${infodir}/dir rm -rf ${D}${infodir}/libitm.info ${D}${infodir}/dir rm -rf ${D}${infodir}/libquadmath.info ${D}${infodir}/dir if [ -d ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/finclude ]; then From patchwork Mon Jun 17 12:04:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 45247 X-Patchwork-Delegate: steve@sakoman.com 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id B1446C27C79 for ; Mon, 17 Jun 2024 12:05:44 +0000 (UTC) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mx.groups.io with SMTP id smtpd.web11.54575.1718625936544011669 for ; Mon, 17 Jun 2024 05:05:36 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=CsuUIoOE; spf=softfail (domain: sakoman.com, ip: 209.85.210.173, mailfrom: steve@sakoman.com) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-704313fa830so3237254b3a.3 for ; Mon, 17 Jun 2024 05:05:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1718625936; x=1719230736; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Ca0bdXqsDAjQpIqpgNvLcX2jibMDpsypVNgvxo0yS2o=; b=CsuUIoOEH53zHA/M/opbPZ8PayVAs5Y5XapI6AcRGKb4Dh2W/RDWt6x322fBRMOyd7 SkHaP25FGXld728twHZrWvWsI3w/b2UNnSKNPuIxJp67HgcfmiXUPVP1H7S/FHufgbi8 F7+R+cmk6GW/XBNvT9uIzCIXAxeQlqKypU2katcLCdTIXiZ0AVEaU+Ej6GG/F7/9ZGdk /yhQHZKWfNgEqa6LtpN01mwLD9ZbF7enjUkZym7jo7PkhJDdksFQBt2EMjaJ9fsiv4JW NrWtj4c9Kis35XPRN+guf5OJttl7APKnCFv5/cMYctf5dYJYuEYpKjHYpgWioVSmuPq8 Y2Dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718625936; x=1719230736; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ca0bdXqsDAjQpIqpgNvLcX2jibMDpsypVNgvxo0yS2o=; b=gqaad06xnpH5TC7LhA4RyL3ZQbYNdD7onqnb3uMMpRuniF7Ybe8y2Mr/m+5C9Hygvf rJ7WrQVKN8u9S/xCDN8KpoGRAQkj9ZCY5GG/53MjuOqMtdn4fayEhxAEjOCcTtHxpno7 f/Sj5iCqTgzAz3gwGyZto68BIMwrjDqbaBPEpviyvWkh99pHP2he/u749z/DQTr1ENDB ZodeHxUlK44grsQzYG1FeMYUFP2Z3n8bCLYRB/H4gXB4r/7839Kcr4cXGnimFtuuyQIw U1AUiH+Jh6Dsd1K4DF+8ZJp0KTX0dHSm+d4em3Q4UExmsFODDLj2vrXO4duqNrp1hhl+ wrNQ== X-Gm-Message-State: AOJu0YwBxc5xS9rHMBEFrkTNgc41fDeI6yMpaPYJKlPh0eQE3gW6X+FP hzDuQu45hW2gWSVDQDyFFO53rJwpVxmB0uK8ruMq2l4CFHdUjDz1Rby2/DpgOfm/htRcOt7DpwP 1Nj0= X-Google-Smtp-Source: AGHT+IE+f9I6ye8SnmwjAVp3GYCGPxqGd711XrzmTKGAjp84Egb8cAjZiZmtLmn85cn+8k0u2xeSNQ== X-Received: by 2002:aa7:93c6:0:b0:704:2d64:747 with SMTP id d2e1a72fcca58-705d7123999mr10005338b3a.7.1718625935642; Mon, 17 Jun 2024 05:05:35 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-705cc925fe7sm7482348b3a.19.2024.06.17.05.05.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 05:05:35 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 05/22] gawk: fix readline detection Date: Mon, 17 Jun 2024 05:04:43 -0700 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 17 Jun 2024 12:05:44 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/200816 From: Ross Burton The code fragment used to detect readline in cross builds doesn't compile cleanly with GCC 14.1, so readline is never enabled. Add missing includes so the test works, and readline can be enabled. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit a6e7c3ce700b82c57f1102187fea6b387339eca3) Signed-off-by: Steve Sakoman --- ...001-m4-readline-add-missing-includes.patch | 38 +++++++++++++++++++ meta/recipes-extended/gawk/gawk_5.3.0.bb | 1 + 2 files changed, 39 insertions(+) create mode 100644 meta/recipes-extended/gawk/gawk/0001-m4-readline-add-missing-includes.patch diff --git a/meta/recipes-extended/gawk/gawk/0001-m4-readline-add-missing-includes.patch b/meta/recipes-extended/gawk/gawk/0001-m4-readline-add-missing-includes.patch new file mode 100644 index 0000000000..5be2fd97ee --- /dev/null +++ b/meta/recipes-extended/gawk/gawk/0001-m4-readline-add-missing-includes.patch @@ -0,0 +1,38 @@ +From 4f4e84f139e2a8682f1374a592f2636c43ad857b Mon Sep 17 00:00:00 2001 +From: Ross Burton +Date: Tue, 21 May 2024 15:10:11 +0000 +Subject: [PATCH] m4/readline: add missing includes + +The cross-specific code fragment only includes stdio.h, where the native +fragment also includes fcntl.h and unistd.h. This is important because +GCC 14.1 has made the implicit definitions an error: + +conftest.c: In function 'main': +conftest.c:144:9: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] +conftest.c:146:14: error: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration] + +Add the missing includes so that the check doesn't always fail due to +these errors. + +Upstream-Status: Submitted [https://lists.gnu.org/archive/html/bug-gawk/2024-05/msg00000.html] +Signed-off-by: Ross Burton +--- + m4/readline.m4 | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/m4/readline.m4 b/m4/readline.m4 +index 38f96326..efd52d4e 100644 +--- a/m4/readline.m4 ++++ b/m4/readline.m4 +@@ -66,6 +66,8 @@ dnl action if false: + dnl action if cross compiling: + [AC_LINK_IFELSE( + [AC_LANG_PROGRAM([[#include ++#include ++#include + #include + #include ]], dnl includes + dnl function body +-- +2.34.1 + diff --git a/meta/recipes-extended/gawk/gawk_5.3.0.bb b/meta/recipes-extended/gawk/gawk_5.3.0.bb index d7a0fc616d..e94cf19db4 100644 --- a/meta/recipes-extended/gawk/gawk_5.3.0.bb +++ b/meta/recipes-extended/gawk/gawk_5.3.0.bb @@ -16,6 +16,7 @@ PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline" PACKAGECONFIG[mpfr] = "--with-mpfr,--without-mpfr, mpfr" SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz \ + file://0001-m4-readline-add-missing-includes.patch \ file://run-ptest \ " From patchwork Mon Jun 17 12:04:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 45253 X-Patchwork-Delegate: steve@sakoman.com 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id ED066C41513 for ; Mon, 17 Jun 2024 12:05:44 +0000 (UTC) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mx.groups.io with SMTP id smtpd.web11.54577.1718625937725962990 for ; Mon, 17 Jun 2024 05:05:37 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=z92arfrr; spf=softfail (domain: sakoman.com, ip: 209.85.210.173, mailfrom: steve@sakoman.com) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-704189f1225so3786429b3a.0 for ; Mon, 17 Jun 2024 05:05:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1718625937; x=1719230737; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=SKFl5Z5a8iTPNO9ej9L1o48yVxPbDIkfIbgEFMxt5X4=; b=z92arfrrqpG3FqUi3MOpwEPyxIv8vDpYSr443P/FUztwwjVFf5AvjJ6WdKEcA+iv2J azdze+CvYiCUo6AJszAJ0+7Stm1N3CPmR2hs29kr9xz41+GOpYJ/466ry+si3NperFlr +CdSpKPDPEqQhCo3DAvK2d62m38DH2GaKwGwzdY+1zXOy5zQIpG6x2buY/MRcEryJxr3 ZqpOwSzZB3jybYv6SLuKJYyVfhsfAKWQYuwusiaOobmewH27yqzxz5HWjj5fdIF+x6Z4 nxKiIsNAa1rprLDyi0POZ4h40pMJnnl6XmHAp1rPCDn5iKoQ1AS2sFDKiqFEZhvJGk2k Ec1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718625937; x=1719230737; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SKFl5Z5a8iTPNO9ej9L1o48yVxPbDIkfIbgEFMxt5X4=; b=mgTejVYGldbOfSZC5hCwW/rRw1zcEONhNdxfR4h6SRmjnKC//ngSCZT/JXXEzSv6Qi iqy9JqP29zcBMmfUiwQu1YDhfehEDJZV4XasERYub2Ho2Uv0cCm8chNy2DzLjQLP6SqB 2AXyi1VwQCp3v90gww5zjx87IuJrPQQX/fot9cx/ipGs+jidvUaR/jv4DwElVVIvSWL7 WTmoOqKB6tUNi66WCvTP5V4u5i63JPYRykoAGBh0wpD3UmRG3lFJr/+fG7NUtsEHMgjd We391X7ZsbT7scp4g0eqUv/ZsLZioiPZJ7sxklT7jxLyRLOHxv57VYMmLeNL8Ngkz+U1 5sew== X-Gm-Message-State: AOJu0YyqZkZxphot3Gbjvjoy+viaKAD7SSMX/7xZTEw4CsQn+DdaOWQY 2SLRszP4uBOcHrvEu+JkA/r5XC8Jyafa+2reY0RZokrHCfqedSG8RSy79kPlvqSjQl62HzzetHH 01Xc= X-Google-Smtp-Source: AGHT+IGimgGsSuILY6YTAE+MFFpka6o5QSEgBJP/bMrN+QF8rOR0cOWbrE7Em8DlNydK1hV+y5jgNA== X-Received: by 2002:a05:6a00:2da1:b0:6f6:7a1a:5b8c with SMTP id d2e1a72fcca58-705d711fa5dmr12030564b3a.18.1718625936875; Mon, 17 Jun 2024 05:05:36 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-705cc925fe7sm7482348b3a.19.2024.06.17.05.05.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 05:05:36 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 06/22] cdrtools-native: Fix build with GCC 14 Date: Mon, 17 Jun 2024 05:04:44 -0700 Message-Id: <748d5f637f5aff3bc110b156cc3cb8e008f284c9.1718625680.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 17 Jun 2024 12:05:44 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/200817 From: Zoltan Boszormenyi Add a patch to fix do_configure with GCC 14. Disable building cdda2wav because it doesn't build with GCC 14. Signed-off-by: Zoltán Böszörményi Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commit 0fbe1766abb00edeb8ec9a0c8bdb4e723be4f352) Signed-off-by: Steve Sakoman --- .../cdrtools/cdrtools-native_3.01.bb | 6 +++++- .../cdrtools/cdrtools/gcc14-fix.patch | 13 +++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/cdrtools/cdrtools/gcc14-fix.patch diff --git a/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb b/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb index bf8be1ad0c..b9cb59032a 100644 --- a/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb +++ b/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb @@ -13,7 +13,8 @@ DEPENDS += "gnu-config-native" SRC_URI = " \ ${SOURCEFORGE_MIRROR}/project/cdrtools/cdrtools-${PV}.tar.bz2 \ file://0001-Don-t-set-uid-gid-during-install.patch \ - file://riscv64-linux-gcc.rul \ + file://riscv64-linux-gcc.rul \ + file://gcc14-fix.patch \ " SRC_URI[md5sum] = "7d45c5b7e1f78d85d1583b361aee6e8b" @@ -27,6 +28,9 @@ export ac_cv_prog_CC = "${CC}" inherit native do_configure() { + # cdda2wav does not build with GCC 14 + rm -f ${S}/TARGETS/55cdda2wav + install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/autoconf install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/autoconf install -m 0644 ${WORKDIR}/riscv64-linux-gcc.rul ${S}/RULES/ diff --git a/meta/recipes-devtools/cdrtools/cdrtools/gcc14-fix.patch b/meta/recipes-devtools/cdrtools/cdrtools/gcc14-fix.patch new file mode 100644 index 0000000000..ce02bb8bcf --- /dev/null +++ b/meta/recipes-devtools/cdrtools/cdrtools/gcc14-fix.patch @@ -0,0 +1,13 @@ +Signed-off-by: Zoltán Böszörményi +Upstream-Status: Inappropriate [native] +--- cdrtools-3.01/autoconf/configure~ 2015-07-06 23:41:27.000000000 +0200 ++++ cdrtools-3.01/autoconf/configure 2024-05-01 09:37:40.897253690 +0200 +@@ -1205,7 +1205,7 @@ + #line 1206 "configure" + #include "confdefs.h" + +-main(){return(0);} ++int main(){return(0);} + EOF + if { (eval echo configure:1211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + ac_cv_prog_cc_works=yes From patchwork Mon Jun 17 12:04:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 45252 X-Patchwork-Delegate: steve@sakoman.com 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B90CC2BD08 for ; Mon, 17 Jun 2024 12:05:45 +0000 (UTC) Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mx.groups.io with SMTP id smtpd.web10.55022.1718625940357601932 for ; Mon, 17 Jun 2024 05:05:40 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=f7X5Za3P; spf=softfail (domain: sakoman.com, ip: 209.85.210.171, mailfrom: steve@sakoman.com) Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-704189f1225so3786468b3a.0 for ; Mon, 17 Jun 2024 05:05:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1718625939; x=1719230739; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=PyvJR8SR1e7IrqHTLuwbWbmtQ1AcVuwXTOET5zDkjTE=; b=f7X5Za3Posbe7FiZb6pn+o2VpwKovjrArWJt/ntCwW/2IccWo3ZG9EB0hL9lQHIYrH NR9uJGxKx44zx1IVJ7Cnv0EbVfwfbx2bvCg4JB450GWd1GrT009r12R1ft8jrMpLmPpU hTyvUqEvmrLdoV3XCmOYTVMtj0CUmU9ccXT9pJUSBqW6LIERMMygKeYN+6ADQRN9k+4O 5Xh/bTPk6A4c1NTEOjfpzb4tOuC5Q5/ORIBlFacCWFzpV3Fj5GqQAKJ3BN2ZT5GjTBnK 9rwyo1pfismFWYNk0V6+HMEbEnhaYaj0bn5dC30H/MC1iceemwqzIqEeqrRw0TpjXlh4 OltA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718625939; x=1719230739; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PyvJR8SR1e7IrqHTLuwbWbmtQ1AcVuwXTOET5zDkjTE=; b=W3vml777KpPo60Ih11q71jUTQWBwyPiqatx39XZqVl0/ONZvDzW1GORrbroh4ClnHf heILQtArtjbNQKDJUeV632IK4dzla2JQzBiTRELfCY+Bfsmarwat4cu/s6ACsXwFQ6VT dWQBXm7HhQ8BWKTcfwGibwBgac4BPYg3MbFhc17XjbNc1MtlpoM9nQIU49bQFShGwb44 2u2IzJSwE9rmMb8UlUI39nifq1noDCjLwjWM+BNXu7g4kMZPgSuvGqQZt69ojWVpwLys RV3zzt0SExw2JDunDT92CKXP7Auofgd2OT9RleWPshFWKbM/zBWRcPhUCvCQ68hdt/3z uyug== X-Gm-Message-State: AOJu0Yyo6yWBB2x0Lm3KwmMUfLIT5/fCg4DdMDm7lecnDC/447DMwo4j hKCqpFYP1hwRK+GkgerzpUzCNSk9sfc8XSRtYJcfFdHS48cOo1BglFUq2e4Exkgc+dm8TyDE/63 yr40= X-Google-Smtp-Source: AGHT+IEcpW2c0GcnyF8diQ89bBq1P4rub/rKEYruNDII023mA5uiGGUC5FvI4o+MSCWg9QLvw12low== X-Received: by 2002:a05:6a20:4e26:b0:1bb:603:c68 with SMTP id adf61e73a8af0-1bb06030dc4mr3389371637.52.1718625938121; Mon, 17 Jun 2024 05:05:38 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-705cc925fe7sm7482348b3a.19.2024.06.17.05.05.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 05:05:37 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 07/22] appstream: upgrade 1.0.2 -> 1.0.3 Date: Mon, 17 Jun 2024 05:04:45 -0700 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 17 Jun 2024 12:05:45 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/200819 From: Wang Mingyu Changelog: =========== * qt: Fix relocation of Config.cmake files * cli: check-syscompat: Recognize available required controls as available * validator: Guard issue emission functions with G_GNUC_PRINTF * validator: Always use secure string formatting for issue emit function * utils: Explicitly set format style when installing catalog metadata * Suppress static-analyzer drawing wrong conclusions on GCC 14 Signed-off-by: Wang Mingyu Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commit be566cf0fecba34f1f792cbf060143be710970ee) Signed-off-by: Steve Sakoman --- .../appstream/{appstream_1.0.2.bb => appstream_1.0.3.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-support/appstream/{appstream_1.0.2.bb => appstream_1.0.3.bb} (93%) diff --git a/meta/recipes-support/appstream/appstream_1.0.2.bb b/meta/recipes-support/appstream/appstream_1.0.3.bb similarity index 93% rename from meta/recipes-support/appstream/appstream_1.0.2.bb rename to meta/recipes-support/appstream/appstream_1.0.3.bb index 7eb12a04c5..625e85a0ae 100644 --- a/meta/recipes-support/appstream/appstream_1.0.2.bb +++ b/meta/recipes-support/appstream/appstream_1.0.3.bb @@ -28,7 +28,7 @@ SRC_URI = " \ https://www.freedesktop.org/software/appstream/releases/AppStream-${PV}.tar.xz \ file://0001-remove-hardcoded-path.patch \ " -SRC_URI[sha256sum] = "1a5148ca97dcbf5eb6e9c380278bb0d20938569292ea8652df1b3cac8bd2736b" +SRC_URI[sha256sum] = "5ab6f6cf644e7875a9508593962e56bb430f4e59ae0bf03be6be7029deb6baa4" S = "${WORKDIR}/AppStream-${PV}" From patchwork Mon Jun 17 12:04:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 45251 X-Patchwork-Delegate: steve@sakoman.com 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10888C2BD05 for ; Mon, 17 Jun 2024 12:05:45 +0000 (UTC) Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by mx.groups.io with SMTP id smtpd.web11.54578.1718625940102720979 for ; Mon, 17 Jun 2024 05:05:40 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=gThwG7Kn; spf=softfail (domain: sakoman.com, ip: 209.85.210.177, mailfrom: steve@sakoman.com) Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-70423e8e6c9so3742963b3a.0 for ; Mon, 17 Jun 2024 05:05:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1718625939; x=1719230739; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=UEEoKM6+jnqNs9JTbtMF9rUJIhSdXDkKIqB7uStbbhk=; b=gThwG7Kn+uYEVpmLFEQ9nQb8JrD/qfMxYLpepM5xszAhRwAAWlTTslG3iMCz+IKL4i yl8E+ahgcaAovKTL6eXZ4hWcNabzA+eV2vqgdd30UL9iwko8/A/GoGQt33ehNaWYszMr YBoOdUqMl6M3NXVS7oqhEkXSjgleiR4GPTvrKmY7TcD06JkGHb0HnN+1+Qn9LCVnmtVA 5W4RvPtXAPKolx1Nt0EQQ1a0bnO/nDJfAouhhZ2fs2q4rSmCmUaK8sPFuTLhoOh1nFxl ZC3H6tp9TCytuwhXub4kqOU6Vc8fV/bGM8B8VBeVJmglCLRBls0IjLWgUadOkUKWwgfq 3aEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718625939; x=1719230739; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UEEoKM6+jnqNs9JTbtMF9rUJIhSdXDkKIqB7uStbbhk=; b=VMRL4SVmPtC3CFXQCrrIfWGgb/Tf3jjx6dgMxeucNuf/GBWNK+dyLhaNxjnGQMIqUn PRzbD4/j6FhgqXimIW0Gr+Nw9R6ObnQBVr6FH3nSlj9cKN3PMVXy48KPyz0Or5mSKHXK 9g5BsrMZNZS1+WxSud9he1nqNaBXlagpUHzivWEVnlUNrMYm6Zmm880ossGPua0wUXLM zdJz4IS7wvaeriHpS/sZyvD1R6Np/ur4U3Dz27RN7iL7sk4yO7VhdraVDlpdHJj+0vW5 fv7p2vd0fxvR8dQyI/Q8/R0z5v8DClToWOykEC5x9iipFRI6wCU2DiaYs+EfkqtUv+Fc EOOw== X-Gm-Message-State: AOJu0Yy2Ag2BdZpfz0TeakYTBZVK33lm81zEpRFmX0h2ivLBiETAC/iK m/yumwjkt+kIHQ7M8eyPJyuZ9aiCuhEevqTKqvuD30cYYjn5O3M5zlbeuwbMQ7e5yKrJA0HWOR3 pnwc= X-Google-Smtp-Source: AGHT+IG7SGjGilF5+j/30RnkZ5OnOlSdYsJ1+ZWvADBXLYYezIvnus8lfg3qporu9RZv4eDoipSQ8Q== X-Received: by 2002:a05:6a20:7491:b0:1b6:23ae:b295 with SMTP id adf61e73a8af0-1bae83c6cb5mr9003206637.38.1718625939318; Mon, 17 Jun 2024 05:05:39 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-705cc925fe7sm7482348b3a.19.2024.06.17.05.05.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 05:05:39 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 08/22] expect: ignore various issues now fatal with gcc-14 Date: Mon, 17 Jun 2024 05:04:46 -0700 Message-Id: <454c48eac61f8e690b148e1c598aeb25912b1ec9.1718625680.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 17 Jun 2024 12:05:45 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/200818 From: Martin Jansa Signed-off-by: Martin Jansa Signed-off-by: Khem Raj Signed-off-by: Richard Purdie (cherry picked from commit 83e9790fe27c310a4f5a66fedb29b232d23a22e5) Signed-off-by: Steve Sakoman --- meta/recipes-devtools/expect/expect_5.45.4.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-devtools/expect/expect_5.45.4.bb b/meta/recipes-devtools/expect/expect_5.45.4.bb index 7b610b1ff2..18904ebc10 100644 --- a/meta/recipes-devtools/expect/expect_5.45.4.bb +++ b/meta/recipes-devtools/expect/expect_5.45.4.bb @@ -81,3 +81,7 @@ FILES:${PN} += "${libdir}/libexpect${PV}.so \ " BBCLASSEXTEND = "native nativesdk" + +# http://errors.yoctoproject.org/Errors/Details/766950/ +# expect5.45.4/exp_chan.c:62:5: error: initialization of 'struct Tcl_ChannelTypeVersion_ *' from incompatible pointer type 'int (*)(void *, int)' [-Wincompatible-pointer-types] +CFLAGS += "-Wno-error=incompatible-pointer-types" From patchwork Mon Jun 17 12:04:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 45248 X-Patchwork-Delegate: steve@sakoman.com 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id BF408C2BA18 for ; Mon, 17 Jun 2024 12:05:44 +0000 (UTC) Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mx.groups.io with SMTP id smtpd.web11.54580.1718625941705465837 for ; Mon, 17 Jun 2024 05:05:41 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=IOWZXfn8; spf=softfail (domain: sakoman.com, ip: 209.85.210.172, mailfrom: steve@sakoman.com) Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-70413de08c7so3043848b3a.0 for ; Mon, 17 Jun 2024 05:05:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1718625941; x=1719230741; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=GtulwJcRYu/1wXXl0QNJxpXUdjEtbDcd6meRKORX1qY=; b=IOWZXfn8wrZWicgLte0daXfWnXBV9iMI91cs3it1alHkhBTFjIcYuve2Js22sbbBQw QZ1zbvul+eh4XDx7dgcuV12EfAg4F16O92CbFkznP/7f4SxVhO6gKa2SeDzE9TlPOYDH 8BNWt2eyysF+8pyrPXhWmrpYQnOQdkzmBdq034ohAlSELkQQ3IVlSaPkJoioMAvjtYTq fb+091HDAdEoegyI+pbWHwnZmiFRsBhhTZMcOJg7Jb/T+BYEEqmQbHlKM2t+LIHudhC8 Jurs7iEy+WHXm07JcqmvNpCTJEl8NZHJAp8QsqRbt0Se9yiQeZK52I8qXog3rw20IySh zs+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718625941; x=1719230741; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GtulwJcRYu/1wXXl0QNJxpXUdjEtbDcd6meRKORX1qY=; b=MiC5pGqZsGdHqAIwTN+u+eYxt7Xgg+CRxnAeE7u7klZbggCvKUeyEN+n9zt3GhmU6H BmTti3XgwyZpJRudZUucz4KwZ0kVBqjGi0SKV4dnZ7ncQj3ghUGFt1TAEzSrRI6BMrM+ dSsaD+fF5aZDH4QqhhciQZ0Ckcp4GjfZQ2CQhp18DU0Ler5C7XOyM4jTig5azujNoop/ 9igkE8as6Wl6IgPrJM3xc5ovH1bsjKEnAK7k9MkvChV/m7PBvrU6JjfRO94fPvjv0RUC o55WCSZgKquaGam1kaE+AW7+poirYhyxkF3c164glwlUcCLpZOkizb5FSBtRW256EJAw OPdA== X-Gm-Message-State: AOJu0YzTR66BVdr3/jn1+o0i9IL4F8nSAiNt5KYun1cT8kmWwju8gb/I dxK3HWjauaUYUAUlWXGUGUpZyBe2bzGfrxQ2kR10PgXkphGAIfWL2Bv+BuxYi0IwRcFZQreGnfD 5GOs= X-Google-Smtp-Source: AGHT+IGzv8LEI82MdXKgaR3bTyQeyvXATVM3aTxNgmkMfPft4f99kBAmRV039llA0+GKxHbpm5/6VQ== X-Received: by 2002:a05:6a20:7344:b0:1b0:1a02:4136 with SMTP id adf61e73a8af0-1bae7e28efcmr10080825637.8.1718625940931; Mon, 17 Jun 2024 05:05:40 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-705cc925fe7sm7482348b3a.19.2024.06.17.05.05.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 05:05:40 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 09/22] libunwind: ignore various issues now fatal with gcc-14 Date: Mon, 17 Jun 2024 05:04:47 -0700 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 17 Jun 2024 12:05:44 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/200820 From: Martin Jansa http://gecko.lge.com:8000/Errors/Details/821679 Signed-off-by: Martin Jansa Signed-off-by: Khem Raj Signed-off-by: Richard Purdie (cherry picked from commit 20b9e9980c6675906ed154df968008f8c9140a9c) Signed-off-by: Steve Sakoman --- meta/recipes-support/libunwind/libunwind_1.6.2.bb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/meta/recipes-support/libunwind/libunwind_1.6.2.bb b/meta/recipes-support/libunwind/libunwind_1.6.2.bb index 3208785124..c7b1604b61 100644 --- a/meta/recipes-support/libunwind/libunwind_1.6.2.bb +++ b/meta/recipes-support/libunwind/libunwind_1.6.2.bb @@ -40,3 +40,11 @@ do_install:append () { } BBCLASSEXTEND = "native" + +# http://errors.yoctoproject.org/Errors/Build/183144/ +# libunwind-1.6.2/include/tdep-aarch64/libunwind_i.h:123:47: error: passing argument 1 of '_ULaarch64_uc_addr' from incompatible pointer type [-Wincompatible-pointer-types] +# libunwind-1.6.2/src/aarch64/Ginit.c:348:28: error: initialization of 'unw_tdep_context_t *' from incompatible pointer type 'ucontext_t *' [-Wincompatible-pointer-types] +# libunwind-1.6.2/src/aarch64/Ginit.c:377:28: error: initialization of 'unw_tdep_context_t *' from incompatible pointer type 'ucontext_t *' [-Wincompatible-pointer-types] +# libunwind-1.6.2/src/aarch64/Ginit_local.c:51:9: error: assignment to 'ucontext_t *' from incompatible pointer type 'unw_context_t *' {aka 'unw_tdep_context_t *'} [-Wincompatible-pointer-types] +# libunwind-1.6.2/src/aarch64/Gresume.c:37:28: error: initialization of 'unw_tdep_context_t *' from incompatible pointer type 'ucontext_t *' [-Wincompatible-pointer-types] +CFLAGS += "-Wno-error=incompatible-pointer-types" From patchwork Mon Jun 17 12:04:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 45249 X-Patchwork-Delegate: steve@sakoman.com 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id DA66EC2BB9A for ; Mon, 17 Jun 2024 12:05:44 +0000 (UTC) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mx.groups.io with SMTP id smtpd.web11.54581.1718625943210962122 for ; Mon, 17 Jun 2024 05:05:43 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=XePIhF1+; spf=softfail (domain: sakoman.com, ip: 209.85.210.173, mailfrom: steve@sakoman.com) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-6f8ec7e054dso2810679b3a.2 for ; Mon, 17 Jun 2024 05:05:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1718625942; x=1719230742; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=7qbsSYQkcLQ+7gN52N/qI1lGI88acvlsU+TXP/CukCE=; b=XePIhF1+O3vVgBB/8TGqIMndkSj+KbGfqhlLCKoFye9oaNymuxCs7241Kc+k9D8RHY wMuLnitGkiXK6k6wFASmsQ38VPByVUNBh75hHEJYusTkriThTcrABe46/W1KDqstYy9c RMn0v18Tlnjn8MH9jSU0hD6N2b7yok+aIpcRfhi2CySikM7w6P00nx7Xy11vp4Oh0FOu /B74jXbvIGJZSjoNKsswaiQn0/F5Lr9iHGCrsNRhy2GhGfvAoaiM8LQIinl2lLZO5JvE IhfqZaXZnJysLwTTXdyEqvj/SiGdiaVZ/+HxgTSF+E1JE9fbPLslDQyt25rkwfFA3S09 gJOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718625942; x=1719230742; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7qbsSYQkcLQ+7gN52N/qI1lGI88acvlsU+TXP/CukCE=; b=Oz7vnQdMTNd8ZJXNWoMWSOtMpWSuk11my9ZWyapPIMtq999hNN8azT9yvJcg1p13k4 o+cp1iZdDNPfGth/0fJutBM0DyASON8DPhLsomvkQ+UjXzb8UItl928YvYW0qZ35fQxv 90P51Cd2A2Xkc756FgZ3fB/1XPQmxUko4WShLYfpIlZmetKWpy6KgyFQg0xyE7RxoNge yQHO8Mt0OA85y8zAqSVTKvOBJaAeB6oBV871MjwKl90JCCdHyRvEM6nxwY3O+n7a26qA NIFfEzhWKTF1jrGRVt+RQsjmd8Yhc+6lBFdTNkNiJuUiNueb4irH4M23ntY6v1MKbcaE Vt7A== X-Gm-Message-State: AOJu0Ywm0RngHxmR/wPkgE4YenCjg4hz9zLU55RqOEXXVOuptKiKw82T ZPRlWN9I+jgPpEIzK84FjbMN5ZUZv4eAXfjbvAWYXZW2+t4Wps/bxjhS9tJgZRhqyOvk7u66xMG dKq0= X-Google-Smtp-Source: AGHT+IE+/G4ECIgsFtUBhykxWlBkXDlSpfPnU0aaylW6ZHG1lbHuIcuLJucq/vsTrFSIEnXijfAMPQ== X-Received: by 2002:a05:6a00:80e8:b0:702:301f:e513 with SMTP id d2e1a72fcca58-705d712bc99mr10636787b3a.13.1718625942214; Mon, 17 Jun 2024 05:05:42 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-705cc925fe7sm7482348b3a.19.2024.06.17.05.05.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 05:05:41 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 10/22] p11-kit: ignore various issues fatal with gcc-14 (for 32bit MACHINEs) Date: Mon, 17 Jun 2024 05:04:48 -0700 Message-Id: <10d2ba3bf2328d74edfbf6624f4f4ac52b3e9655.1718625680.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 17 Jun 2024 12:05:44 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/200821 From: Martin Jansa * these are reproducible only with 32bit MACHINEs and probably related to time64.inc * http://errors.yoctoproject.org/Errors/Build/183154/ Signed-off-by: Martin Jansa Signed-off-by: Khem Raj Signed-off-by: Richard Purdie (cherry picked from commit fa2b8a494e641faab095487af90c5b78d9e33868) Signed-off-by: Steve Sakoman --- meta/recipes-support/p11-kit/p11-kit_0.25.3.bb | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/meta/recipes-support/p11-kit/p11-kit_0.25.3.bb b/meta/recipes-support/p11-kit/p11-kit_0.25.3.bb index b7ebd44abc..2ede38deba 100644 --- a/meta/recipes-support/p11-kit/p11-kit_0.25.3.bb +++ b/meta/recipes-support/p11-kit/p11-kit_0.25.3.bb @@ -32,3 +32,13 @@ FILES:${PN} += " \ INSANE_SKIP:${PN} = "dev-so" BBCLASSEXTEND = "native nativesdk" + +# # This one is reproducible only on 32bit MACHINEs +# http://errors.yoctoproject.org/Errors/Details/766969/ +# git/p11-kit/import-object.c:223:62: error: passing argument 3 of 'p11_asn1_read' from incompatible pointer type [-Wincompatible-pointer-types] +# git/p11-kit/import-object.c:229:70: error: passing argument 3 of 'p11_asn1_read' from incompatible pointer type [-Wincompatible-pointer-types] +# git/p11-kit/import-object.c:264:78: error: passing argument 3 of 'p11_asn1_read' from incompatible pointer type [-Wincompatible-pointer-types] +# git/p11-kit/import-object.c:223:62: error: passing argument 3 of 'p11_asn1_read' from incompatible pointer type [-Wincompatible-pointer-types] +# git/p11-kit/import-object.c:229:70: error: passing argument 3 of 'p11_asn1_read' from incompatible pointer type [-Wincompatible-pointer-types] +# git/p11-kit/import-object.c:264:78: error: passing argument 3 of 'p11_asn1_read' from incompatible pointer type [-Wincompatible-pointer-types] +CFLAGS += "-Wno-error=incompatible-pointer-types" From patchwork Mon Jun 17 12:04:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 45250 X-Patchwork-Delegate: steve@sakoman.com 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id EB3A9C2BC81 for ; Mon, 17 Jun 2024 12:05:44 +0000 (UTC) Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by mx.groups.io with SMTP id smtpd.web11.54582.1718625944331554533 for ; Mon, 17 Jun 2024 05:05:44 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=oftgNJTt; spf=softfail (domain: sakoman.com, ip: 209.85.210.176, mailfrom: steve@sakoman.com) Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-704090c11easo3526899b3a.2 for ; Mon, 17 Jun 2024 05:05:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1718625944; x=1719230744; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=gubhcDeHQybf37Ub4w491RJyZqZG1EgnJExVYU7Lbs0=; b=oftgNJTtARfaZbu5QBVzw4HU/+yyyjbeBXBmomov7PMqxtu0s90WvOPO/9+EvO3wd8 peo49HvwgpMdEVSorGIUE+1uo2jtrsHInlMk8iIV/1ETg7o8rpACXnTM9FhgziZtkTs8 UWwrYRlkHSwBgjYrjQuu7S/aH6irkqU8CcIMgzs6N91b6UrdvnTFsVfa2uYmBLq7be5f jT9hp/wXW8KmtxuUrU9zu3wG875jKa0Q9PHG9Eh3lXoQkxM5/sf1rdWQl7W5N418S4o2 el8YnHIOeWT2HyJuLLJ1eNdqeuZZxU0CpTLnoOA12itdSTPbrjT0ATUlNnlqZHktUxRA tghA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718625944; x=1719230744; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gubhcDeHQybf37Ub4w491RJyZqZG1EgnJExVYU7Lbs0=; b=YFZdhDcMxSYEnoT5o3w1t9I9JCmR+0BqT3NeTOtGl7SJhVpXuUqTmyOxR77NI6y/Lg pTrwHsfmeObOPVpcCL8amWpliQbbnbU6b7LDoPE/d8PqGy8ZsSMmAzVex0mxzl0canXG 4z47JUpzudKyVfJydaRIg9NGiwOFR/kdG/S++zRZBm2u85kEZpjIaSBP+Wy1cOU0bGnw iysu/aiwJnj1C8WkrddNbh00M0IUFg1bQJa0q7HJaAQlHrQnvFggzWgs8ukGlhl7ZrBi nfvSLjUxDRotb75ZJ/FLfEc07KlOEtkEA6NZlgAZJ42r8kUJIOJ90gvKxi13Vuwtg4pa 7p9Q== X-Gm-Message-State: AOJu0YxKgHk1CWNTMO3n2b5dljmRqciIDHOg3bBnRfvoTLooKNye9WTl 5SaHUs1EYn9u9iVlZJ8J695rXkPz+v+uahr9JMbg6m7GIt7yVUU8cm0UopMmeCUnARIDsqY9iep ApT4= X-Google-Smtp-Source: AGHT+IHwqR6wpo/MXSIz763vGVj6tQwKWs7pNfoc3dEdxqAv353E4oIUBojFF+kY8mFfPYNfKm6DiA== X-Received: by 2002:a05:6a20:914a:b0:1b6:d9fa:8cd with SMTP id adf61e73a8af0-1bae83c697amr9972191637.46.1718625943549; Mon, 17 Jun 2024 05:05:43 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-705cc925fe7sm7482348b3a.19.2024.06.17.05.05.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 05:05:43 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 11/22] kea: Remove -fvisibility-inlines-hidden from C++ flags Date: Mon, 17 Jun 2024 05:04:49 -0700 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 17 Jun 2024 12:05:44 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/200822 From: Khem Raj This fixes build with gcc-14, where default visibility is extended to inline functions and getAll() function now falls into this category and functions are marked hidden resulting in linking errors Fixes /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/kea/2.5.8/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/14.0.1/ld: ./.libs/libdhcp4.a(dhcp4_srv.o): in function `isc::dhcp::Dhcpv4Srv::appendRequestedVendorOptions(isc::dhcp::Dhcpv4Exchange&)': /usr/src/debug/kea/2.5.8/src/bin/dhcp4/dhcp4_srv.cc:2356:(.text+0xaac2): undefined reference to `isc::dhcp::CfgOption::getAll(unsigned int) const' /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/kea/2.5.8/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/14.0.1/ld: ./.libs/libdhcp4.a(dhcp4_srv.o): in function `isc::dhcp::OptionDescriptor isc::dhcp::CfgOption::get(unsigned int const&, unsigned short) const': /usr/src/debug/kea/2.5.8/src/lib/dhcpsrv/cfg_option.h:609:(.text+0xb288): undefined reference to `isc::dhcp::CfgOption::getAll(unsigned int) const' /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/kea/2.5.8/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/14.0.1/ld: ./.libs/libdhcp4.a(dhcp4_srv.o): in function `isc::dhcp::Dhcpv4Srv::appendRequestedOptions(isc::dhcp::Dhcpv4Exchange&)': /usr/src/debug/kea/2.5.8/src/bin/dhcp4/dhcp4_srv.cc:2128:(.text+0xc556): undefined reference to `isc::dhcp::CfgOption::getAll(std::__cxx11::basic_string, std::allocator > const&) const' /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/kea/2.5.8/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/14.0.1/ld: ./.libs/libdhcp4.a(dhcp4_srv.o): in function `std::vector > isc::dhcp::CfgOption::getList(char const (&) [6], unsigned short) const': /usr/src/debug/kea/2.5.8/src/lib/dhcpsrv/cfg_option.h:641:(.text._ZNK3isc4dhcp9CfgOption7getListIA6_cEESt6vectorINS0_16OptionDescriptorESaIS5_EERKT_t[_ZNK3isc4dhcp9CfgOption7getListIA6_cEESt6vectorINS0_16OptionDescriptorESaIS5_EERKT_t]+0x86): undefined reference to `isc::dhcp::CfgOption::getAll(std::__cxx11::basic_string, std::allocator > const&) const' /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/kea/2.5.8/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/14.0.1/ld: ./.libs/libdhcp4.a(dhcp4_srv.o): in function `isc::dhcp::OptionDescriptor isc::dhcp::CfgOption::get(char const (&) [6], unsigned short) const': /usr/src/debug/kea/2.5.8/src/lib/dhcpsrv/cfg_option.h:609:(.text._ZNK3isc4dhcp9CfgOption3getIA6_cEENS0_16OptionDescriptorERKT_t[_ZNK3isc4dhcp9CfgOption3getIA6_cEENS0_16OptionDescriptorERKT_t]+0x77): undefined reference to `isc::dhcp::CfgOption::getAll(std::__cxx11::basic_string, std::allocator > const&) const' collect2: error: ld returned 1 exit status make[5]: *** [Makefile:651: kea-dhcp4] Error 1 Signed-off-by: Khem Raj Cc: Martin Jansa Signed-off-by: Richard Purdie (cherry picked from commit 584940c2f3234bfaf579429e162e683934e86538) Signed-off-by: Steve Sakoman --- meta/recipes-connectivity/kea/kea_2.4.1.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-connectivity/kea/kea_2.4.1.bb b/meta/recipes-connectivity/kea/kea_2.4.1.bb index 9f8758f379..fcdb4889d9 100644 --- a/meta/recipes-connectivity/kea/kea_2.4.1.bb +++ b/meta/recipes-connectivity/kea/kea_2.4.1.bb @@ -38,6 +38,7 @@ DEBUG_OPTIMIZATION:append:mipsel = " -O" BUILD_OPTIMIZATION:remove:mipsel = " -Og" BUILD_OPTIMIZATION:append:mipsel = " -O" +CXXFLAGS:remove = "-fvisibility-inlines-hidden" EXTRA_OECONF = "--with-boost-libs=-lboost_system \ --with-log4cplus=${STAGING_DIR_TARGET}${prefix} \ --with-openssl=${STAGING_DIR_TARGET}${prefix}" From patchwork Mon Jun 17 12:04:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 45256 X-Patchwork-Delegate: steve@sakoman.com 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0F8F2C2BA18 for ; Mon, 17 Jun 2024 12:05:55 +0000 (UTC) Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mx.groups.io with SMTP id smtpd.web10.55027.1718625945686775464 for ; Mon, 17 Jun 2024 05:05:45 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=L7YmTGFc; spf=softfail (domain: sakoman.com, ip: 209.85.210.172, mailfrom: steve@sakoman.com) Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-7042cb2abc8so3043890b3a.0 for ; Mon, 17 Jun 2024 05:05:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1718625945; x=1719230745; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=+IO9sEE0rbjBdkqcJLGRpfjckRr7He/gAUdyXEwD50w=; b=L7YmTGFc40u2sGxFR0TN92GnR1udl0mODUg070Aqwgvvu5bCnu7ItVhO8C7XBmh5n3 vgeK8lBdW7uU0vB2iUbpqDYcrOBmdwgHGiwQQ7q9YoGPalxRZxYXiL3wo0jbOSAbdsQy gNgNq2a/1DFTF64ONsW/Tzp+vMGeJKFNVa8/lsQLkV69RfMd4rSYwZ5PRr7lFjXsWS7M DFMB4EQkEUwuimzTy4iWmGnisOWI9+QJFZOdbuE2e4XPP6p8USTC4EMCKqW4GKe4dmeW 5j+1MQ2eWDhINyVTiii+cICOS+Z+xlbBZ0jJzePdFWT/Afj2AG+tIqRiKDUVdaNFh3F8 BJkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718625945; x=1719230745; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+IO9sEE0rbjBdkqcJLGRpfjckRr7He/gAUdyXEwD50w=; b=GiI6pnt9Tar2wIf5Ci/MvgG3Qkm6yVXR38lkFDLFuzLws9aOvBvY4u78WROS6x2keN Ex1phQIGAW8anqIslOoL2LnZHvf67kz0LlIQrtmxZGu/FQOAeenrzdB/idb2qrjSExX8 xlM8bOffTC3NLWOkOZQdLPOYrhcir7HbQxJZ3VUY4ORSiBBDFj3v28lCQn50WXPuYGx4 9gz6eXZc0IinodUl9QmsEROCcnPBvfozptR5nqGPb1MCvrO/aEJhKrxQLkMjr7i5OTHJ px1w8g+LLoHcRRaevtEpFE3tcurkUHVlglxLomeQHROTk9yR17HL/+/mKV5sZJlo4oT6 vzYQ== X-Gm-Message-State: AOJu0YyITpFhFZlwbqgXQBsJA6D57Wmok6T7/lPbHn0IoD0Tj45/GxLJ sp3F30EGE0AxrZ3fX7S9tYUoK9LfQdov7I9VVE5IJtf2vefT2Ps4Z5aifslPr7qF/kIY4vwLdxP mpQY= X-Google-Smtp-Source: AGHT+IGOesnnTwpw6RQqvcQ7F3RLroqnWLfcoF6spgC3mBeX6AyL5mrN/CpQVs1YQaqi6J6Hw33B1Q== X-Received: by 2002:a05:6a21:1a7:b0:1b2:47f9:3814 with SMTP id adf61e73a8af0-1bae7e1caffmr10148614637.2.1718625944937; Mon, 17 Jun 2024 05:05:44 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-705cc925fe7sm7482348b3a.19.2024.06.17.05.05.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 05:05:44 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 12/22] consolekit: Disable incompatible-pointer-types warning as error Date: Mon, 17 Jun 2024 05:04:50 -0700 Message-Id: <9199d64629e8d27736c7f1e73cd9e95e8f04158b.1718625680.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 17 Jun 2024 12:05:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/200823 From: Khem Raj Fixes build with gcc-14 Signed-off-by: Khem Raj Signed-off-by: Richard Purdie (cherry picked from commit d4fb4007cbaf545e023b0cb55b80fb5c70cf5b57) Signed-off-by: Steve Sakoman --- meta/recipes-support/consolekit/consolekit_0.4.6.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-support/consolekit/consolekit_0.4.6.bb b/meta/recipes-support/consolekit/consolekit_0.4.6.bb index 346bd60e4d..0f2153d493 100644 --- a/meta/recipes-support/consolekit/consolekit_0.4.6.bb +++ b/meta/recipes-support/consolekit/consolekit_0.4.6.bb @@ -31,6 +31,9 @@ PACKAGECONFIG[pam] = "--enable-pam-module --with-pam-module-dir=${base_libdir}/s PACKAGECONFIG[polkit] = "--with-polkit,--without-polkit,polkit" PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_system_unitdir}/,--with-systemdsystemunitdir=" +# Fails to build with GCC14 with incompatible pointer error warning being treated as error +CFLAGS += "-Wno-error=incompatible-pointer-types" + FILES:${PN} += "${exec_prefix}/lib/ConsoleKit \ ${libdir}/ConsoleKit ${systemd_unitdir} ${base_libdir} \ ${datadir}/dbus-1 ${datadir}/PolicyKit ${datadir}/polkit*" From patchwork Mon Jun 17 12:04:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 45255 X-Patchwork-Delegate: steve@sakoman.com 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0B89AC41513 for ; Mon, 17 Jun 2024 12:05:55 +0000 (UTC) Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by mx.groups.io with SMTP id smtpd.web11.54586.1718625947046613412 for ; Mon, 17 Jun 2024 05:05:47 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=oTPsEDJE; spf=softfail (domain: sakoman.com, ip: 209.85.210.177, mailfrom: steve@sakoman.com) Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-70109d34a16so3732382b3a.2 for ; Mon, 17 Jun 2024 05:05:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1718625946; x=1719230746; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Izs+rw0OP36jpTJjCUCrGHGEzJ9ej6KpSa7KbIIkWOc=; b=oTPsEDJEvZxYxGgOuPaM7yY47UUhWepG6R9Bf79fWlso6Zx3AtLwANG+U46V797P7R QHQhO1lZinEe/BfjbFVcJC2LlGO80QkyIqQ9cMJRhgPMBl/Qf0xGitAgvAO4Tkr9ajY9 GV8Hf61aVK+rmKTQo/rjNw6tP3Lx9s2x8ngkQk0mYltCM15Xwfc6qB1S0RfXEIC63rst H0SUBpNibStx8mntb9Z0+kIGZPik90bmAv3jwR9jlUNHZWIQdXY9+vdxErqXs/8zUxXl naB838lrwpoMypiTQcX76DyuiIzQdKwMK7ITkcv3dZcH44LffY2KrDUTobVfxnaBt1RJ HLUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718625946; x=1719230746; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Izs+rw0OP36jpTJjCUCrGHGEzJ9ej6KpSa7KbIIkWOc=; b=MeQ2Xyvrh+XNokm8eZsd9mSXbTzZTf/rrqg37hL/TTyp1grJY23BeyAH3x3GJp5JO8 ewdR3eSEKfLaWDxjv+luKjtTwEpXd/L72BvYEHap1gEm4jQEiFghojvvh0qhnYnLo2BQ 32IKA0u3TPW9/MhyhLQd/FjTBcXFVxDvIETZI+fHgv78hni+m4fzHuC6wBfTIEuy6My/ sn1CrHQEDMPBefJgYPfJo26HGWGvjGSjCdGl3PTpnaE02QfyiqGLynrhTUVUS37mdKq1 oc8Nza8vFaqy1bsg+oGt83Ei+nERnEJTOTpz/7B87sQKLDSMeQ4erbUC9p9eMPIkTKiN wApA== X-Gm-Message-State: AOJu0YzrJA3DSjhHoQs4t9BsQAe5yabsil2PiSVItenWEclFkECpt8+O eCFVpuDkKhXvlwGveEPxZFzmvwc6P1CGQ0Au7fbqd3rxnqHlRLoh8jwKP/C83q2WvlQPmz8eh84 4Pmc= X-Google-Smtp-Source: AGHT+IFVZqH5ZHLeepz4ONybOZDRhsAaQkLIBxT28st+qR6bkaP2TERF/WA/DyF6AgMkcnh+PPEPxg== X-Received: by 2002:a05:6a20:2593:b0:1b8:5ac6:4bd3 with SMTP id adf61e73a8af0-1bae7e11304mr11643931637.7.1718625946306; Mon, 17 Jun 2024 05:05:46 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-705cc925fe7sm7482348b3a.19.2024.06.17.05.05.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 05:05:46 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 13/22] gtk4: Disable int-conversion warning as error Date: Mon, 17 Jun 2024 05:04:51 -0700 Message-Id: <67e5be967e9d10ed295e9ca4cbfdf759f33e143f.1718625680.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 17 Jun 2024 12:05:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/200824 From: Khem Raj This helps builds on 32bit machines when using GCC-14 there is a bug filed for fixing this in code [1] [1] https://gitlab.gnome.org/GNOME/gtk/-/issues/6033 Signed-off-by: Khem Raj Signed-off-by: Richard Purdie (cherry picked from commit 3735b5566c7e0e1a36171523e7b553497f4da1a4) Signed-off-by: Steve Sakoman --- meta/recipes-gnome/gtk+/gtk4_4.14.1.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-gnome/gtk+/gtk4_4.14.1.bb b/meta/recipes-gnome/gtk+/gtk4_4.14.1.bb index ce733769a5..497be6805a 100644 --- a/meta/recipes-gnome/gtk+/gtk4_4.14.1.bb +++ b/meta/recipes-gnome/gtk+/gtk4_4.14.1.bb @@ -76,6 +76,10 @@ PACKAGECONFIG[gstreamer] = "-Dmedia-gstreamer=enabled,-Dmedia-gstreamer=disabled PACKAGECONFIG[tracker] = "-Dtracker=enabled,-Dtracker=disabled,tracker,tracker-miners" PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled, vulkan-loader vulkan-headers shaderc-native" +# Disable int-conversion warning as error until [1] is fixed +# [1] https://gitlab.gnome.org/GNOME/gtk/-/issues/6033 +CFLAGS:append = " -Wno-error=int-conversion" + LIBV = "4.0.0" FILES:${PN}:append = " \ From patchwork Mon Jun 17 12:04:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 45257 X-Patchwork-Delegate: steve@sakoman.com 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B47BC2BB9A for ; Mon, 17 Jun 2024 12:05:55 +0000 (UTC) Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mx.groups.io with SMTP id smtpd.web10.55028.1718625948313535380 for ; Mon, 17 Jun 2024 05:05:48 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=034FwAZo; spf=softfail (domain: sakoman.com, ip: 209.85.210.172, mailfrom: steve@sakoman.com) Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-70601bcfddcso756649b3a.3 for ; Mon, 17 Jun 2024 05:05:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1718625947; x=1719230747; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=HsO2HrPMav64sypImiinY7KQuBcmf8Uk7DzqdqzJ/Zg=; b=034FwAZoGhrz1NeHmJMPFOU40YPetuG0vF4yLSV+to9ViiyJira9gmXGnF4Sb8sK1o lnrJdjln6dlwdUzjAHt8Wcdp/KbCq/jZXm2t+YL5/fOMAFOmnN2YW57sMhV6MW0w+CXn XStQzNjyQJ4uUBm46H4rE9OZ8S+22KlLlOIdnB8aRtz400croF+SkcY+8ccd1WhWdzua /h0x4+ukqEDZAjoU0WkChYGkojmp9IeT8D9TqcgmRZyCTuWKlGlNVmHZakfpGmcPHf5S qy87SK3dPWW9x+fcb9cNek3+VLiJ92JYrwdgfYUqdPuj1pFFjN0QbuMsHg4pGx1vdYcp cg7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718625947; x=1719230747; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HsO2HrPMav64sypImiinY7KQuBcmf8Uk7DzqdqzJ/Zg=; b=K6Tdg1D6b/dpDzuRxpDc3naB3GMsy2xrlP7SuzQp9kICfkxYgbgxVaJLYfneqqNB8G CTxroGxT+TxGTbUNXtefB2XwgmQ/KpFta+guG+sWxY5W4mdBLfQaS2niAVgPIvQcqx/k 6QHHb9cRlPvxn+PfAnZADhxdqjNR/59ToDAD3+iEfNvJ+JTdsTyHCRUDiQnMGTff+jiS Y1hVuzInpI8Rl9sxvhMqTwGwnDt8mHq4hL//c5rSgQE2nYcNNy1MXe7ZkT19SUtBiam+ D/9gZ9JN3EloHQjcO+EkMb7LfMgPrdHxz+LtIqGgWRpBjStguHaAbixUq0wU+MJA07an +z+g== X-Gm-Message-State: AOJu0YwXYfqF1RRS1cwFIvOBJIPVKwLnKlvtyDu5rbu/OjHlZ+xvLNVf 2SPmjW6K2DavDYZMBO6XSn8/D3BTxRmJsya38NKGPQmMtmwiAS9wwZ5vn2KM+pK3W9xX/sAIOfM MS2c= X-Google-Smtp-Source: AGHT+IGHBWKoxwAqGTFD9SqPj8Vmp4HM4fRp+69ngnl1g5JGRRpeWkDbh+FOeSCBqc4dCccQk4GXTg== X-Received: by 2002:a05:6a00:1e0e:b0:705:a7a6:6d11 with SMTP id d2e1a72fcca58-705d71e1cc6mr9520577b3a.24.1718625947572; Mon, 17 Jun 2024 05:05:47 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-705cc925fe7sm7482348b3a.19.2024.06.17.05.05.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 05:05:47 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 14/22] lrzsz connman-gnome libfm: ignore various issues fatal with gcc-14 Date: Mon, 17 Jun 2024 05:04:52 -0700 Message-Id: <924dc9bd3b1b21a60ebb117b0abf81d2650aedd0.1718625680.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 17 Jun 2024 12:05:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/200825 From: Martin Jansa work arounds for: oe-core/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb:do_compile oe-core/meta/recipes-connectivity/connman/connman-gnome_0.7.bb:do_compile oe-core/meta/recipes-support/libfm/libfm_1.3.2.bb:do_compile http://errors.yoctoproject.org/Errors/Build/183127/ More fixes on ML (especially for -native with gcc-14 on host) cdrtools: https://lists.openembedded.org/g/openembedded-core/message/198899 syslinux: https://lists.openembedded.org/g/openembedded-core/message/198901 Signed-off-by: Martin Jansa Signed-off-by: Khem Raj Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commit 856ffc7d0893c1dc549baf401899947f70d31896) Signed-off-by: Steve Sakoman --- meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb | 6 ++++++ meta/recipes-connectivity/connman/connman-gnome_0.7.bb | 4 ++++ meta/recipes-support/libfm/libfm_1.3.2.bb | 4 ++++ 3 files changed, 14 insertions(+) diff --git a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb index 63edcbd864..3024ddcaf0 100644 --- a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb +++ b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb @@ -46,3 +46,9 @@ ALTERNATIVE_TARGET[rb] = "${bindir}/lrz" ALTERNATIVE_TARGET[sz] = "${bindir}/lsz" ALTERNATIVE_TARGET[sx] = "${bindir}/lsz" ALTERNATIVE_TARGET[sb] = "${bindir}/lsz" + +# http://errors.yoctoproject.org/Errors/Details/766929/ +# lrzsz-0.12.20/src/tcp.c:75:56: error: passing argument 3 of 'getsockname' from incompatible pointer type [-Wincompatible-pointer-types] +# lrzsz-0.12.20/src/tcp.c:83:52: error: passing argument 3 of 'getsockname' from incompatible pointer type [-Wincompatible-pointer-types] +# lrzsz-0.12.20/src/tcp.c:103:51: error: passing argument 3 of 'accept' from incompatible pointer type [-Wincompatible-pointer-types] +CFLAGS += "-Wno-error=incompatible-pointer-types" diff --git a/meta/recipes-connectivity/connman/connman-gnome_0.7.bb b/meta/recipes-connectivity/connman/connman-gnome_0.7.bb index fcd154b4b0..8875cdc02c 100644 --- a/meta/recipes-connectivity/connman/connman-gnome_0.7.bb +++ b/meta/recipes-connectivity/connman/connman-gnome_0.7.bb @@ -28,3 +28,7 @@ RDEPENDS:${PN} = "connman" do_install:append() { install -m 0644 ${WORKDIR}/images/* ${D}/usr/share/icons/hicolor/22x22/apps/ } + +# http://errors.yoctoproject.org/Errors/Details/766926/ +# connman-client.c:200:15: error: assignment to 'GtkTreeModel *' {aka 'struct _GtkTreeModel *'} from incompatible pointer type 'GtkTreeStore *' {aka 'struct _GtkTreeStore *'} [-Wincompatible-pointer-types] +CFLAGS += "-Wno-error=incompatible-pointer-types" diff --git a/meta/recipes-support/libfm/libfm_1.3.2.bb b/meta/recipes-support/libfm/libfm_1.3.2.bb index 057c737029..1d7609165b 100644 --- a/meta/recipes-support/libfm/libfm_1.3.2.bb +++ b/meta/recipes-support/libfm/libfm_1.3.2.bb @@ -53,3 +53,7 @@ do_install:append () { rm -f ${D}${libdir}/libfm-extra.a rm -f ${D}${libdir}/libfm-extra.la } + +# http://errors.yoctoproject.org/Errors/Details/766924/ +# libfm-1.3.2/src/actions/action.c:2050:25: error: assignment to 'gchar **' {aka 'char **'} from incompatible pointer type 'const gchar * const*' {aka 'const char * const*'} [-Wincompatible-pointer-types] +CFLAGS += "-Wno-error=incompatible-pointer-types" From patchwork Mon Jun 17 12:04:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 45260 X-Patchwork-Delegate: steve@sakoman.com 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 61D01C2BD05 for ; Mon, 17 Jun 2024 12:05:55 +0000 (UTC) Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) by mx.groups.io with SMTP id smtpd.web10.55029.1718625949592228402 for ; Mon, 17 Jun 2024 05:05:49 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=AzDtnNgz; spf=softfail (domain: sakoman.com, ip: 209.85.210.174, mailfrom: steve@sakoman.com) Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-703ed15b273so3245786b3a.1 for ; Mon, 17 Jun 2024 05:05:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1718625949; x=1719230749; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=NHqO/a0AGgNOk7bk6jwUzO0ZDfu7oXd3mqL9u4ju70w=; b=AzDtnNgzD9usKRAbYVAeNBbBCkaYubXVdfIXgkveqfVS6R9WRLplNEzm199KZCG+8Q 2jP3NkaxECTRtLpv3k3XJvDu5mImysCajnmogPq1H1S0nEr2DZ0XjCfNVrSGooCSGMqa IT/P5RYbuAUyZB07rRBByB/4kFuzoZopuUCx+/1WyZMiO90B23zZmL/T4/fIjnqKaTwQ QctjbBmY0SbNc24XWSR3A7ajHbVAjkM4IEUZxST9v/vzNfSaTYEaSREHyiMQ3SuxcN60 bJx2IPhmnkV9rk1V1PQfVibX2V5NfVSx0n4N2NS31leODern2fOe7d0/GccbaGSvn8bW tHQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718625949; x=1719230749; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NHqO/a0AGgNOk7bk6jwUzO0ZDfu7oXd3mqL9u4ju70w=; b=v+e0jpFDZZBVB4Ct8LumwHfSsPDc6jFpxby57rTrDzEtpmIhOa50Ff4kp2Y5vecrkg KUjs8qXT1m9nokJAgA7odyn5O25FNk0kvH6fJTARqlMh3cOYWZKrKBjJw36Ed9fVLYZ5 tQpDhjkW4JKy/rnsyE/nIqD+azRKLyr+MqwKr2Y/kwnfbnD7OWl94vatWKbsj8GNSz7E 0aOHuUrKdiRaQDwQ5m6oX3lGJuXFInTlkRIxOG7lpUDgcgtnvWjk3I9/4SebAdznHoul SZv9dtOYg7gEiZAc1y3OvxrXpsRckHnCOXXVKVc+zU1sh3mf0i+OUVZkyI7JuDf1WCJb jXxg== X-Gm-Message-State: AOJu0Yw35VIcZ0sPgOvRgMonX6rXMLMtAzOLmS4wmjtNe4F4eMDDoWYi qv3u6rMJiEPd1jNaPRJVS3NQVg6+ABp622xqH1tJxw13uWvr0v2Tzb7Pypz8PWnahvHKQUOzdE8 Qafg= X-Google-Smtp-Source: AGHT+IEYkBgaYCqKx2CsBZSaacb0VqEflwyirZvyUTzWtJ+ztR/lL3HUw5SMcI5jpcoMpeSmibAyLw== X-Received: by 2002:a05:6a20:258f:b0:1b4:4568:4c40 with SMTP id adf61e73a8af0-1bae7e149d4mr11556202637.12.1718625948818; Mon, 17 Jun 2024 05:05:48 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-705cc925fe7sm7482348b3a.19.2024.06.17.05.05.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 05:05:48 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 15/22] ltp: Fix build with GCC-14 Date: Mon, 17 Jun 2024 05:04:53 -0700 Message-Id: <42c5a8d52f6f01ebf6fd441e5cf7fd2cd771cfd4.1718625680.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 17 Jun 2024 12:05:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/200826 From: Khem Raj Signed-off-by: Khem Raj Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commit 5d3bea7f817aee6eb053eccc22f5c35f8a3d3668) Signed-off-by: Steve Sakoman --- ...-Use-time_t-instead-of-long-for-type.patch | 54 +++++++++++++++++++ meta/recipes-extended/ltp/ltp_20240129.bb | 1 + 2 files changed, 55 insertions(+) create mode 100644 meta/recipes-extended/ltp/ltp/0001-sched_stress-Use-time_t-instead-of-long-for-type.patch diff --git a/meta/recipes-extended/ltp/ltp/0001-sched_stress-Use-time_t-instead-of-long-for-type.patch b/meta/recipes-extended/ltp/ltp/0001-sched_stress-Use-time_t-instead-of-long-for-type.patch new file mode 100644 index 0000000000..ae8dc8706e --- /dev/null +++ b/meta/recipes-extended/ltp/ltp/0001-sched_stress-Use-time_t-instead-of-long-for-type.patch @@ -0,0 +1,54 @@ +From 74074f9a71c876d6e95c2d72702888dd2fabc761 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 6 May 2024 11:43:20 -0700 +Subject: [PATCH] sched_stress: Use time_t instead of long for type + +This ensures it works across different architectures +Fixes + +| sched_driver.c:744:43: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types] +| 744 | printf("\nend time = %s\n", ctime(&end_time)); +| | ^~~~~~~~~ + +With gcc-14 + +Upstream-Status: Backport [https://github.com/linux-test-project/ltp/commit/0a682f1af42d8d261202821be580fe26d17ee9b7] +Signed-off-by: Khem Raj +--- + testcases/kernel/sched/sched_stress/sched_driver.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/testcases/kernel/sched/sched_stress/sched_driver.c b/testcases/kernel/sched/sched_stress/sched_driver.c +index 61573d788..5b8c187fe 100644 +--- a/testcases/kernel/sched/sched_stress/sched_driver.c ++++ b/testcases/kernel/sched/sched_stress/sched_driver.c +@@ -136,7 +136,7 @@ int debug = 0; + /* + * Function prototypes + */ +-void startup(long); ++void startup(time_t); + int start_testcase(char *, char *, char *, char *, char *, char *); + int process_slots_in_use(); + int available_user_process_slots(); +@@ -251,7 +251,7 @@ int main(int argc, char **argv) + * information to the screen and . It also initializes the * + * process id list and other global variables. * + *-----------------------------------------------------------------------*/ +-void startup(long start_time) ++void startup(time_t start_time) + { + char tempbuffer[50]; /* temporary buffer to hold names */ + +@@ -734,7 +734,7 @@ void kill_short_term_testcases() + void finishup(start_time) + long start_time; /* starting time to calculate elapsed time */ + { +- long end_time; /* time when program finished */ ++ time_t end_time; /* time when program finished */ + + /* + * Get the end time and calculate elapsed time; write all this out +-- +2.45.0 + diff --git a/meta/recipes-extended/ltp/ltp_20240129.bb b/meta/recipes-extended/ltp/ltp_20240129.bb index e88e931a68..f8e6d3987e 100644 --- a/meta/recipes-extended/ltp/ltp_20240129.bb +++ b/meta/recipes-extended/ltp/ltp_20240129.bb @@ -29,6 +29,7 @@ SRCREV = "68737d20556d37364c95776044b1119c0912a36a" SRC_URI = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https \ file://0001-Remove-OOM-tests-from-runtest-mm.patch \ file://0001-scenario_groups-default-remove-connectors.patch \ + file://0001-sched_stress-Use-time_t-instead-of-long-for-type.patch \ " S = "${WORKDIR}/git" From patchwork Mon Jun 17 12:04:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 45259 X-Patchwork-Delegate: steve@sakoman.com 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6154CC2BBCA for ; Mon, 17 Jun 2024 12:05:55 +0000 (UTC) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mx.groups.io with SMTP id smtpd.web10.55030.1718625951060128814 for ; Mon, 17 Jun 2024 05:05:51 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=LxxQTsJZ; spf=softfail (domain: sakoman.com, ip: 209.85.210.182, mailfrom: steve@sakoman.com) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-705fff50de2so622287b3a.1 for ; Mon, 17 Jun 2024 05:05:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1718625950; x=1719230750; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Aww4cdiYqr6EvK0tiYYPGqQJdWN57n9kvj4D2oqsLl0=; b=LxxQTsJZlkbAfmTie6cO/YjpeLH8ns/6r69QrPIl2Xk5Dw9Tizx+ONu/BNrnAExnag fN5nzM3irQk+d5dtMVhSLyu2ja/OvfDBP+dye+cUd7qLL5slrS4B6UnQI3x2luoeRgJr OZWE325CKG0XRG86C26hsa43Ria3Z+rlf79bpSoBBCKht4SFdTtUYrHv0cHP6+uPHkHh izFWck8NLXw6PeDXQtF0taI/TYlxauvWsOXDtAXTClCPf7ovd5Gd1RFbkXsTCBcOuJUC /0IRkUCwaVBFLlR9XNhqzhRLn1GPMg9u3vvicduWzaMC0DgzAhH5euZJ/eczCxJtGk77 8LUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718625950; x=1719230750; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Aww4cdiYqr6EvK0tiYYPGqQJdWN57n9kvj4D2oqsLl0=; b=FUR/egH2Mf4nmISDFksDPBQRq0jcLjOWk5hh5ZSObi/s/g9rc73yG995kio/1Fttb6 Mvm1l6nCmajb61J3fNwx8/tDPIZF8Xu78Fn0MzBGfTPHaIqNawMLA6xd5wYXBx2hyMCz EaWnw6c4MaL8dRSymldGiLck7PtWHQbpRJ/Fe+fnk/nxO0aqGuUAWKdaG9pRYKFP9JOr XzvUqmm1VBEciHJMoHqxKMBmn1rLNb8VawSW0y2de3L/PENTawLSWPLdI1EOBEmhPUeV M7ibhVWbSSKQUNcPXwaT++MiWeBYUx8tti48NFEZ7dQUgEdifWd/tLR7OfstiFPp/DEQ puhg== X-Gm-Message-State: AOJu0YxafIPkp02bn2FKQblGt89VfqA/uoTz1bpwWmOfitlCXnhIIWip KsCewv2P7de04MxPmq5djEcbQToQ+xC+c8hiWr/5tNz32xKqchT5Y45VFcNHdIqZOxoFEof3BRu Q5oM= X-Google-Smtp-Source: AGHT+IHvQYItTP8ZCVrOX0vlKITXAG6H0JmY1WQfE8KH/TMWIyKw7nLoVTj5fMIbNScD7j+61TB2Vw== X-Received: by 2002:a05:6a00:3c8b:b0:705:a32c:8b2a with SMTP id d2e1a72fcca58-705d6ad136cmr18569479b3a.13.1718625950250; Mon, 17 Jun 2024 05:05:50 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-705cc925fe7sm7482348b3a.19.2024.06.17.05.05.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 05:05:49 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 16/22] iproute2: Fix build with GCC-14 Date: Mon, 17 Jun 2024 05:04:54 -0700 Message-Id: <06b5a2db1d079c86652534b6fc7e504f77604af4.1718625680.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 17 Jun 2024 12:05:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/200827 From: Khem Raj Signed-off-by: Khem Raj Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commit 127df0ac9b55fa2a7f3269934854f805843d01cc) Signed-off-by: Steve Sakoman --- meta/recipes-connectivity/iproute2/iproute2_6.7.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-connectivity/iproute2/iproute2_6.7.0.bb b/meta/recipes-connectivity/iproute2/iproute2_6.7.0.bb index 442c6bdd4f..fd05707cec 100644 --- a/meta/recipes-connectivity/iproute2/iproute2_6.7.0.bb +++ b/meta/recipes-connectivity/iproute2/iproute2_6.7.0.bb @@ -26,6 +26,8 @@ PACKAGECONFIG[selinux] = ",,libselinux" IPROUTE2_MAKE_SUBDIRS = "lib tc ip bridge misc genl ${@bb.utils.filter('PACKAGECONFIG', 'devlink tipc rdma', d)}" +# This is needed with GCC-14 and musl +CFLAGS += "-Wno-error=incompatible-pointer-types" # CFLAGS are computed in Makefile and reference CCOPTS # EXTRA_OEMAKE = "\ From patchwork Mon Jun 17 12:04:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 45258 X-Patchwork-Delegate: steve@sakoman.com 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1F578C2BA15 for ; Mon, 17 Jun 2024 12:05:55 +0000 (UTC) Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mx.groups.io with SMTP id smtpd.web11.54590.1718625952451273467 for ; Mon, 17 Jun 2024 05:05:52 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=aIl8Z7na; spf=softfail (domain: sakoman.com, ip: 209.85.210.178, mailfrom: steve@sakoman.com) Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-704189f1225so3786605b3a.0 for ; Mon, 17 Jun 2024 05:05:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1718625952; x=1719230752; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=GVlxdP51uqmt8V/hYcxzn9OiIxxFFIT1B0IhP+WFgYU=; b=aIl8Z7narCYYKP87R10v72JzJRNiCvJGwmBXWufEVsN8sSZnMcvjqf3yjWC0ivAQtN U5H/ydIbB4kAHelHfWA09Hdm/bGp0/9J8dQPesX1PPjK+TOZqYa3wKcKiEAMeM4xecp9 r+ZA6wfmonba8xqppyrTMUH0Dft0IUMf2iir/3veEmvoCx7AdmwQDTsLPjYkwM+945G9 s80Lj0OqPoe9kjPAq6+EjDHFI19qKlbvYu/mdbzpFyIRj+ucxxn/3jSG/J2P5yiaWDoJ X/0DCtcp4MxUGwldfgA9p0Yk+CWl8GinXR8h2mVdOftwLRrEmcByWdnSKRUhv19n92Yp YHdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718625952; x=1719230752; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GVlxdP51uqmt8V/hYcxzn9OiIxxFFIT1B0IhP+WFgYU=; b=IYH7oyYdt9HBJIXWVXDTl1ah4Ia6+QmeKkZ43uRLrG0EnhOjucfu2ElGVyG9Lx5R3w sIYmaPnss60DOb4rg6Doa5C5ueOxnYzF9mWRurRlYribjWCa6cpXLyJq4Te0ADciJpX4 AvaiqlnEvzWWvsaiUsBRLjHbUZHO1dVoaiZvwfQlaTZcVyWs5MB6gm8w6fTL8FhEo7gD wGNFNFeq5aItD5Hjd2NjLzSAoT/n9oyYGfu5MGh8j48xyJtbScCFn6sUPfwRfNHHz+3C yrLSNAq/X6KIQZTlJtDFuISWz7+WVoUFLEPrBvnjRUZ74vCfdDNX4L5dAvmyGlyvcZKj SfaA== X-Gm-Message-State: AOJu0Yx+xqdoavQBo79apDgogv3Jeu/bHBnr+3OdsK403aPjxHKhxRyl A6IVNo9S2NRZqxaHSuhhhGX2vWCwU9PAvgRfKEa5ksZwfg/Q8HD2Kad3GAg3CqSTeLuDoTqgra4 itJg= X-Google-Smtp-Source: AGHT+IGatIbwL8WgKxHATsZBqP0GlCN/6BkFQSaaRALZxjXJ0Bauxo+uSZKyLSUGo8zoj5rtnXCfUQ== X-Received: by 2002:a05:6a20:6a21:b0:1b6:d8bd:c42d with SMTP id adf61e73a8af0-1bae7d98214mr9694253637.4.1718625951595; Mon, 17 Jun 2024 05:05:51 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-705cc925fe7sm7482348b3a.19.2024.06.17.05.05.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 05:05:51 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 17/22] zip: Fix build with gcc-14 Date: Mon, 17 Jun 2024 05:04:55 -0700 Message-Id: <82d58f8bf63d6af80b5a4ad03d5121f1541ae15d.1718625680.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 17 Jun 2024 12:05:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/200828 From: Khem Raj zip's configure fails to link this piece of test code: int main() { return closedir(opendir(".")); } with GCC-14 because it now treats implicit declaration of function as error, unline older GCC version where it was just a warning and this test would build fine. Remove 0002-unix.c-Do-not-redefine-DIR-as-FILE.patch which is now unnecessary. Signed-off-by: Zoltán Böszörményi Signed-off-by: Khem Raj Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commit 3422411eb750c7e960b81676637cfb321dbadefb) Signed-off-by: Steve Sakoman --- ...e-dirent.h-for-closedir-opendir-APIs.patch | 45 +++++++++++++++++++ ...2-unix.c-Do-not-redefine-DIR-as-FILE.patch | 35 --------------- meta/recipes-extended/zip/zip_3.0.bb | 2 +- 3 files changed, 46 insertions(+), 36 deletions(-) create mode 100644 meta/recipes-extended/zip/zip-3.0/0001-configure-Include-dirent.h-for-closedir-opendir-APIs.patch delete mode 100644 meta/recipes-extended/zip/zip-3.0/0002-unix.c-Do-not-redefine-DIR-as-FILE.patch diff --git a/meta/recipes-extended/zip/zip-3.0/0001-configure-Include-dirent.h-for-closedir-opendir-APIs.patch b/meta/recipes-extended/zip/zip-3.0/0001-configure-Include-dirent.h-for-closedir-opendir-APIs.patch new file mode 100644 index 0000000000..0d3af37ded --- /dev/null +++ b/meta/recipes-extended/zip/zip-3.0/0001-configure-Include-dirent.h-for-closedir-opendir-APIs.patch @@ -0,0 +1,45 @@ +From 9db2f8cdbbc0dfb359d3b4e5dfe48c18652ce531 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 8 May 2024 19:02:46 -0700 +Subject: [PATCH] configure: Include dirent.h for closedir/opendir APIs +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +GCC-14 is strict about function prototypes and since the +testcase tries to compile/link opendir/closedir functions +without including signatures, it fails to build the test +due to missing signatures which come from dirent.h + +Therefore include the needed system header and make it more +robust. + +Fixes +a.c:2:21: error: implicit declaration of function ‘closedir’ [-Wimplicit-function-declaration] + 2 | int main() { return closedir(opendir(".")); } + | ^~~~~~~~ +a.c:2:30: error: implicit declaration of function ‘opendir’ [-Wimplicit-function-declaration] + 2 | int main() { return closedir(opendir(".")); } + | ^~~~~~~ + +Upstream-Status: Inactive-Upstream +Signed-off-by: Khem Raj +--- + unix/configure | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/unix/configure b/unix/configure +index f917086..1dd98c6 100644 +--- a/unix/configure ++++ b/unix/configure +@@ -591,6 +591,7 @@ $CC $CFLAGS -c conftest.c >/dev/null 2>/dev/null + + echo Check for directory libraries + cat > conftest.c << _EOF_ ++#include + int main() { return closedir(opendir(".")); } + _EOF_ + +-- +2.45.0 + diff --git a/meta/recipes-extended/zip/zip-3.0/0002-unix.c-Do-not-redefine-DIR-as-FILE.patch b/meta/recipes-extended/zip/zip-3.0/0002-unix.c-Do-not-redefine-DIR-as-FILE.patch deleted file mode 100644 index a86e03e620..0000000000 --- a/meta/recipes-extended/zip/zip-3.0/0002-unix.c-Do-not-redefine-DIR-as-FILE.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 76f5bf3546d826dcbc03acbefcf0b10b972bf136 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Wed, 10 Aug 2022 17:19:38 -0700 -Subject: [PATCH 2/2] unix.c: Do not redefine DIR as FILE - -DIR is already provided on Linux via -/usr/include/dirent.h system header - -Upstream-Status: Inactive-Upstream -Signed-off-by: Khem Raj ---- - unix/unix.c | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/unix/unix.c b/unix/unix.c -index ba87614..6e6f4d2 100644 ---- a/unix/unix.c -+++ b/unix/unix.c -@@ -61,13 +61,11 @@ local time_t label_utim = 0; - /* Local functions */ - local char *readd OF((DIR *)); - -- - #ifdef NO_DIR /* for AT&T 3B1 */ - #include - #ifndef dirent - # define dirent direct - #endif --typedef FILE DIR; - /* - ** Apparently originally by Rich Salz. - ** Cleaned up and modified by James W. Birdsall. --- -2.37.1 - diff --git a/meta/recipes-extended/zip/zip_3.0.bb b/meta/recipes-extended/zip/zip_3.0.bb index 70df5ab872..ec54206335 100644 --- a/meta/recipes-extended/zip/zip_3.0.bb +++ b/meta/recipes-extended/zip/zip_3.0.bb @@ -17,8 +17,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/infozip/Zip%203.x%20%28latest%29/3.0/zip30.tar. file://0002-configure-support-PIC-code-build.patch \ file://0001-configure-Use-CFLAGS-and-LDFLAGS-when-doing-link-tes.patch \ file://0001-configure-Specify-correct-function-signatures-and-de.patch \ - file://0002-unix.c-Do-not-redefine-DIR-as-FILE.patch \ file://0001-unix-configure-use-_Static_assert-to-do-correct-dete.patch \ + file://0001-configure-Include-dirent.h-for-closedir-opendir-APIs.patch \ " UPSTREAM_VERSION_UNKNOWN = "1" From patchwork Mon Jun 17 12:04:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 45254 X-Patchwork-Delegate: steve@sakoman.com 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0A38BC27C79 for ; Mon, 17 Jun 2024 12:05:55 +0000 (UTC) Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by mx.groups.io with SMTP id smtpd.web10.55033.1718625953861545829 for ; Mon, 17 Jun 2024 05:05:53 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=h/Q08obp; spf=softfail (domain: sakoman.com, ip: 209.85.210.175, mailfrom: steve@sakoman.com) Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-7046211e455so3059889b3a.3 for ; Mon, 17 Jun 2024 05:05:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1718625953; x=1719230753; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=sASjh3Soqh5J5COhjkUwXLHGiMvpqBDrZBz1W7eNH0Y=; b=h/Q08obpIuILUnyVvOiHiEYR7IDCZPDmS3UJ3uu1lTc4gxbEB3qWeiNIJQo129lwiK aRMX69/0glpmPg9jpFOYS4ZLsHvpvCOApUWB3zD5P/miQj2nQRAH9GqqxRZ50GRMeU2X oO5V5OfD1AT+rAkat+rzFPljGLR2SCrU6wq/gXfWz9P+n0X6zJl0IoFOgJyORVb0lSfj SULSSAr4xqDb61WzlMXd+pW8T8we9CRHszzqasmPOQUyPdyjaeQLhTDTIQvljbWZsiTq eu2+isvO+HotNzKRiHqwboKLkBEiBODRHZvcdhXNcLGfDE2pb8qgWK0/nMYrj60JGa23 B+VA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718625953; x=1719230753; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sASjh3Soqh5J5COhjkUwXLHGiMvpqBDrZBz1W7eNH0Y=; b=wVQEgMK8lKE6uumqjEaBSLKp6olOV34Z2LoP55KqWwBKyRbEFMXK5ZmBgQVdlD19Tj yMZYaYFE6wA057V/NANmEMb7scloVkerYHB8xTTBslkCofwmoyx4pqUgfOq3t3fbVow0 7ZvaGNlcdYf2fkmNE2AL4DSlEoewrNB+ABlp3b4v63oyLLsmZzAUdn/Adou0o1HkIqYP 34C3OQPLZx1qvrMqHOcxSrTnShdXZZEUh7ZkdQYf8KMQeknMiJsSIMIeIcbL2Tk+QJ2/ B1bRl9AY8vgYjseFhVcWA2MP544inC8W2kNfVlflaEEgw4R7eoTj0Mzi6j3zOgxsXWeT UVtA== X-Gm-Message-State: AOJu0Yw6YUhia4lR8GP9EgIkGb8dSB1qgCD3gVUyIUfGr3N8U8G2lJ7x qJ0mSnvCOa9nWZp8hwUdFY3Ikz52Eb9gVKrXUTGxZHaeQMsbUgvLuAx6Bsa661SqIVK1DaETcCO y17A= X-Google-Smtp-Source: AGHT+IH5no8pRPIPKXg5JpHsgcyYf8orjSu1vr/wmJBB/FniDvOJDpsAqB0hhKbxRVrKQSppYWTXjA== X-Received: by 2002:a05:6a20:748e:b0:1af:9ec6:afbd with SMTP id adf61e73a8af0-1bae7e3cbd6mr9800191637.11.1718625953168; Mon, 17 Jun 2024 05:05:53 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-705cc925fe7sm7482348b3a.19.2024.06.17.05.05.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 05:05:52 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 18/22] cdrtools-native: fix build with gcc-14 Date: Mon, 17 Jun 2024 05:04:56 -0700 Message-Id: <2297334257e102f33a6ef8c116896e159d35e1b6.1718625680.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 17 Jun 2024 12:05:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/200829 From: Martin Jansa Fixes: http://errors.yoctoproject.org/Errors/Details/770525/ | checking whether the C compiler (gcc -isystem/OE/build/oe-core/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01/recipe-sysroot-native/usr/include -O2 -pipe ) works... no | configure: error: installation or configuration problem: C compiler cannot create executables. | RULES/rules.cnf:70: incs/amd-ryzen-threadripper-3970x-32-core-processor-linux-cc/rules.cnf: No such file or directory | make: *** [RULES/rules.cnf:59: incs/amd-ryzen-threadripper-3970x-32-core-processor-linux-cc/rules.cnf] Error 1 | make: *** Waiting for unfinished jobs.... where config.log show it's caused by gcc-14: configure:1189: checking whether the C compiler (gcc -isystem/OE/build/oe-core/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01/recipe-sysroot-native/usr/include -O2 -pipe ) works configure:1211: gcc -o conftest -isystem/OE/build/oe-core/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01/recipe-sysroot-native/usr/include -O2 -pipe -D_GNU_SOURCE conftest.c 1>&5 configure:1208:1: error: return type defaults to 'int' [-Wimplicit-int] configure: failed program was: main(){return(0);} Signed-off-by: Martin Jansa Signed-off-by: Richard Purdie (cherry picked from commit 094273bd7d1768e14fbdcd2f239bee14c630a625) Signed-off-by: Steve Sakoman --- meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb b/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb index b9cb59032a..ca9fc5988a 100644 --- a/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb +++ b/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb @@ -20,13 +20,17 @@ SRC_URI = " \ SRC_URI[md5sum] = "7d45c5b7e1f78d85d1583b361aee6e8b" SRC_URI[sha256sum] = "ed282eb6276c4154ce6a0b5dee0bdb81940d0cbbfc7d03f769c4735ef5f5860f" -EXTRA_OEMAKE = "-e MAKEFLAGS=" +EXTRA_OEMAKE = "-e MAKEFLAGS= CPPOPTX='${CPPFLAGS}' COPTX='${CFLAGS}' C++OPTX='${CXXFLAGS}' LDOPTX='${LDFLAGS}' GMAKE_NOWARN='true'" # Stop failures when 'cc' can't be found export ac_cv_prog_CC = "${CC}" inherit native +# Use -std=gnu89 to build with gcc-14 (https://bugs.gentoo.org/903876) +# this needs to be after native inherit (which sets CFLAGS to BUILD_CFLAGS) +CFLAGS += "-std=gnu89" + do_configure() { # cdda2wav does not build with GCC 14 rm -f ${S}/TARGETS/55cdda2wav From patchwork Mon Jun 17 12:04:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 45261 X-Patchwork-Delegate: steve@sakoman.com 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50AD0C2BA15 for ; Mon, 17 Jun 2024 12:06:05 +0000 (UTC) Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mx.groups.io with SMTP id smtpd.web10.55034.1718625955461633589 for ; Mon, 17 Jun 2024 05:05:55 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=x7VoYW3S; spf=softfail (domain: sakoman.com, ip: 209.85.210.171, mailfrom: steve@sakoman.com) Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-704189f1225so3786638b3a.0 for ; Mon, 17 Jun 2024 05:05:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1718625955; x=1719230755; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=GUHKlR9OBAEZac3eEHxEkPPo6sg56cFOXjIWYs4lhNg=; b=x7VoYW3SPad5ZNXxey39gGJShONYy1o/0IHR7VwfARaJAWooCQREMkCDVq+Vzqyjl9 6W0FiXYr6A8zcQXJYiddoiuv3BFvDtxZS/K8vrHoZ4lZ18nFALyZwzloYMIY2pYWtqHK JXWv+iwGG73m8IZeWi7pAh0sR8PEgnWzMqUxD4pNU+FEdkT6lLwZAjdMBSHczHZXpDUl vViB7WcvKevrNfw+bE1dsN/9FU84P4DKKKs3Yd9dazY1+NCbXBwf/hogw8bokBL02dAI T+bktOqmA0bWk4ehFLsFCiQuoB+IqPe1yIaY4e8HT21kfBzNRicATRieS3NZHZq+LT60 U/WQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718625955; x=1719230755; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GUHKlR9OBAEZac3eEHxEkPPo6sg56cFOXjIWYs4lhNg=; b=B1Is33ULyhTbHaRGxxBrHp7jtJZ/viuBsXBwPEBam12tAwidtMtnTnBgIS4hUf73ta l6vZV+/0rTMW7NJ+VTOvvccaBI0AAzyovaac24uMCzsB8hi8PET6UE5spL6LgIx1oT1J 1a5TG9kUoF1FPOKWzVb4h9vQWe2cdbUnYofn3iDuM65Ohs+Yhdq+YPXJgxKGGGVA5ZFw RYsQQjEMgQHNNnK3kueO9v31ddWlc/3VTemShlCZ1wgBc/eEzTc3JOaIxbLyoEYv+6+c 3sG2EV9b3ajqRs9k2V4XrUxHan5aqQ2wMnbcQL8jZ5o2VDFngl6kRmF9XFMe0OBIyxdV TIVw== X-Gm-Message-State: AOJu0Yy3PbNPzCAOaHPGo97w4PTnPc2CIGVmzgVgzqqTNzjaJqyNED5z 0fMQPbDgxPau6fzmtQthOG5ejJYX9fL/Hq3vE25UjD3C5SRHToQ90VJU1vh4QTsXUONTvIm3n0t 42n0= X-Google-Smtp-Source: AGHT+IFpiJoCmmIKJvLc9Ne3AJ7dIb7Ex62up9jlpzQ7wnkr5fq0p5Q8XRYD5LWcgwMHHt1lfXsBEQ== X-Received: by 2002:a05:6a20:5601:b0:1af:fff9:30dd with SMTP id adf61e73a8af0-1bae7ed0428mr8141062637.35.1718625954650; Mon, 17 Jun 2024 05:05:54 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-705cc925fe7sm7482348b3a.19.2024.06.17.05.05.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 05:05:54 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 19/22] kexec-tools: Fix build with GCC-14 on musl Date: Mon, 17 Jun 2024 05:04:57 -0700 Message-Id: <30e226d48ae04e387d53fbde1b729569ae35bad5.1718625680.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 17 Jun 2024 12:06:05 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/200830 From: Khem Raj Signed-off-by: Khem Raj Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commit 704f51f72c301bd081a635dbe94e52aa97ffb827) Signed-off-by: Steve Sakoman --- ...linux-setup.c-Use-POSIX-basename-API.patch | 54 +++++++++++++++++++ .../kexec/kexec-tools_2.0.28.bb | 1 + 2 files changed, 55 insertions(+) create mode 100644 meta/recipes-kernel/kexec/kexec-tools/0001-x86-linux-setup.c-Use-POSIX-basename-API.patch diff --git a/meta/recipes-kernel/kexec/kexec-tools/0001-x86-linux-setup.c-Use-POSIX-basename-API.patch b/meta/recipes-kernel/kexec/kexec-tools/0001-x86-linux-setup.c-Use-POSIX-basename-API.patch new file mode 100644 index 0000000000..e223f45998 --- /dev/null +++ b/meta/recipes-kernel/kexec/kexec-tools/0001-x86-linux-setup.c-Use-POSIX-basename-API.patch @@ -0,0 +1,54 @@ +From 32c8ffa7ace6f1b7e63f9ddffab00b00c36a7b57 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 15 May 2024 21:18:08 -0700 +Subject: [PATCH] x86-linux-setup.c: Use POSIX basename API + +Musl C library only supports POSIX basename function. while glibc has +both GNU extention as well as POSIX basename implemented. Switch to +using posix version, so it can work across musl and glibc + +basename prototype has been removed from string.h from latest musl [1] +compilers e.g. clang-18/GCC-14 flags the absense of prototype as error. +therefore include libgen.h for providing it. + +[1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7 + +Upstream-Status: Submitted [https://lists.infradead.org/pipermail/kexec/2024-May/030034.html] +Signed-off-by: Khem Raj +--- + kexec/arch/i386/x86-linux-setup.c | 9 ++++++--- + 1 file changed, 6 insertions(+), 3 deletions(-) + +diff --git a/kexec/arch/i386/x86-linux-setup.c b/kexec/arch/i386/x86-linux-setup.c +index 9a281dc..73251b9 100644 +--- a/kexec/arch/i386/x86-linux-setup.c ++++ b/kexec/arch/i386/x86-linux-setup.c +@@ -14,6 +14,7 @@ + * + */ + #define _GNU_SOURCE ++#include + #include + #include + #include +@@ -329,12 +330,14 @@ static int add_edd_entry(struct x86_linux_param_header *real_mode, + memset(edd_info, 0, sizeof(struct edd_info)); + + /* extract the device number */ +- if (sscanf(basename(sysfs_name), "int13_dev%hhx", &devnum) != 1) { ++ char* sysfs_name_copy = strdup(sysfs_name); ++ if (sscanf(basename(sysfs_name_copy), "int13_dev%hhx", &devnum) != 1) { + fprintf(stderr, "Invalid format of int13_dev dir " +- "entry: %s\n", basename(sysfs_name)); ++ "entry: %s\n", basename(sysfs_name_copy)); ++ free(sysfs_name_copy); + return -1; + } +- ++ free(sysfs_name_copy); + /* if there's a MBR signature, then add it */ + if (file_scanf(sysfs_name, "mbr_signature", "0x%x", &mbr_sig) == 1) { + real_mode->edd_mbr_sig_buffer[*current_mbr] = mbr_sig; +-- +2.45.1 + diff --git a/meta/recipes-kernel/kexec/kexec-tools_2.0.28.bb b/meta/recipes-kernel/kexec/kexec-tools_2.0.28.bb index dec821ea88..f0a484f884 100644 --- a/meta/recipes-kernel/kexec/kexec-tools_2.0.28.bb +++ b/meta/recipes-kernel/kexec/kexec-tools_2.0.28.bb @@ -18,6 +18,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/kexec/kexec-tools-${PV}.tar.gz file://0005-Disable-PIE-during-link.patch \ file://0001-arm64-kexec-disabled-check-if-kaslr-seed-dtb-propert.patch \ file://Fix-building-on-x86_64-with-binutils-2.41.patch \ + file://0001-x86-linux-setup.c-Use-POSIX-basename-API.patch \ " SRC_URI[sha256sum] = "f33d2660b3e38d25a127e87097978e0f7a9a73ab5151a29eb80974d169ff6a29" From patchwork Mon Jun 17 12:04:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 45262 X-Patchwork-Delegate: steve@sakoman.com 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5099EC27C79 for ; Mon, 17 Jun 2024 12:06:05 +0000 (UTC) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mx.groups.io with SMTP id smtpd.web10.55035.1718625957044174298 for ; Mon, 17 Jun 2024 05:05:57 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=LMTZDzAZ; spf=softfail (domain: sakoman.com, ip: 209.85.210.173, mailfrom: steve@sakoman.com) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-703ed15b273so3245826b3a.1 for ; Mon, 17 Jun 2024 05:05:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1718625956; x=1719230756; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=rXhUlZpr5hTZNJDosNBnqHymqWy9UU7XoU/9r+Agub0=; b=LMTZDzAZdlzLgKXVkO3q7o52VeHkqPbNcblXb7fsTzAllCOL5QIbsB0yU92YeRYxPi bRKi/Mt+VWE9cWYqTblPC7Dzo4bbb8ca9WxPruVji3iIrDwwLDZDHD6PNIh5ASo4s0WW GIsfHxRTR+7/LJsWc2EM+HBCLKj4v5+zYDzaESEPspf8VLhEYq6Jh7AuPqAnLDlw3Nls ChBFjm3KEKAnzW45LFxR3k9vQFM0pItqxlGfQrX8jT3Sj5xgZ2XUeIKwdUSsI5jEFfLK 6zISem6Zrv3kRsQukNQOD0d+WpszTPJvZn5rbmqOxJu8fHBl7ulAv3SK2V0H9nA/4C1y hooQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718625956; x=1719230756; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rXhUlZpr5hTZNJDosNBnqHymqWy9UU7XoU/9r+Agub0=; b=Lxc0AqxbWoD+c5a5su2YrPV2PrlUuqF8QUIRuCumclD6MLLaqA8DgLZlhGtnFaqRPn vCoto9wbZQwy8fOeXEjfGN6yIkMYb2fM3j3bLY8DQZISyeABs8q59pu38f1TaEI5Rr60 Tu5hRXHLvq7+u9zZXN4bARBLeu1x/ekNsZsm+O9xu/rXazEIuDkiGtkmkuRs+kxQsVbu V+EG8LiLKrqv132Jj2zQ21hY0psg+Hf9fii14HxPDHA+ud50uB2DOjeS6rt7fWTTb9xY z6cMm4bkDdqy0lmLeP0wb8CKwg8tjymdtRu5MnIVY4l5VG/qm2KE2Keg7T/n0H2yqemA KwYQ== X-Gm-Message-State: AOJu0YwTbn4crqV2XkI+NBkHjuTrExwngrqwDt1yL+POQZeBm4oSnG+v tI3D7H9BbjMsYYKWfwyJE1MqEFJ3lonk3i4oxzl38Nk2xsSw0jui7F0JZAxJI6PfVIcTUpsu+M5 R9eg= X-Google-Smtp-Source: AGHT+IF9bXeGe20eXXREX5LE/G5sojZvD2KpbxdI0eiQgMFVKNa9kWV5e+cwrpIr+armDDEHXV21fw== X-Received: by 2002:aa7:919a:0:b0:705:9d5d:d819 with SMTP id d2e1a72fcca58-705d722bc38mr9108085b3a.32.1718625956256; Mon, 17 Jun 2024 05:05:56 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-705cc925fe7sm7482348b3a.19.2024.06.17.05.05.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 05:05:56 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 20/22] db: ignore implicit-int and implicit-function-declaration issues fatal with gcc-14 Date: Mon, 17 Jun 2024 05:04:58 -0700 Message-Id: <4d3ce333c10fadf746b6d8b55a88777c97e11ffa.1718625680.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 17 Jun 2024 12:06:05 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/200831 From: Martin Jansa * many configure tests (which might not fail before) are failing with gcc-14: # grep implicit build/config.log conftest.c:47:1: error: return type defaults to 'int' [-Wimplicit-int] conftest.c:47:1: error: return type defaults to 'int' [-Wimplicit-int] conftest.c:47:1: error: return type defaults to 'int' [-Wimplicit-int] conftest.c:47:1: error: return type defaults to 'int' [-Wimplicit-int] conftest.c:47:1: error: return type defaults to 'int' [-Wimplicit-int] conftest.c:47:1: error: return type defaults to 'int' [-Wimplicit-int] conftest.c:50:17: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] conftest.c:50:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] conftest.c:53:9: error: implicit declaration of function 'msem_init' [-Wimplicit-function-declaration] conftest.c:54:9: error: implicit declaration of function 'msem_lock' [-Wimplicit-function-declaration] conftest.c:55:9: error: implicit declaration of function 'msem_unlock' [-Wimplicit-function-declaration] conftest.c:56:9: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] conftest.c:56:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] conftest.c:50:9: error: implicit declaration of function '_spin_lock_try' [-Wimplicit-function-declaration] conftest.c:51:9: error: implicit declaration of function '_spin_unlock' [-Wimplicit-function-declaration] * I have noticed this on db-native build on host with gcc-14 where it caused fatal do_configure error: http://errors.yoctoproject.org/Errors/Details/784164/ checking for mutexes... UNIX/fcntl configure: error: Support for FCNTL mutexes was removed in BDB 4.8. the config.log confirms it's because implicit-int: configure:22798: checking for mutexes configure:22925: gcc -o conftest -isystem/OE/build/oe-core/tmp-glibc/work/x86_64-linux/db-native/5.3.28/recipe-sysroot-native/usr/include -O2 -pipe -isystem/OE/build/oe-core/tmp-glibc/work/x86_64-linux/db-native/5.3.28/recipe-sysroot-native/usr/include -D_GNU_SOURCE -D_REENTRANT -L/OE/build/oe-core/tmp-glibc/work/x86_64-linux/db-native/5.3.28/recipe-sysroot-native/usr/lib -L/OE/build/oe-core/tmp-glibc/work/x86_64-linux/db-native/5.3.28/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/OE/build/oe-core/tmp-glibc/work/x86_64-linux/db-native/5.3.28/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/OE/build/oe-core/tmp-glibc/work/x86_64-linux/db-native/5.3.28/recipe-sysroot-native/lib -Wl,-rpath,/OE/build/oe-core/tmp-glibc/work/x86_64-linux/db-native/5.3.28/recipe-sysroot-native/usr/lib -Wl,-rpath,/OE/build/oe-core/tmp-glibc/work/x86_64-linux/db-native/5.3.28/recipe-sysroot-native/lib -Wl,-O1 conftest.c -lpthread >&5 conftest.c:47:1: error: return type defaults to 'int' [-Wimplicit-int] 47 | main() { | ^~~~ configure:22925: $? = 1 configure: program exited with status 1 * comparing target db with and without this change shows following diff in log.do_configure: db $ diff 5.3.28*/temp/log.do_configure 268c268 < checking for mutexes... POSIX/pthreads/library --- > checking for mutexes... POSIX/pthreads/library/x86_64/gcc-assembly 271c271 < checking for atomic operations... no --- > checking for atomic operations... x86/gcc-assembly Signed-off-by: Martin Jansa Signed-off-by: Richard Purdie (cherry picked from commit 6108da955e7c553247ff5356cf1c990b3d334edf) Signed-off-by: Steve Sakoman --- meta/recipes-support/db/db_5.3.28.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-support/db/db_5.3.28.bb b/meta/recipes-support/db/db_5.3.28.bb index a99d5cea62..a7d061e0da 100644 --- a/meta/recipes-support/db/db_5.3.28.bb +++ b/meta/recipes-support/db/db_5.3.28.bb @@ -116,3 +116,7 @@ INSANE_SKIP:${PN} = "dev-so" INSANE_SKIP:${PN}-cxx = "dev-so" BBCLASSEXTEND = "native nativesdk" + +# many configure tests are failing with gcc-14 +CFLAGS += "-Wno-error=implicit-int -Wno-error=implicit-function-declaration" +BUILD_CFLAGS += "-Wno-error=implicit-int -Wno-error=implicit-function-declaration" From patchwork Mon Jun 17 12:04:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 45263 X-Patchwork-Delegate: steve@sakoman.com 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 794C9C41513 for ; Mon, 17 Jun 2024 12:06:35 +0000 (UTC) Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mx.groups.io with SMTP id smtpd.web11.54605.1718625992969632037 for ; Mon, 17 Jun 2024 05:06:33 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=icE9ZroH; spf=softfail (domain: sakoman.com, ip: 209.85.210.171, mailfrom: steve@sakoman.com) Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-705cffc5bcfso3749180b3a.3 for ; Mon, 17 Jun 2024 05:06:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1718625992; x=1719230792; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Snp5+Jv/HGvwtnhePHLj/VcKjF9ogerzr+v4toW65rc=; b=icE9ZroHz0YGosTz2xlQSC/8alIJkbs1mPPZ9vwDoTtqDUwb7W+fHdAbXWg3s+eu+M w7qyB13P8OdTUQTr8GwoNQsKVSz5LX/kjM0nZr0HPtPbgU3KyVmbZUn44ecSHp9yT8PO BEdm183snaqNVbjvCQH1htLtogIqxaY8debuv7bdhfDTb6P8SzDasUt3fYbqndVQxklI uqBik/jMMWKsChs+4hT9cmu2nbcMp3jWXtBGvGuW/HdLSc7qYk9KUZJqAMkXCe0EIYaD SnZh2NsunOZ4xC8Tzv5MYCoWPFZ7GPaMsYP11gwCPp65ZLFVviLMQxcGvnVmrLCvmZSI KjKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718625992; x=1719230792; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Snp5+Jv/HGvwtnhePHLj/VcKjF9ogerzr+v4toW65rc=; b=TH8OVyFkqV6wV3Xr743d03mNB2k+o+PeL6JFK39k/GvgqW8hh+bcQu6e2K8DjveWti o9feJ3Waih7q9rt/V/AJNArD7SGGA8RynSuqVHHUazWGX6O44gWl4///pdsObION6yYm Zgn+mWB80aVKzJx7O9NqCa9sIL89J1lVeL3yReXPEtXJyUW6URe9Y4K/cRaqAebB+4Ew SUM+fA+gcyK+sm39eZXLGBlCWw6ivYoMWQrhvRZat4Fji/kTcjJHq460+4GSgmZE2e9W 8Tmvn63f6//AsBccHCoMwJA2wbbsgTCVZQES5V5HYt/MwPHebwWpZTRIxhEBQMMLXg8R 2JAA== X-Gm-Message-State: AOJu0YzcScJ/ca2yWLxNyClSrPzNmTNyLH6cedjBafxMNjPE4cUaw6tq 8Zseanw3I6dcarJpWgaex3vUflUzVAwtRqx3a7yukC2plsI0hXRhbv98SCtg2oVl6Q8KYBZy5Mt q9ik= X-Google-Smtp-Source: AGHT+IEAhq5p7uXIlRTJcxCqjG+gpBulFmnX6glP9haZooDib/uJhTzlkVuDlZ3AjW+7lrg1YRHPlg== X-Received: by 2002:a05:6a20:6a21:b0:1b5:4c70:d682 with SMTP id adf61e73a8af0-1bae7d853a3mr13032464637.6.1718625992240; Mon, 17 Jun 2024 05:06:32 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-705cc925fe7sm7482348b3a.19.2024.06.17.05.06.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 05:06:32 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 21/22] expect-native: fix build with gcc-14 Date: Mon, 17 Jun 2024 05:04:59 -0700 Message-Id: <9104d68ce54c870b4c8f4fd1b8dd5e250ca48fb1.1718625680.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 17 Jun 2024 12:06:35 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/200832 From: Changqing Li * do_configure failed with gcc-14: error in build/config.log: conftest.c:56:3: error: return type defaults to 'int' [-Wimplicit-int] conftest.c:59:5: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] * this recipe set "BBCLASSEXTEND = "native nativesdk", causes "CFLAGS +=" setting not take effect, use append instead. snip of bitbake expect-native -e: set /layers/oe-core/meta/conf/documentation.conf:110 [doc] "Flags passed to the C compiler for the target system. This variable evaluates to the same as TARGET_CFLAGS." append /layers/oe-core/meta/recipes-devtools/expect/expect_5.45.4.bb:87 "-Wno-error=incompatible-pointer-types" set /layers/oe-core/meta/classes-recipe/native.bbclass:44 "${BUILD_CFLAGS}" override[pn-gtk4]::append[toolchain-clang] /layers/meta-clang/conf/nonclangable.conf:336 " -Wno-error=int-conversion" override[pn-pidgin-sipe]::append[toolchain-clang] /layers/meta-clang/conf/nonclangable.conf:340 " -Wno-error=cast-function-type-strict" pre-expansion value: "${BUILD_CFLAGS}" export CFLAGS="-isystem/build/tmp-glibc/work/x86_64-linux/expect-native/5.45.4/recipe-sysroot-native/usr/include -O2 -pipe" Signed-off-by: Changqing Li Signed-off-by: Steve Sakoman --- meta/recipes-devtools/expect/expect_5.45.4.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/expect/expect_5.45.4.bb b/meta/recipes-devtools/expect/expect_5.45.4.bb index 18904ebc10..5e7b352196 100644 --- a/meta/recipes-devtools/expect/expect_5.45.4.bb +++ b/meta/recipes-devtools/expect/expect_5.45.4.bb @@ -84,4 +84,7 @@ BBCLASSEXTEND = "native nativesdk" # http://errors.yoctoproject.org/Errors/Details/766950/ # expect5.45.4/exp_chan.c:62:5: error: initialization of 'struct Tcl_ChannelTypeVersion_ *' from incompatible pointer type 'int (*)(void *, int)' [-Wincompatible-pointer-types] -CFLAGS += "-Wno-error=incompatible-pointer-types" +CFLAGS:append = " -Wno-error=incompatible-pointer-types" + +# Fix expect-native configure tests are failing with gcc-14 +CFLAGS:append:class-native = " -Wno-error=implicit-int -Wno-error=implicit-function-declaration" From patchwork Mon Jun 17 12:05:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 45264 X-Patchwork-Delegate: steve@sakoman.com 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4AA96C27C79 for ; Mon, 17 Jun 2024 12:06:35 +0000 (UTC) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mx.groups.io with SMTP id smtpd.web11.54607.1718625994337564095 for ; Mon, 17 Jun 2024 05:06:34 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=uhsDuUdC; spf=softfail (domain: sakoman.com, ip: 209.85.210.173, mailfrom: steve@sakoman.com) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-705c739b878so3428719b3a.1 for ; Mon, 17 Jun 2024 05:06:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1718625994; x=1719230794; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=hjOKU/2ufrZjEEWSY3ztF62g3wX2XyN3DbEu/J+cLZo=; b=uhsDuUdCl7hViOx+Nwu8GgPdVjpJxBAaDXedliIdJNBg0vpV4H4Ikos209GVaA8uNh nhf/LB4dIhpMiJfvztHC4+IpH7+CxsW90qtWe34iJ7544yNcud5icxkNUNFKxfoOuzER 7ZUDPphEVB0o+tpFtUlXcYU1kyjkU+jPYwRDRUXcmyNxKZJMPuPLYv71sG9oouHjT/GC IosHNgslZv8C461FCMXVF6ZgV5gWpPecfGVNx8n0A3bMQHSprlt6ccl7otm9GynGrQY7 eKORPk3SJYld0651c4E1QHB5S/2qtrE5sRBxz9IBa5YuLvq/GF6rfJ+zccwwVS0bARuK Yjpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718625994; x=1719230794; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hjOKU/2ufrZjEEWSY3ztF62g3wX2XyN3DbEu/J+cLZo=; b=MMlkjFqZNySJdbJJaiq7YgIRFAfdGmRcPt+Ot+9MvmV80gisLlOaGwkLyo3/b/v/Me LbQRHS6oxr1BWkqc95QzeUhMrmTED3SQRjM7RC6pP9WqpzAVWuSovqnKhjmcu4uhjZJQ 8U16vDz6Rm0ULhPCqryGD70Vgq+hcZenXyLiB3ZNSOI267SAp0/VcOgZRVmJkoqh7OPw AYBtCXvpltmcuYwK0LUD1V5rnI8ifNKb9+MHF2D492DauPYR0oJXlHm+DB8e5vuLXec6 i2aAPZlA2axFcSyg0184WNYbwYFsRBp3+wnqeIbgStwEWu/9/J+jg38yHWkTEeRsX8ib YncA== X-Gm-Message-State: AOJu0YxWB4GaXu/VUz9km4/MhQjvSaUi9Pw1kXtt+sr9SVxmJEfr+9Z+ bmmILhEu4vdIzZ7bBx+t+KsavsVKKhNdDkhkNa4qVEs92BuSQPboGOqJbuhO3Zqx3PcnCMvQQ+z mjNY= X-Google-Smtp-Source: AGHT+IFfSU6bFFUzNf2lmtKC0JUAwb/mhSUbOkZn5U3g43mHFqVrxr+GUA5hwOoXEGD7DTs+QuUzBA== X-Received: by 2002:a05:6a20:9744:b0:1b6:dd1e:da51 with SMTP id adf61e73a8af0-1bae7f94344mr11904050637.21.1718625993617; Mon, 17 Jun 2024 05:06:33 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-705cc925fe7sm7482348b3a.19.2024.06.17.05.06.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 05:06:33 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 22/22] cups: Upgrade 2.4.7 -> 2.4.9 Date: Mon, 17 Jun 2024 05:05:00 -0700 Message-Id: <50563f0b77ca1239283604e82ada0db3dfda10d9.1718625680.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 17 Jun 2024 12:06:35 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/200833 From: Siddharth Doshi CVE's Fixed by upgrade: CVE-2024-35235 cups: Cupsd Listen arbitrary chmod 0140777 Other Changes between 2.4.7 -> 2.4.9 ==================================== https://github.com/OpenPrinting/cups/blob/2.4.x/CHANGES.md Signed-off-by: Siddharth Doshi Signed-off-by: Steve Sakoman --- meta/recipes-extended/cups/{cups_2.4.7.bb => cups_2.4.9.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-extended/cups/{cups_2.4.7.bb => cups_2.4.9.bb} (51%) diff --git a/meta/recipes-extended/cups/cups_2.4.7.bb b/meta/recipes-extended/cups/cups_2.4.9.bb similarity index 51% rename from meta/recipes-extended/cups/cups_2.4.7.bb rename to meta/recipes-extended/cups/cups_2.4.9.bb index f4b0282e4c..e0a3522004 100644 --- a/meta/recipes-extended/cups/cups_2.4.7.bb +++ b/meta/recipes-extended/cups/cups_2.4.9.bb @@ -2,4 +2,4 @@ require cups.inc LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" -SRC_URI[sha256sum] = "dd54228dd903526428ce7e37961afaed230ad310788141da75cebaa08362cf6c" +SRC_URI[sha256sum] = "38fbf4535a10554113e013d54fedda03ee88007ea6a9761d626a04e1e4489e8c"