Re: make check failed tests

2021-01-22 Thread Ángel
On 2021-01-22 at 17:59 +0100, Bernhard Reiter wrote:
> > From what I understand I didn´t get any problem with GnuPG
> > "configure",
> > you can check the attached text.
> 
> I'm at a loss here, too.
> Maybe the tests somehow get a different library?
> Does an 
>  ldd ./t-stringhelp
> (in the right directory)
> give you any ideas about which libgpg-error library it takes?
> 
> Best Regards,
> Bernhard

It is probably picking the system library, not the manually installed
libgpg-error (I assume a new one was installed as well?)

Try running
  LD_LIBRARY_PATH=$MYPREFIX/lib make check

where $MYPREFIX is the value of --prefix that you passed to ./configure
or /usr/local (the default) if not provided i.e.
  LD_LIBRARY_PATH=/usr/local/lib make check

Regards

Ángel

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: make check failed tests

2021-01-22 Thread Bernhard Reiter
Hi Mettodo,

Am Freitag 22 Januar 2021 16:26:24 schrieb mettodo via Gnupg-users:
> I thought I had installed libgpg-error-1.41 properly. I just tried to
> install it again and after "make install" I got the messages on the
> attached text . 

(looks like you've tried to reinstall it again, but without the necessary 
rights to be able to overwrite the previous version)

> From what I understand I didn´t get any problem with GnuPG "configure",
> you can check the attached text.

I'm at a loss here, too.
Maybe the tests somehow get a different library?
Does an 
 ldd ./t-stringhelp
(in the right directory)
give you any ideas about which libgpg-error library it takes?

Best Regards,
Bernhard


-- 
www.intevation.de/~bernhard   +49 541 33 508 3-3
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner


signature.asc
Description: This is a digitally signed message part.
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Re: make check failed tests

2021-01-22 Thread mettodo via Gnupg-users
Hi Bernhard,

I thought I had installed libgpg-error-1.41 properly. I just tried to
install it again and after "make install" I got the messages on the
attached text . 

From what I understand I didn´t get any problem with GnuPG "configure",
you can check the attached text.

Thanks!


Unai

On 22/01/2021 12:13, Bernhard Reiter wrote:
> Hi Mettodo,
>
> Am Freitag 22 Januar 2021 07:02:34 schrieb mettodo:
>> I do not exactly know what you ask for, let me know if this is not enough:
>> - Ubuntu 18.04.5 LTS
>> - gcc version 7.5.0
>> - Attached text with failed checks
> yes, this is a good start to get, so others are able to give you more 
> suggestions.
>
> As far as I can see, it is all the same error:
> symbol gpgrt_getcwd version GPG_ERROR_1.0 not defined in file 
> libgpg-error.so.0 with link time reference
>
> Looks like you may need a newer version of libgpg-error (as far as I can see 
> gpgrt_getcwd was introduced with 1.27 of libgpg-error).
> Did you build libgpg-error yourself? If so, what version?
>
> The "configure" script should have complained, was it saying okay?
>
> Best Regards,
> Bernhard
>
**libgpg-error-1.41 after make install**


Making install in m4
make[1]: Entering directory '/home/mettodo/Downloads/GNUpg/libgpg-error-1.41/m4'
make[2]: Entering directory '/home/mettodo/Downloads/GNUpg/libgpg-error-1.41/m4'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/mettodo/Downloads/GNUpg/libgpg-error-1.41/m4'
make[1]: Leaving directory '/home/mettodo/Downloads/GNUpg/libgpg-error-1.41/m4'
Making install in src
make[1]: Entering directory 
'/home/mettodo/Downloads/GNUpg/libgpg-error-1.41/src'
make  install-am
make[2]: Entering directory 
'/home/mettodo/Downloads/GNUpg/libgpg-error-1.41/src'
make[3]: Entering directory 
'/home/mettodo/Downloads/GNUpg/libgpg-error-1.41/src'
 /bin/mkdir -p '/usr/local/lib'
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   libgpg-error.la 
'/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libgpg-error.so.0.31.1 
/usr/local/lib/libgpg-error.so.0.31.1
/usr/bin/install: cannot remove '/usr/local/lib/libgpg-error.so.0.31.1': 
Permission denied
Makefile:797: recipe for target 'install-libLTLIBRARIES' failed
make[3]: *** [install-libLTLIBRARIES] Error 1
make[3]: Leaving directory '/home/mettodo/Downloads/GNUpg/libgpg-error-1.41/src'
Makefile:1471: recipe for target 'install-am' failed
make[2]: *** [install-am] Error 2
make[2]: Leaving directory '/home/mettodo/Downloads/GNUpg/libgpg-error-1.41/src'
Makefile:1465: recipe for target 'install' failed
make[1]: *** [install] Error 2
make[1]: Leaving directory '/home/mettodo/Downloads/GNUpg/libgpg-error-1.41/src'
Makefile:512: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1


