Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: wangmy@fujitsu.com
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH 13/33] librepo: upgrade 1.17.0 -> 1.17.1
Date: Thu, 11 Apr 2024 11:10:40 +0200	[thread overview]
Message-ID: <202404110910405650fc2b@mail.local> (raw)
In-Reply-To: <1712646620-16608-13-git-send-email-wangmy@fujitsu.com>

On 09/04/2024 15:10:00+0800, wangmy via lists.openembedded.org wrote:
> From: Wang Mingyu <wangmy@fujitsu.com>
> 
> 0001-gpg_gpgme.c-fix-build-errors-with-older-gcc.patch
> removed since it's included in 1.17.1
> 
> Changelog:
> =============
> -gpg_gpgme.c: fix build errors with older gcc
> -Fix some compiler warnings
> -Change header files to match a configured ABI regarding a zchunk support
> -Fix building zchunk code if zchunk is enabled
> 
> Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
> ---
>  ...me.c-fix-build-errors-with-older-gcc.patch | 36 -------------------
>  .../{librepo_1.17.0.bb => librepo_1.17.1.bb}  |  3 +-
>  2 files changed, 1 insertion(+), 38 deletions(-)
>  delete mode 100644 meta/recipes-devtools/librepo/librepo/0001-gpg_gpgme.c-fix-build-errors-with-older-gcc.patch
>  rename meta/recipes-devtools/librepo/{librepo_1.17.0.bb => librepo_1.17.1.bb} (88%)
> 
> diff --git a/meta/recipes-devtools/librepo/librepo/0001-gpg_gpgme.c-fix-build-errors-with-older-gcc.patch b/meta/recipes-devtools/librepo/librepo/0001-gpg_gpgme.c-fix-build-errors-with-older-gcc.patch
> deleted file mode 100644
> index 8727b181b3..0000000000
> --- a/meta/recipes-devtools/librepo/librepo/0001-gpg_gpgme.c-fix-build-errors-with-older-gcc.patch
> +++ /dev/null
> @@ -1,36 +0,0 @@
> -From b525cdec3051d1c6ff0c3cd38bf3070b18d6fb50 Mon Sep 17 00:00:00 2001
> -From: Alexander Kanavin <alex@linutronix.de>
> -Date: Wed, 6 Mar 2024 10:13:38 +0100
> -Subject: [PATCH] gpg_gpgme.c: fix build errors with older gcc
> -MIME-Version: 1.0
> -Content-Type: text/plain; charset=UTF-8
> -Content-Transfer-Encoding: 8bit
> -
> -When selinux is not enabled, older gcc versions error out this way:
> -
> -| /home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/hosttools/gcc -DG_LOG_DOMAIN=\"librepo\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -Dlibrepo_EXPORTS -I/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/git -I/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/libmount -I/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/blkid -I/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/glib-2.0 -I/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-19
>  38845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib/glib-2.0/include -I/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/libxml2 -isystem/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/recipe-sysroot-native/usr/include -O2 -pipe -std=c99 -Wall -fPIC -MD -MT librepo/CMakeFiles/librepo.dir/gpg_gpgme.c.o -MF librepo/CMakeFiles/librepo.dir/gpg_gpgme.c.o.d -o librepo/CMakeFiles/librepo.dir/gpg_gpgme.c.o -c /home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/git/librepo/gpg_gpgme.c

This line has been mangled so the patch doesn't apply

> -| /home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/git/librepo/gpg_gpgme.c: In function ‘lr_gpg_ensure_socket_dir_exists’:
> -| /home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/git/librepo/gpg_gpgme.c:135:1: error: label at end of compound statement
> -|   135 | exit:
> -|       | ^~~~
> -
> -Ensuring the exit: block is not empty fixes the issue.
> -
> -Upstream-Status: Submitted [https://github.com/rpm-software-management/librepo/pull/300]
> -Signed-off-by: Alexander Kanavin <alex@linutronix.de>
> ----
> - librepo/gpg_gpgme.c | 1 +
> - 1 file changed, 1 insertion(+)
> -
> -diff --git a/librepo/gpg_gpgme.c b/librepo/gpg_gpgme.c
> -index c4addb2..47c3153 100644
> ---- a/librepo/gpg_gpgme.c
> -+++ b/librepo/gpg_gpgme.c
> -@@ -144,6 +144,7 @@ exit:
> -     }
> -     freecon(old_default_context);
> - #endif
> -+    return;
> - }
> - 
> - static gpgme_ctx_t
> diff --git a/meta/recipes-devtools/librepo/librepo_1.17.0.bb b/meta/recipes-devtools/librepo/librepo_1.17.1.bb
> similarity index 88%
> rename from meta/recipes-devtools/librepo/librepo_1.17.0.bb
> rename to meta/recipes-devtools/librepo/librepo_1.17.1.bb
> index 810191459d..beb8baf8d6 100644
> --- a/meta/recipes-devtools/librepo/librepo_1.17.0.bb
> +++ b/meta/recipes-devtools/librepo/librepo_1.17.1.bb
> @@ -8,10 +8,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
>  SRC_URI = "git://github.com/rpm-software-management/librepo.git;branch=master;protocol=https \
>             file://0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch \
>             file://0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch \
> -           file://0001-gpg_gpgme.c-fix-build-errors-with-older-gcc.patch \
>             "
>  
> -SRCREV = "ae727d99086f70f39fba5695af5460e1da908c1b"
> +SRCREV = "4ff11d85cb06026943f297bc3e06f047dd73bf0b"
>  
>  S = "${WORKDIR}/git"
>  
> -- 
> 2.34.1
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#198032): https://lists.openembedded.org/g/openembedded-core/message/198032
> Mute This Topic: https://lists.openembedded.org/mt/105417639/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 


