[Swan-dev] test suite hitch

Andrew Cagney andrew.cagney at gmail.com
Mon Oct 31 13:43:13 UTC 2016


[inline]

On 31 October 2016 at 07:23, D. Hugh Redelmeier <hugh at mimosa.com> wrote:
> I am trying to run the test suite -- first time in a while.
> I'm not sure why it failed.  Suggestions?
>
>         [build at redtiny libreswan]$ time make kvm-uninstall-clones
>
>         [build at redtiny libreswan]$ time make kvm-install
>
> Fails.  Probably I didn't reset it hard enough:
>
> make[2]: Warning: File '../../OBJ.kvm/programs/pluto/Makefile.depend.mk' has modification time 0.23 s in t!
> make -C ../../OBJ.kvm/programs/pluto buildall
> make[3]: Entering directory '/source/OBJ.kvm/programs/pluto'
> make[3]: Warning: File 'Makefile.depend.mk' has modification time 0.084 s in the future
> make[3]: *** No rule to make target '/source/programs/pluto/ike_alg.h', needed by 'connections.o'.  Stop.
> make[3]: Leaving directory '/source/OBJ.kvm/programs/pluto'

Yea; the build system doesn't do so well when a header is moved (this
case) or removed.
(as Antony noticed, there are also some missing inter-directory .a
dependencies missing).

>         [build at redtiny libreswan]$ time make kvm-uninstall
>         [build at redtiny libreswan]$ make kvm-clean
>         [build at redtiny libreswan]$ time make kvm-install
>
> That's better.
>
>         [build at redtiny libreswan]$ time make kvm-install
>
> Did not work:
>
> creating crl set
> Traceback (most recent call last):
>   File "./dist_certs.py", line 634, in <module>
>     main()
>   File "./dist_certs.py", line 626, in main
>     run_dist_certs()
>   File "./dist_certs.py", line 605, in run_dist_certs
>     create_crlsets()
>   File "./dist_certs.py", line 479, in create_crlsets
>     days=0, digest='sha1'))
> TypeError: export() got an unexpected keyword argument 'digest'
> [root at east x509 1]#
> /home/build/libreswan/mk/kvm-targets.mk:240: recipe for target 'testing/x509/keys/up-to-date' failed
> make: *** [testing/x509/keys/up-to-date] Error 1

I'm not sure.  The last relevant changes were:

Date:   Thu Oct 13 19:51:05 2016 -0400

    dist_certs.py: create "badca" with a false CA ext

Date:   Wed Sep 7 16:40:10 2016 -0400

    testing: For f22, upgrade pyOpenSSL to latest

    The version on the ISO was too old.  Long term,
    need to switch over to fedora23.

    See also: a4781e36540a4fa25ccc06dc3453290b541db793

Andrew


More information about the Swan-dev mailing list