unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#25774: libmicrohttpd: fails to build (test-driver aborted)
@ 2017-02-17 15:48 Ivan Vilata i Balaguer
  2017-02-17 16:23 ` ng0
  2017-03-05 22:15 ` bug#25774: Resolved ng0
  0 siblings, 2 replies; 12+ messages in thread
From: Ivan Vilata i Balaguer @ 2017-02-17 15:48 UTC (permalink / raw)
  To: 25774

libmicrohttpd-0.9.52 fails to build because of a failing test:

```
$ guix package -i libmicrohttpd
...
make[4]: Entering directory '/tmp/guix-build-libmicrohttpd-0.9.52.drv-0/libmicrohttpd-0.9.52/src/microhttpd'
PASS: test_str_compare
PASS: test_str_to_value
PASS: test_shutdown_select
PASS: test_shutdown_poll
PASS: test_daemon
PASS: test_upgrade
../../test-driver: line 107:  7381 Aborted                 "$@" > $log_file 2>&1
FAIL: test_upgrade_ssl
PASS: test_postprocessor
PASS: test_postprocessor_large
PASS: test_postprocessor_amp
============================================================================
Testsuite summary for GNU Libmicrohttpd 0.9.52
============================================================================
# TOTAL: 10
# PASS:  9
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See src/microhttpd/test-suite.log
Please report to libmicrohttpd@gnu.org
============================================================================
make[4]: *** [Makefile:1289: test-suite.log] Error 1
make[4]: Leaving directory '/tmp/guix-build-libmicrohttpd-0.9.52.drv-0/libmicrohttpd-0.9.52/src/microhttpd'
make[3]: *** [Makefile:1397: check-TESTS] Error 2
make[3]: Leaving directory '/tmp/guix-build-libmicrohttpd-0.9.52.drv-0/libmicrohttpd-0.9.52/src/microhttpd'
make[2]: *** [Makefile:1531: check-am] Error 2
make[2]: Leaving directory '/tmp/guix-build-libmicrohttpd-0.9.52.drv-0/libmicrohttpd-0.9.52/src/microhttpd'
make[1]: *** [Makefile:429: check-recursive] Error 1
make[1]: Leaving directory '/tmp/guix-build-libmicrohttpd-0.9.52.drv-0/libmicrohttpd-0.9.52/src'
make: *** [Makefile:552: check-recursive] Error 1
phase `check' failed after 29.6 seconds
builder for `/gnu/store/42f3rhpv298bmi6ipd0la6nssx34hk6l-libmicrohttpd-0.9.52.drv' failed with exit code 1
guix package: error: build failed: build of `/gnu/store/42f3rhpv298bmi6ipd0la6nssx34hk6l-libmicrohttpd-0.9.52.drv' failed
```

This breaks transitively dependant packages as GNUnet.

Thank you!

-- 
Ivan Vilata i Balaguer -- https://elvil.net/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#25774: libmicrohttpd: fails to build (test-driver aborted)
  2017-02-17 15:48 bug#25774: libmicrohttpd: fails to build (test-driver aborted) Ivan Vilata i Balaguer
@ 2017-02-17 16:23 ` ng0
  2017-02-17 16:29   ` ng0
  2017-03-05 22:15 ` bug#25774: Resolved ng0
  1 sibling, 1 reply; 12+ messages in thread
From: ng0 @ 2017-02-17 16:23 UTC (permalink / raw)
  To: Ivan Vilata i Balaguer; +Cc: 25774

On 17-02-17 16:48:58, Ivan Vilata i Balaguer wrote:
> libmicrohttpd-0.9.52 fails to build because of a failing test:
> 
> ```
> $ guix package -i libmicrohttpd
> ...
> make[4]: Entering directory '/tmp/guix-build-libmicrohttpd-0.9.52.drv-0/libmicrohttpd-0.9.52/src/microhttpd'
> PASS: test_str_compare
> PASS: test_str_to_value
> PASS: test_shutdown_select
> PASS: test_shutdown_poll
> PASS: test_daemon
> PASS: test_upgrade
> ../../test-driver: line 107:  7381 Aborted                 "$@" > $log_file 2>&1
> FAIL: test_upgrade_ssl
> PASS: test_postprocessor
> PASS: test_postprocessor_large
> PASS: test_postprocessor_amp
> ============================================================================
> Testsuite summary for GNU Libmicrohttpd 0.9.52
> ============================================================================
> # TOTAL: 10
> # PASS:  9
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  1
> # XPASS: 0
> # ERROR: 0
> ============================================================================
> See src/microhttpd/test-suite.log
> Please report to libmicrohttpd@gnu.org
> ============================================================================
> make[4]: *** [Makefile:1289: test-suite.log] Error 1
> make[4]: Leaving directory '/tmp/guix-build-libmicrohttpd-0.9.52.drv-0/libmicrohttpd-0.9.52/src/microhttpd'
> make[3]: *** [Makefile:1397: check-TESTS] Error 2
> make[3]: Leaving directory '/tmp/guix-build-libmicrohttpd-0.9.52.drv-0/libmicrohttpd-0.9.52/src/microhttpd'
> make[2]: *** [Makefile:1531: check-am] Error 2
> make[2]: Leaving directory '/tmp/guix-build-libmicrohttpd-0.9.52.drv-0/libmicrohttpd-0.9.52/src/microhttpd'
> make[1]: *** [Makefile:429: check-recursive] Error 1
> make[1]: Leaving directory '/tmp/guix-build-libmicrohttpd-0.9.52.drv-0/libmicrohttpd-0.9.52/src'
> make: *** [Makefile:552: check-recursive] Error 1
> phase `check' failed after 29.6 seconds
> builder for `/gnu/store/42f3rhpv298bmi6ipd0la6nssx34hk6l-libmicrohttpd-0.9.52.drv' failed with exit code 1
> guix package: error: build failed: build of `/gnu/store/42f3rhpv298bmi6ipd0la6nssx34hk6l-libmicrohttpd-0.9.52.drv' failed
> ```
> 
> This breaks transitively dependant packages as GNUnet.
> 
> Thank you!
> 
> -- 
> Ivan Vilata i Balaguer -- https://elvil.net/
> 
> 
> 

Thanks for reporting this. Which architecture is this on?

I'm unable to reproduce this.
-- 
ng0 -- https://www.inventati.org/patternsinthechaos/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#25774: libmicrohttpd: fails to build (test-driver aborted)
  2017-02-17 16:23 ` ng0
@ 2017-02-17 16:29   ` ng0
  2017-02-17 17:10     ` Ivan Vilata i Balaguer
  0 siblings, 1 reply; 12+ messages in thread
From: ng0 @ 2017-02-17 16:29 UTC (permalink / raw)
  To: Ivan Vilata i Balaguer, 25774

On 17-02-17 16:23:46, ng0 wrote:
> On 17-02-17 16:48:58, Ivan Vilata i Balaguer wrote:
> > libmicrohttpd-0.9.52 fails to build because of a failing test:
> > 
> > ```
> > $ guix package -i libmicrohttpd
> > ...
> > make[4]: Entering directory '/tmp/guix-build-libmicrohttpd-0.9.52.drv-0/libmicrohttpd-0.9.52/src/microhttpd'
> > PASS: test_str_compare
> > PASS: test_str_to_value
> > PASS: test_shutdown_select
> > PASS: test_shutdown_poll
> > PASS: test_daemon
> > PASS: test_upgrade
> > ../../test-driver: line 107:  7381 Aborted                 "$@" > $log_file 2>&1
> > FAIL: test_upgrade_ssl
> > PASS: test_postprocessor
> > PASS: test_postprocessor_large
> > PASS: test_postprocessor_amp
> > ============================================================================
> > Testsuite summary for GNU Libmicrohttpd 0.9.52
> > ============================================================================
> > # TOTAL: 10
> > # PASS:  9
> > # SKIP:  0
> > # XFAIL: 0
> > # FAIL:  1
> > # XPASS: 0
> > # ERROR: 0
> > ============================================================================
> > See src/microhttpd/test-suite.log
> > Please report to libmicrohttpd@gnu.org

Can you repeat the build with
'guix build --keep-failed --install libmicrohttpd' and append the
'src/microhttpd/test-suite.log' file?

This can be useful.

> > ============================================================================
> > make[4]: *** [Makefile:1289: test-suite.log] Error 1
> > make[4]: Leaving directory '/tmp/guix-build-libmicrohttpd-0.9.52.drv-0/libmicrohttpd-0.9.52/src/microhttpd'
> > make[3]: *** [Makefile:1397: check-TESTS] Error 2
> > make[3]: Leaving directory '/tmp/guix-build-libmicrohttpd-0.9.52.drv-0/libmicrohttpd-0.9.52/src/microhttpd'
> > make[2]: *** [Makefile:1531: check-am] Error 2
> > make[2]: Leaving directory '/tmp/guix-build-libmicrohttpd-0.9.52.drv-0/libmicrohttpd-0.9.52/src/microhttpd'
> > make[1]: *** [Makefile:429: check-recursive] Error 1
> > make[1]: Leaving directory '/tmp/guix-build-libmicrohttpd-0.9.52.drv-0/libmicrohttpd-0.9.52/src'
> > make: *** [Makefile:552: check-recursive] Error 1
> > phase `check' failed after 29.6 seconds
> > builder for `/gnu/store/42f3rhpv298bmi6ipd0la6nssx34hk6l-libmicrohttpd-0.9.52.drv' failed with exit code 1
> > guix package: error: build failed: build of `/gnu/store/42f3rhpv298bmi6ipd0la6nssx34hk6l-libmicrohttpd-0.9.52.drv' failed
> > ```
> > 
> > This breaks transitively dependant packages as GNUnet.
> > 
> > Thank you!
> > 
> > -- 
> > Ivan Vilata i Balaguer -- https://elvil.net/
> > 
> > 
> > 
> 
> Thanks for reporting this. Which architecture is this on?
> 
> I'm unable to reproduce this.
> -- 
> ng0 -- https://www.inventati.org/patternsinthechaos/
> 
> 
> 

-- 
ng0 -- https://www.inventati.org/patternsinthechaos/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#25774: libmicrohttpd: fails to build (test-driver aborted)
  2017-02-17 16:29   ` ng0
@ 2017-02-17 17:10     ` Ivan Vilata i Balaguer
  2017-02-17 17:23       ` ng0
  2017-02-17 20:53       ` Leo Famulari
  0 siblings, 2 replies; 12+ messages in thread
From: Ivan Vilata i Balaguer @ 2017-02-17 17:10 UTC (permalink / raw)
  To: Ivan Vilata i Balaguer, 25774

ng0 (2017-02-17 16:29:35 +0000) wrote:

> On 17-02-17 16:23:46, ng0 wrote:
> > On 17-02-17 16:48:58, Ivan Vilata i Balaguer wrote:
> > > libmicrohttpd-0.9.52 fails to build because of a failing test:
> > > 
> > > ```
> > > $ guix package -i libmicrohttpd
> > > ...
> > > make[4]: Entering directory '/tmp/guix-build-libmicrohttpd-0.9.52.drv-0/libmicrohttpd-0.9.52/src/microhttpd'
> > > PASS: test_str_compare
> > > PASS: test_str_to_value
> > > PASS: test_shutdown_select
> > > PASS: test_shutdown_poll
> > > PASS: test_daemon
> > > PASS: test_upgrade
> > > ../../test-driver: line 107:  7381 Aborted                 "$@" > $log_file 2>&1
> > > FAIL: test_upgrade_ssl
> > > PASS: test_postprocessor
> > > PASS: test_postprocessor_large
> > > PASS: test_postprocessor_amp
> > > ============================================================================
> > > Testsuite summary for GNU Libmicrohttpd 0.9.52
> > > ============================================================================
> > > # TOTAL: 10
> > > # PASS:  9
> > > # SKIP:  0
> > > # XFAIL: 0
> > > # FAIL:  1
> > > # XPASS: 0
> > > # ERROR: 0
> > > ============================================================================
> > > See src/microhttpd/test-suite.log
> > > Please report to libmicrohttpd@gnu.org
> 
> Can you repeat the build with
> 'guix build --keep-failed --install libmicrohttpd' and append the
> 'src/microhttpd/test-suite.log' file?
> 
> This can be useful.

Hi ng0, I'm building it on:

    $ uname -a
    Linux sax 4.9.0-1-amd64 #1 SMP Debian 4.9.6-3 (2017-01-28) x86_64 GNU/Linux

Possibly relevant envvars:

    $ env | grep guix
    GUIX_PROFILE=/home/ivan/.guix-profile
    GIT_SSL_CAINFO=/home/ivan/.guix-profile/etc/ssl/certs/ca-certificates.crt
    GUILE_LOAD_COMPILED_PATH=/home/ivan/.guix-profile/lib/guile/2.0/site-ccache:/home/ivan/.guix-profile/share/guile/site/2.0
    GUIX_LOCPATH=/home/ivan/.guix-profile/lib/locale
    PURPLE_PLUGIN_PATH=/home/ivan/.guix-profile/lib/purple-2:/home/ivan/.guix-profile/lib/pidgin
    GUILE_LOAD_PATH=/home/ivan/.guix-profile/share/guile/site/2.0
    PATH=/home/ivan/.guix-profile/bin:/home/ivan/.guix-profile/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
    INFOPATH=/home/ivan/.guix-profile/share/info

The log from ``guix package --keep-failed --install libmicrohttpd``:

```
=============================================================
   GNU Libmicrohttpd 0.9.52: src/microhttpd/test-suite.log
=============================================================

# TOTAL: 10
# PASS:  9
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: test_upgrade_ssl
======================

verify depth is 0
depth=0 CN = test_ca_cert
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 CN = test_ca_cert
verify error:num=21:unable to verify the first certificate
verify return:1
DONE
verify depth is 0
depth=0 CN = test_ca_cert
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 CN = test_ca_cert
verify error:num=21:unable to verify the first certificate
verify return:1
DONE
verify depth is 0
depth=0 CN = test_ca_cert
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 CN = test_ca_cert
verify error:num=21:unable to verify the first certificate
verify return:1
read:errno=0
verify depth is 0
depth=0 CN = test_ca_cert
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 CN = test_ca_cert
verify error:num=21:unable to verify the first certificate
verify return:1
DONE
verify depth is 0
depth=0 CN = test_ca_cert
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 CN = test_ca_cert
verify error:num=21:unable to verify the first certificate
verify return:1
DONE
verify depth is 0
depth=0 CN = test_ca_cert
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 CN = test_ca_cert
verify error:num=21:unable to verify the first certificate
verify return:1
DONE
verify depth is 0
depth=0 CN = test_ca_cert
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 CN = test_ca_cert
verify error:num=21:unable to verify the first certificate
verify return:1
DONE
verify depth is 0
depth=0 CN = test_ca_cert
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 CN = test_ca_cert
verify error:num=21:unable to verify the first certificate
verify return:1
DONE
verify depth is 0
depth=0 CN = test_ca_cert
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 CN = test_ca_cert
verify error:num=21:unable to verify the first certificate
verify return:1
DONE
FAIL test_upgrade_ssl (exit status: 139)

```

Thanks for checking this!

-- 
Ivan Vilata i Balaguer -- https://elvil.net/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#25774: libmicrohttpd: fails to build (test-driver aborted)
  2017-02-17 17:10     ` Ivan Vilata i Balaguer
@ 2017-02-17 17:23       ` ng0
  2017-02-17 20:53       ` Leo Famulari
  1 sibling, 0 replies; 12+ messages in thread
From: ng0 @ 2017-02-17 17:23 UTC (permalink / raw)
  To: Ivan Vilata i Balaguer; +Cc: 25774

On 17-02-17 18:10:30, Ivan Vilata i Balaguer wrote:
> ng0 (2017-02-17 16:29:35 +0000) wrote:
> 
> > On 17-02-17 16:23:46, ng0 wrote:
> > > On 17-02-17 16:48:58, Ivan Vilata i Balaguer wrote:
> > > > libmicrohttpd-0.9.52 fails to build because of a failing test:
> > > > 
> > > > ```
> > > > $ guix package -i libmicrohttpd
> > > > ...
> > > > make[4]: Entering directory '/tmp/guix-build-libmicrohttpd-0.9.52.drv-0/libmicrohttpd-0.9.52/src/microhttpd'
> > > > PASS: test_str_compare
> > > > PASS: test_str_to_value
> > > > PASS: test_shutdown_select
> > > > PASS: test_shutdown_poll
> > > > PASS: test_daemon
> > > > PASS: test_upgrade
> > > > ../../test-driver: line 107:  7381 Aborted                 "$@" > $log_file 2>&1
> > > > FAIL: test_upgrade_ssl
> > > > PASS: test_postprocessor
> > > > PASS: test_postprocessor_large
> > > > PASS: test_postprocessor_amp
> > > > ============================================================================
> > > > Testsuite summary for GNU Libmicrohttpd 0.9.52
> > > > ============================================================================
> > > > # TOTAL: 10
> > > > # PASS:  9
> > > > # SKIP:  0
> > > > # XFAIL: 0
> > > > # FAIL:  1
> > > > # XPASS: 0
> > > > # ERROR: 0
> > > > ============================================================================
> > > > See src/microhttpd/test-suite.log
> > > > Please report to libmicrohttpd@gnu.org
> > 
> > Can you repeat the build with
> > 'guix build --keep-failed --install libmicrohttpd' and append the
> > 'src/microhttpd/test-suite.log' file?
> > 
> > This can be useful.
> 
> Hi ng0, I'm building it on:
> 
>     $ uname -a
>     Linux sax 4.9.0-1-amd64 #1 SMP Debian 4.9.6-3 (2017-01-28) x86_64 GNU/Linux

Okay, Guix on Debian. I don't have this and don't have the time to set
this up. I have to let someone else help you with this bug. I know some
people are using Guix on Debian, so help is possible.
 
The output looks as if there's a problem with the certificates, at least
that's my first idea.

> Possibly relevant envvars:
> 
>     $ env | grep guix
>     GUIX_PROFILE=/home/ivan/.guix-profile
>     GIT_SSL_CAINFO=/home/ivan/.guix-profile/etc/ssl/certs/ca-certificates.crt
>     GUILE_LOAD_COMPILED_PATH=/home/ivan/.guix-profile/lib/guile/2.0/site-ccache:/home/ivan/.guix-profile/share/guile/site/2.0
>     GUIX_LOCPATH=/home/ivan/.guix-profile/lib/locale
>     PURPLE_PLUGIN_PATH=/home/ivan/.guix-profile/lib/purple-2:/home/ivan/.guix-profile/lib/pidgin
>     GUILE_LOAD_PATH=/home/ivan/.guix-profile/share/guile/site/2.0
>     PATH=/home/ivan/.guix-profile/bin:/home/ivan/.guix-profile/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
>     INFOPATH=/home/ivan/.guix-profile/share/info
> 
> The log from ``guix package --keep-failed --install libmicrohttpd``:
> 
> ```
> =============================================================
>    GNU Libmicrohttpd 0.9.52: src/microhttpd/test-suite.log
> =============================================================
> 
> # TOTAL: 10
> # PASS:  9
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  1
> # XPASS: 0
> # ERROR: 0
> 
> .. contents:: :depth: 2
> 
> FAIL: test_upgrade_ssl
> ======================
> 
> verify depth is 0
> depth=0 CN = test_ca_cert
> verify error:num=20:unable to get local issuer certificate
> verify return:1
> depth=0 CN = test_ca_cert
> verify error:num=21:unable to verify the first certificate
> verify return:1
> DONE
> verify depth is 0
> depth=0 CN = test_ca_cert
> verify error:num=20:unable to get local issuer certificate
> verify return:1
> depth=0 CN = test_ca_cert
> verify error:num=21:unable to verify the first certificate
> verify return:1
> DONE
> verify depth is 0
> depth=0 CN = test_ca_cert
> verify error:num=20:unable to get local issuer certificate
> verify return:1
> depth=0 CN = test_ca_cert
> verify error:num=21:unable to verify the first certificate
> verify return:1
> read:errno=0
> verify depth is 0
> depth=0 CN = test_ca_cert
> verify error:num=20:unable to get local issuer certificate
> verify return:1
> depth=0 CN = test_ca_cert
> verify error:num=21:unable to verify the first certificate
> verify return:1
> DONE
> verify depth is 0
> depth=0 CN = test_ca_cert
> verify error:num=20:unable to get local issuer certificate
> verify return:1
> depth=0 CN = test_ca_cert
> verify error:num=21:unable to verify the first certificate
> verify return:1
> DONE
> verify depth is 0
> depth=0 CN = test_ca_cert
> verify error:num=20:unable to get local issuer certificate
> verify return:1
> depth=0 CN = test_ca_cert
> verify error:num=21:unable to verify the first certificate
> verify return:1
> DONE
> verify depth is 0
> depth=0 CN = test_ca_cert
> verify error:num=20:unable to get local issuer certificate
> verify return:1
> depth=0 CN = test_ca_cert
> verify error:num=21:unable to verify the first certificate
> verify return:1
> DONE
> verify depth is 0
> depth=0 CN = test_ca_cert
> verify error:num=20:unable to get local issuer certificate
> verify return:1
> depth=0 CN = test_ca_cert
> verify error:num=21:unable to verify the first certificate
> verify return:1
> DONE
> verify depth is 0
> depth=0 CN = test_ca_cert
> verify error:num=20:unable to get local issuer certificate
> verify return:1
> depth=0 CN = test_ca_cert
> verify error:num=21:unable to verify the first certificate
> verify return:1
> DONE
> FAIL test_upgrade_ssl (exit status: 139)
> 
> ```
> 
> Thanks for checking this!
> 
> -- 
> Ivan Vilata i Balaguer -- https://elvil.net/
> 
> 
> 

-- 
ng0 -- https://www.inventati.org/patternsinthechaos/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#25774: libmicrohttpd: fails to build (test-driver aborted)
  2017-02-17 17:10     ` Ivan Vilata i Balaguer
  2017-02-17 17:23       ` ng0
@ 2017-02-17 20:53       ` Leo Famulari
  2017-02-17 23:59         ` Ivan Vilata i Balaguer
  1 sibling, 1 reply; 12+ messages in thread
From: Leo Famulari @ 2017-02-17 20:53 UTC (permalink / raw)
  To: Ivan Vilata i Balaguer; +Cc: 25774

On Fri, Feb 17, 2017 at 06:10:30PM +0100, Ivan Vilata i Balaguer wrote:
> Hi ng0, I'm building it on:
> 
>     $ uname -a
>     Linux sax 4.9.0-1-amd64 #1 SMP Debian 4.9.6-3 (2017-01-28) x86_64 GNU/Linux

It built successfully for me on a similar environment from Guix Git
commit 1f45f18abe487be85c290227256690a3f32f7874.

$ uname -a
Linux computer 4.9.10 #12 SMP Thu Feb 16 02:10:37 EST 2017 x86_64 GNU/Linux

I built it on btrfs and ext4 filesystems.

> Possibly relevant envvars:
> 
>     $ env | grep guix
>     GUIX_PROFILE=/home/ivan/.guix-profile
>     GIT_SSL_CAINFO=/home/ivan/.guix-profile/etc/ssl/certs/ca-certificates.crt
>     GUILE_LOAD_COMPILED_PATH=/home/ivan/.guix-profile/lib/guile/2.0/site-ccache:/home/ivan/.guix-profile/share/guile/site/2.0
>     GUIX_LOCPATH=/home/ivan/.guix-profile/lib/locale
>     PURPLE_PLUGIN_PATH=/home/ivan/.guix-profile/lib/purple-2:/home/ivan/.guix-profile/lib/pidgin
>     GUILE_LOAD_PATH=/home/ivan/.guix-profile/share/guile/site/2.0
>     PATH=/home/ivan/.guix-profile/bin:/home/ivan/.guix-profile/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
>     INFOPATH=/home/ivan/.guix-profile/share/info

Variables from your user's environment are not propagated into the build
environment.

> The log from ``guix package --keep-failed --install libmicrohttpd``:

The build tree kept by '--keep-failed' will include a copy of the
build's environment in the file 'environment-variables'. But I'm not
sure if it's relevant.

> FAIL: test_upgrade_ssl
> ======================
> 
> verify depth is 0
> depth=0 CN = test_ca_cert
> verify error:num=20:unable to get local issuer certificate
> verify return:1
> depth=0 CN = test_ca_cert
> verify error:num=21:unable to verify the first certificate
> verify return:1
> DONE

The only debugging suggestion I have is to make sure that your clock is
correct. Test suites that do certificate verification should take care
not to break in the future, but perhaps it's less common for test
authors to handle the case of a clock set to the past.

Beyond that, did you find anything relevant on the upstream bug tracker?