-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


  reply	other threads:[~2024-04-11  9:10 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-09  7:09 [OE-core] [PATCH 01/33] babeltrace2: upgrade 2.0.5 -> 2.0.6 wangmy
2024-04-09  7:09 ` [OE-core] [PATCH 02/33] bash-completion: upgrade 2.12.0 -> 2.13.0 wangmy
2024-04-09  7:09 ` [OE-core] [PATCH 03/33] btrfs-tools: upgrade 6.7.1 -> 6.8 wangmy
2024-04-09  7:09 ` [OE-core] [PATCH 04/33] coreutils: upgrade 9.4 -> 9.5 wangmy
2024-04-09  7:09 ` [OE-core] [PATCH 05/33] dnf: upgrade 4.19.0 -> 4.19.2 wangmy
2024-04-09  7:09 ` [OE-core] [PATCH 06/33] dropbear: upgrade 2022.83 -> 2024.84 wangmy
2024-04-09 21:36   ` Alexandre Belloni
2024-04-09  7:09 ` [OE-core] [PATCH 07/33] ell: upgrade 0.63 -> 0.64 wangmy
2024-04-09  7:09 ` [OE-core] [PATCH 08/33] enchant2: upgrade 2.6.8 -> 2.6.9 wangmy
2024-04-09  7:09 ` [OE-core] [PATCH 09/33] ffmpeg: upgrade 6.1.1 -> 7.0 wangmy
2024-04-10  0:46   ` Alexandre Belloni
2024-04-09  7:09 ` [OE-core] [PATCH 10/33] gnutls: upgrade 3.8.4 -> 3.8.5 wangmy
2024-04-10  0:45   ` Alexandre Belloni
2024-04-11 19:41     ` Simone Weiß
2024-04-12 14:39       ` Alexandre Belloni
2024-04-13 20:55         ` Simone Weiß
2024-04-14 18:07           ` Simone Weiß
2024-04-09  7:09 ` [OE-core] [PATCH 11/33] libdnf: upgrade 0.73.0 -> 0.73.1 wangmy
2024-04-09  7:09 ` [OE-core] [PATCH 12/33] libical: upgrade 3.0.17 -> 3.0.18 wangmy
2024-04-09  7:10 ` [OE-core] [PATCH 13/33] librepo: upgrade 1.17.0 -> 1.17.1 wangmy
2024-04-11  9:10   ` Alexandre Belloni [this message]
2024-04-12  0:52     ` Mingyu Wang (Fujitsu)
2024-04-12  6:46       ` Alexandre Belloni
2024-04-09  7:10 ` [OE-core] [PATCH 14/33] liburi-perl: upgrade 5.27 -> 5.28 wangmy
2024-04-09  7:10 ` [OE-core] [PATCH 15/33] libx11: upgrade 1.8.7 -> 1.8.9 wangmy
2024-04-09  7:10 ` [OE-core] [PATCH 16/33] libxmlb: upgrade 0.3.15 -> 0.3.17 wangmy
2024-04-09  7:10 ` [OE-core] [PATCH 17/33] libxmu: upgrade 1.1.4 -> 1.2.0 wangmy
2024-04-09  7:10 ` [OE-core] [PATCH 18/33] llvm: upgrade 18.1.2 -> 18.1.3 wangmy
2024-04-09  7:10 ` [OE-core] [PATCH 19/33] lttng-tools: upgrade 2.13.11 -> 2.13.13 wangmy
2024-04-09  7:10 ` [OE-core] [PATCH 20/33] man-db: upgrade 2.12.0 -> 2.12.1 wangmy
2024-04-09  7:10 ` [OE-core] [PATCH 21/33] mpg123: upgrade 1.32.5 -> 1.32.6 wangmy
2024-04-09  7:10 ` [OE-core] [PATCH 22/33] mtdev: upgrade 1.1.6 -> 1.1.7 wangmy
2024-04-09  7:10 ` [OE-core] [PATCH 23/33] pkgconf: upgrade 2.1.1 -> 2.2.0 wangmy
2024-04-09  7:10 ` [OE-core] [PATCH 24/33] python3-beartype: upgrade 0.17.2 -> 0.18.2 wangmy
2024-04-09  7:10 ` [OE-core] [PATCH 25/33] python3-build: upgrade 1.1.1 -> 1.2.1 wangmy
2024-04-09  7:10 ` [OE-core] [PATCH 26/33] python3-git: upgrade 3.1.42 -> 3.1.43 wangmy
2024-04-09  7:10 ` [OE-core] [PATCH 27/33] python3-pyasn1: upgrade 0.5.1 -> 0.6.0 wangmy
2024-04-09  7:10 ` [OE-core] [PATCH 28/33] python3-pycparser: upgrade 2.21 -> 2.22 wangmy
2024-04-09  9:29   ` Alexander Kanavin
2024-04-09 12:05     ` Trevor Gamblin
2024-04-09  7:10 ` [OE-core] [PATCH 29/33] python3-typing-extensions: upgrade 4.10.0 -> 4.11.0 wangmy
2024-04-09  7:10 ` [OE-core] [PATCH 30/33] rsync: upgrade 3.2.7 -> 3.3.0 wangmy
2024-04-09  7:10 ` [OE-core] [PATCH 31/33] ttyrun: upgrade 2.31.0 -> 2.32.0 wangmy
2024-04-09  7:10 ` [OE-core] [PATCH 32/33] u-boot: upgrade 2024.01 -> 2024.04 wangmy
2024-04-09  7:10 ` [OE-core] [PATCH 33/33] xorgproto: upgrade 2023.2 -> 2024.1 wangmy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202404110910405650fc2b@mail.local \
    --to=alexandre.belloni@bootlin.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=wangmy@fujitsu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox