Skip to content

GnuPG: Update to v2.4.8 #6644

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jul 13, 2025
Merged

Conversation

mreid-tt
Copy link
Contributor

@mreid-tt mreid-tt commented Jul 12, 2025

Description

This PR includes the following:

  1. Update GnuPG to 2.4.8
  2. Update Libgpg-error to 1.55
  3. Update Libgcrypt to 1.11.1
  4. Update GnuTLS to 3.7.11
  5. Update Libassuan to 2.5.7
  6. Update Libksba to 1.6.7
  7. Update nPth to 1.8
  8. Update Pinentry to 1.3.1

Fixes #

Checklist

  • Build rule all-supported completed successfully
  • New installation of package completed successfully
  • Package upgrade completed successfully (Manually install the package again)
  • Package functionality was tested
  • Any needed documentation is updated/created

Type of change

  • Package update

@mreid-tt mreid-tt self-assigned this Jul 12, 2025
@mreid-tt mreid-tt force-pushed the gnupg-update branch 2 times, most recently from cdbb955 to e42fee6 Compare July 12, 2025 20:35
@hgy59
Copy link
Contributor

hgy59 commented Jul 13, 2025

@mreid-tt can you downgrade cross/assuan to a version <3.x (e.g. 2.5.7) ?

gpgme 1.17.1 (this is the latest version for DSM 6) depends on assuan 2.x
gpgme is dependency of dar and dar is part of synocli-disk.

This is the reason why synocli-disk failed to build.

@mreid-tt
Copy link
Contributor Author

@hgy59 Thanks for your input. My main approach was to update the package along with all direct dependencies. I did encounter an issue with npth, for which a patch was incorporated from here.

Install tests have been successful so far. Are there any other changes you'd recommend before proceeding with the merge?

@hgy59
Copy link
Contributor

hgy59 commented Jul 13, 2025

Are there any other changes you'd recommend before proceeding with the merge?

See #5150 for an example of creating a PGP key with gnupg. I suggest to validate this use case.

@mreid-tt
Copy link
Contributor Author

Install and update of the new version is successful on DSM 7:

Install Log
2025/07/13 16:35:25	install gnupg 2.4.8-7 Begin preinst
2025/07/13 16:35:25	Begin initialize_variables
2025/07/13 16:35:25	End initialize_variables
2025/07/13 16:35:25	===> Step preinst. STATUS=INSTALL USER=gnupg GROUP= SHARE_PATH=
2025/07/13 16:35:25	install gnupg 2.4.8-7 End preinst ret=[0]
2025/07/13 16:35:25	install gnupg 2.4.8-7 Begin /bin/mkdir -p /volume1/@appstore/gnupg -m 755
2025/07/13 16:35:25	install gnupg 2.4.8-7 End /bin/mkdir -p /volume1/@appstore/gnupg -m 755 ret=[0]
2025/07/13 16:35:25	install gnupg 2.4.8-7 Begin /bin/rm -rf /volume1/@appstore/gnupg
2025/07/13 16:35:25	install gnupg 2.4.8-7 End /bin/rm -rf /volume1/@appstore/gnupg ret=[0]
2025/07/13 16:35:25	install gnupg 2.4.8-7 Begin /bin/mv -f /volume1/@tmp/synopkg/install.GX8p1i/package /volume1/@appstore/gnupg
2025/07/13 16:35:25	install gnupg 2.4.8-7 End /bin/mv -f /volume1/@tmp/synopkg/install.GX8p1i/package /volume1/@appstore/gnupg ret=[0]
2025/07/13 16:35:25	install gnupg 2.4.8-7 Begin /bin/rm -rf /var/packages/gnupg
2025/07/13 16:35:25	install gnupg 2.4.8-7 End /bin/rm -rf /var/packages/gnupg ret=[0]
2025/07/13 16:35:25	install gnupg 2.4.8-7 Begin /bin/mkdir -p /var/packages/gnupg -m 755
2025/07/13 16:35:25	install gnupg 2.4.8-7 End /bin/mkdir -p /var/packages/gnupg -m 755 ret=[0]
2025/07/13 16:35:25	install gnupg 2.4.8-7 Begin /bin/touch /var/packages/gnupg/installing
2025/07/13 16:35:25	install gnupg 2.4.8-7 End /bin/touch /var/packages/gnupg/installing ret=[0]
2025/07/13 16:35:25	install gnupg 2.4.8-7 Begin /bin/mv -f /volume1/@tmp/synopkg/install.GX8p1i/INFO /var/packages/gnupg/INFO
2025/07/13 16:35:25	install gnupg 2.4.8-7 End /bin/mv -f /volume1/@tmp/synopkg/install.GX8p1i/INFO /var/packages/gnupg/INFO ret=[0]
2025/07/13 16:35:25	install gnupg 2.4.8-7 Begin /bin/rm -rf /var/packages/gnupg/scripts
2025/07/13 16:35:25	install gnupg 2.4.8-7 End /bin/rm -rf /var/packages/gnupg/scripts ret=[0]
2025/07/13 16:35:25	install gnupg 2.4.8-7 Begin /bin/mv -f /volume1/@tmp/synopkg/install.GX8p1i/scripts /var/packages/gnupg/scripts
2025/07/13 16:35:25	install gnupg 2.4.8-7 End /bin/mv -f /volume1/@tmp/synopkg/install.GX8p1i/scripts /var/packages/gnupg/scripts ret=[0]
2025/07/13 16:35:25	install gnupg 2.4.8-7 Begin /bin/rm -rf /var/packages/gnupg/WIZARD_UIFILES
2025/07/13 16:35:25	install gnupg 2.4.8-7 End /bin/rm -rf /var/packages/gnupg/WIZARD_UIFILES ret=[0]
2025/07/13 16:35:25	install gnupg 2.4.8-7 Begin /bin/mv -f /volume1/@tmp/synopkg/install.GX8p1i/WIZARD_UIFILES /var/packages/gnupg/WIZARD_UIFILES
2025/07/13 16:35:25	install gnupg 2.4.8-7 End /bin/mv -f /volume1/@tmp/synopkg/install.GX8p1i/WIZARD_UIFILES /var/packages/gnupg/WIZARD_UIFILES ret=[0]
2025/07/13 16:35:25	install gnupg 2.4.8-7 Begin /bin/rm -rf /var/packages/gnupg/conf
2025/07/13 16:35:25	install gnupg 2.4.8-7 End /bin/rm -rf /var/packages/gnupg/conf ret=[0]
2025/07/13 16:35:25	install gnupg 2.4.8-7 Begin /bin/mv -f /volume1/@tmp/synopkg/install.GX8p1i/conf /var/packages/gnupg/conf
2025/07/13 16:35:25	install gnupg 2.4.8-7 End /bin/mv -f /volume1/@tmp/synopkg/install.GX8p1i/conf /var/packages/gnupg/conf ret=[0]
2025/07/13 16:35:25	install gnupg 2.4.8-7 Begin postinst
2025/07/13 16:35:25	Begin initialize_variables
2025/07/13 16:35:25	End initialize_variables
2025/07/13 16:35:25	===> Step postinst. STATUS=INSTALL USER=gnupg GROUP= SHARE_PATH=
2025/07/13 16:35:25	Begin save_wizard_variables
2025/07/13 16:35:25	End save_wizard_variables
2025/07/13 16:35:25	Begin syno_sync_var_folder
2025/07/13 16:35:25	End syno_sync_var_folder
2025/07/13 16:35:25	install gnupg 2.4.8-7 End postinst ret=[0]
2025/07/13 16:35:25	install gnupg 2.4.8-7 Begin start-stop-status start
2025/07/13 16:35:25	install gnupg 2.4.8-7 End start-stop-status start ret=[0]
Upgrade Log
2025/07/13 16:45:44	upgrade gnupg 2.4.8-7 Begin start-stop-status stop
2025/07/13 16:45:44	upgrade gnupg 2.4.8-7 End start-stop-status stop ret=[0]
2025/07/13 16:45:44	upgrade gnupg 2.4.8-7 Begin preupgrade
2025/07/13 16:45:44	Begin initialize_variables
2025/07/13 16:45:44	End initialize_variables
2025/07/13 16:45:44	===> Step preupgrade. STATUS=UPGRADE USER=gnupg GROUP= SHARE_PATH=
2025/07/13 16:45:44	upgrade gnupg 2.4.8-7 End preupgrade ret=[0]
2025/07/13 16:45:44	upgrade gnupg 2.4.8-7 Begin preuninst
2025/07/13 16:45:44	Begin initialize_variables
2025/07/13 16:45:44	End initialize_variables
2025/07/13 16:45:44	===> Step preuninst. STATUS=UPGRADE USER=gnupg GROUP= SHARE_PATH=
2025/07/13 16:45:44	upgrade gnupg 2.4.8-7 End preuninst ret=[0]
2025/07/13 16:45:44	upgrade gnupg 2.4.8-7 Begin /bin/rm -rf /volume1/@appstore/gnupg
2025/07/13 16:45:44	upgrade gnupg 2.4.8-7 End /bin/rm -rf /volume1/@appstore/gnupg ret=[0]
2025/07/13 16:45:44	upgrade gnupg 2.4.8-7 Begin /bin/rm -rf /volume1/@apptemp/gnupg
2025/07/13 16:45:44	upgrade gnupg 2.4.8-7 End /bin/rm -rf /volume1/@apptemp/gnupg ret=[0]
2025/07/13 16:45:44	upgrade gnupg 2.4.8-7 Begin postuninst
2025/07/13 16:45:44	Begin initialize_variables
2025/07/13 16:45:44	End initialize_variables
2025/07/13 16:45:44	===> Step postuninst. STATUS=UPGRADE USER=gnupg GROUP= SHARE_PATH=
2025/07/13 16:45:44	upgrade gnupg 2.4.8-7 End postuninst ret=[0]
2025/07/13 16:45:44	upgrade gnupg 2.4.8-7 Begin preinst
2025/07/13 16:45:44	Begin initialize_variables
2025/07/13 16:45:44	End initialize_variables
2025/07/13 16:45:44	===> Step preinst. STATUS=UPGRADE USER=gnupg GROUP= SHARE_PATH=
2025/07/13 16:45:44	upgrade gnupg 2.4.8-7 End preinst ret=[0]
2025/07/13 16:45:44	upgrade gnupg 2.4.8-7 Begin /bin/mkdir -p /volume1/@appstore/gnupg -m 755
2025/07/13 16:45:44	upgrade gnupg 2.4.8-7 End /bin/mkdir -p /volume1/@appstore/gnupg -m 755 ret=[0]
2025/07/13 16:45:44	upgrade gnupg 2.4.8-7 Begin /bin/rm -rf /volume1/@appstore/gnupg
2025/07/13 16:45:44	upgrade gnupg 2.4.8-7 End /bin/rm -rf /volume1/@appstore/gnupg ret=[0]
2025/07/13 16:45:44	upgrade gnupg 2.4.8-7 Begin /bin/mv -f /volume1/@tmp/synopkg/install.BYkWqB/package /volume1/@appstore/gnupg
2025/07/13 16:45:44	upgrade gnupg 2.4.8-7 End /bin/mv -f /volume1/@tmp/synopkg/install.BYkWqB/package /volume1/@appstore/gnupg ret=[0]
2025/07/13 16:45:44	upgrade gnupg 2.4.8-7 Begin /bin/rm -rf /var/packages/gnupg
2025/07/13 16:45:44	upgrade gnupg 2.4.8-7 End /bin/rm -rf /var/packages/gnupg ret=[0]
2025/07/13 16:45:44	upgrade gnupg 2.4.8-7 Begin /bin/mkdir -p /var/packages/gnupg -m 755
2025/07/13 16:45:44	upgrade gnupg 2.4.8-7 End /bin/mkdir -p /var/packages/gnupg -m 755 ret=[0]
2025/07/13 16:45:44	upgrade gnupg 2.4.8-7 Begin /bin/touch /var/packages/gnupg/installing
2025/07/13 16:45:44	upgrade gnupg 2.4.8-7 End /bin/touch /var/packages/gnupg/installing ret=[0]
2025/07/13 16:45:44	upgrade gnupg 2.4.8-7 Begin /bin/mv -f /volume1/@tmp/synopkg/install.BYkWqB/INFO /var/packages/gnupg/INFO
2025/07/13 16:45:45	upgrade gnupg 2.4.8-7 End /bin/mv -f /volume1/@tmp/synopkg/install.BYkWqB/INFO /var/packages/gnupg/INFO ret=[0]
2025/07/13 16:45:45	upgrade gnupg 2.4.8-7 Begin /bin/rm -rf /var/packages/gnupg/scripts
2025/07/13 16:45:45	upgrade gnupg 2.4.8-7 End /bin/rm -rf /var/packages/gnupg/scripts ret=[0]
2025/07/13 16:45:45	upgrade gnupg 2.4.8-7 Begin /bin/mv -f /volume1/@tmp/synopkg/install.BYkWqB/scripts /var/packages/gnupg/scripts
2025/07/13 16:45:45	upgrade gnupg 2.4.8-7 End /bin/mv -f /volume1/@tmp/synopkg/install.BYkWqB/scripts /var/packages/gnupg/scripts ret=[0]
2025/07/13 16:45:45	upgrade gnupg 2.4.8-7 Begin /bin/rm -rf /var/packages/gnupg/WIZARD_UIFILES
2025/07/13 16:45:45	upgrade gnupg 2.4.8-7 End /bin/rm -rf /var/packages/gnupg/WIZARD_UIFILES ret=[0]
2025/07/13 16:45:45	upgrade gnupg 2.4.8-7 Begin /bin/mv -f /volume1/@tmp/synopkg/install.BYkWqB/WIZARD_UIFILES /var/packages/gnupg/WIZARD_UIFILES
2025/07/13 16:45:45	upgrade gnupg 2.4.8-7 End /bin/mv -f /volume1/@tmp/synopkg/install.BYkWqB/WIZARD_UIFILES /var/packages/gnupg/WIZARD_UIFILES ret=[0]
2025/07/13 16:45:45	upgrade gnupg 2.4.8-7 Begin /bin/rm -rf /var/packages/gnupg/conf
2025/07/13 16:45:45	upgrade gnupg 2.4.8-7 End /bin/rm -rf /var/packages/gnupg/conf ret=[0]
2025/07/13 16:45:45	upgrade gnupg 2.4.8-7 Begin /bin/mv -f /volume1/@tmp/synopkg/install.BYkWqB/conf /var/packages/gnupg/conf
2025/07/13 16:45:45	upgrade gnupg 2.4.8-7 End /bin/mv -f /volume1/@tmp/synopkg/install.BYkWqB/conf /var/packages/gnupg/conf ret=[0]
2025/07/13 16:45:45	upgrade gnupg 2.4.8-7 Begin postinst
2025/07/13 16:45:45	Begin initialize_variables
2025/07/13 16:45:45	End initialize_variables
2025/07/13 16:45:45	===> Step postinst. STATUS=UPGRADE USER=gnupg GROUP= SHARE_PATH=
2025/07/13 16:45:45	Begin save_wizard_variables
2025/07/13 16:45:45	End save_wizard_variables
2025/07/13 16:45:45	Begin syno_sync_var_folder
2025/07/13 16:45:45	End syno_sync_var_folder
2025/07/13 16:45:45	upgrade gnupg 2.4.8-7 End postinst ret=[0]
2025/07/13 16:45:45	upgrade gnupg 2.4.8-7 Begin postupgrade
2025/07/13 16:45:45	Begin initialize_variables
2025/07/13 16:45:45	End initialize_variables
2025/07/13 16:45:45	===> Step postupgrade. STATUS=UPGRADE USER=gnupg GROUP= SHARE_PATH=
2025/07/13 16:45:45	Begin syno_sync_var_folder
2025/07/13 16:45:45	End syno_sync_var_folder
2025/07/13 16:45:45	upgrade gnupg 2.4.8-7 End postupgrade ret=[0]
2025/07/13 16:45:45	upgrade gnupg 2.4.8-7 Begin start-stop-status start
2025/07/13 16:45:45	upgrade gnupg 2.4.8-7 End start-stop-status start ret=[0]
Other Checks
$ /usr/local/bin/gpg --version
gpg (GnuPG) 2.4.8
libgcrypt 1.11.1
Copyright (C) 2025 g10 Code GmbH
License GNU GPL-3.0-or-later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: /var/services/homes/mreid/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
$ /usr/local/bin/gpg --full-generate-key
gpg (GnuPG) 2.4.8; Copyright (C) 2025 g10 Code GmbH
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

gpg: directory '/var/services/homes/mreid/.gnupg' created
gpg: keybox '/var/services/homes/mreid/.gnupg/pubring.kbx' created
Please select what kind of key you want:
   (1) RSA and RSA
   (2) DSA and Elgamal
   (3) DSA (sign only)
   (4) RSA (sign only)
   (9) ECC (sign and encrypt) *default*
  (10) ECC (sign only)
  (14) Existing key from card
Your selection? 1
RSA keys may be between 1024 and 4096 bits long.
What keysize do you want? (3072) 4096
Requested keysize is 4096 bits       
Please specify how long the key should be valid.
         0 = key does not expire
      <n>  = key expires in n days
      <n>w = key expires in n weeks
      <n>m = key expires in n months
      <n>y = key expires in n years
Key is valid for? (0) 0
Key does not expire at all
Is this correct? (y/N) y
                        
GnuPG needs to construct a user ID to identify your key.

Real name: user
Email address: [email protected]
Comment:                     
You selected this USER-ID:
    "user <[email protected]>"

Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? O
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
gpg: /var/services/homes/mreid/.gnupg/trustdb.gpg: trustdb created
gpg: directory '/var/services/homes/mreid/.gnupg/openpgp-revocs.d' created
gpg: revocation certificate stored as '/var/services/homes/mreid/.gnupg/openpgp-revocs.d/EFC83A69049EB1380621D6207CBBA187650CB5BD.rev'
public and secret key created and signed.