https://ng.gnunet.org/bugs/view_all_bug_page.php

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#25774: libmicrohttpd: fails to build (test-driver aborted)
  2017-02-17 20:53       ` Leo Famulari
@ 2017-02-17 23:59         ` Ivan Vilata i Balaguer
  2017-02-18  0:42           ` Leo Famulari
  0 siblings, 1 reply; 12+ messages in thread
From: Ivan Vilata i Balaguer @ 2017-02-17 23:59 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 25774, Ivan Vilata i Balaguer

Leo Famulari (2017-02-17 15:53:41 -0500) wrote:

> Variables from your user's environment are not propagated into the build
> environment.
> 
> > The log from ``guix package --keep-failed --install libmicrohttpd``:
> 
> The build tree kept by '--keep-failed' will include a copy of the
> build's environment in the file 'environment-variables'. But I'm not
> sure if it's relevant.

I ran the build again, this is the content of the variables file:

```
export BASH_LOADABLES_PATH="/gnu/store/qkw4zrwfybxww8f56nkb6hggxambk89b-bash-4.4.0/lib/bash"
export CPLUS_INCLUDE_PATH="/gnu/store/d5nscny560slzpljixqzim6b8ms7hhv2-bzip2-1.0.6/include:/gnu/store/4yg6q1kp856m68arkpqc85hqgbffhpxf-xz-5.2.2/include:/gnu/store/06icf5h4z83mw5g17a58fy26z14d
sj9z-file-5.28/include:/gnu/store/k03y1lfaj1xw0d7j2lxdil8ii5c67fdy-gawk-4.1.4/include:/gnu/store/c5ihjcdxsm9086323bn2j67v7z34lc1a-make-4.2.1/include:/gnu/store/4xxd00drj8gjcr84xdfna44qak2vhwm
f-binutils-2.27/include:/gnu/store/y1g6991kxvdk4vxhsq07r5saww30v8dq-gcc-4.9.4/include:/gnu/store/iwgi9001dmmihrjg4rqhd6pa6788prjw-glibc-2.24/include:/gnu/store/zl3rh35m8psblbw034l9bvssx5yqn7f
5-curl-7.50.3/include:/gnu/store/pwqygjf0ywvnv96h83k4rghq2x1m3qay-gnutls-3.5.4/include:/gnu/store/4pnp5scrgmjp21flaihmgbckwrz6z4g3-libgcrypt-1.7.3/include:/gnu/store/liib5wid6rx9rkss78spc7wcq
zwb1g2k-openssl-1.0.2j/include:/gnu/store/a64w9dq219a8d9k4mfz76mnzph9wsvfj-zlib-1.2.8/include:/gnu/store/jc898psn5yc9s328nn8fya3sc2daf037-linux-libre-headers-4.4.18/include:/gnu/store/vik632i
g65676k0azx25vlcf3457v65p-nettle-3.2/include:/gnu/store/2gqvbsd3kz1nl2s0kvyxxjc7fm0hf9l9-libidn-1.33/include:/gnu/store/zqp7lmw6dr31j3frsdjwar6wdrzivnqj-libtasn1-4.9/include:/gnu/store/vhfgzz
0j9ry060qvcbvyhcrj3ikvm1vv-libgpg-error-1.24/include:/gnu/store/6k08nkddnrb15h5pwp1s0fa94mr1qas9-gmp-6.1.1/include"
export C_INCLUDE_PATH="/gnu/store/d5nscny560slzpljixqzim6b8ms7hhv2-bzip2-1.0.6/include:/gnu/store/4yg6q1kp856m68arkpqc85hqgbffhpxf-xz-5.2.2/include:/gnu/store/06icf5h4z83mw5g17a58fy26z14dsj9z
-file-5.28/include:/gnu/store/k03y1lfaj1xw0d7j2lxdil8ii5c67fdy-gawk-4.1.4/include:/gnu/store/c5ihjcdxsm9086323bn2j67v7z34lc1a-make-4.2.1/include:/gnu/store/4xxd00drj8gjcr84xdfna44qak2vhwmf-bi
nutils-2.27/include:/gnu/store/y1g6991kxvdk4vxhsq07r5saww30v8dq-gcc-4.9.4/include:/gnu/store/iwgi9001dmmihrjg4rqhd6pa6788prjw-glibc-2.24/include:/gnu/store/zl3rh35m8psblbw034l9bvssx5yqn7f5-cu
rl-7.50.3/include:/gnu/store/pwqygjf0ywvnv96h83k4rghq2x1m3qay-gnutls-3.5.4/include:/gnu/store/4pnp5scrgmjp21flaihmgbckwrz6z4g3-libgcrypt-1.7.3/include:/gnu/store/liib5wid6rx9rkss78spc7wcqzwb1
g2k-openssl-1.0.2j/include:/gnu/store/a64w9dq219a8d9k4mfz76mnzph9wsvfj-zlib-1.2.8/include:/gnu/store/jc898psn5yc9s328nn8fya3sc2daf037-linux-libre-headers-4.4.18/include:/gnu/store/vik632ig656
76k0azx25vlcf3457v65p-nettle-3.2/include:/gnu/store/2gqvbsd3kz1nl2s0kvyxxjc7fm0hf9l9-libidn-1.33/include:/gnu/store/zqp7lmw6dr31j3frsdjwar6wdrzivnqj-libtasn1-4.9/include:/gnu/store/vhfgzz0j9r
y060qvcbvyhcrj3ikvm1vv-libgpg-error-1.24/include:/gnu/store/6k08nkddnrb15h5pwp1s0fa94mr1qas9-gmp-6.1.1/include"
export GUIX_LOCPATH="/gnu/store/py9ff8syssr3d8a5nlkdp8kdglj20p1n-glibc-utf8-locales-2.24/lib/locale"
export HOME="/homeless-shelter"
export LC_ALL="en_US.utf8"
export LIBRARY_PATH="/gnu/store/d5nscny560slzpljixqzim6b8ms7hhv2-bzip2-1.0.6/lib:/gnu/store/4yg6q1kp856m68arkpqc85hqgbffhpxf-xz-5.2.2/lib:/gnu/store/06icf5h4z83mw5g17a58fy26z14dsj9z-file-5.28
/lib:/gnu/store/k03y1lfaj1xw0d7j2lxdil8ii5c67fdy-gawk-4.1.4/lib:/gnu/store/qkw4zrwfybxww8f56nkb6hggxambk89b-bash-4.4.0/lib:/gnu/store/4xxd00drj8gjcr84xdfna44qak2vhwmf-binutils-2.27/lib:/gnu/s
tore/iwgi9001dmmihrjg4rqhd6pa6788prjw-glibc-2.24/lib:/gnu/store/py9ff8syssr3d8a5nlkdp8kdglj20p1n-glibc-utf8-locales-2.24/lib:/gnu/store/zl3rh35m8psblbw034l9bvssx5yqn7f5-curl-7.50.3/lib:/gnu/s
tore/pwqygjf0ywvnv96h83k4rghq2x1m3qay-gnutls-3.5.4/lib:/gnu/store/4pnp5scrgmjp21flaihmgbckwrz6z4g3-libgcrypt-1.7.3/lib:/gnu/store/liib5wid6rx9rkss78spc7wcqzwb1g2k-openssl-1.0.2j/lib:/gnu/stor
e/a64w9dq219a8d9k4mfz76mnzph9wsvfj-zlib-1.2.8/lib:/gnu/store/vik632ig65676k0azx25vlcf3457v65p-nettle-3.2/lib:/gnu/store/2gqvbsd3kz1nl2s0kvyxxjc7fm0hf9l9-libidn-1.33/lib:/gnu/store/zqp7lmw6dr31j3frsdjwar6wdrzivnqj-libtasn1-4.9/lib:/gnu/store/vhfgzz0j9ry060qvcbvyhcrj3ikvm1vv-libgpg-error-1.24/lib:/gnu/store/6k08nkddnrb15h5pwp1s0fa94mr1qas9-gmp-6.1.1/lib"
export NIX_BUILD_CORES="0"
export NIX_BUILD_TOP="/tmp/guix-build-libmicrohttpd-0.9.52.drv-0"
export NIX_STORE="/gnu/store"
export OLDPWD
export PATH="/gnu/store/9l52vcmb1ambc3ypf7nxn38ac0976yyf-tar-1.29/bin:/gnu/store/ginbign0swn8h69k3z4fy18r8pwq3rqx-gzip-1.8/bin:/gnu/store/d5nscny560slzpljixqzim6b8ms7hhv2-bzip2-1.0.6/bin:/gnu/store/4yg6q1kp856m68arkpqc85hqgbffhpxf-xz-5.2.2/bin:/gnu/store/06icf5h4z83mw5g17a58fy26z14dsj9z-file-5.28/bin:/gnu/store/g0lyirlbqday5n2n0n6lh6nmdxi8a45z-diffutils-3.5/bin:/gnu/store/fs49m4pvdf2v7kixf9sls8nmhvh40ajl-patch-2.7.5/bin:/gnu/store/9761yfpvyr1fcpjhry8pgb3f0k6kj8n4-sed-4.2.2/bin:/gnu/store/cz7dl482c1j6j5s4vh1pll4lzdl5sl6b-findutils-4.6.0/bin:/gnu/store/k03y1lfaj1xw0d7j2lxdil8ii5c67fdy-gawk-4.1.4/bin:/gnu/store/hb301wl5s7352vbn1vds85dhy32n0hkw-grep-2.25/bin:/gnu/store/9xfn6q7cxqxaxsv6kgiic9iygl2iv2ci-coreutils-8.25/bin:/gnu/store/c5ihjcdxsm9086323bn2j67v7z34lc1a-make-4.2.1/bin:/gnu/store/qkw4zrwfybxww8f56nkb6hggxambk89b-bash-4.4.0/bin:/gnu/store/c7lm5innppxm53bf5w7i99d59kjdyx27-ld-wrapper-0/bin:/gnu/store/4xxd00drj8gjcr84xdfna44qak2vhwmf-binutils-2.27/bin:/gnu/store/y1g6991kxvdk4vxhsq07r5saww30v8dq-gcc-4.9.4/bin:/gnu/store/iwgi9001dmmihrjg4rqhd6pa6788prjw-glibc-2.24/bin:/gnu/store/iwgi9001dmmihrjg4rqhd6pa6788prjw-glibc-2.24/sbin:/gnu/store/zl3rh35m8psblbw034l9bvssx5yqn7f5-curl-7.50.3/bin:/gnu/store/pwqygjf0ywvnv96h83k4rghq2x1m3qay-gnutls-3.5.4/bin:/gnu/store/4pnp5scrgmjp21flaihmgbckwrz6z4g3-libgcrypt-1.7.3/bin:/gnu/store/liib5wid6rx9rkss78spc7wcqzwb1g2k-openssl-1.0.2j/bin:/gnu/store/vik632ig65676k0azx25vlcf3457v65p-nettle-3.2/bin:/gnu/store/2gqvbsd3kz1nl2s0kvyxxjc7fm0hf9l9-libidn-1.33/bin:/gnu/store/zqp7lmw6dr31j3frsdjwar6wdrzivnqj-libtasn1-4.9/bin:/gnu/store/vhfgzz0j9ry060qvcbvyhcrj3ikvm1vv-libgpg-error-1.24/bin"
export PWD="/tmp/guix-build-libmicrohttpd-0.9.52.drv-0/libmicrohttpd-0.9.52"
export SHLVL="1"
export SOURCE_DATE_EPOCH="1"
export TEMP="/tmp/guix-build-libmicrohttpd-0.9.52.drv-0"
export TEMPDIR="/tmp/guix-build-libmicrohttpd-0.9.52.drv-0"
export TMP="/tmp/guix-build-libmicrohttpd-0.9.52.drv-0"
export TMPDIR="/tmp/guix-build-libmicrohttpd-0.9.52.drv-0"
export out="/gnu/store/62vwb4ariyzn6bi29ka63dj9r0sp08f2-libmicrohttpd-0.9.52"
```

> > FAIL: test_upgrade_ssl
> > ======================
> > 
> > verify depth is 0
> > depth=0 CN = test_ca_cert
> > verify error:num=20:unable to get local issuer certificate
> > verify return:1
> > depth=0 CN = test_ca_cert
> > verify error:num=21:unable to verify the first certificate
> > verify return:1
> > DONE

I think I left out a couple of lines at the end:

```
Fatal error in GNU libmicrohttpd daemon.c:5190: MHD_stop_daemon() called while we have suspended connections.

FAIL test_upgrade_ssl (exit status: 134)
```

> The only debugging suggestion I have is to make sure that your clock is
> correct. Test suites that do certificate verification should take care
> not to break in the future, but perhaps it's less common for test
> authors to handle the case of a clock set to the past.

Well, it may be some second off, but not much more than that…

> Beyond that, did you find anything relevant on the upstream bug tracker?
> 
> https://ng.gnunet.org/bugs/view_all_bug_page.php

I can't find anything related there, I also searched the net before
sending the report but found nothing that seemed the same error.

Do you suggest any other test?

Thanks!

-- 
Ivan Vilata i Balaguer -- https://elvil.net/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#25774: libmicrohttpd: fails to build (test-driver aborted)
  2017-02-17 23:59         ` Ivan Vilata i Balaguer
@ 2017-02-18  0:42           ` Leo Famulari
  2017-02-18  1:18             ` Ivan Vilata i Balaguer
  2017-02-18  9:51             ` ng0
  0 siblings, 2 replies; 12+ messages in thread
From: Leo Famulari @ 2017-02-18  0:42 UTC (permalink / raw)
  To: Ivan Vilata i Balaguer; +Cc: 25774

On Sat, Feb 18, 2017 at 12:59:49AM +0100, Ivan Vilata i Balaguer wrote:
> I think I left out a couple of lines at the end:
> 
> ```
> Fatal error in GNU libmicrohttpd daemon.c:5190: MHD_stop_daemon() called while we have suspended connections.
> 
> FAIL test_upgrade_ssl (exit status: 134)
> ```
> 
> > The only debugging suggestion I have is to make sure that your clock is
> > correct. Test suites that do certificate verification should take care
> > not to break in the future, but perhaps it's less common for test
> > authors to handle the case of a clock set to the past.
> 
> Well, it may be some second off, but not much more than that…

That's normal. I was thinking about the clock being set to the Unix
epoch or something extreme like that.

> 
> > Beyond that, did you find anything relevant on the upstream bug tracker?
> > 
> > https://ng.gnunet.org/bugs/view_all_bug_page.php
> 
> I can't find anything related there, I also searched the net before
> sending the report but found nothing that seemed the same error.

What about this one?

https://ng.gnunet.org/bugs/view.php?id=4844

The report says that it's limited to ppc64le, but the symptoms appear
identical.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#25774: libmicrohttpd: fails to build (test-driver aborted)
  2017-02-18  0:42           ` Leo Famulari
