Package Details: autenticacao-gov-pt 3.12.0-2

Git Clone URL: https://aur.archlinux.org/autenticacao-gov-pt.git (read-only, click to copy)
Package Base: autenticacao-gov-pt
Description: Portuguese Citizen Card Application (Portugal eID)
Upstream URL: http://www.cartaodecidadao.pt/
Keywords: autenticacao cartao cartaodecidadao cidadao de gov portugal pt
Licenses: GPL2, LGPL3, custom:EUPL
Conflicts: cartaodecidadao, cartaodecidadao-bin, classpath
Replaces: cartaodecidadao
Submitter: r3pek
Maintainer: a36233
Last Packager: a36233
Votes: 20
Popularity: 0.076857
First Submitted: 2015-10-18 15:16 (UTC)
Last Updated: 2024-03-11 23:06 (UTC)

Dependencies (24)

Required by (0)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 10 Next › Last »

agrr commented on 2022-12-23 16:03 (UTC) (edited on 2022-12-23 19:55 (UTC) by agrr)

Hello Arch users, upstream project developer here.

First, I'd like to inform you that there's a new release out on autenticacao.gov.pt: v3.9.0 with a Flatpak package option (it's labeled as Snap package, AMA's mistake there). It should work also on Arch, feedback is welcome of course on our Github. We were planning to only ship 3.9.0 as flatpak but unfortunately Fedora still needs a native package because of a patched pcsc-lite they have.

@a36233 You're free to still develop a native Arch package but of course you'll have to deal with the changing system libraries like we always did in the past. Case in point: in our Git master we still target openssl 1.1.1 and Arch already upgraded to openssl 3, hence those recent build errors.

One more detail: back in September we released a Ubuntu 22.04 package (v 3.8.1) with openssl 3 support but those changes didn't land in master yet as it was not a priority for us to merge it for all OSs in the 3.9 cycle.

Here's the branch used for that 3.8.1 version, with just 2 commits not in master: https://github.com/amagovpt/autenticacao.gov/commits/openssl-3

lothar_m commented on 2022-12-18 18:35 (UTC)

Got a similar error when building the package. It seems to be an issue with the ssl certificates perhaps? There was a recent report of some sort of fuck up with expired official SSL certificates not being renewed.

Over the years there have been so many issues with upstream, its unbelievable.

zbenta commented on 2022-11-25 10:22 (UTC)

I'm having issues while compiling autenticacao-gov-pt-3.8.1-2.

In file included from ess_lib.c:14:
ess_asn1.h:46:20: error: conflicting types for ‘ESS_ISSUER_SERIAL_dup’; have ‘ESS_ISSUER_SERIAL *(ESS_ISSUER_SERIAL *)’ {aka ‘struct ESS_issuer_serial *(struct ESS_issuer_serial *)’}
   46 | ESS_ISSUER_SERIAL *ESS_ISSUER_SERIAL_dup(ESS_ISSUER_SERIAL *a);
      |                    ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/objects.h:21,
                 from /usr/include/openssl/evp.h:43,
                 from /usr/include/openssl/x509.h:29,
                 from /usr/include/openssl/x509v3.h:25,
                 from ess_lib.c:11:
/usr/include/openssl/ess.h:96:1: note: previous declaration of ‘ESS_ISSUER_SERIAL_dup’ with type ‘ESS_ISSUER_SERIAL *(const ESS_ISSUER_SERIAL *)’ {aka ‘struct ESS_issuer_serial *(const struct ESS_issuer_serial *)’}
   96 | DECLARE_ASN1_DUP_FUNCTION(ESS_ISSUER_SERIAL)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
ess_asn1.h:53:14: error: conflicting types for ‘ESS_CERT_ID_dup’; have ‘ESS_CERT_ID *(ESS_CERT_ID *)’ {aka ‘struct ESS_cert_id *(struct ESS_cert_id *)’}
   53 | ESS_CERT_ID *ESS_CERT_ID_dup(ESS_CERT_ID *a);
      |              ^~~~~~~~~~~~~~~
In file included from ess_asn1.c:14:
ess_asn1.h:46:20: error: conflicting types for ‘ESS_ISSUER_SERIAL_dup’; have ‘ESS_ISSUER_SERIAL *(ESS_ISSUER_SERIAL *)’ {aka ‘struct ESS_issuer_serial *(struct ESS_issuer_serial *)’}
   46 | ESS_ISSUER_SERIAL *ESS_ISSUER_SERIAL_dup(ESS_ISSUER_SERIAL *a);
      |                    ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/asn1t.h:26,
                 from ess_asn1.c:11:
/usr/include/openssl/ess.h:96:1: note: previous declaration of ‘ESS_ISSUER_SERIAL_dup’ with type ‘ESS_ISSUER_SERIAL *(const ESS_ISSUER_SERIAL *)’ {aka ‘struct ESS_issuer_serial *(const struct ESS_issuer_serial *)’}
   96 | DECLARE_ASN1_DUP_FUNCTION(ESS_ISSUER_SERIAL)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
ess_asn1.h:53:14: error: conflicting types for ‘ESS_CERT_ID_dup’; have ‘ESS_CERT_ID *(ESS_CERT_ID *)’ {aka ‘struct ESS_cert_id *(struct ESS_cert_id *)’}
   53 | ESS_CERT_ID *ESS_CERT_ID_dup(ESS_CERT_ID *a);
      |              ^~~~~~~~~~~~~~~
/usr/include/openssl/ess.h:100:1: note: previous declaration of ‘ESS_CERT_ID_dup’ with type ‘ESS_CERT_ID *(const ESS_CERT_ID *)’ {aka ‘struct ESS_cert_id *(const struct ESS_cert_id *)’}
  100 | DECLARE_ASN1_DUP_FUNCTION(ESS_CERT_ID)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
ess_asn1.h:60:19: error: conflicting types for ‘ESS_SIGNING_CERT_dup’; have ‘ESS_SIGNING_CERT *(ESS_SIGNING_CERT *)’ {aka ‘struct ESS_signing_cert *(struct ESS_signing_cert *)’}
   60 | ESS_SIGNING_CERT *ESS_SIGNING_CERT_dup(ESS_SIGNING_CERT *a);
      |                   ^~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ess.h:103:1: note: previous declaration of ‘ESS_SIGNING_CERT_dup’ with type ‘ESS_SIGNING_CERT *(const ESS_SIGNING_CERT *)’ {aka ‘struct ESS_signing_cert *(const struct ESS_signing_cert *)’}
  103 | DECLARE_ASN1_DUP_FUNCTION(ESS_SIGNING_CERT)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
ess_asn1.h:70:17: error: conflicting types for ‘ESS_CERT_ID_V2_dup’; have ‘ESS_CERT_ID_V2 *(ESS_CERT_ID_V2 *)’ {aka ‘struct ESS_cert_id_v2_st *(struct ESS_cert_id_v2_st *)’}
   70 | ESS_CERT_ID_V2 *ESS_CERT_ID_V2_dup(ESS_CERT_ID_V2 *a);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/openssl/ess.h:100:1: note: previous declaration of ‘ESS_CERT_ID_dup’ with type ‘ESS_CERT_ID *(const ESS_CERT_ID *)’ {aka ‘struct ESS_cert_id *(const struct ESS_cert_id *)’}
  100 | DECLARE_ASN1_DUP_FUNCTION(ESS_CERT_ID)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ess.h:107:1: note: previous declaration of ‘ESS_CERT_ID_V2_dup’ with type ‘ESS_CERT_ID_V2 *(const ESS_CERT_ID_V2 *)’ {aka ‘struct ESS_cert_id_v2_st *(const struct ESS_cert_id_v2_st *)’}
  107 | DECLARE_ASN1_DUP_FUNCTION(ESS_CERT_ID_V2)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
ess_asn1.h:78:22: error: conflicting types for ‘ESS_SIGNING_CERT_V2_dup’; have ‘ESS_SIGNING_CERT_V2 *(ESS_SIGNING_CERT_V2 *)’ {aka ‘struct ESS_signing_cert_v2_st *(struct ESS_signing_cert_v2_st *)’}
   78 | ESS_SIGNING_CERT_V2 *ESS_SIGNING_CERT_V2_dup(ESS_SIGNING_CERT_V2 *a);
      |                      ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ess.h:110:1: note: previous declaration of ‘ESS_SIGNING_CERT_V2_dup’ with type ‘ESS_SIGNING_CERT_V2 *(const ESS_SIGNING_CERT_V2 *)’ {aka ‘struct ESS_signing_cert_v2_st *(const struct ESS_signing_cert_v2_st *)’}
  110 | DECLARE_ASN1_DUP_FUNCTION(ESS_SIGNING_CERT_V2)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
ess_asn1.c:39:28: error: static declaration of ‘ESS_SIGNING_CERT_it’ follows non-static declaration
   39 | } static_ASN1_SEQUENCE_END(ESS_SIGNING_CERT)
      |                            ^~~~~~~~~~~~~~~~
