Package Details: autenticacao-gov-pt-bin 3.13.0-4

Git Clone URL: https://aur.archlinux.org/autenticacao-gov-pt-bin.git (read-only, click to copy)
Package Base: autenticacao-gov-pt-bin
Description: Portuguese Citizen Card Application (Portugal eID) - version with pre compiled binaries by AMA
Upstream URL: http://www.cartaodecidadao.pt/
Keywords: autenticacao cartao cartaodecidadao cc cidadao de gov portugal pt
Licenses: GPL2, LGPL3, custom:EUPL
Conflicts: autenticacao-gov-pt, cartaodecidadao, cartaodecidadao-bin
Replaces: cartaodecidadao-bin
Submitter: a36233
Maintainer: a36233
Last Packager: a36233
Votes: 14
Popularity: 0.027859
First Submitted: 2020-04-09 14:42 (UTC)
Last Updated: 2025-02-08 11:21 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

Stunts commented on 2025-02-12 15:33 (UTC)

Thank you @a36233! Everything is now working as intended. Cheers!

a36233 commented on 2025-02-08 11:12 (UTC) (edited on 2025-02-08 11:22 (UTC) by a36233)

Hi @Stunts, just added the fixes for libxerces-c. I've created a legacy package to AUR with pinned version 3.2.

$ ldd /usr/bin/eidguiV2 | grep libxerces-c
    libxerces-c-3.2.so => /usr/lib/libxerces-c-3.2.so (0x000072eba0200000)
$ sudo pacman -Qo /usr/lib/libxerces-c-3.2.so 
/usr/lib/libxerces-c-3.2.so is owned by libxerces-c-3.2 3.2.5-1

Regarding libnsl.so here it's linked to version 3.

$ ldd /usr/bin/eidguiV2 | grep libns
    libnsl.so.3 => /usr/lib/libnsl.so.3 (0x000078b7e1d44000)
    libnss3.so => /usr/lib/libnss3.so (0x000078b7ddab9000)
    libnspr4.so => /usr/lib/libnspr4.so (0x000078b7dda7a000)
    libnssutil3.so => /usr/lib/libnssutil3.so (0x000078b7dd43c000)
$ sudo pacman -Qo /usr/lib/libnsl.so.3
/usr/lib/libnsl.so.3 is owned by libnsl 2.0.1-1

Regarding libicui18n.so

$ ldd /usr/bin/eidguiV2 | grep libicui18n
    libicui18n.so.75 => /usr/lib/libicui18n.so.75 (0x000071df38600000)
$ sudo pacman -Qo /usr/lib/libicui18n.so.75 
/usr/lib/libicui18n.so.75 is owned by icu 75.1-2

Anyhow, I've added explicit dependencies for those packages since they were missing.

Stunts commented on 2025-02-07 00:38 (UTC) (edited on 2025-02-07 00:41 (UTC) by Stunts)

Since updating my system yesterday (05-02-2025) I am unable to run autenticacao-gov-pt-bin.

First I got this error:

/usr/bin/eidguiV2: error while loading shared libraries: libxerces-c-3.2.so: cannot open shared object file: No such file or directory

This could be worked around by downgrading the xerces-c package to 3.2.3-2. I did this since only this package depends on it on my system.

But now I got another error:

/usr/bin/eidguiV2: error while loading shared libraries: libnsl.so.2: cannot open shared object file: No such file or directory

I did not dare downgrade this once, since many other packages depend on it. However, a dirty ln works around it:

sudo ln -s /usr/lib/libnsl.so.3 /usr/lib/libnsl.so.2

This results in another error:

/usr/bin/eidguiV2: error while loading shared libraries: libicui18n.so.68: cannot open shared object file: No such file or directory

At this point I just gave up and used the flatpak version.

Maybe these errors can be worked around with patchelf?

cvalente commented on 2024-12-14 20:25 (UTC) (edited on 2024-12-14 22:36 (UTC) by cvalente)

This simply doesn't work for me, like at all.

the xml problem should be simpler and cleaner to solve doing:

patchelf --replace-needed libxml-security-c.so.20 libxml-security-c.so.30 "$pkgdir  "/usr/lib/libpteidapplayer.so.*

on the package function.

Since the source package (autenticacao-gov-pt) now works fine for me I'm not going to dive into this, but:

  ln -sfn /usr/share/certs "${pkgdir}"/app/share/
  ln -sfn /usr/bin "${pkgdir}"/app/

Is a really bad idea, but from the comments you probably know that.

Anyway. Good luck.

Stunts commented on 2024-10-28 19:00 (UTC) (edited on 2024-10-28 19:00 (UTC) by Stunts)

It seems we have a problem with xml-security-c. After updating that package to 3.0.0-1 I now get an error when trying to launch autenticacao-gov-pt-bin:

/usr/bin/eidguiV2: error while loading shared libraries: libxml-security-c.so.20: cannot open shared object file: No such file or directory

Creating a symlink to the missing file seems to work around the problem, but is quite an hackish way to do things:

ln -s /usr/lib/libxml-security-c.so.30.0.0 /usr/lib/libxml-security-c.so.20

jpfonseca commented on 2024-07-29 10:00 (UTC)

@a36233 I also made the same mistake as @oUndercover regarding the package name. I tried to report the issue in the correct package comment section, but it doesn't seem to have it enabled. Concerning your fix, for people that might be interested in using the package as provided in git, your solution might be strange as you removed the /usr/bin/binary.

I do prefer the option of having the binaries in a folder associated with the project they are from, instead of just removing "extra files".

Have a great day everyone. No need to fight.

a36233 commented on 2024-07-28 22:38 (UTC) (edited on 2024-07-29 08:59 (UTC) by a36233)

@oUndercover Openpace != Openspace... OpenPACE implements Extended Access Control (EAC) version 2 as specified in BSI TR-03110 Extra binary file in openpace-git package was fixed, next time please report the issue at the right package, i.e. openpace-git also, you can mark the package as outdated.