Package: guix;
Reported by: Mark H Weaver <mhw <at> netris.org>
Date: Tue, 26 Jun 2018 03:15:01 UTC
Severity: important
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 31974 in the body.
You can then email your comments to 31974 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
View this report as an mbox folder, status mbox, maintainer mbox
bug-guix <at> gnu.org
:bug#31974
; Package guix
.
(Tue, 26 Jun 2018 03:15:01 GMT) Full text and rfc822 format available.Mark H Weaver <mhw <at> netris.org>
:bug-guix <at> gnu.org
.
(Tue, 26 Jun 2018 03:15:02 GMT) Full text and rfc822 format available.Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Mark H Weaver <mhw <at> netris.org> To: bug-guix <at> gnu.org Subject: If a phase returns #f, a warning is issued, but the build continues Date: Mon, 25 Jun 2018 23:13:03 -0400
I just noticed that I made a mistake in commit d8a3b1b9e847d4a44d2695f95af77170d4d2788f, which changed 'gnu-build' in (guix build gnu-build-system) to issue a warning if a phase returns a value other than #t. The result is that if a phase returns a value other than #t, a warning is issued, but the build nonetheless continues to the next phase, and the build could ultimately "succeed" even some phases returned #f. In other words, the return values of phases are effectively ignored, except for the warning, so the only way to cause a build with phases to fail is to raise an exception. We can't fix this problem without a full rebuild. Sorry about that :-( The only good news here is that I've already fixed all of the core packages to return #t from all phases and to report errors using exceptions. Ditto for all of the packages that I use on my GNOME desktop. The remaining packages that might return #f from a phase could be fixed in 'master'. Mark
bug-guix <at> gnu.org
:bug#31974
; Package guix
.
(Wed, 27 Jun 2018 20:16:01 GMT) Full text and rfc822 format available.Message #8 received at 31974 <at> debbugs.gnu.org (full text, mbox):
From: ludo <at> gnu.org (Ludovic Courtès) To: Mark H Weaver <mhw <at> netris.org> Cc: 31974 <at> debbugs.gnu.org Subject: Re: bug#31974: If a phase returns #f, a warning is issued, but the build continues Date: Wed, 27 Jun 2018 22:14:57 +0200
Mark H Weaver <mhw <at> netris.org> skribis: > I just noticed that I made a mistake in commit > d8a3b1b9e847d4a44d2695f95af77170d4d2788f, which changed 'gnu-build' in > (guix build gnu-build-system) to issue a warning if a phase returns a > value other than #t. > > The result is that if a phase returns a value other than #t, a warning > is issued, but the build nonetheless continues to the next phase, and > the build could ultimately "succeed" even some phases returned #f. > > In other words, the return values of phases are effectively ignored, > except for the warning, so the only way to cause a build with phases to > fail is to raise an exception. Thanks for the heads-up. In practice, I suppose many builds would eventually fail anyway, but we’ll have to keep an eye on it. Ludo’.
ludo <at> gnu.org (Ludovic Courtès)
to control <at> debbugs.gnu.org
.
(Wed, 27 Jun 2018 20:51:01 GMT) Full text and rfc822 format available.bug-guix <at> gnu.org
:bug#31974
; Package guix
.
(Thu, 28 Jun 2018 05:11:01 GMT) Full text and rfc822 format available.Message #13 received at 31974 <at> debbugs.gnu.org (full text, mbox):
From: Mark H Weaver <mhw <at> netris.org> To: ludo <at> gnu.org (Ludovic Courtès) Cc: 31974 <at> debbugs.gnu.org Subject: Re: bug#31974: If a phase returns #f, a warning is issued, but the build continues Date: Thu, 28 Jun 2018 01:09:25 -0400
ludo <at> gnu.org (Ludovic Courtès) writes: > Mark H Weaver <mhw <at> netris.org> skribis: > >> I just noticed that I made a mistake in commit >> d8a3b1b9e847d4a44d2695f95af77170d4d2788f, which changed 'gnu-build' in >> (guix build gnu-build-system) to issue a warning if a phase returns a >> value other than #t. >> >> The result is that if a phase returns a value other than #t, a warning >> is issued, but the build nonetheless continues to the next phase, and >> the build could ultimately "succeed" even some phases returned #f. >> >> In other words, the return values of phases are effectively ignored, >> except for the warning, so the only way to cause a build with phases to >> fail is to raise an exception. > > Thanks for the heads-up. In practice, I suppose many builds would > eventually fail anyway, but we’ll have to keep an eye on it. I grepped the build logs on Hydra from evaluation 110021 searching for the warning issued when a phase returns #f. Some of the build logs had been deleted, but of the builds whose logs are still present, these are the ones whose 'check' phase returned #f, but which nonetheless succeeded: aegis-4.24 (x86_64 i686) coq-8.8.0 (armhf) coq-gappa-1.3.2 (armhf) crawl-0.21.0 (armhf) gexiv2-0.10.8 (i686) java-eclipse-jetty-security-9.4.6 (x86_64) java-kafka-clients-1.0.0 (x86_64) maven-compat-3.5.3 (x86_64) ocaml-4.01.0 (armhf) python-django-1.11.11 (x86_64 i686) python-ptyprocess-0.5.2 (armhf) python2-astroid-1.5.3 (i686 armhf) python2-bz2file-0.98 (x86_64 i686 armhf) python2-dendropy-4.2.0 (i686) python2-django-1.11.11 (x86_64 i686) python2-django-allauth-0.30.0 (x86_64 i686) restic-0.9.1 (x86_64 i686) ruby-concurrent-1.0.5 (armhf) ruby-connection-pool-2.2.2 (i686) ruby-json-pure-2.1.0 (x86_64 i686) ruby-redcarpet-3.4.0 (i686 armhf) shaderc-0.0.0-2.be8e087 (x86_64 i686 armhf) skopeo-0.1.28 (i686) syncthing-0.14.48 (i686) Here are the ones where the 'build' phase returned #f: ocaml-gsl-1.19.3.drv (armhf) ocaml4.01-gsl-1.19.3.drv (armhf) scm-5f2.drv (i686 armhf) teeworlds-0.6.4.drv (armhf) And here are the ones where some other phase returned #f: gnome-dictionary-3.26.1.drv (x86_64 i686 armhf): ## WARNING: phase `install' returned `#f'. hop-3.1.0-pre2.drv (armhf): ## WARNING: phase `configure' returned `#f'. sorcer-1.1.3.drv (x86_64 i686 armhf): ## WARNING: phase `build-faust-sources' returned `#f'. Here's a combined list with the derivations and links to the Hydra builds: https://hydra.gnu.org/build/2801304 | i686-linux | /gnu/store/1pzb1d2s03p6728wfifnhjxfbh02njik-aegis-4.24.drv https://hydra.gnu.org/build/2791716 | x86_64-linux | /gnu/store/sdhr6r50pchw1c54gl6w3h7abnv9k63q-aegis-4.24.drv https://hydra.gnu.org/build/2842834 | armhf-linux | /gnu/store/6cd0sd5jllxqw3q3g9s7z804f36kg9ll-coq-8.8.0.drv https://hydra.gnu.org/build/2841249 | armhf-linux | /gnu/store/77japmdnhrb9dws0cjak3lbkjmxkxvn9-coq-gappa-1.3.2.drv https://hydra.gnu.org/build/2805499 | armhf-linux | /gnu/store/mvf8j3fyp0wq98yxr3fh8cdkyx8ap0ds-crawl-0.21.0.drv https://hydra.gnu.org/build/2797616 | i686-linux | /gnu/store/7h2zk83lpbh9ms41bhx5gpygi1rjv7nw-gexiv2-0.10.8.drv https://hydra.gnu.org/build/2841898 | armhf-linux | /gnu/store/ddgiz8db0y1im3i3c2zh3j52wkkibas7-gnome-dictionary-3.26.1.drv https://hydra.gnu.org/build/2842705 | i686-linux | /gnu/store/lrgbx1qsz21ylvdya8grx1rkpgr8zqa5-gnome-dictionary-3.26.1.drv https://hydra.gnu.org/build/2840885 | x86_64-linux | /gnu/store/fywqcpdgijbbgc2w03wg57w76kzgrghn-gnome-dictionary-3.26.1.drv https://hydra.gnu.org/build/2842410 | x86_64-linux | /gnu/store/2jl85jn1q3llhzscy7b02x76izw5w284-java-eclipse-jetty-security-9.4.6.drv https://hydra.gnu.org/build/2841151 | x86_64-linux | /gnu/store/13cbi0mfhn40dfa705q1bx77jayp0a5k-java-kafka-clients-1.0.0.drv https://hydra.gnu.org/build/2843944 | x86_64-linux | /gnu/store/wbc3fzqqvp4f9nhn3f59bkd0kvjrvciz-maven-compat-3.5.3.drv https://hydra.gnu.org/build/2789087 | armhf-linux | /gnu/store/pkjxjs7rsrz5fn3m5vhs761prir1xiv7-ocaml-4.01.0.drv https://hydra.gnu.org/build/2843063 | armhf-linux | /gnu/store/93xqlng0ihng0xnxc3ilmw23malakp8q-ocaml-gsl-1.19.3.drv https://hydra.gnu.org/build/2815032 | armhf-linux | /gnu/store/gy1xv9n6q3nh4bgwm42nzpqmc2gw8x2g-ocaml4.01-gsl-1.19.3.drv https://hydra.gnu.org/build/2839505 | i686-linux | /gnu/store/43nqys57lgy4z0ldxq983vl4vrxrzr4w-python-django-1.11.11.drv https://hydra.gnu.org/build/2840027 | x86_64-linux | /gnu/store/6nwm5zsfk5vxj4vq5blckl7j4hyz246k-python-django-1.11.11.drv https://hydra.gnu.org/build/2791170 | armhf-linux | /gnu/store/0478c2n6cfpx50viy95204dwwdqs3ggv-python-ptyprocess-0.5.2.drv https://hydra.gnu.org/build/2795214 | armhf-linux | /gnu/store/bxyr5vi0ilv2z3q5wfk6qfzl5ahl6hb7-python2-astroid-1.5.3.drv https://hydra.gnu.org/build/2795813 | i686-linux | /gnu/store/h4v2xcs0yycwn7dn4bjf8fci77bf7h05-python2-astroid-1.5.3.drv https://hydra.gnu.org/build/2799056 | armhf-linux | /gnu/store/jvbk35z3s5cvyjs8a5ilz289k0gkgqmv-python2-bz2file-0.98.drv https://hydra.gnu.org/build/2798019 | i686-linux | /gnu/store/s19a20dlq6g4fm84jdgg8njvdl9ppz4d-python2-bz2file-0.98.drv https://hydra.gnu.org/build/2798128 | x86_64-linux | /gnu/store/0cln2r1ln15avh0kmc6drwz756fc4bvv-python2-bz2file-0.98.drv https://hydra.gnu.org/build/2789737 | i686-linux | /gnu/store/d35bm2fjsmz4dzcavpd16khdg6pyfazr-python2-dendropy-4.2.0.drv https://hydra.gnu.org/build/2839515 | i686-linux | /gnu/store/y70lr6yk2ainc74j58fjdxyil2ys06qk-python2-django-1.11.11.drv https://hydra.gnu.org/build/2840426 | x86_64-linux | /gnu/store/bchmr8fynjh5j8zrfg9pxaqvm11vm1a6-python2-django-1.11.11.drv https://hydra.gnu.org/build/2842057 | i686-linux | /gnu/store/0v1dgqw1p8z96gi37i3ai958yl3zpj62-python2-django-allauth-0.30.0.drv https://hydra.gnu.org/build/2841037 | x86_64-linux | /gnu/store/9a7nx0pi3rs4nvy7nzif6frhlsa00qpz-python2-django-allauth-0.30.0.drv https://hydra.gnu.org/build/2843841 | i686-linux | /gnu/store/2wp8xbkipwm80zvh528whp4dgi3q8jya-restic-0.9.1.drv https://hydra.gnu.org/build/2843458 | x86_64-linux | /gnu/store/lbw8kyb4pzr550bi7b47zjzwgdybylix-restic-0.9.1.drv https://hydra.gnu.org/build/2796244 | armhf-linux | /gnu/store/4k62sq4dggyi9xh10qsv2mihpz81d92q-ruby-concurrent-1.0.5.drv https://hydra.gnu.org/build/2789937 | i686-linux | /gnu/store/yc0rjldnjmp2m2b31y2q0kgn2956mvna-ruby-connection-pool-2.2.2.drv https://hydra.gnu.org/build/2842387 | i686-linux | /gnu/store/jqylsar0skxz9l9mmxv1xx4xnl076y8y-ruby-json-pure-2.1.0.drv https://hydra.gnu.org/build/2841410 | x86_64-linux | /gnu/store/vj0xyabkyy8jb5lih1j5zv0n7d7kr394-ruby-json-pure-2.1.0.drv https://hydra.gnu.org/build/2840802 | armhf-linux | /gnu/store/97wgys535pz9yi616arv1dkd3953vqa8-ruby-redcarpet-3.4.0.drv https://hydra.gnu.org/build/2842647 | i686-linux | /gnu/store/05mdymhhdhhk3nr21xy4vnmjjv7f8wn7-ruby-redcarpet-3.4.0.drv https://hydra.gnu.org/build/2812123 | armhf-linux | /gnu/store/l7k1fywmmyc5fsrch9b15j86kcr3jwhd-shaderc-0.0.0-2.be8e087.drv https://hydra.gnu.org/build/2811921 | i686-linux | /gnu/store/y2qg306qp9x0yp0q6j69h4jpl7q4vk18-shaderc-0.0.0-2.be8e087.drv https://hydra.gnu.org/build/2811833 | x86_64-linux | /gnu/store/smax7jsialvq2lhg6zf4wcxpnsqal7bv-shaderc-0.0.0-2.be8e087.drv https://hydra.gnu.org/build/2843817 | i686-linux | /gnu/store/7l5x373wrvhlrcq2yqmfg0ghjddpv11l-skopeo-0.1.28.drv https://hydra.gnu.org/build/2842125 | armhf-linux | /gnu/store/c1ah46yc5yrhizv4z0rkldpj45hg1mj2-sorcer-1.1.3.drv https://hydra.gnu.org/build/2841220 | i686-linux | /gnu/store/p5m5wjacj7j2yasn7419dv6xrpaflp23-sorcer-1.1.3.drv https://hydra.gnu.org/build/2840704 | x86_64-linux | /gnu/store/wix2rm45g4dzn2l5rcnjbd1vlcyp0l32-sorcer-1.1.3.drv https://hydra.gnu.org/build/2844279 | i686-linux | /gnu/store/sjm4chzv7cv9nj0izvxlarvwlinpahwg-syncthing-0.14.48.drv Mark
bug-guix <at> gnu.org
:bug#31974
; Package guix
.
(Thu, 28 Jun 2018 05:57:01 GMT) Full text and rfc822 format available.Message #16 received at 31974 <at> debbugs.gnu.org (full text, mbox):
From: Gábor Boskovits <boskovits <at> gmail.com> To: Mark H Weaver <mhw <at> netris.org> Cc: Ludovic Courtès <ludo <at> gnu.org>, 31974 <at> debbugs.gnu.org Subject: Re: bug#31974: If a phase returns #f, a warning is issued, but the build continues Date: Thu, 28 Jun 2018 07:56:27 +0200
[Message part 1 (text/plain, inline)]
Mark H Weaver <mhw <at> netris.org> ezt írta (időpont: 2018. jún. 28., Cs, 7:11): > ludo <at> gnu.org (Ludovic Courtès) writes: > > > Mark H Weaver <mhw <at> netris.org> skribis: > > > >> I just noticed that I made a mistake in commit > >> d8a3b1b9e847d4a44d2695f95af77170d4d2788f, which changed 'gnu-build' in > >> (guix build gnu-build-system) to issue a warning if a phase returns a > >> value other than #t. > >> > >> The result is that if a phase returns a value other than #t, a warning > >> is issued, but the build nonetheless continues to the next phase, and > >> the build could ultimately "succeed" even some phases returned #f. > >> > >> In other words, the return values of phases are effectively ignored, > >> except for the warning, so the only way to cause a build with phases to > >> fail is to raise an exception. > > > > Thanks for the heads-up. In practice, I suppose many builds would > > eventually fail anyway, but we’ll have to keep an eye on it. > > I grepped the build logs on Hydra from evaluation 110021 searching for > the warning issued when a phase returns #f. Some of the build logs had > been deleted, but of the builds whose logs are still present, these are > the ones whose 'check' phase returned #f, but which nonetheless > succeeded: > > aegis-4.24 (x86_64 i686) > coq-8.8.0 (armhf) > coq-gappa-1.3.2 (armhf) > crawl-0.21.0 (armhf) > gexiv2-0.10.8 (i686) > java-eclipse-jetty-security-9.4.6 (x86_64) > java-kafka-clients-1.0.0 (x86_64) > maven-compat-3.5.3 (x86_64) > Thanks, I will look at the two java and maven-compat. > ocaml-4.01.0 (armhf) > python-django-1.11.11 (x86_64 i686) > python-ptyprocess-0.5.2 (armhf) > python2-astroid-1.5.3 (i686 armhf) > python2-bz2file-0.98 (x86_64 i686 armhf) > python2-dendropy-4.2.0 (i686) > python2-django-1.11.11 (x86_64 i686) > python2-django-allauth-0.30.0 (x86_64 i686) > restic-0.9.1 (x86_64 i686) > ruby-concurrent-1.0.5 (armhf) > ruby-connection-pool-2.2.2 (i686) > ruby-json-pure-2.1.0 (x86_64 i686) > ruby-redcarpet-3.4.0 (i686 armhf) > shaderc-0.0.0-2.be8e087 (x86_64 i686 armhf) > skopeo-0.1.28 (i686) > syncthing-0.14.48 (i686) > > Here are the ones where the 'build' phase returned #f: > > ocaml-gsl-1.19.3.drv (armhf) > ocaml4.01-gsl-1.19.3.drv (armhf) > scm-5f2.drv (i686 armhf) > teeworlds-0.6.4.drv (armhf) > > And here are the ones where some other phase returned #f: > > gnome-dictionary-3.26.1.drv (x86_64 i686 armhf): ## WARNING: phase > `install' returned `#f'. > hop-3.1.0-pre2.drv (armhf): ## WARNING: phase > `configure' returned `#f'. > sorcer-1.1.3.drv (x86_64 i686 armhf): ## WARNING: phase > `build-faust-sources' returned `#f'. > > Here's a combined list with the derivations and links to the > Hydra builds: > > https://hydra.gnu.org/build/2801304 | i686-linux | > /gnu/store/1pzb1d2s03p6728wfifnhjxfbh02njik-aegis-4.24.drv > https://hydra.gnu.org/build/2791716 | x86_64-linux | > /gnu/store/sdhr6r50pchw1c54gl6w3h7abnv9k63q-aegis-4.24.drv > https://hydra.gnu.org/build/2842834 | armhf-linux | > /gnu/store/6cd0sd5jllxqw3q3g9s7z804f36kg9ll-coq-8.8.0.drv > https://hydra.gnu.org/build/2841249 | armhf-linux | > /gnu/store/77japmdnhrb9dws0cjak3lbkjmxkxvn9-coq-gappa-1.3.2.drv > https://hydra.gnu.org/build/2805499 | armhf-linux | > /gnu/store/mvf8j3fyp0wq98yxr3fh8cdkyx8ap0ds-crawl-0.21.0.drv > https://hydra.gnu.org/build/2797616 | i686-linux | > /gnu/store/7h2zk83lpbh9ms41bhx5gpygi1rjv7nw-gexiv2-0.10.8.drv > https://hydra.gnu.org/build/2841898 | armhf-linux | > /gnu/store/ddgiz8db0y1im3i3c2zh3j52wkkibas7-gnome-dictionary-3.26.1.drv > https://hydra.gnu.org/build/2842705 | i686-linux | > /gnu/store/lrgbx1qsz21ylvdya8grx1rkpgr8zqa5-gnome-dictionary-3.26.1.drv > https://hydra.gnu.org/build/2840885 | x86_64-linux | > /gnu/store/fywqcpdgijbbgc2w03wg57w76kzgrghn-gnome-dictionary-3.26.1.drv > https://hydra.gnu.org/build/2842410 | x86_64-linux | > /gnu/store/2jl85jn1q3llhzscy7b02x76izw5w284-java-eclipse-jetty-security-9.4.6.drv > https://hydra.gnu.org/build/2841151 | x86_64-linux | > /gnu/store/13cbi0mfhn40dfa705q1bx77jayp0a5k-java-kafka-clients-1.0.0.drv > https://hydra.gnu.org/build/2843944 | x86_64-linux | > /gnu/store/wbc3fzqqvp4f9nhn3f59bkd0kvjrvciz-maven-compat-3.5.3.drv > https://hydra.gnu.org/build/2789087 | armhf-linux | > /gnu/store/pkjxjs7rsrz5fn3m5vhs761prir1xiv7-ocaml-4.01.0.drv > https://hydra.gnu.org/build/2843063 | armhf-linux | > /gnu/store/93xqlng0ihng0xnxc3ilmw23malakp8q-ocaml-gsl-1.19.3.drv > https://hydra.gnu.org/build/2815032 | armhf-linux | > /gnu/store/gy1xv9n6q3nh4bgwm42nzpqmc2gw8x2g-ocaml4.01-gsl-1.19.3.drv > https://hydra.gnu.org/build/2839505 | i686-linux | > /gnu/store/43nqys57lgy4z0ldxq983vl4vrxrzr4w-python-django-1.11.11.drv > https://hydra.gnu.org/build/2840027 | x86_64-linux | > /gnu/store/6nwm5zsfk5vxj4vq5blckl7j4hyz246k-python-django-1.11.11.drv > https://hydra.gnu.org/build/2791170 | armhf-linux | > /gnu/store/0478c2n6cfpx50viy95204dwwdqs3ggv-python-ptyprocess-0.5.2.drv > https://hydra.gnu.org/build/2795214 | armhf-linux | > /gnu/store/bxyr5vi0ilv2z3q5wfk6qfzl5ahl6hb7-python2-astroid-1.5.3.drv > https://hydra.gnu.org/build/2795813 | i686-linux | > /gnu/store/h4v2xcs0yycwn7dn4bjf8fci77bf7h05-python2-astroid-1.5.3.drv > https://hydra.gnu.org/build/2799056 | armhf-linux | > /gnu/store/jvbk35z3s5cvyjs8a5ilz289k0gkgqmv-python2-bz2file-0.98.drv > https://hydra.gnu.org/build/2798019 | i686-linux | > /gnu/store/s19a20dlq6g4fm84jdgg8njvdl9ppz4d-python2-bz2file-0.98.drv > https://hydra.gnu.org/build/2798128 | x86_64-linux | > /gnu/store/0cln2r1ln15avh0kmc6drwz756fc4bvv-python2-bz2file-0.98.drv > https://hydra.gnu.org/build/2789737 | i686-linux | > /gnu/store/d35bm2fjsmz4dzcavpd16khdg6pyfazr-python2-dendropy-4.2.0.drv > https://hydra.gnu.org/build/2839515 | i686-linux | > /gnu/store/y70lr6yk2ainc74j58fjdxyil2ys06qk-python2-django-1.11.11.drv > https://hydra.gnu.org/build/2840426 | x86_64-linux | > /gnu/store/bchmr8fynjh5j8zrfg9pxaqvm11vm1a6-python2-django-1.11.11.drv > https://hydra.gnu.org/build/2842057 | i686-linux | > /gnu/store/0v1dgqw1p8z96gi37i3ai958yl3zpj62-python2-django-allauth-0.30.0.drv > https://hydra.gnu.org/build/2841037 | x86_64-linux | > /gnu/store/9a7nx0pi3rs4nvy7nzif6frhlsa00qpz-python2-django-allauth-0.30.0.drv > https://hydra.gnu.org/build/2843841 | i686-linux | > /gnu/store/2wp8xbkipwm80zvh528whp4dgi3q8jya-restic-0.9.1.drv > https://hydra.gnu.org/build/2843458 | x86_64-linux | > /gnu/store/lbw8kyb4pzr550bi7b47zjzwgdybylix-restic-0.9.1.drv > https://hydra.gnu.org/build/2796244 | armhf-linux | > /gnu/store/4k62sq4dggyi9xh10qsv2mihpz81d92q-ruby-concurrent-1.0.5.drv > https://hydra.gnu.org/build/2789937 | i686-linux | > /gnu/store/yc0rjldnjmp2m2b31y2q0kgn2956mvna-ruby-connection-pool-2.2.2.drv > https://hydra.gnu.org/build/2842387 | i686-linux | > /gnu/store/jqylsar0skxz9l9mmxv1xx4xnl076y8y-ruby-json-pure-2.1.0.drv > https://hydra.gnu.org/build/2841410 | x86_64-linux | > /gnu/store/vj0xyabkyy8jb5lih1j5zv0n7d7kr394-ruby-json-pure-2.1.0.drv > https://hydra.gnu.org/build/2840802 | armhf-linux | > /gnu/store/97wgys535pz9yi616arv1dkd3953vqa8-ruby-redcarpet-3.4.0.drv > https://hydra.gnu.org/build/2842647 | i686-linux | > /gnu/store/05mdymhhdhhk3nr21xy4vnmjjv7f8wn7-ruby-redcarpet-3.4.0.drv > https://hydra.gnu.org/build/2812123 | armhf-linux | > /gnu/store/l7k1fywmmyc5fsrch9b15j86kcr3jwhd-shaderc-0.0.0-2.be8e087.drv > https://hydra.gnu.org/build/2811921 | i686-linux | > /gnu/store/y2qg306qp9x0yp0q6j69h4jpl7q4vk18-shaderc-0.0.0-2.be8e087.drv > https://hydra.gnu.org/build/2811833 | x86_64-linux | > /gnu/store/smax7jsialvq2lhg6zf4wcxpnsqal7bv-shaderc-0.0.0-2.be8e087.drv > https://hydra.gnu.org/build/2843817 | i686-linux | > /gnu/store/7l5x373wrvhlrcq2yqmfg0ghjddpv11l-skopeo-0.1.28.drv > https://hydra.gnu.org/build/2842125 | armhf-linux | > /gnu/store/c1ah46yc5yrhizv4z0rkldpj45hg1mj2-sorcer-1.1.3.drv > https://hydra.gnu.org/build/2841220 | i686-linux | > /gnu/store/p5m5wjacj7j2yasn7419dv6xrpaflp23-sorcer-1.1.3.drv > https://hydra.gnu.org/build/2840704 | x86_64-linux | > /gnu/store/wix2rm45g4dzn2l5rcnjbd1vlcyp0l32-sorcer-1.1.3.drv > https://hydra.gnu.org/build/2844279 | i686-linux | > /gnu/store/sjm4chzv7cv9nj0izvxlarvwlinpahwg-syncthing-0.14.48.drv > > Mark > > > >
[Message part 2 (text/html, inline)]
bug-guix <at> gnu.org
:bug#31974
; Package guix
.
(Thu, 28 Jun 2018 15:12:01 GMT) Full text and rfc822 format available.Message #19 received at 31974 <at> debbugs.gnu.org (full text, mbox):
From: ludo <at> gnu.org (Ludovic Courtès) To: Mark H Weaver <mhw <at> netris.org> Cc: 31974 <at> debbugs.gnu.org Subject: Re: bug#31974: If a phase returns #f, a warning is issued, but the build continues Date: Thu, 28 Jun 2018 17:10:51 +0200
Hello, Mark H Weaver <mhw <at> netris.org> skribis: > I grepped the build logs on Hydra from evaluation 110021 searching for > the warning issued when a phase returns #f. Some of the build logs had > been deleted, but of the builds whose logs are still present, these are > the ones whose 'check' phase returned #f, but which nonetheless > succeeded: Are these builds that succeeded despite these #f returns? The ‘check’ phase is a serious issue that I had overlooked; in effect, everything is as if we were not running tests. Thanks for investigating! Ludo’.
bug-guix <at> gnu.org
:bug#31974
; Package guix
.
(Thu, 28 Jun 2018 15:48:02 GMT) Full text and rfc822 format available.Message #22 received at 31974 <at> debbugs.gnu.org (full text, mbox):
From: Gábor Boskovits <boskovits <at> gmail.com> To: Mark H Weaver <mhw <at> netris.org> Cc: Ludovic Courtès <ludo <at> gnu.org>, 31974 <at> debbugs.gnu.org Subject: Re: bug#31974: If a phase returns #f, a warning is issued, but the build continues Date: Thu, 28 Jun 2018 17:46:56 +0200
[Message part 1 (text/plain, inline)]
Gábor Boskovits <boskovits <at> gmail.com> ezt írta (időpont: 2018. jún. 28., Cs, 7:56): > Mark H Weaver <mhw <at> netris.org> ezt írta (időpont: 2018. jún. 28., Cs, > 7:11): > >> ludo <at> gnu.org (Ludovic Courtès) writes: >> >> > Mark H Weaver <mhw <at> netris.org> skribis: >> > >> >> I just noticed that I made a mistake in commit >> >> d8a3b1b9e847d4a44d2695f95af77170d4d2788f, which changed 'gnu-build' in >> >> (guix build gnu-build-system) to issue a warning if a phase returns a >> >> value other than #t. >> >> >> >> The result is that if a phase returns a value other than #t, a warning >> >> is issued, but the build nonetheless continues to the next phase, and >> >> the build could ultimately "succeed" even some phases returned #f. >> >> >> >> In other words, the return values of phases are effectively ignored, >> >> except for the warning, so the only way to cause a build with phases to >> >> fail is to raise an exception. >> > >> > Thanks for the heads-up. In practice, I suppose many builds would >> > eventually fail anyway, but we’ll have to keep an eye on it. >> >> I grepped the build logs on Hydra from evaluation 110021 searching for >> the warning issued when a phase returns #f. Some of the build logs had >> been deleted, but of the builds whose logs are still present, these are >> the ones whose 'check' phase returned #f, but which nonetheless >> succeeded: >> >> aegis-4.24 (x86_64 i686) >> coq-8.8.0 (armhf) >> coq-gappa-1.3.2 (armhf) >> crawl-0.21.0 (armhf) >> gexiv2-0.10.8 (i686) >> java-eclipse-jetty-security-9.4.6 (x86_64) >> java-kafka-clients-1.0.0 (x86_64) >> maven-compat-3.5.3 (x86_64) >> > > Thanks, I will look at the two java and maven-compat. > java-eclipse-jetty-security fixed. > > >> ocaml-4.01.0 (armhf) >> python-django-1.11.11 (x86_64 i686) >> python-ptyprocess-0.5.2 (armhf) >> python2-astroid-1.5.3 (i686 armhf) >> python2-bz2file-0.98 (x86_64 i686 armhf) >> python2-dendropy-4.2.0 (i686) >> python2-django-1.11.11 (x86_64 i686) >> python2-django-allauth-0.30.0 (x86_64 i686) >> restic-0.9.1 (x86_64 i686) >> ruby-concurrent-1.0.5 (armhf) >> ruby-connection-pool-2.2.2 (i686) >> ruby-json-pure-2.1.0 (x86_64 i686) >> ruby-redcarpet-3.4.0 (i686 armhf) >> shaderc-0.0.0-2.be8e087 (x86_64 i686 armhf) >> skopeo-0.1.28 (i686) >> syncthing-0.14.48 (i686) >> >> Here are the ones where the 'build' phase returned #f: >> >> ocaml-gsl-1.19.3.drv (armhf) >> ocaml4.01-gsl-1.19.3.drv (armhf) >> scm-5f2.drv (i686 armhf) >> teeworlds-0.6.4.drv (armhf) >> >> And here are the ones where some other phase returned #f: >> >> gnome-dictionary-3.26.1.drv (x86_64 i686 armhf): ## WARNING: phase >> `install' returned `#f'. >> hop-3.1.0-pre2.drv (armhf): ## WARNING: phase >> `configure' returned `#f'. >> sorcer-1.1.3.drv (x86_64 i686 armhf): ## WARNING: phase >> `build-faust-sources' returned `#f'. >> >> Here's a combined list with the derivations and links to the >> Hydra builds: >> >> https://hydra.gnu.org/build/2801304 | i686-linux | >> /gnu/store/1pzb1d2s03p6728wfifnhjxfbh02njik-aegis-4.24.drv >> https://hydra.gnu.org/build/2791716 | x86_64-linux | >> /gnu/store/sdhr6r50pchw1c54gl6w3h7abnv9k63q-aegis-4.24.drv >> https://hydra.gnu.org/build/2842834 | armhf-linux | >> /gnu/store/6cd0sd5jllxqw3q3g9s7z804f36kg9ll-coq-8.8.0.drv >> https://hydra.gnu.org/build/2841249 | armhf-linux | >> /gnu/store/77japmdnhrb9dws0cjak3lbkjmxkxvn9-coq-gappa-1.3.2.drv >> https://hydra.gnu.org/build/2805499 | armhf-linux | >> /gnu/store/mvf8j3fyp0wq98yxr3fh8cdkyx8ap0ds-crawl-0.21.0.drv >> https://hydra.gnu.org/build/2797616 | i686-linux | >> /gnu/store/7h2zk83lpbh9ms41bhx5gpygi1rjv7nw-gexiv2-0.10.8.drv >> https://hydra.gnu.org/build/2841898 | armhf-linux | >> /gnu/store/ddgiz8db0y1im3i3c2zh3j52wkkibas7-gnome-dictionary-3.26.1.drv >> https://hydra.gnu.org/build/2842705 | i686-linux | >> /gnu/store/lrgbx1qsz21ylvdya8grx1rkpgr8zqa5-gnome-dictionary-3.26.1.drv >> https://hydra.gnu.org/build/2840885 | x86_64-linux | >> /gnu/store/fywqcpdgijbbgc2w03wg57w76kzgrghn-gnome-dictionary-3.26.1.drv >> https://hydra.gnu.org/build/2842410 | x86_64-linux | >> /gnu/store/2jl85jn1q3llhzscy7b02x76izw5w284-java-eclipse-jetty-security-9.4.6.drv >> https://hydra.gnu.org/build/2841151 | x86_64-linux | >> /gnu/store/13cbi0mfhn40dfa705q1bx77jayp0a5k-java-kafka-clients-1.0.0.drv >> https://hydra.gnu.org/build/2843944 | x86_64-linux | >> /gnu/store/wbc3fzqqvp4f9nhn3f59bkd0kvjrvciz-maven-compat-3.5.3.drv >> https://hydra.gnu.org/build/2789087 | armhf-linux | >> /gnu/store/pkjxjs7rsrz5fn3m5vhs761prir1xiv7-ocaml-4.01.0.drv >> https://hydra.gnu.org/build/2843063 | armhf-linux | >> /gnu/store/93xqlng0ihng0xnxc3ilmw23malakp8q-ocaml-gsl-1.19.3.drv >> https://hydra.gnu.org/build/2815032 | armhf-linux | >> /gnu/store/gy1xv9n6q3nh4bgwm42nzpqmc2gw8x2g-ocaml4.01-gsl-1.19.3.drv >> https://hydra.gnu.org/build/2839505 | i686-linux | >> /gnu/store/43nqys57lgy4z0ldxq983vl4vrxrzr4w-python-django-1.11.11.drv >> https://hydra.gnu.org/build/2840027 | x86_64-linux | >> /gnu/store/6nwm5zsfk5vxj4vq5blckl7j4hyz246k-python-django-1.11.11.drv >> https://hydra.gnu.org/build/2791170 | armhf-linux | >> /gnu/store/0478c2n6cfpx50viy95204dwwdqs3ggv-python-ptyprocess-0.5.2.drv >> https://hydra.gnu.org/build/2795214 | armhf-linux | >> /gnu/store/bxyr5vi0ilv2z3q5wfk6qfzl5ahl6hb7-python2-astroid-1.5.3.drv >> https://hydra.gnu.org/build/2795813 | i686-linux | >> /gnu/store/h4v2xcs0yycwn7dn4bjf8fci77bf7h05-python2-astroid-1.5.3.drv >> https://hydra.gnu.org/build/2799056 | armhf-linux | >> /gnu/store/jvbk35z3s5cvyjs8a5ilz289k0gkgqmv-python2-bz2file-0.98.drv >> https://hydra.gnu.org/build/2798019 | i686-linux | >> /gnu/store/s19a20dlq6g4fm84jdgg8njvdl9ppz4d-python2-bz2file-0.98.drv >> https://hydra.gnu.org/build/2798128 | x86_64-linux | >> /gnu/store/0cln2r1ln15avh0kmc6drwz756fc4bvv-python2-bz2file-0.98.drv >> https://hydra.gnu.org/build/2789737 | i686-linux | >> /gnu/store/d35bm2fjsmz4dzcavpd16khdg6pyfazr-python2-dendropy-4.2.0.drv >> https://hydra.gnu.org/build/2839515 | i686-linux | >> /gnu/store/y70lr6yk2ainc74j58fjdxyil2ys06qk-python2-django-1.11.11.drv >> https://hydra.gnu.org/build/2840426 | x86_64-linux | >> /gnu/store/bchmr8fynjh5j8zrfg9pxaqvm11vm1a6-python2-django-1.11.11.drv >> https://hydra.gnu.org/build/2842057 | i686-linux | >> /gnu/store/0v1dgqw1p8z96gi37i3ai958yl3zpj62-python2-django-allauth-0.30.0.drv >> https://hydra.gnu.org/build/2841037 | x86_64-linux | >> /gnu/store/9a7nx0pi3rs4nvy7nzif6frhlsa00qpz-python2-django-allauth-0.30.0.drv >> https://hydra.gnu.org/build/2843841 | i686-linux | >> /gnu/store/2wp8xbkipwm80zvh528whp4dgi3q8jya-restic-0.9.1.drv >> https://hydra.gnu.org/build/2843458 | x86_64-linux | >> /gnu/store/lbw8kyb4pzr550bi7b47zjzwgdybylix-restic-0.9.1.drv >> https://hydra.gnu.org/build/2796244 | armhf-linux | >> /gnu/store/4k62sq4dggyi9xh10qsv2mihpz81d92q-ruby-concurrent-1.0.5.drv >> https://hydra.gnu.org/build/2789937 | i686-linux | >> /gnu/store/yc0rjldnjmp2m2b31y2q0kgn2956mvna-ruby-connection-pool-2.2.2.drv >> https://hydra.gnu.org/build/2842387 | i686-linux | >> /gnu/store/jqylsar0skxz9l9mmxv1xx4xnl076y8y-ruby-json-pure-2.1.0.drv >> https://hydra.gnu.org/build/2841410 | x86_64-linux | >> /gnu/store/vj0xyabkyy8jb5lih1j5zv0n7d7kr394-ruby-json-pure-2.1.0.drv >> https://hydra.gnu.org/build/2840802 | armhf-linux | >> /gnu/store/97wgys535pz9yi616arv1dkd3953vqa8-ruby-redcarpet-3.4.0.drv >> https://hydra.gnu.org/build/2842647 | i686-linux | >> /gnu/store/05mdymhhdhhk3nr21xy4vnmjjv7f8wn7-ruby-redcarpet-3.4.0.drv >> https://hydra.gnu.org/build/2812123 | armhf-linux | >> /gnu/store/l7k1fywmmyc5fsrch9b15j86kcr3jwhd-shaderc-0.0.0-2.be8e087.drv >> https://hydra.gnu.org/build/2811921 | i686-linux | >> /gnu/store/y2qg306qp9x0yp0q6j69h4jpl7q4vk18-shaderc-0.0.0-2.be8e087.drv >> https://hydra.gnu.org/build/2811833 | x86_64-linux | >> /gnu/store/smax7jsialvq2lhg6zf4wcxpnsqal7bv-shaderc-0.0.0-2.be8e087.drv >> https://hydra.gnu.org/build/2843817 | i686-linux | >> /gnu/store/7l5x373wrvhlrcq2yqmfg0ghjddpv11l-skopeo-0.1.28.drv >> https://hydra.gnu.org/build/2842125 | armhf-linux | >> /gnu/store/c1ah46yc5yrhizv4z0rkldpj45hg1mj2-sorcer-1.1.3.drv >> https://hydra.gnu.org/build/2841220 | i686-linux | >> /gnu/store/p5m5wjacj7j2yasn7419dv6xrpaflp23-sorcer-1.1.3.drv >> https://hydra.gnu.org/build/2840704 | x86_64-linux | >> /gnu/store/wix2rm45g4dzn2l5rcnjbd1vlcyp0l32-sorcer-1.1.3.drv >> https://hydra.gnu.org/build/2844279 | i686-linux | >> /gnu/store/sjm4chzv7cv9nj0izvxlarvwlinpahwg-syncthing-0.14.48.drv >> >> Mark >> >> >> >>
[Message part 2 (text/html, inline)]
bug-guix <at> gnu.org
:bug#31974
; Package guix
.
(Thu, 28 Jun 2018 17:53:01 GMT) Full text and rfc822 format available.Message #25 received at 31974 <at> debbugs.gnu.org (full text, mbox):
From: Mark H Weaver <mhw <at> netris.org> To: ludo <at> gnu.org (Ludovic Courtès) Cc: 31974 <at> debbugs.gnu.org Subject: Re: bug#31974: If a phase returns #f, a warning is issued, but the build continues Date: Thu, 28 Jun 2018 13:51:01 -0400
ludo <at> gnu.org (Ludovic Courtès) writes: > Mark H Weaver <mhw <at> netris.org> skribis: > >> I grepped the build logs on Hydra from evaluation 110021 searching for >> the warning issued when a phase returns #f. Some of the build logs had >> been deleted, but of the builds whose logs are still present, these are >> the ones whose 'check' phase returned #f, but which nonetheless >> succeeded: > > Are these builds that succeeded despite these #f returns? Yes, except for 'scm', 'teeworlds', and 'hop'. Those builds ultimately failed, so they should have been omitted from the lists I provided. Mark
bug-guix <at> gnu.org
:bug#31974
; Package guix
.
(Sat, 04 Aug 2018 03:26:01 GMT) Full text and rfc822 format available.Message #28 received at 31974 <at> debbugs.gnu.org (full text, mbox):
From: Mark H Weaver <mhw <at> netris.org> To: 31974 <at> debbugs.gnu.org Subject: Re: bug#31974: If a phase returns #f, a warning is issued, but the build continues Date: Fri, 03 Aug 2018 23:23:52 -0400
Mark H Weaver <mhw <at> netris.org> writes: > I just noticed that I made a mistake in commit > d8a3b1b9e847d4a44d2695f95af77170d4d2788f, which changed 'gnu-build' in > (guix build gnu-build-system) to issue a warning if a phase returns a > value other than #t. > > The result is that if a phase returns a value other than #t, a warning > is issued, but the build nonetheless continues to the next phase, and > the build could ultimately "succeed" even some phases returned #f. > > In other words, the return values of phases are effectively ignored, > except for the warning, so the only way to cause a build with phases to > fail is to raise an exception. This should be fixed by commit 82230603ce06de7aa3e4aef2fa093a6dbf0ef8df in core-updates. Mark
bug-guix <at> gnu.org
:bug#31974
; Package guix
.
(Sun, 19 Aug 2018 13:54:02 GMT) Full text and rfc822 format available.Message #31 received at 31974 <at> debbugs.gnu.org (full text, mbox):
From: ludo <at> gnu.org (Ludovic Courtès) To: Mark H Weaver <mhw <at> netris.org> Cc: 31974 <at> debbugs.gnu.org Subject: Re: bug#31974: If a phase returns #f, a warning is issued, but the build continues Date: Sun, 19 Aug 2018 15:53:03 +0200
Mark H Weaver <mhw <at> netris.org> skribis: > Mark H Weaver <mhw <at> netris.org> writes: > >> I just noticed that I made a mistake in commit >> d8a3b1b9e847d4a44d2695f95af77170d4d2788f, which changed 'gnu-build' in >> (guix build gnu-build-system) to issue a warning if a phase returns a >> value other than #t. >> >> The result is that if a phase returns a value other than #t, a warning >> is issued, but the build nonetheless continues to the next phase, and >> the build could ultimately "succeed" even some phases returned #f. >> >> In other words, the return values of phases are effectively ignored, >> except for the warning, so the only way to cause a build with phases to >> fail is to raise an exception. > > This should be fixed by commit 82230603ce06de7aa3e4aef2fa093a6dbf0ef8df > in core-updates. Cool, thanks for not forgetting! :-) Ludo’.
Ludovic Courtès <ludo <at> gnu.org>
:Mark H Weaver <mhw <at> netris.org>
:Message #36 received at 31974-done <at> debbugs.gnu.org (full text, mbox):
From: Ludovic Courtès <ludo <at> gnu.org> To: Mark H Weaver <mhw <at> netris.org> Cc: 31974-done <at> debbugs.gnu.org Subject: Re: bug#31974: If a phase returns #f, a warning is issued, but the build continues Date: Wed, 09 Jan 2019 21:38:25 +0100
Mark H Weaver <mhw <at> netris.org> skribis: > I just noticed that I made a mistake in commit > d8a3b1b9e847d4a44d2695f95af77170d4d2788f, which changed 'gnu-build' in > (guix build gnu-build-system) to issue a warning if a phase returns a > value other than #t. > > The result is that if a phase returns a value other than #t, a warning > is issued, but the build nonetheless continues to the next phase, and > the build could ultimately "succeed" even some phases returned #f. This was fixed in commit 82230603ce06de7aa3e4aef2fa093a6dbf0ef8df. Closing! Ludo'.
Debbugs Internal Request <help-debbugs <at> gnu.org>
to internal_control <at> debbugs.gnu.org
.
(Thu, 07 Feb 2019 12:24:09 GMT) Full text and rfc822 format available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.