/usr/include/openssl/ess.h:102:1: note: previous declaration of ‘ESS_SIGNING_CERT_it’ with type ‘const ASN1_ITEM *(void)’ {aka ‘const struct ASN1_ITEM_st *(void)’}
  102 | DECLARE_ASN1_FUNCTIONS(ESS_SIGNING_CERT)
      | ^~~~~~~~~~~~~~~~~~~~~~
ess_asn1.c:56:28: error: static declaration of ‘ESS_SIGNING_CERT_V2_it’ follows non-static declaration
   56 | } static_ASN1_SEQUENCE_END(ESS_SIGNING_CERT_V2)
      |                            ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ess.h:109:1: note: previous declaration of ‘ESS_SIGNING_CERT_V2_it’ with type ‘const ASN1_ITEM *(void)’ {aka ‘const struct ASN1_ITEM_st *(void)’}
  109 | DECLARE_ASN1_FUNCTIONS(ESS_SIGNING_CERT_V2)
      | ^~~~~~~~~~~~~~~~~~~~~~
ess_asn1.h:60:19: error: conflicting types for ‘ESS_SIGNING_CERT_dup’; have ‘ESS_SIGNING_CERT *(ESS_SIGNING_CERT *)’ {aka ‘struct ESS_signing_cert *(struct ESS_signing_cert *)’}
   60 | ESS_SIGNING_CERT *ESS_SIGNING_CERT_dup(ESS_SIGNING_CERT *a);
      |                   ^~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ess.h:103:1: note: previous declaration of ‘ESS_SIGNING_CERT_dup’ with type ‘ESS_SIGNING_CERT *(const ESS_SIGNING_CERT *)’ {aka ‘struct ESS_signing_cert *(const struct ESS_signing_cert *)’}
  103 | DECLARE_ASN1_DUP_FUNCTION(ESS_SIGNING_CERT)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
ess_asn1.h:70:17: error: conflicting types for ‘ESS_CERT_ID_V2_dup’; have ‘ESS_CERT_ID_V2 *(ESS_CERT_ID_V2 *)’ {aka ‘struct ESS_cert_id_v2_st *(struct ESS_cert_id_v2_st *)’}
   70 | ESS_CERT_ID_V2 *ESS_CERT_ID_V2_dup(ESS_CERT_ID_V2 *a);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/openssl/ess.h:107:1: note: previous declaration of ‘ESS_CERT_ID_V2_dup’ with type ‘ESS_CERT_ID_V2 *(const ESS_CERT_ID_V2 *)’ {aka ‘struct ESS_cert_id_v2_st *(const struct ESS_cert_id_v2_st *)’}
  107 | DECLARE_ASN1_DUP_FUNCTION(ESS_CERT_ID_V2)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
ess_asn1.h:78:22: error: conflicting types for ‘ESS_SIGNING_CERT_V2_dup’; have ‘ESS_SIGNING_CERT_V2 *(ESS_SIGNING_CERT_V2 *)’ {aka ‘struct ESS_signing_cert_v2_st *(struct ESS_signing_cert_v2_st *)’}
   78 | ESS_SIGNING_CERT_V2 *ESS_SIGNING_CERT_V2_dup(ESS_SIGNING_CERT_V2 *a);




...



In file included from sign-pkcs7.cpp:39:
ess_asn1.h:46:20: error: conflicting declaration of C function ‘ESS_ISSUER_SERIAL* ESS_ISSUER_SERIAL_dup(ESS_ISSUER_SERIAL*)’
   46 | ESS_ISSUER_SERIAL *ESS_ISSUER_SERIAL_dup(ESS_ISSUER_SERIAL *a);
      |                    ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/objects.h:21,
                 from /usr/include/openssl/evp.h:43,
                 from /usr/include/openssl/x509.h:29,
                 from MiscUtil.h:41,
                 from sign-pkcs7.cpp:20:
/usr/include/openssl/ess.h:96:1: note: previous declaration ‘ESS_ISSUER_SERIAL* ESS_ISSUER_SERIAL_dup(const ESS_ISSUER_SERIAL*)’
   96 | DECLARE_ASN1_DUP_FUNCTION(ESS_ISSUER_SERIAL)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
ess_asn1.h:53:14: error: conflicting declaration of C function ‘ESS_CERT_ID* ESS_CERT_ID_dup(ESS_CERT_ID*)’
   53 | ESS_CERT_ID *ESS_CERT_ID_dup(ESS_CERT_ID *a);
      |              ^~~~~~~~~~~~~~~