@ 2017-02-18  1:18             ` Ivan Vilata i Balaguer
  2017-02-18  9:51             ` ng0
  1 sibling, 0 replies; 12+ messages in thread
From: Ivan Vilata i Balaguer @ 2017-02-18  1:18 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 25774, Ivan Vilata i Balaguer

Leo Famulari (2017-02-17 19:42:15 -0500) wrote:

> On Sat, Feb 18, 2017 at 12:59:49AM +0100, Ivan Vilata i Balaguer wrote:
> > I can't find anything related there, I also searched the net before
> > sending the report but found nothing that seemed the same error.
> 
> What about this one?
> 
> https://ng.gnunet.org/bugs/view.php?id=4844
> 
> The report says that it's limited to ppc64le, but the symptoms appear
> identical.

Looks like I'm too sleepy to check these things!`:D`

I see from the ChangeLog that the version I'm building is from last
October, before the fix mentioned in the link, so that may be already
fixed upstream.

Thanks for checking!

-- 
Ivan Vilata i Balaguer -- https://elvil.net/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#25774: libmicrohttpd: fails to build (test-driver aborted)
  2017-02-18  0:42           ` Leo Famulari
  2017-02-18  1:18             ` Ivan Vilata i Balaguer
@ 2017-02-18  9:51             ` ng0
  2017-02-20 11:08               ` Ivan Vilata i Balaguer
  1 sibling, 1 reply; 12+ messages in thread
From: ng0 @ 2017-02-18  9:51 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 25774, Ivan Vilata i Balaguer

On 17-02-17 19:42:15, Leo Famulari wrote:
> On Sat, Feb 18, 2017 at 12:59:49AM +0100, Ivan Vilata i Balaguer wrote:
> > I think I left out a couple of lines at the end:
> > 
> > ```
> > Fatal error in GNU libmicrohttpd daemon.c:5190: MHD_stop_daemon() called while we have suspended connections.
> > 
> > FAIL test_upgrade_ssl (exit status: 134)
> > ```
> > 
> > > The only debugging suggestion I have is to make sure that your clock is
> > > correct. Test suites that do certificate verification should take care
> > > not to break in the future, but perhaps it's less common for test
> > > authors to handle the case of a clock set to the past.
> > 
> > Well, it may be some second off, but not much more than that…
> 
> That's normal. I was thinking about the clock being set to the Unix
> epoch or something extreme like that.
> 
> > 
> > > Beyond that, did you find anything relevant on the upstream bug tracker?
> > > 
> > > https://ng.gnunet.org/bugs/view_all_bug_page.php
> > 
> > I can't find anything related there, I also searched the net before
> > sending the report but found nothing that seemed the same error.
> 
> What about this one?
> 
> https://ng.gnunet.org/bugs/view.php?id=4844
> 
> The report says that it's limited to ppc64le, but the symptoms appear
> identical.
> 
> 
> 

I could ask grothoff about if a new release will happen soon, but it
looks like it:

commit f154b0ef8894185fd6c01888d10280049bed10c6
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed Feb 15 13:38:06 2017 +0100

    bump dates and versions and update ChangeLog


This is the HEAD~~ commit.
The one afterwards fixes an android problem.
-- 
ng0 -- https://www.inventati.org/patternsinthechaos/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#25774: libmicrohttpd: fails to build (test-driver aborted)
  2017-02-18  9:51             ` ng0
@ 2017-02-20 11:08               ` Ivan Vilata i Balaguer
  0 siblings, 0 replies; 12+ messages in thread
From: Ivan Vilata i Balaguer @ 2017-02-20 11:08 UTC (permalink / raw)
  To: Leo Famulari, Ivan Vilata i Balaguer, 25774

ng0 (2017-02-18 09:51:35 +0000) wrote:

> On 17-02-17 19:42:15, Leo Famulari wrote:
> > What about this one?
> > 
> > https://ng.gnunet.org/bugs/view.php?id=4844
> > 
> > The report says that it's limited to ppc64le, but the symptoms
> > appear identical.
> 
> I could ask grothoff about if a new release will happen soon, but it
> looks like it:
> 
> commit f154b0ef8894185fd6c01888d10280049bed10c6
> Author: Christian Grothoff <christian@grothoff.org>
> Date:   Wed Feb 15 13:38:06 2017 +0100
> 
>     bump dates and versions and update ChangeLog
> 
> 
> This is the HEAD~~ commit.
> The one afterwards fixes an android problem.

I was able to install ``gnunet`` without issues, so I guess some recent
commit included a version fixed upstream and the bug may be closed.`:)`

Thanks for your help!

-- 
Ivan Vilata i Balaguer -- https://elvil.net/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#25774: Resolved
  2017-02-17 15:48 bug#25774: libmicrohttpd: fails to build (test-driver aborted) Ivan Vilata i Balaguer
  2017-02-17 16:23 ` ng0
@ 2017-03-05 22:15 ` ng0
  1 sibling, 0 replies; 12+ messages in thread
From: ng0 @ 2017-03-05 22:15 UTC (permalink / raw)
  To: 25774-done

This issues is resolved.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-03-05 21:07 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-17 15:48 bug#25774: libmicrohttpd: fails to build (test-driver aborted) Ivan Vilata i Balaguer
2017-02-17 16:23 ` ng0
2017-02-17 16:29   ` ng0
2017-02-17 17:10     ` Ivan Vilata i Balaguer
2017-02-17 17:23       ` ng0
2017-02-17 20:53       ` Leo Famulari
2017-02-17 23:59         ` Ivan Vilata i Balaguer
2017-02-18  0:42           ` Leo Famulari
2017-02-18  1:18             ` Ivan Vilata i Balaguer
2017-02-18  9:51             ` ng0
2017-02-20 11:08               ` Ivan Vilata i Balaguer
2017-03-05 22:15 ` bug#25774: Resolved ng0

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).