**GnuPG 2.2.27. After running ./configure**

 GnuPG v2.2.27 has been configured as follows:

Revision:  0c103cde0  (3088)
Platform:  GNU/Linux (x86_64-pc-linux-gnu)

OpenPGP:   yes
S/MIME:yes
Agent: yes
Smartcard: yes (without internal CCID driver)
G13:   no
Dirmngr:   yes
Gpgtar:yes
WKS tools: yes

Protect tool:  (default)
LDAP wrapper:  (default)
Default agent: (default)
Default pinentry:  (default)
Default scdaemon:  (default)
Default dirmngr:   (default)

Dirmngr auto start:  yes
Readline support:no
LDAP support:no
TLS support: ntbtls
TOFU support:no
Tor support: yes



signature.asc
Description: OpenPGP digital signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Re: make check failed tests

2021-01-22 Thread mettodo via Gnupg-users
Hi Bernhard,

I do not exactly know what you ask for, let me know if this is not enough:

- Ubuntu 18.04.5 LTS

- gcc version 7.5.0

- Attached text with failed checks

Thanks!


On 21/01/2021 19:04, Bernhard Reiter wrote:
> Am Mittwoch 20 Januar 2021 09:41:10 schrieb mettodo via Gnupg-users:
>> 14 of 20 tests failed when doing "make check" for gnupg 2.2.27. What
>> should I do?
> Please give more details, like used system, compiler and
> what checks failed and how. If it is getting very technical,
> the gnupg-devel list would be another place to report.
>
> Thanks,
> Bernhard
>
Making check in m4
make[1]: Entering directory '/home/mettodo/Downloads/GNUpg/gnupg-2.2.27/m4'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/home/mettodo/Downloads/GNUpg/gnupg-2.2.27/m4'
Making check in common
make[1]: Entering directory '/home/mettodo/Downloads/GNUpg/gnupg-2.2.27/common'
make  check-am
make[2]: Entering directory '/home/mettodo/Downloads/GNUpg/gnupg-2.2.27/common'
make  check-TESTS
make[3]: Entering directory '/home/mettodo/Downloads/GNUpg/gnupg-2.2.27/common'
./t-stringhelp: relocation error: ./t-stringhelp: symbol gpgrt_getcwd version 
GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference
FAIL: t-stringhelp
PASS: t-timestuff
./t-convert: relocation error: ./t-convert: symbol gpgrt_getcwd version 
GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference
FAIL: t-convert
PASS: t-percent
./t-gettime: relocation error: ./t-gettime: symbol gpgrt_getcwd version 
GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference
FAIL: t-gettime
./t-sysutils: relocation error: ./t-sysutils: symbol gpgrt_getcwd version 
GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference
FAIL: t-sysutils
./t-sexputil: relocation error: ./t-sexputil: symbol gpgrt_getcwd version 
GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference
FAIL: t-sexputil
> Known envvars: GPG_TTY(ttyname) TERM(ttytype) DISPLAY(display)
> XAUTHORITY(xauthority) XMODIFIERS WAYLAND_DISPLAY GTK_IM_MODULE
> DBUS_SESSION_BUS_ADDRESS QT_IM_MODULE INSIDE_EMACS 
PINENTRY_USER_DATA(pinentry-user-data)
PASS: t-session-env
PASS: t-openpgp-oid
./t-ssh-utils: relocation error: ./t-ssh-utils: symbol gpgrt_getcwd version 
GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference
FAIL: t-ssh-utils
./t-mapstrings: relocation error: ./t-mapstrings: symbol gpgrt_getcwd version 
GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference
FAIL: t-mapstrings
PASS: t-zb32
./t-mbox-util: relocation error: ./t-mbox-util: symbol gpgrt_getcwd version 
GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference
FAIL: t-mbox-util
./t-iobuf: relocation error: ./t-iobuf: symbol gpgrt_getcwd version 
GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference
FAIL: t-iobuf
./t-strlist: relocation error: ./t-strlist: symbol gpgrt_getcwd version 
GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference
FAIL: t-strlist
./t-name-value: relocation error: ./t-name-value: symbol gpgrt_getcwd version 
GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference
FAIL: t-name-value
PASS: t-ccparray
./t-recsel: relocation error: ./t-recsel: symbol gpgrt_getcwd version 
GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference
FAIL: t-recsel
./t-exechelp: relocation error: ./t-exechelp: symbol gpgrt_getcwd version 
GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference
FAIL: t-exechelp
./t-exectool: relocation error: ./t-exectool: symbol gpgrt_getcwd version 
GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference
FAIL: t-exectool
===
14 of 20 tests failed
Please report to https://bugs.gnupg.org
===
Makefile:2829: recipe for target 'check-TESTS' failed
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory '/home/mettodo/Downloads/GNUpg/gnupg-2.2.27/common'
Makefile:2955: recipe for target 'check-am' failed
make[2]: *** [check-am] Error 2
make[2]: Leaving directory '/home/mettodo/Downloads/GNUpg/gnupg-2.2.27/common'
Makefile:2957: recipe for target 'check' failed
make[1]: *** [check] Error 2
make[1]: Leaving directory '/home/mettodo/Downloads/GNUpg/gnupg-2.2.27/common'
Makefile:619: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1



signature.asc
Description: OpenPGP digital signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Re: make check failed tests

2021-01-22 Thread Bernhard Reiter
Hi Mettodo,

Am Freitag 22 Januar 2021 07:02:34 schrieb mettodo:
> I do not exactly know what you ask for, let me know if this is not enough:
> - Ubuntu 18.04.5 LTS
> - gcc version 7.5.0
> - Attached text with failed checks

yes, this is a good start to get, so others are able to give you more 
suggestions.

As far as I can see, it is all the same error:
symbol gpgrt_getcwd version GPG_ERROR_1.0 not defined in file 
libgpg-error.so.0 with link time reference

Looks like you may need a newer version of libgpg-error (as far as I can see 
gpgrt_getcwd was introduced with 1.27 of libgpg-error).
Did you build libgpg-error yourself? If so, what version?

The "configure" script should have complained, was it saying okay?

Best Regards,
Bernhard

-- 
www.intevation.de/~bernhard   +49 541 33 508 3-3
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner


signature.asc
Description: This is a digitally signed message part.
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Re: make check failed tests

2021-01-21 Thread Bernhard Reiter
Am Mittwoch 20 Januar 2021 09:41:10 schrieb mettodo via Gnupg-users:
> 14 of 20 tests failed when doing "make check" for gnupg 2.2.27. What
> should I do?

Please give more details, like used system, compiler and
what checks failed and how. If it is getting very technical,
the gnupg-devel list would be another place to report.

Thanks,
Bernhard

-- 
www.intevation.de/~bernhard   +49 541 33 508 3-3
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner


signature.asc
Description: This is a digitally signed message part.
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Re: make check failed tests

2021-01-20 Thread Stefan Claas via Gnupg-users
On Wed, Jan 20, 2021 at 6:11 PM  wrote:
>
> On Wed, Jan 20, 2021, mettodo via Gnupg-users wrote:
>
> > 14 of 20 tests failed when doing "make check" for gnupg 2.2.27. What
> > should I do?
>
> Most certainly you should not tell anyone which OS or compiler
> or options you used.
> Neither should you include the actual test failures.

:-D :-D :-D ...

Regards
Stefan

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: make check failed tests

2021-01-20 Thread ca+gnupg-users
On Wed, Jan 20, 2021, mettodo via Gnupg-users wrote:

> 14 of 20 tests failed when doing "make check" for gnupg 2.2.27. What
> should I do?

Most certainly you should not tell anyone which OS or compiler
or options you used.
Neither should you include the actual test failures.


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


make check failed tests

2021-01-20 Thread mettodo via Gnupg-users
Hey,

14 of 20 tests failed when doing "make check" for gnupg 2.2.27. What
should I do?

thanks!


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users