Re: lwt compile issue | may be related to the gpg issue both binary and from source

Thomas Leonard <[email protected]> Sat, 3 Dec 2016 14:35:19 +0000
Newsgroups gmane.comp.file-systems.zero-install.devel
Message-ID <CAG4opy_-o_7xZ6HfaFbzS1ReKm7SqD09e355K0vZKf5KnFy=xg@mail.gmail.com>
On 2 December 2016 at 02:39, ciryat <[email protected]> wrote:
> on this system
>
> ./0install -vvc selecthttp://repo.roscidus.com/utils/bash  2>&1 | curl -sF 'sprunge=<-' http://sprunge.us
>
> This stacktrace
> => http://sprunge.us/SGGi
>
> seems to point to lwt then.

I think something is broken in GnuPG. It's just started happening on
Debian/unstable too.

On Debian/jessie (GnuPG 2.1.7), I get:

$ curl http://0install.net/tests/newkey -o newkey
$ gpg --status-fd 1 --keyserver-options no-auto-key-retrieve --verify newkey
[...]
[GNUPG:] ERRSIG 9B1F5D7F9721DA90 17 2 01 1118513305 9

According to http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=blob_plain;f=doc/DETAILS:

*** ERRSIG  <keyid>  <pkalgo> <hashalgo> <sig_class> <time> <rc>
    It was not possible to check the signature.  This may be caused by
    a missing public key or an unsupported algorithm.  A RC of 4
    indicates unknown algorithm, a 9 indicates a missing public
    key.

So, the 9 at the end means the key was missing, which is 0install's
trigger to download it.

However, with GnuPG 2.1.16 I get:

[GNUPG:] ERRSIG 9B1F5D7F9721DA90 17 2 01 1118513305 33554441

> Which I had to get to work too by
>
> xbps-install -Syv base-devel glibc-devel libev-devel ncurses-devel
>
>
> where I am not sure if these packages were actually all required or if I
> forgot to list one because it was a
> bit chaotic as I also tried to get it to work within the ocaml / opam
> build directory of lwt:
>
> ocaml setup.ml --configure --disable-lev --disable-pthread
>
>
> I believe though that the crucial point may be ncurses-devel because
> there seems to be a strange depedency on it
> as was proposed in some hidden corner of the internet's wilderness!
>
> Thank you for your help so far.
> I will have to experiment a bit to get the binary version to work.


-- 
talex5 (GitHub/Twitter)        http://roscidus.com/blog/
GPG: 5DD5 8D70 899C 454A 966D  6A51 7513 3C8F 94F6 E0CC
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot