bug#41669: Cross-compiled powerpc64-linux bootstrap-tarballs not reproducible

2020-12-29 Thread Leo Le Bouter via Bug reports for GNU Guix
Hello Ludo!

On Sat, 2020-12-19 at 23:28 -0800, Chris Marusich wrote:
> Now that we have decided to use these powerpc64 bootstrap tarballs,
> what
> are the next steps for uploading them to the GNU FTP server?  I've
> never
> done that before, and I don't think I have access.  For now I've put
> a
> signed copy of the powerpc64-linux (big endian) bootstrap tarballs,
> with
> a SHA-512 hash, here:
> 
> https://media.marusich.info/guix-ppc64-bootstrap/bootstrap-tarballs-from-guix-1ced8379c7.tar.xz
> https://media.marusich.info/guix-ppc64-bootstrap/bootstrap-tarballs-from-guix-1ced8379c7.tar.xz.asc
> https://media.marusich.info/guix-ppc64-bootstrap/bootstrap-tarballs-from-guix-1ced8379c7.tar.xz.sha512sum
> 
> For the record, these bootstrap tarballs were built via the following
> steps:
> 
> - Use
>   
> https://ftp.gnu.org/gnu/guix/guix-system-install-1.2.0.x86_64-linux.iso.xz
>   to install Guix System 1.2.0 on an x86_64-linux machine.
> - Run: guix pull --no-substitutes --
> commit=1ced8379c7641788fa607b19b7a66d18f045362b
> - Run: guix build --no-substitutes --target=powerpc64-linux-gnu
> bootstrap-tarballs
> - I didn't run "guix system reconfigure" after installing Guix
> System;
>   theoretically it shouldn't matter, but for the purpose of our
>   experiment, I just left the system in its default configuration in
>   order to ensure that the kernel etc. would be the same on both VMs.
> 
> Once we get these binaries into the GNU FTP server, 

Can you do it? Upload the binaries on GNU FTP server? Little endian
binaries will come along shortly as well. We decided (Chris and me)
that obsessing on this problem any longer is not going to help us
complete this port, the amount of struggle is getting very
demotivating. We got reasonable proof that this non-reproducibility GCC
problem exists and is non-trivial to solve, that's what I wanted with
the last attempts, I had hope it could still be trivial but turns out
not.

> I'll get started on
> updating gnu/packages/bootstrap.scm and other files necessary to
> begin
> bootstrapping powerpc64-linux.  I'll mainly be adapting the work that
> Leo already did, and following the lead of others like Efraim and his
> work on the wip-ppc branch.  I will probably have questions as I go,
> so
> I'll ask on guix-devel.
> 
> Please let me know if you'd like this done on a special branch.
> 

Thank you


signature.asc
Description: This is a digitally signed message part


bug#45537: Update fails with this error

2020-12-29 Thread Leo Prikler
Hi.

This probably belongs to guix-help, but the format is

SUMMARY
[OPTIONAL DESCRIPTION]
CHANGELOG
[OPTIONAL SIGNED-OFF-BY]

each separated by two line feeds.  Very importantly, the summary should
contain the name of the package being changed (if one is changed at all
– there are also commits affecting build systems etc.), and so should
the changelog.  You can therefore pretty easily grep the logs for the
last commit, in which a variable was introduced, removed, changed,
moved, etc.
For instance, searching r-snpstats in the web interface quickly yields
the commit I've posted earlier as the one in which the bug was fixed.

Regards,
Leo

Am Dienstag, den 29.12.2020, 23:33 + schrieb zna...@disroot.org:
> Thank you!
> 
> Where can I find all commits list by date?
> I see here something: http://git.savannah.gnu.org/cgit/guix.git/log/
> 
> Can you please teach me how use list of commits convenient way?
> 
> December 29, 2020 11:56 PM, "Leo Prikler" <
> leo.prik...@student.tugraz.at> wrote:
> 
> > Hello,
> > 
> > It would appear, that this specific issue was fixed by Mathieu in
> > commit 0c8bb20b7cbd39537999fce29979a6acaf64e601.
> > If such a slip-up happens again in future and you really need to
> > update
> > a week-old generation, note that you can also specify slightly
> > older
> > commits using "guix pull --commit=COMMIT-HASH".
> > 
> > Regards,
> > Leo
> > 
> > Am Dienstag, den 29.12.2020, 17:11 + schrieb zna...@disroot.org
> > :
> > 
> > > Hi! Please, repair this.
> > > 
> > > $ guix pull && guix package-u
> > > ...
> > > building /gnu/store/ccp139yzx1wzlh1dln4gi93wlvzl2pzc-guix-
> > > 610cd6a17.drv...
> > > building CA certificate bundle...
> > > building fonts directory...
> > > building directory of Info manuals...
> > > building database for manual pages...
> > > building profile with 1 package...
> > > building /gnu/store/dj670bvqzchf2xjhy2hnc52i1faxa11d-inferior-
> > > script.scm.drv...
> > > building package cache...
> > > -builder for `/gnu/store/b2dkxxh10w1nsilsg2xhvvhhq8sdbmi2-guix-
> > > package-cache.drv' failed to produce output path
> > > `/gnu/store/mnailki8gsw9k6y9x5mi9qc4vva400dy-guix-package-cache'
> > > build of /gnu/store/b2dkxxh10w1nsilsg2xhvvhhq8sdbmi2-guix-
> > > package-
> > > cache.drv failed
> > > View build log at
> > > '/var/log/guix/drvs/b2/dkxxh10w1nsilsg2xhvvhhq8sdbmi2-guix-
> > > package-
> > > cache.drv.bz2'.
> > > cannot build derivation
> > > `/gnu/store/i1r62qfdhlshbszbz5fhd7s21g9wiv6f-
> > > profile.drv': 1 dependencies couldn't be built
> > > 
> > > $ cp /var/log/guix/drvs/b2/dkxxh10w1nsilsg2xhvvhhq8sdbmi2-guix-
> > > package-cache.drv.bz2 .
> > > $ bzip2 -d -k -v dkxxh10w1nsilsg2xhvvhhq8sdbmi2-guix-package-
> > > cache.drv.bz2
> > > $ cat dkxxh10w1nsilsg2xhvvhhq8sdbmi2-guix-package-cache.drv
> > > (repl-version 0 1 1)
> > > Generating package cache for
> > > '/gnu/store/4xv2dib26yqlrg3367nlnwph5m1lh72w-profile'...
> > > (exception unbound-variable (value #f) (value "Unbound variable:
> > > ~S")
> > > (value (r-snpstats)) (value #f))
> > > 
> > > $ guix describe
> > > Generation 3 Dec 26 2020 15:37:12 (current)
> > > guix 4969b51
> > > repository URL: https://git.savannah.gnu.org/git/guix.git
> > > branch: master
> > > commit: 4969b51d175497bfcc354c91803e9d70542b7113






bug#45537: Update fails with this error

2020-12-29 Thread Leo Prikler
Hi.

This probably belongs to guix-help, but the format is

SUMMARY
[OPTIONAL DESCRIPTION]
CHANGELOG
[OPTIONAL SIGNED-OFF-BY]

each separated by two line feeds.  Very importantly, the summary should
contain the name of the package being changed (if one is changed at all
– there are also commits affecting build systems etc.), and so should
the changelog.  You can therefore pretty easily grep the logs for the
last commit, in which a variable was introduced, removed, changed,
moved, etc.
For instance, searching r-snpstats in the web interface quickly yields
the commit I've posted earlier as the one in which the bug was fixed.

Regards,
Leo

Am Dienstag, den 29.12.2020, 23:33 + schrieb zna...@disroot.org:
> Thank you!
> 
> Where can I find all commits list by date?
> I see here something: http://git.savannah.gnu.org/cgit/guix.git/log/
> 
> Can you please teach me how use list of commits convenient way?
> 
> December 29, 2020 11:56 PM, "Leo Prikler" <
> leo.prik...@student.tugraz.at> wrote:
> 
> > Hello,
> > 
> > It would appear, that this specific issue was fixed by Mathieu in
> > commit 0c8bb20b7cbd39537999fce29979a6acaf64e601.
> > If such a slip-up happens again in future and you really need to
> > update
> > a week-old generation, note that you can also specify slightly
> > older
> > commits using "guix pull --commit=COMMIT-HASH".
> > 
> > Regards,
> > Leo
> > 
> > Am Dienstag, den 29.12.2020, 17:11 + schrieb zna...@disroot.org
> > :
> > 
> > > Hi! Please, repair this.
> > > 
> > > $ guix pull && guix package-u
> > > ...
> > > building /gnu/store/ccp139yzx1wzlh1dln4gi93wlvzl2pzc-guix-
> > > 610cd6a17.drv...
> > > building CA certificate bundle...
> > > building fonts directory...
> > > building directory of Info manuals...
> > > building database for manual pages...
> > > building profile with 1 package...
> > > building /gnu/store/dj670bvqzchf2xjhy2hnc52i1faxa11d-inferior-
> > > script.scm.drv...
> > > building package cache...
> > > -builder for `/gnu/store/b2dkxxh10w1nsilsg2xhvvhhq8sdbmi2-guix-
> > > package-cache.drv' failed to produce output path
> > > `/gnu/store/mnailki8gsw9k6y9x5mi9qc4vva400dy-guix-package-cache'
> > > build of /gnu/store/b2dkxxh10w1nsilsg2xhvvhhq8sdbmi2-guix-
> > > package-
> > > cache.drv failed
> > > View build log at
> > > '/var/log/guix/drvs/b2/dkxxh10w1nsilsg2xhvvhhq8sdbmi2-guix-
> > > package-
> > > cache.drv.bz2'.
> > > cannot build derivation
> > > `/gnu/store/i1r62qfdhlshbszbz5fhd7s21g9wiv6f-
> > > profile.drv': 1 dependencies couldn't be built
> > > 
> > > $ cp /var/log/guix/drvs/b2/dkxxh10w1nsilsg2xhvvhhq8sdbmi2-guix-
> > > package-cache.drv.bz2 .
> > > $ bzip2 -d -k -v dkxxh10w1nsilsg2xhvvhhq8sdbmi2-guix-package-
> > > cache.drv.bz2
> > > $ cat dkxxh10w1nsilsg2xhvvhhq8sdbmi2-guix-package-cache.drv
> > > (repl-version 0 1 1)
> > > Generating package cache for
> > > '/gnu/store/4xv2dib26yqlrg3367nlnwph5m1lh72w-profile'...
> > > (exception unbound-variable (value #f) (value "Unbound variable:
> > > ~S")
> > > (value (r-snpstats)) (value #f))
> > > 
> > > $ guix describe
> > > Generation 3 Dec 26 2020 15:37:12 (current)
> > > guix 4969b51
> > > repository URL: https://git.savannah.gnu.org/git/guix.git
> > > branch: master
> > > commit: 4969b51d175497bfcc354c91803e9d70542b7113






bug#45537: Update fails with this error

2020-12-29 Thread znavko--- via Bug reports for GNU Guix
Thank you!

Where can I find all commits list by date?
I see here something: http://git.savannah.gnu.org/cgit/guix.git/log/

Can you please teach me how use list of commits convenient way?

December 29, 2020 11:56 PM, "Leo Prikler"  wrote:

> Hello,
> 
> It would appear, that this specific issue was fixed by Mathieu in
> commit 0c8bb20b7cbd39537999fce29979a6acaf64e601.
> If such a slip-up happens again in future and you really need to update
> a week-old generation, note that you can also specify slightly older
> commits using "guix pull --commit=COMMIT-HASH".
> 
> Regards,
> Leo
> 
> Am Dienstag, den 29.12.2020, 17:11 + schrieb zna...@disroot.org:
> 
>> Hi! Please, repair this.
>> 
>> $ guix pull && guix package-u
>> ...
>> building /gnu/store/ccp139yzx1wzlh1dln4gi93wlvzl2pzc-guix-
>> 610cd6a17.drv...
>> building CA certificate bundle...
>> building fonts directory...
>> building directory of Info manuals...
>> building database for manual pages...
>> building profile with 1 package...
>> building /gnu/store/dj670bvqzchf2xjhy2hnc52i1faxa11d-inferior-
>> script.scm.drv...
>> building package cache...
>> -builder for `/gnu/store/b2dkxxh10w1nsilsg2xhvvhhq8sdbmi2-guix-
>> package-cache.drv' failed to produce output path
>> `/gnu/store/mnailki8gsw9k6y9x5mi9qc4vva400dy-guix-package-cache'
>> build of /gnu/store/b2dkxxh10w1nsilsg2xhvvhhq8sdbmi2-guix-package-
>> cache.drv failed
>> View build log at
>> '/var/log/guix/drvs/b2/dkxxh10w1nsilsg2xhvvhhq8sdbmi2-guix-package-
>> cache.drv.bz2'.
>> cannot build derivation `/gnu/store/i1r62qfdhlshbszbz5fhd7s21g9wiv6f-
>> profile.drv': 1 dependencies couldn't be built
>> 
>> $ cp /var/log/guix/drvs/b2/dkxxh10w1nsilsg2xhvvhhq8sdbmi2-guix-
>> package-cache.drv.bz2 .
>> $ bzip2 -d -k -v dkxxh10w1nsilsg2xhvvhhq8sdbmi2-guix-package-
>> cache.drv.bz2
>> $ cat dkxxh10w1nsilsg2xhvvhhq8sdbmi2-guix-package-cache.drv
>> (repl-version 0 1 1)
>> Generating package cache for
>> '/gnu/store/4xv2dib26yqlrg3367nlnwph5m1lh72w-profile'...
>> (exception unbound-variable (value #f) (value "Unbound variable: ~S")
>> (value (r-snpstats)) (value #f))
>> 
>> $ guix describe
>> Generation 3 Dec 26 2020 15:37:12 (current)
>> guix 4969b51
>> repository URL: https://git.savannah.gnu.org/git/guix.git
>> branch: master
>> commit: 4969b51d175497bfcc354c91803e9d70542b7113





bug#45537: Update fails with this error

2020-12-29 Thread Leo Prikler
Hello,

It would appear, that this specific issue was fixed by Mathieu in
commit 0c8bb20b7cbd39537999fce29979a6acaf64e601.
If such a slip-up happens again in future and you really need to update
a week-old generation, note that you can also specify slightly older
commits using "guix pull --commit=COMMIT-HASH".

Regards,
Leo

Am Dienstag, den 29.12.2020, 17:11 + schrieb zna...@disroot.org:
> Hi! Please, repair this.
> 
> $ guix pull && guix package-u
> ...
> building /gnu/store/ccp139yzx1wzlh1dln4gi93wlvzl2pzc-guix-
> 610cd6a17.drv...
> building CA certificate bundle...
> building fonts directory...
> building directory of Info manuals...
> building database for manual pages...
> building profile with 1 package...
> building /gnu/store/dj670bvqzchf2xjhy2hnc52i1faxa11d-inferior-
> script.scm.drv...
> building package cache...
> -builder for `/gnu/store/b2dkxxh10w1nsilsg2xhvvhhq8sdbmi2-guix-
> package-cache.drv' failed to produce output path
> `/gnu/store/mnailki8gsw9k6y9x5mi9qc4vva400dy-guix-package-cache'
> build of /gnu/store/b2dkxxh10w1nsilsg2xhvvhhq8sdbmi2-guix-package-
> cache.drv failed
> View build log at
> '/var/log/guix/drvs/b2/dkxxh10w1nsilsg2xhvvhhq8sdbmi2-guix-package-
> cache.drv.bz2'.
> cannot build derivation `/gnu/store/i1r62qfdhlshbszbz5fhd7s21g9wiv6f-
> profile.drv': 1 dependencies couldn't be built
> 
> $ cp /var/log/guix/drvs/b2/dkxxh10w1nsilsg2xhvvhhq8sdbmi2-guix-
> package-cache.drv.bz2 .
> $ bzip2 -d -k -v dkxxh10w1nsilsg2xhvvhhq8sdbmi2-guix-package-
> cache.drv.bz2
> $ cat dkxxh10w1nsilsg2xhvvhhq8sdbmi2-guix-package-cache.drv
> (repl-version 0 1 1)
> Generating package cache for
> '/gnu/store/4xv2dib26yqlrg3367nlnwph5m1lh72w-profile'...
> (exception unbound-variable (value #f) (value "Unbound variable: ~S")
> (value (r-snpstats)) (value #f))
> 
> $ guix describe
> Generation 3 Dec 26 2020 15:37:12 (current)
> guix 4969b51
> repository URL: https://git.savannah.gnu.org/git/guix.git
> branch: master
> commit: 4969b51d175497bfcc354c91803e9d70542b7113






bug#45404: [PATCH] gnu: kiwix-desktop: Fix program start.

2020-12-29 Thread Leo Prikler
Pushed, thanks!

Small hint, if you want to use pure environments, don't forget
to expose environment variables such as DISPLAY and XAUTHORITY.

Regards,
Leo 

Am Freitag, den 25.12.2020, 17:36 +0100 schrieb Michael Rohleder:
> Fixes ;.
> 
> * gnu/packages/web.scm (kiwix-desktop)[arguments]: Add phase to wrap
> QTWEBENGINEPROCESS_PATH.
> ---
>  gnu/packages/web.scm | 12 +++-
>  1 file changed, 11 insertions(+), 1 deletion(-)
> 
> diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
> index 8d7dfe2804..7486eb7f5b 100644
> --- a/gnu/packages/web.scm
> +++ b/gnu/packages/web.scm
> @@ -7981,7 +7981,17 @@ It contains the code shared by all Kiwix
> ports.")
> (lambda* (#:key inputs #:allow-other-keys)
>   (substitute* "kiwix-desktop.pro"
> (("webenginewidgets" all) (string-append all "
> printsupport")))
> - #t)
> + #t))
> + (add-after 'install 'wrap-qt-process-path
> +   (lambda* (#:key inputs outputs #:allow-other-keys)
> + (let* ((out (assoc-ref outputs "out"))
> +(bin (string-append out "/bin/kiwix-desktop"))
> +(qt-process-path (string-append
> +  (assoc-ref inputs
> "qtwebengine")
> +  "/lib/qt5/libexec/QtWebEngineP
> rocess")))
> +   (wrap-program bin
> + `("QTWEBENGINEPROCESS_PATH" = (,qt-process-path)))
> +   #t))
>  (inputs
>   `(("curl" ,curl)
> ("icu4c" ,icu4c)






bug#38557: GNOME Desktop Stuttering

2020-12-29 Thread Maxim Cournoyer
Hi Raghav,

Raghav Gururajan  writes:

> Hello!
>
> NOTE: This email is posted to two different mail lists, due to their
> relevance. Please 'reply-all' so that members of both mail lists can
> follow up with the discussion.
>
> I forgot to mention how to reproduce the issue.
>
> 1) Set up Guix System using a system configuration similar to 
> https://bin.disroot.org/?510c2d858eb869e9#Ef9L5uG3TBiGspwp1X3kebFSoqPWi5XSvzNdisD3V8QY
> 2) Login into gnome-session via gdm.
> 3) Install and open ungoogled-chromium.
> 4) Visit for example https://einthusan.ca (can be accessed only from
> CA, so may need a VPN server at CA) --> Movies --> Any Language --> Any
> Movie. Play the video.
> 5) You will see desktop stuttering right away or within few minutes.
> 6) Reboot system.
> 7) Login into i3-wm session via gdm.
> 8) Repeat step 3 and 4. You will not encounter desktop stuttering.
>
> Regards,
> RG.

Is this still an issue on master?  It's been some time since your
original report, and IIUC many improvements were made to the GNOME
desktop.

Thank you!

Maxim





bug#44782: Python and Gajim-OMEMO

2020-12-29 Thread Maxim Cournoyer
Hello Raghav,

Raghav Gururajan  writes:

> Hi Maxim!
>
>> Actually, I can't seem to reproduce, using:
>> guix environment --pure --ad-hoc gajim gajim-omemo -- gajim -l
>> gajim.p.omemo=DEBUG
>> Then I tried signing up with some random account, enabled the plugin
>> and
>> I could see:
>> 12/28/20 23:28:16 (I) gajim.p.omemo  ($some-server)
>> Generating OMEMO keys
>> 12/28/20 23:28:21 (I) gajim.p.omemo  ($some-server) Our device 
>> id: 1816266738
>> 12/28/20 23:28:21 (I) gajim.p.omemo  ($some-server) 100 PreKeys 
>> available
>> It seems like you may have 'pip3 install enum34' or have other
>> things in
>> your environment that cause the issue?
>> If you can't reproduce in a clean environment, let's close it.
>
> Oh, I sent an email to debbugs-control long ago to close this bug. It
> seems like the email didn't go through. I'll retry.

It seems your message hadn't reached Debbugs.

No worries, I'm closing it now, by replying in Cc: to
44782-d...@debbugs.gnu.org.

Thanks for the report!

Maxim





bug#44782: Python and Gajim-OMEMO

2020-12-29 Thread Raghav Gururajan

Hi Maxim!


Actually, I can't seem to reproduce, using:

guix environment --pure --ad-hoc gajim gajim-omemo -- gajim -l
gajim.p.omemo=DEBUG

Then I tried signing up with some random account, enabled the plugin and
I could see:

12/28/20 23:28:16 (I) gajim.p.omemo  ($some-server) Generating 
OMEMO keys
12/28/20 23:28:21 (I) gajim.p.omemo  ($some-server) Our device id: 
1816266738
12/28/20 23:28:21 (I) gajim.p.omemo  ($some-server) 100 PreKeys 
available

It seems like you may have 'pip3 install enum34' or have other things in
your environment that cause the issue?

If you can't reproduce in a clean environment, let's close it.


Oh, I sent an email to debbugs-control long ago to close this bug. It 
seems like the email didn't go through. I'll retry.


After discussing with cbaines in IRC, the issue was resolved. It was 
python2-enum in the environment that was messing with python-enum.


Regards,
RG.





bug#45537: Update fails with this error

2020-12-29 Thread znavko--- via Bug reports for GNU Guix
Hi! Please, repair this.

$ guix pull && guix package-u
...
building /gnu/store/ccp139yzx1wzlh1dln4gi93wlvzl2pzc-guix-610cd6a17.drv...
building CA certificate bundle...
building fonts directory...
building directory of Info manuals...
building database for manual pages...
building profile with 1 package...
building /gnu/store/dj670bvqzchf2xjhy2hnc52i1faxa11d-inferior-script.scm.drv...
building package cache...
-builder for 
`/gnu/store/b2dkxxh10w1nsilsg2xhvvhhq8sdbmi2-guix-package-cache.drv' failed to 
produce output path 
`/gnu/store/mnailki8gsw9k6y9x5mi9qc4vva400dy-guix-package-cache'
build of /gnu/store/b2dkxxh10w1nsilsg2xhvvhhq8sdbmi2-guix-package-cache.drv 
failed
View build log at 
'/var/log/guix/drvs/b2/dkxxh10w1nsilsg2xhvvhhq8sdbmi2-guix-package-cache.drv.bz2'.
cannot build derivation 
`/gnu/store/i1r62qfdhlshbszbz5fhd7s21g9wiv6f-profile.drv': 1 dependencies 
couldn't be built

$ cp 
/var/log/guix/drvs/b2/dkxxh10w1nsilsg2xhvvhhq8sdbmi2-guix-package-cache.drv.bz2 
.
$ bzip2 -d -k -v dkxxh10w1nsilsg2xhvvhhq8sdbmi2-guix-package-cache.drv.bz2
$ cat dkxxh10w1nsilsg2xhvvhhq8sdbmi2-guix-package-cache.drv
(repl-version 0 1 1)
Generating package cache for 
'/gnu/store/4xv2dib26yqlrg3367nlnwph5m1lh72w-profile'...
(exception unbound-variable (value #f) (value "Unbound variable: ~S") (value 
(r-snpstats)) (value #f))

$ guix describe
Generation 3 Dec 26 2020 15:37:12 (current)
 guix 4969b51
 repository URL: https://git.savannah.gnu.org/git/guix.git
 branch: master
 commit: 4969b51d175497bfcc354c91803e9d70542b7113


bug#41058: GNOME Maps fails to start in GNOME

2020-12-29 Thread Leo Prikler
Hello Guix,

I've just pushed a variant of the patch I proposed as
a2d5f9f60d0f440e5d5ce1a1cc81743b27d6cede.  I tested it yesterday in a
VM; it should work.

Regards,
Leo