pub   rsa4096 2025-07-13 [SC]
      EFC83A69049EB1380621D6207CBBA187650CB5BD
uid                      user <[email protected]>
sub   rsa4096 2025-07-13 [E]

@mreid-tt mreid-tt requested a review from hgy59 July 13, 2025 19:51
Copy link
Contributor

@hgy59 hgy59 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mreid-tt mreid-tt merged commit 07b0dbd into SynoCommunity:master Jul 13, 2025
12 of 15 checks passed
@mreid-tt mreid-tt deleted the gnupg-update branch July 13, 2025 21:19
@mreid-tt mreid-tt added the status/published Published and activated (may take up to 48h until visible in DSM package manager) label Jul 13, 2025
@mreid-tt
Copy link
Contributor Author

@hgy59, while publishing this, I noted the following error when trying to build for older ppc853x-5.2:

make[7]: Entering directory '/github/workspace/spk/gnupg/work-ppc853x-5.2/libgcrypt-1.11.1/mpi'
/bin/bash ../libtool  --tag=CC   --mode=compile /github/workspace/toolchain/syno-ppc853x-5.2/work/powerpc-none-linux-gnuspe/bin/powerpc-none-linux-gnuspe-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -I../src -I../src -I/github/workspace/toolchain/syno-ppc853x-5.2/work/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/include -mcpu=8548 -mhard-float -mfloat-gprs=double -I/github/workspace/spk/gnupg/work-ppc853x-5.2/install/var/packages/gnupg/target/include  -I/var/packages/gnupg/target/include -I/github/workspace/toolchain/syno-ppc853x-5.2/work/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/include -mcpu=8548 -mhard-float -mfloat-gprs=double -I/github/workspace/spk/gnupg/work-ppc853x-5.2/install/var/packages/gnupg/target/include -O3 -fvisibility=hidden -fno-delete-null-pointer-checks -Wall -MT mpi-add.lo -MD -MP -MF .deps/mpi-add.Tpo -c -o mpi-add.lo mpi-add.c
/bin/bash ../libtool  --tag=CC   --mode=compile /github/workspace/toolchain/syno-ppc853x-5.2/work/powerpc-none-linux-gnuspe/bin/powerpc-none-linux-gnuspe-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -I../src -I../src -I/github/workspace/toolchain/syno-ppc853x-5.2/work/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/include -mcpu=8548 -mhard-float -mfloat-gprs=double -I/github/workspace/spk/gnupg/work-ppc853x-5.2/install/var/packages/gnupg/target/include  -I/var/packages/gnupg/target/include -I/github/workspace/toolchain/syno-ppc853x-5.2/work/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/include -mcpu=8548 -mhard-float -mfloat-gprs=double -I/github/workspace/spk/gnupg/work-ppc853x-5.2/install/var/packages/gnupg/target/include -O3 -fvisibility=hidden -fno-delete-null-pointer-checks -Wall -MT mpi-bit.lo -MD -MP -MF .deps/mpi-bit.Tpo -c -o mpi-bit.lo mpi-bit.c
/bin/bash ../libtool  --tag=CC   --mode=compile /github/workspace/toolchain/syno-ppc853x-5.2/work/powerpc-none-linux-gnuspe/bin/powerpc-none-linux-gnuspe-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -I../src -I../src -I/github/workspace/toolchain/syno-ppc853x-5.2/work/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/include -mcpu=8548 -mhard-float -mfloat-gprs=double -I/github/workspace/spk/gnupg/work-ppc853x-5.2/install/var/packages/gnupg/target/include  -I/var/packages/gnupg/target/include -I/github/workspace/toolchain/syno-ppc853x-5.2/work/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/include -mcpu=8548 -mhard-float -mfloat-gprs=double -I/github/workspace/spk/gnupg/work-ppc853x-5.2/install/var/packages/gnupg/target/include -O3 -fvisibility=hidden -fno-delete-null-pointer-checks -Wall -MT mpi-cmp.lo -MD -MP -MF .deps/mpi-cmp.Tpo -c -o mpi-cmp.lo mpi-cmp.c
/bin/bash ../libtool  --tag=CC   --mode=compile /github/workspace/toolchain/syno-ppc853x-5.2/work/powerpc-none-linux-gnuspe/bin/powerpc-none-linux-gnuspe-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -I../src -I../src -I/github/workspace/toolchain/syno-ppc853x-5.2/work/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/include -mcpu=8548 -mhard-float -mfloat-gprs=double -I/github/workspace/spk/gnupg/work-ppc853x-5.2/install/var/packages/gnupg/target/include  -I/var/packages/gnupg/target/include -I/github/workspace/toolchain/syno-ppc853x-5.2/work/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/include -mcpu=8548 -mhard-float -mfloat-gprs=double -I/github/workspace/spk/gnupg/work-ppc853x-5.2/install/var/packages/gnupg/target/include -O3 -fvisibility=hidden -fno-delete-null-pointer-checks -Wall -MT mpi-div.lo -MD -MP -MF .deps/mpi-div.Tpo -c -o mpi-div.lo mpi-div.c
libtool: compile:  /github/workspace/toolchain/syno-ppc853x-5.2/work/powerpc-none-linux-gnuspe/bin/powerpc-none-linux-gnuspe-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/github/workspace/toolchain/syno-ppc853x-5.2/work/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/include -mcpu=8548 -mhard-float -mfloat-gprs=double -I/github/workspace/spk/gnupg/work-ppc853x-5.2/install/var/packages/gnupg/target/include -I/var/packages/gnupg/target/include -I/github/workspace/toolchain/syno-ppc853x-5.2/work/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/include -mcpu=8548 -mhard-float -mfloat-gprs=double -I/github/workspace/spk/gnupg/work-ppc853x-5.2/install/var/packages/gnupg/target/include -O3 -fvisibility=hidden -fno-delete-null-pointer-checks -Wall -MT mpi-add.lo -MD -MP -MF .deps/mpi-add.Tpo -c mpi-add.c  -fPIC -DPIC -o .libs/mpi-add.o
libtool: compile:  /github/workspace/toolchain/syno-ppc853x-5.2/work/powerpc-none-linux-gnuspe/bin/powerpc-none-linux-gnuspe-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/github/workspace/toolchain/syno-ppc853x-5.2/work/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/include -mcpu=8548 -mhard-float -mfloat-gprs=double -I/github/workspace/spk/gnupg/work-ppc853x-5.2/install/var/packages/gnupg/target/include -I/var/packages/gnupg/target/include -I/github/workspace/toolchain/syno-ppc853x-5.2/work/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/include -mcpu=8548 -mhard-float -mfloat-gprs=double -I/github/workspace/spk/gnupg/work-ppc853x-5.2/install/var/packages/gnupg/target/include -O3 -fvisibility=hidden -fno-delete-null-pointer-checks -Wall -MT mpi-bit.lo -MD -MP -MF .deps/mpi-bit.Tpo -c mpi-bit.c  -fPIC -DPIC -o .libs/mpi-bit.o
libtool: compile:  /github/workspace/toolchain/syno-ppc853x-5.2/work/powerpc-none-linux-gnuspe/bin/powerpc-none-linux-gnuspe-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/github/workspace/toolchain/syno-ppc853x-5.2/work/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/include -mcpu=8548 -mhard-float -mfloat-gprs=double -I/github/workspace/spk/gnupg/work-ppc853x-5.2/install/var/packages/gnupg/target/include -I/var/packages/gnupg/target/include -I/github/workspace/toolchain/syno-ppc853x-5.2/work/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/include -mcpu=8548 -mhard-float -mfloat-gprs=double -I/github/workspace/spk/gnupg/work-ppc853x-5.2/install/var/packages/gnupg/target/include -O3 -fvisibility=hidden -fno-delete-null-pointer-checks -Wall -MT mpi-cmp.lo -MD -MP -MF .deps/mpi-cmp.Tpo -c mpi-cmp.c  -fPIC -DPIC -o .libs/mpi-cmp.o
libtool: compile:  /github/workspace/toolchain/syno-ppc853x-5.2/work/powerpc-none-linux-gnuspe/bin/powerpc-none-linux-gnuspe-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/github/workspace/toolchain/syno-ppc853x-5.2/work/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/include -mcpu=8548 -mhard-float -mfloat-gprs=double -I/github/workspace/spk/gnupg/work-ppc853x-5.2/install/var/packages/gnupg/target/include -I/var/packages/gnupg/target/include -I/github/workspace/toolchain/syno-ppc853x-5.2/work/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/include -mcpu=8548 -mhard-float -mfloat-gprs=double -I/github/workspace/spk/gnupg/work-ppc853x-5.2/install/var/packages/gnupg/target/include -O3 -fvisibility=hidden -fno-delete-null-pointer-checks -Wall -MT mpi-div.lo -MD -MP -MF .deps/mpi-div.Tpo -c mpi-div.c  -fPIC -DPIC -o .libs/mpi-div.o
In file included from mpi-bit.c:25:
mpi-internal.h:72: error: redefinition of typedef 'mpi_ptr_t'In file included from mpi-add.c:31:
mpi-internal.h:72: error: redefinition of typedef 'mpi_ptr_t'
../src/mpi.h:83: error: previous declaration of 'mpi_ptr_t' was here
mpi-internal.h:73: error: redefinition of typedef 'mpi_size_t'
../src/mpi.h:84: error: previous declaration of 'mpi_size_t' was here

../src/mpi.h:83: error: previous declaration of 'mpi_ptr_t' was here
mpi-internal.h:73: error: redefinition of typedef 'mpi_size_t'
../src/mpi.h:84: error: previous declaration of 'mpi_size_t' was here
In file included from mpi-cmp.c:24:
mpi-internal.h:72: error: redefinition of typedef 'mpi_ptr_t'
../src/mpi.h:83: error: previous declaration of 'mpi_ptr_t' was here
mpi-internal.h:73: error: redefinition of typedef 'mpi_size_t'
../src/mpi.h:84: error: previous declaration of 'mpi_size_t' was here
make[7]: *** [Makefile:661: mpi-add.lo] Error 1
make[7]: *** Waiting for unfinished jobs....
make[7]: *** [Makefile:661: mpi-bit.lo] Error 1
make[7]: *** [Makefile:661: mpi-cmp.lo] Error 1
In file included from mpi-div.c:31:
mpi-internal.h:72: error: redefinition of typedef 'mpi_ptr_t'
../src/mpi.h:83: error: previous declaration of 'mpi_ptr_t' was here
mpi-internal.h:73: error: redefinition of typedef 'mpi_size_t'
../src/mpi.h:84: error: previous declaration of 'mpi_size_t' was here
make[7]: *** [Makefile:661: mpi-div.lo] Error 1
make[7]: Leaving directory '/github/workspace/spk/gnupg/work-ppc853x-5.2/libgcrypt-1.11.1/mpi'

@hgy59
Copy link
Contributor

hgy59 commented Jul 26, 2025

@hgy59, while publishing this, I noted the following error when trying to build for older ppc853x-5.2:

just created a fix in #6660

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/published Published and activated (may take up to 48h until visible in DSM package manager)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants