mbox series

[styhead,0/3] Cherry pick commits from master to sync styhead's gnupg recipe.

Message ID 20250125154215.3316474-1-gudni.m.g@gmail.com
Headers show
Series Cherry pick commits from master to sync styhead's gnupg recipe. | expand

Message

Guðni Már Gilbert Jan. 25, 2025, 3:42 p.m. UTC
Guðni Már Gilbert (1):
  gnupg: remove obsolete patch

Wang Mingyu (1):
  gnupg: upgrade 2.5.1 -> 2.5.2

hongxu (1):
  gnupg: upgrade 2.5.0 -> 2.5.1

 ...erride-init-is-not-needed-with-gcc-9.patch |  2 +-
 ...-a-custom-value-for-the-location-of-.patch |  6 ++--
 .../0001-fix-compile-failure-with-musl.patch  | 36 -------------------
 ...use-pkgconfig-instead-of-npth-config.patch |  2 +-
 ...h-fix-find-version-for-beta-checking.patch |  2 +-
 .../gnupg/gnupg/relocate.patch                | 18 +++++-----
 .../gnupg/{gnupg_2.5.0.bb => gnupg_2.5.2.bb}  | 15 ++------
 7 files changed, 18 insertions(+), 63 deletions(-)
 delete mode 100644 meta/recipes-support/gnupg/gnupg/0001-fix-compile-failure-with-musl.patch
 rename meta/recipes-support/gnupg/{gnupg_2.5.0.bb => gnupg_2.5.2.bb} (85%)

Comments

Steve Sakoman Jan. 29, 2025, 2:38 p.m. UTC | #1
I'm getting a build failure with this series:

| configure:
| ***
| *** You need libgpg-error to build this program.
| **  This library is for example available at
| ***   https://gnupg.org/ftp/gcrypt/gpgrt
| *** (at least version 1.51 is required.)
| ***
| configure: error:
| ***
| *** Required libraries not found. Please consult the above messages
| *** and install them before running configure again.
| ***
| NOTE: The following config.log files may provide further information.
| NOTE: /home/steve/builds/poky-contrib-styhead/build/tmp/work/core2-64-poky-linux/gnupg/2.5.2/build/config.log
| ERROR: configure failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/steve/builds/poky-contrib-styhead/meta/recipes-support/gnupg/gnupg_2.5.2.bb:do_configure)
failed with exit code '1'

Steve

On Sat, Jan 25, 2025 at 7:42 AM Guðni Már Gilbert via
lists.openembedded.org <gudni.m.g=gmail.com@lists.openembedded.org>
wrote:
>
>
> Guðni Már Gilbert (1):
>   gnupg: remove obsolete patch
>
> Wang Mingyu (1):
>   gnupg: upgrade 2.5.1 -> 2.5.2
>
> hongxu (1):
>   gnupg: upgrade 2.5.0 -> 2.5.1
>
>  ...erride-init-is-not-needed-with-gcc-9.patch |  2 +-
>  ...-a-custom-value-for-the-location-of-.patch |  6 ++--
>  .../0001-fix-compile-failure-with-musl.patch  | 36 -------------------
>  ...use-pkgconfig-instead-of-npth-config.patch |  2 +-
>  ...h-fix-find-version-for-beta-checking.patch |  2 +-
>  .../gnupg/gnupg/relocate.patch                | 18 +++++-----
>  .../gnupg/{gnupg_2.5.0.bb => gnupg_2.5.2.bb}  | 15 ++------
>  7 files changed, 18 insertions(+), 63 deletions(-)
>  delete mode 100644 meta/recipes-support/gnupg/gnupg/0001-fix-compile-failure-with-musl.patch
>  rename meta/recipes-support/gnupg/{gnupg_2.5.0.bb => gnupg_2.5.2.bb} (85%)
>
> --
> 2.43.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#210265): https://lists.openembedded.org/g/openembedded-core/message/210265
> Mute This Topic: https://lists.openembedded.org/mt/110808443/3620601
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [steve@sakoman.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Guðni Már Gilbert Jan. 29, 2025, 6:11 p.m. UTC | #2
Looks like we need to cherry pick this also: https://git.openembedded.org/openembedded-core/commit/meta/recipes-support/libgpg-error/libgpg-error_1.51.bb?id=d6d4ddf023dcda0345e0ca646d6774c964c7917c

I’ll send a v2 once I have tested locally. Sorry for the trouble.
Alexander Kanavin Jan. 30, 2025, 9:37 a.m. UTC | #3
Sadly we made a mistake in updating gnupg recipe to 2.5.0 which is a
development release, and further 2.5.x releases do add new features.

Gnupg follows the odd-even scheme, as seen here:
https://www.gnupg.org/download/index.html

or here:
https://dev.gnupg.org/source/gnupg/branches/master/

Updating to point releases in stable 2.4.x or 2.2.x series would've
been fine, but this isn't.

Alex

On Wed, 29 Jan 2025 at 19:11, Guðni Már Gilbert via
lists.openembedded.org <gudni.m.g=gmail.com@lists.openembedded.org>
wrote:
>
> Looks like we need to cherry pick this also: https://git.openembedded.org/openembedded-core/commit/meta/recipes-support/libgpg-error/libgpg-error_1.51.bb?id=d6d4ddf023dcda0345e0ca646d6774c964c7917c
>
> I’ll send a v2 once I have tested locally. Sorry for the trouble.
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#210403): https://lists.openembedded.org/g/openembedded-core/message/210403
> Mute This Topic: https://lists.openembedded.org/mt/110808443/1686489
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Guðni Már Gilbert Jan. 30, 2025, 1:15 p.m. UTC | #4
Hi Alexander, thanks for this info, I didn't know this.

I will look into upgrading Scarthgap's 2.4.x then instead to latest patch release. :)