/usr/include/openssl/ess.h:100:1: note: previous declaration ‘ESS_CERT_ID* ESS_CERT_ID_dup(const ESS_CERT_ID*)’
  100 | DECLARE_ASN1_DUP_FUNCTION(ESS_CERT_ID)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
ess_asn1.h:60:19: error: conflicting declaration of C function ‘ESS_SIGNING_CERT* ESS_SIGNING_CERT_dup(ESS_SIGNING_CERT*)’
   60 | ESS_SIGNING_CERT *ESS_SIGNING_CERT_dup(ESS_SIGNING_CERT *a);
      |                   ^~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ess.h:103:1: note: previous declaration ‘ESS_SIGNING_CERT* ESS_SIGNING_CERT_dup(const ESS_SIGNING_CERT*)’
  103 | DECLARE_ASN1_DUP_FUNCTION(ESS_SIGNING_CERT)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
ess_asn1.h:70:17: error: conflicting declaration of C function ‘ESS_CERT_ID_V2* ESS_CERT_ID_V2_dup(ESS_CERT_ID_V2*)’
   70 | ESS_CERT_ID_V2 *ESS_CERT_ID_V2_dup(ESS_CERT_ID_V2 *a);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/openssl/ess.h:107:1: note: previous declaration ‘ESS_CERT_ID_V2* ESS_CERT_ID_V2_dup(const ESS_CERT_ID_V2*)’
  107 | DECLARE_ASN1_DUP_FUNCTION(ESS_CERT_ID_V2)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
ess_asn1.h:78:22: error: conflicting declaration of C function ‘ESS_SIGNING_CERT_V2* ESS_SIGNING_CERT_V2_dup(ESS_SIGNING_CERT_V2*)’
   78 | ESS_SIGNING_CERT_V2 *ESS_SIGNING_CERT_V2_dup(ESS_SIGNING_CERT_V2 *a);

a36233 commented on 2022-08-13 10:57 (UTC) (edited on 2022-08-13 16:50 (UTC) by a36233)

It's an upstream bug, it needs to be reported upstream. In alternative install the prebuilt package: https://aur.archlinux.org/packages/autenticacao-gov-pt-bin

nfp0 commented on 2022-08-13 10:54 (UTC)

Same error here. Can't build 3.8.0-1

20hvoby5pb commented on 2022-08-13 01:52 (UTC)

Compiling version 3.8.0-1 fails with below error:

/usr/bin/ld: ../lib/libpteidapplayer.so: undefined reference to `eIDMW::CReader::GetAppletVersion[abi:cxx11]()'
/usr/bin/ld: ../lib/libCMDServices.so: undefined reference to `eIDMW::DlgCloseCMDMessage(unsigned long)'
/usr/bin/ld: ../lib/libpteidapplayer.so: undefined reference to `eIDMW::CReader::isPinVerified(eIDMW::tPin const&)'
/usr/bin/ld: ../lib/libCMDServices.so: undefined reference to `eIDMW::DlgCMDMessage(eIDMW::DlgCmdOperation, eIDMW::DlgCmdMsgType, bool, unsigned long*)'
/usr/bin/ld: ../lib/libCMDServices.so: undefined reference to `eIDMW::DlgAskInputCMD(eIDMW::DlgCmdOperation, bool, wchar_t*, unsigned long, wchar_t*, unsigned long, wchar_t const*, unsigned long, std::function<void ()>*)'
/usr/bin/ld: ../lib/libpteidlib.so: undefined reference to `eIDMW::DlgPickDevice(eIDMW::DlgDevice*)'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:431: eidguiV2] Error 1
make[1]: Leaving directory '/home/tcalico/.cache/yay/autenticacao-gov-pt/src/autenticacao.gov/pteid-mw-pt/_src/eidmw/eidguiV2'
make: *** [Makefile:487: sub-eidguiV2-make_first-ordered] Error 2

kevku commented on 2021-10-02 08:43 (UTC)

https://wiki.archlinux.org/title/Java

Packages that need any Java environment should declare dependency on java-runtime, java-runtime-headless or java-environment as usual

ruifm commented on 2021-09-30 14:08 (UTC)

@a36233

You were right, I had java-8-openjdk as default for some reason. Thanks for the help!

a36233 commented on 2021-09-30 08:24 (UTC)

@ruifm check your java installation you probably miss jdk{X}-openjdk packages I've updated makedepends and depends to be easier. Double check $ archlinux-java status and set a specific version if needed: $ sudo archlinux-java set java-17-openjdk