Re: NLS locale problem

Denis Corbin <[email protected]>
Newsgroups gmane.comp.sysutils.backup.dar.support
Organization http://dar.linux.free.fr/
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 23/08/2019 18:52, Denis Corbin wrote:
> On 22/08/2019 18:31, andycapo--- via Dar-support wrote:
>> Thank you Denis, so if I just execute dar without arguments,
>> except for the "-V" flag, it should execute correctly (I'm not
>> performing any operation, nor using the strong encription). But
>> instead of obtaining the usual output I get the messages I showed
>> previously:
> 
> 
>> a@cl ~ $ ./dar_static_2.6.5_x86_64_GNU_Linux -V Cannot set
>> locale category, native language support will not work FATAL
>> error, aborting operation GPGME engine not available: OpenPGP
> 
> effectively this is weird, let me check on a brand-new system
> without gpg, keep you informed

so I was wrong. At startup, libdar initializes all libraries as
required. For gpgme library, initialization consists of checking that
the version matches libdar requirement, and second that the gpgme
engine is available for use calling gpgme_engine_check_version()
routine which fails if gpg binary is not found.

removing this test leads to the behavior I expected: that
dar/dar_static can run normally even when gpg is not available. Though
the dar/dar_static behavior is weird when it comes to rely on gpgme
(asymmetrical ciphering): gpgme behaves as if the keyring was empty...
and you could spend a lot of time trying to figure out the cause of
this empty keyring if you were not aware it was due to a missing or
inaccessible gpg binary while running dar_static.

I've modified dar: upon gpgme initialization failure (if gpgme has
been activated at compilation time) dar asks the user whether to retry
libdar initialization without gpgme support.

I have also built dar_static without gpgme support to avoid this
warning when one does not need gpgpme.

you can find it as version 2.6.6.RC2 (release Candidate 2 for version
2.6.6) in the Interim_releases directory at
 ftp://ftp.dm3c.org/dar.linux.free.fr/Interim_releases/

this should match your need, tell me if not.

> 
> 
>> Best regards, Andy
> 
> [...]
> 

Best Regards,
Denis
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEOzEprx3d76WjfYGPCDGwvQPYsYIFAl1gSIgACgkQCDGwvQPY
sYK03g/9GsZ4cKyFt8w3UOnDiQ99cop18++ZNCKRKOv5zvE2UE7Hf+IigV1sUum4
5XBJRZZs9PYoKC3orqcjLF5Jax9WksbM1VNg/FlLrXbW4IKUevSAk4RA2xVYDL4r
0sKsVR+U92fbD2Zml6cMb9hYhYLRvni8sS9INmscSmP/x/ToDcHVbqkA6CUL6Gr+
m9khRvSc3ckgmNvsGYlf/OaW/wZp5THO4Bk0EuZpw0F+AXXGnlMgfrUbbBLIqks1
lPPpNEcEYlgEpKmKKiFMOdDTIsnL/iihujQMfv976iPwEzpsXqlD7+q6f8EpCv3S
xBS4/9BNYrbfyGb+Qx3zxFxhFk3rdx3AV/6J2zCgRWmjBVAtT74Ah08GpRHUAaF1
/C9hM7xBArD+Gy3a8pGXn3uGG5P5jPzGqldV4qN5gU5v6AC1UyBMw6F1LB778UaL
+z2ECw3YVzt597vbivzuyxCrR8v+BlGFtGXr4mJZFcVQGMjjAkTORxjj/1wufoH2
eaPGtj23dYaS4Rh3Lh49n8AfAtZmdCKpl3gsS/FLZlytemzykgN4z7h+qN9p8cw2
rWWsKjgCRnmz+sKZ8HCi34CS2nT8j880Wdc3SgDt7EcJHw8Ea0QUeW8NFRyHlsoq
3tdUipYPCNz4Yb1S3CElimZSE+vd6mWuNAEEXKolN3ni/yAXMs0=
=7N6I
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.