bug#50092: The 'sqlparse<0.4.0, >=0.3.0' distribution was not found and is required by mycli

2023-03-13 Thread Michael Rohleder
Hi Rostislav!

Thx for the bug report!

I believe, this is fixed in 56fdef0e11c975db6bfdcf7bdec29d50433e82aa -> closing.

If you still have this issue, please feel free to reopen.

-- 
Wer den Mund hält, wenn er Unrecht hat, ist weise.
Wer den Mund hält, obwohl er Recht hat, ist verheiratet.
George Bernard Shaw (ir. Schriftsteller, 1856-1950)


signature.asc
Description: PGP signature


bug#49775: can't type in Matrix ID in Nheko

2023-03-13 Thread Michael Rohleder
Hi Raingloom!

Thx for the bug-report!

Is this still reproducable?
And if so, is this on a foreign distro?

-- 
Dijkstra probably hates me(Linus Torvalds, in kernel/sched.c)


signature.asc
Description: PGP signature


bug#44877: bug#62140: enable LVM in Grub

2023-03-13 Thread Michael Rohleder
Hello Emmanuel!

Thx for the report!

I think this is bug 44877, maybe we can/should merge it.
Here [1] is a patch (and testcase).


[1]  https://issues.guix.gnu.org/60442
-- 
Man braucht zwei Jahre, um sprechen zu lernen,
und fünfzig, um schweigen zu lernen. E.Hemingway


signature.asc
Description: PGP signature


bug#57832: virt-manager broken due to broken GtkSource dependency

2023-01-20 Thread Michael Rohleder
Rick Huijzer  writes:
> Since virt-manager 3.2.0 I cannot use the package anymore. Any action in
> the GUI results in the following traceback:
>
> ```console
> $virt-manager --debug
>
> [Thu, 15 Sep 2022 15:55:10 virt-manager 17690] DEBUG (cli:195) Uncaught
> exception:
> Traceback (most recent call last):
>   File
> "/gnu/store/976nmhmzaqfk4cim7q0h8x7f5z5api12-virt-manager-3.2.0/share/virt-manager/virtManager/xmleditor.py",
> line 11, in 
> gi.require_version("GtkSource", "4")
>   File
> "/gnu/store/b07y8a2axslnz97pjdg7lp73xwk1gf8w-python-pygobject-3.40.1/lib/python3.9/site-packages/gi/__init__.py",
> line 129, in require_version
> raise ValueError('Namespace %s not available for version %s' %
> ValueError: Namespace GtkSource not available for version 4

I believe this is fixed with 8598aa4ea3c1ab5ea7f298c9c7034119498587e7
-> close.

-- 
Buddha was not buddhist.
Jesus was not christian.
Muhammad was not muslim.
They were teachers who tought LOVE.
Love was their religion. - Osho


signature.asc
Description: PGP signature


bug#39303: evolution crashes xfce when glib-networking is installed

2023-01-20 Thread Michael Rohleder
Hey Jesse!

Jesse Gibbons  writes:
> On xfce, when I open evolution it cannot send or receive any messages
> and I should install glib-networking. When I install glib-networking
> and start evolution, xfce crashes.

Is this still reproducible?
And if so, is this on a foreign distro?

-- 
Life begins where fear ends.  - Osho


signature.asc
Description: PGP signature


bug#56373: Updating synapse (Matrix Homeserver) Because it is Broken

2022-08-27 Thread Michael Rohleder
Hi Zacchaeus!

Thanks for the report!

I think, synapse 1.30.1 changed the dependency of python-cryptography to
a newer version (which we currently have as python-cryptography-next).
But also python-pyopenssl and python-pysaml2 needs to be build with
cryptography-next [1] (or they fail in a byte2int() or similar at runtime
somewhere).

So we also need some more -next python packages to upgrade synapse from
1.29.

matrix-common is needed from version >=1.50.


Footnotes:
[1]  
http://www.rohleder.de/gitweb/?p=guix.git;a=blob;f=mroh/guix/packages/python.scm;h=13ce4e8dd9822f443633385af6203fef78e198aa;hb=HEAD#l79
-- 
There are two ways of constructing a software design.
One is to make it so simple that there are obviously no deficiencies;
the other is to make it so complicated that there are no obvious deficiencies.
The first method is far more difficult.


signature.asc
Description: PGP signature


bug#42036: Failed to mount fuse sshfs

2022-05-16 Thread Michael Rohleder
Oleg Pykhalov  writes:
> I tried to install in Guix system profile via ‘packages’ field.  No
> success to run mount.

For me, the trick was to install fuse in the system profile (to find
mount.fuse3).

-- 
Some people claim that the UNIX learning curve is steep, but at least you
only have to climb it once.


signature.asc
Description: PGP signature


bug#44948: glade does not respond

2022-04-12 Thread Michael Rohleder
Hey Jesse!

Is this still reproduceable?  It seems to work for me.

-- 
These download files are in Microsoft Word 6.0 format.  After unzipping, 
these files can be viewed in any text editor, including all versions of 
Microsoft Word, WordPad, and Microsoft Word Viewer.  [Microsoft website]


signature.asc
Description: PGP signature


bug#53934: OpenJDK doesn't have a doclet

2022-02-13 Thread Michael Rohleder
Igor Gajsin  writes:
> There is a problem with openjdk (all versions 10 to 17). When I run
> cider (emacs mode for clojure) it complains about:
> java.lang.ClassNotFoundException: jdk.javadoc.doclet.Doclet
>
> when I try to set icedtea there is no such problem. If I understand well
> doclet is a part of JDK so it shoulb be part of a modern openjdk
> installation.

I haven't tried, but maybe adding a file "module-info.java" with the
content "requires jdk.javadoc" to your project might help. [1]

[1]
https://stackoverflow.com/questions/65683365/why-cant-i-import-the-jdk-javadoc-doclet-package

-- 
The difference between a career and a job is about 20 hours a week.


signature.asc
Description: PGP signature


bug#52766: guix deploy should have --skip-checks

2022-01-16 Thread Michael Rohleder
Ludovic Courtès  writes:
> I addressed that in 084b76a70a6b302529f3450e6d07f1d105a10f7d, not by
> adding ‘--skip-checks’, but instead by adding a ‘safety-checks?’ field
> to .  This is consistent with the
> ‘allow-upgrades?’ field that was added to skip downgrade checks.
>
> Let me know what you think!

I love it!  Thank you very much!
(Will test it soon/asap...)


signature.asc
Description: PGP signature


bug#53247: calibre fails to build.

2022-01-13 Thread Michael Rohleder
Looks like upgrading zeroconf (33898cd5b7fa5cd3c5e5af17d72ee84a95b6a5ba)
broke calibre:

...
starting phase `install'
...
Installing calibre environment module: /gnu/store/q227rjddwqxvkd165ydj648gmak7x4xi-calibre-5.21.0/lib/python3.9/site-packages/init_calibre.py
Traceback (most recent call last):
  File "/tmp/guix-build-calibre-5.21.0.drv-0/calibre-5.21.0/./setup.py", line 119, in 
sys.exit(main())
  File "/tmp/guix-build-calibre-5.21.0.drv-0/calibre-5.21.0/./setup.py", line 104, in main
command.run_all(opts)
  File "/tmp/guix-build-calibre-5.21.0.drv-0/calibre-5.21.0/setup/__init__.py", line 203, in run_all
self.run_cmd(self, opts)
  File "/tmp/guix-build-calibre-5.21.0.drv-0/calibre-5.21.0/setup/__init__.py", line 199, in run_cmd
cmd.run(opts)
  File "/tmp/guix-build-calibre-5.21.0.drv-0/calibre-5.21.0/setup/install.py", line 154, in run
self.run_postinstall()
  File "/tmp/guix-build-calibre-5.21.0.drv-0/calibre-5.21.0/setup/install.py", line 177, in run_postinstall
from calibre.linux import PostInstall
  File "/tmp/guix-build-calibre-5.21.0.drv-0/calibre-5.21.0/src/calibre/linux.py", line 13, in 
from calibre.customize.ui import all_input_formats
  File "/tmp/guix-build-calibre-5.21.0.drv-0/calibre-5.21.0/src/calibre/customize/ui.py", line 18, in 
from calibre.customize.builtins import plugins as builtin_plugins
  File "/tmp/guix-build-calibre-5.21.0.drv-0/calibre-5.21.0/src/calibre/customize/builtins.py", line 752, in 
from calibre.devices.smart_device_app.driver import SMART_DEVICE_APP
  File "/tmp/guix-build-calibre-5.21.0.drv-0/calibre-5.21.0/src/calibre/devices/smart_device_app/driver.py", line 2044, in 
from zeroconf import (BadTypeInNameException, _HAS_A_TO_Z,
ImportError: cannot import name '_HAS_A_TO_Z' from 'zeroconf' (/gnu/store/wd7qza7crmav4z8a0rsaqipil279smv5-python-zeroconf-0.38.1/lib/python3.9/site-packages/zeroconf/__init__.py)
error: in phase 'install': uncaught exception:
%exception #< program: "python" arguments: ("./setup.py" "install" "--prefix=/gnu/store/q227rjddwqxvkd165ydj648gmak7x4xi-calibre-5.21.0" "--no-compile") exit-status: 1 term-signal: #f stop-signal: #f> 
phase `install' failed after 2.5 seconds
command "python" "./setup.py" "install" "--prefix=/gnu/store/q227rjddwqxvkd165ydj648gmak7x4xi-calibre-5.21.0" "--no-compile" failed with status 1
builder for `/gnu/store/jkw6y56fsbh53rn8q214ny3fxk25p6c0-calibre-5.21.0.drv' failed with exit code 1

I found this https://bugs.gentoo.org/800233 similar gentoo bug.
Seems, our calibre needs a patch or upgraded to >=5.24


-- 
Those who do not understand Unix are condemned to reinvent it, poorly. 
-- Henry Spencer


signature.asc
Description: PGP signature


bug#53184: mycli unmet dependency on python-pyperclip

2022-01-11 Thread Michael Rohleder
Rostislav Svoboda  writes:
>> I think, that's because pyperclip is needed in "sanity-check" phase and
>> we didn't had this before the big merge.
>
> I'm rather new to guix... big merge what with what?

Oh, I'm sorry and welcome to guix!

What I called "the big merge" was the merge of the "core-updates" branch
with master some weeks ago.

See e.g. https://guix.gnu.org/manual/en/guix.html#Submitting-Patches for
a description of the branches master,staging and core-updates.

-- 
Wir haben alle zwei Leben: Das zweite beginnt,
wenn wir realisieren, dass wir nur ein Leben haben.


signature.asc
Description: PGP signature


bug#53184: mycli unmet dependency on python-pyperclip

2022-01-11 Thread Michael Rohleder
Rostislav Svoboda  writes:
> I wonder how and why the mycli got installed without having it's
> dependency, the python-pyperclip installed in the first place.

I think, that's because pyperclip is needed in "sanity-check" phase and
we didn't had this before the big merge.

-- 
Garbage In -- Gospel Out.


signature.asc
Description: PGP signature


bug#52305: calibre unable to fetch news

2021-12-23 Thread Michael Rohleder
Hi,

I'm trying to reproduce this, but no luck, I'm able to fetch news (cnet
also).

Is it possible that you are testing this in a foreigen environment?
(Is so, you might need to `SSL_CERT_DIR=/etc/ssl/certs calibre` ...)

-- 
The brain is a wonderful organ; it starts working the moment you get up
in the morning, and does not stop until you get to work.


signature.asc
Description: PGP signature


bug#52766: guix deploy should have --skip-checks

2021-12-23 Thread Michael Rohleder
If a customized kernel is build with "non standard" (initrd) modules, one
needs --skip-checks for guix system reconfigure.
This can't be deployed, because guix deploy has no --skip-checks.

I came up with this issue in #irc and Ludo said, we should have a bug,
so we don't forget ;)


Love, Peace & Guix!

-- 
Q. What is the best prefix for global variables?
A: //


signature.asc
Description: PGP signature


bug#52483: GnuPG 2.2.30 cannot do symmetric encryption

2021-12-18 Thread Michael Rohleder
Leo Famulari  writes:
> If emacs-pinentry cannot use a current GnuPG, what should we do? And
> maybe we don't need emacs-pinentry anymore?:
>
> https://emacs.stackexchange.com/a/64721
>

I don't think emacs-pinentry is needed, because adding
"allow-emacs-pinentry" to gpg-agent.conf worked (for me) (at least)
since several years in (guix) emacs w/o using emacs-pinentry (or other
emacs customization).

---
Wir kommen nackt auf diese Welt und atmen ein.
Wir atmen aus und verlassen diese Welt mit leeren Händen.
und dazwischen gestalten wir unser Leben.


signature.asc
Description: PGP signature


bug#52051: [core-updates-frozen] cannot login ('org.freedesktop.login1' service times out)

2021-12-16 Thread Michael Rohleder
Hi Guillaume,

Guillaume Le Vaillant  writes:
> I just got this login error when updating an old machine with a HDD as
> storage. On some other faster machines using SSD or NVME storage this
> issue never happened, so I thought the error might be triggered by
> slow IO.
>
> Do some of you also see the issue on fast machines/storage?

I can confirm this. For me, this happens on a machine with a HDD, but
not on another with a SSD nor my laptop with NVME.

(It also "feels" like, it's about timing or so)

-- 
Q: How does a Unix guru have sex?
A: unzip;strip;touch;finger;mount;fsck;more;yes;umount;sleep



signature.asc
Description: PGP signature


bug#52051: [core-updates-frozen] cannot login ('org.freedesktop.login1' service times out)

2021-12-15 Thread Michael Rohleder
Hi Maxim,

I currently have this (very annoying) issue on _one_ of my machines (two
others work with nearly the same config).
I can't login at all not via console nor ssh or sddm.
I spend some time to reproduce it in a vm, but no success so far.

These are the relevant messages from syslog:
Dec 15 18:15:52 micha dbus-daemon[470]: [system] Failed to activate service 
'org.freedesktop.login1': timed out (service_start_timeout=25000ms)
Dec 15 18:16:47 micha dbus-daemon[470]: [system] Activating service 
name='org.freedesktop.login1' requested by ':1.8' (uid=0 pid=899 
comm="/gnu/store/ximad0zvg12r4x0x80mvym8hzg0n33jl-shadow") (using servicehelper)
Dec 15 18:16:47 micha elogind[935]: elogind is already running as PID 558
Dec 15 18:17:12 micha dbus-daemon[470]: [system] Failed to activate service 
'org.freedesktop.login1': timed out (service_start_timeout=25000ms)

-- 
How much does it cost to entice a dope-smoking UNIX system guru to Dayton?
-- Brian Boyle, UNIX/WORLD's First Annual Salary Survey


signature.asc
Description: PGP signature


bug#49441: xfce4-power-manager segfaults randomly

2021-07-06 Thread Michael Rohleder
Hello Nathan!

Thank you for the report and the backtrace!

Nathan Dehnel  writes:
> Using v4.16.0. Attached is a backtrace. I have a coredump, but it's
> too large to attach to an email.
>
> #0  0x7f995c4c75bc in gtk_widget_dispose ()
>from 
> /gnu/store/nd2i0wfhx2wsdn3di573wl7kagg6pm9s-gtk+-3.24.24/lib/libgtk-3.so.0
> #1  0x7f995baee8a3 in g_object_unref ()
>from 
> /gnu/store/jsqxxnaj5p8a22mrsvl679gi7jl26z4j-glib-2.62.6/lib/libgobject-2.0.so.0
> #2  0x0041ea61 in battery_device_remove_pix ()
> #3  0x0041f37d in power_manager_button_update_device_icon_and_details 
> ()

looks like it is crashing here:
(`guix build -S 
xfce4-power-manager`/panel-plugins/power-manager-plugin/power-manager-button.c:607)

/* This function unrefs the pix and img from the battery device and
 * disconnects the expose-event callback on the img.
 */
static void
battery_device_remove_pix (BatteryDevice *battery_device)
{
  TRACE("entering");

  if (battery_device == NULL)
return;

  if (G_IS_OBJECT (battery_device->pix))
  {
if (GTK_IS_WIDGET (battery_device->img))
{
  if (battery_device->expose_signal_id != 0)
  {
  g_signal_handler_disconnect (battery_device->img, 
battery_device->expose_signal_id);
  battery_device->expose_signal_id = 0;
  }
  g_object_unref (battery_device->img);
  battery_device->img = NULL;
}
g_object_unref (battery_device->pix);
battery_device->pix = NULL;
  }
}

I wonder how that can happen and so far I was not able to reproduce
this.

Do you get something on the console/stdout if you start
xfce4-power-manager on the console?

If that happens only sometimes: Maybe is it after you change something
at runtime, maybe changeing a battery or so?


-- 
You are not supposed to start Emacs more than once in a lifetime, so
the startup time shouldn't matter at all.
  Eli Zaretskii in help-gnu-emacs


signature.asc
Description: PGP signature


bug#42301: Build of GNU Solfege fails

2021-07-05 Thread Michael Rohleder
Nicolas Goaziou  writes:
> Fine by me, but I'm not the OP.

dito.

-- 
Thus spake the master programmer:
"Without the wind, the grass does not move.  Without software,
hardware is useless."
-- Geoffrey James, "The Tao of Programming"


signature.asc
Description: PGP signature


bug#45236: Xboard doesn't work.

2021-05-05 Thread Michael Rohleder
fixed with 561db254a5fd72578ea2a0b0a3e8303f0ef20d85

-- 
vi /vmlinuz


signature.asc
Description: PGP signature


bug#47131: pioneers: beep dependency

2021-05-03 Thread Michael Rohleder
Fixed with fa7dc25c2faa4769b3a053a41bb251dcc1233305

-- 
The easiest way to get shot is to carry a gun -- Atticus Finch


signature.asc
Description: PGP signature


bug#47195: xboard: alsa-utils dependency

2021-05-03 Thread Michael Rohleder
Fixed with 55b6e1a7ada24221d7241c91ae1cca84fd22fcc9

-- 
The web, then, or the pattern, a web at once sensuous and logical, 
an elegant and pregnant texture: that is style, that is the foundation 
of the art of literature.
 - Robert Louis Stevenson, On some technical Elements 
 of Style in Literature (1885) 


signature.asc
Description: PGP signature


bug#47195: xboard: alsa-utils dependency

2021-05-02 Thread Michael Rohleder
Hello Christopher,

Thank you reporting this!

This patch should fix this: https://issues.guix.gnu.org/48158

I'm not sure if we should also patch paths to other programs like
engines (gnuchess, fruit, crafty) and polyglot though.
(Only gnuchess is packaged currently).

-- 
You can no more win a war than you can win an earthquake. - Jeannette Rankin


signature.asc
Description: PGP signature


bug#45179: qutebrowser stuck at Cloudflare 'browser checks'

2021-04-07 Thread Michael Rohleder
"bdju"  writes:
> On Tue Apr 6, 2021 at 4:41 PM CDT, bdju wrote:
>> While I was able to bypass the cloudflare checks in IceCat with that
>> User Agent Switcher addon, I found I so far haven't been able to get
>> past them in qutebrowser by changing my useragent. I tried both your
>> example and copying one of the useragents generated by UAS in IceCat.
>> Still caught in a loop. (and I am using --temp-basedir as you said, so
>> shouldn't be my config)
> I was too hasty! I both had to change my useragent and wait a long time!
> I didn't measure the time, but I'd guess over 10 minutes for Gitlab to
> work. Livechart took even longer. Thanks so much for this workaround.
> Oh, and this works without --temp-basedir, by the way. I should be able
> to actually use these sites in my normal session now I think!

Yay!  That's great to hear, so let's close this ;)

-- 
Practical people would be more practical if they would take a little
more time for dreaming.   -   J. P. McEvoy


signature.asc
Description: PGP signature


bug#45448: Emacs can't load org mode after last update

2021-01-15 Thread Michael Rohleder
Pierre Langlois  writes:
> Great! I've just pushed with commit
> cd11f6a2bd703f0859aec05c0873186b734d6d74, adding a comment to remove
> this phase when the issue is resolved upstream.

I think, with this commit, this can be closed.


signature.asc
Description: PGP signature


bug#45507: [udiskie]: Fails to start

2020-12-30 Thread Michael Rohleder
"Raghav Gururajan"  writes:
> Udiskie application crashes upon start, with the following error:
>
> *** START ***
> Traceback (most recent call last):
>   File 
> "/gnu/store/xbl08cq6s7wpzi3qp6nvwh1x7nia2py2-udiskie-2.1.0/lib/python3.8/site-packages/udiskie/cli.py",
>  line 222, in _start_async_tasks
> self.udisks = await udiskie.udisks2.Daemon.create()
>   File 
> "/gnu/store/xbl08cq6s7wpzi3qp6nvwh1x7nia2py2-udiskie-2.1.0/lib/python3.8/site-packages/udiskie/udisks2.py",
>  line 703, in create
> version = await cls.get_version()
>   File 
> "/gnu/store/xbl08cq6s7wpzi3qp6nvwh1x7nia2py2-udiskie-2.1.0/lib/python3.8/site-packages/udiskie/udisks2.py",
>  line 714, in get_version
> version = await dbus.call(manager._proxy, 'Get', '(ss)', (
>   File 
> "/gnu/store/xbl08cq6s7wpzi3qp6nvwh1x7nia2py2-udiskie-2.1.0/lib/python3.8/site-packages/udiskie/dbus.py",
>  line 49, in call
> value = proxy.call_finish(result)
> gi.repository.GLib.GError: g-dbus-error-quark: 
> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name 
> org.freedesktop.UDisks2 was not provided by any .service files (2)
> *** END ***

Does it work if you start the udisks-service (add it to the system conf)?
(I think, on irc you said it wasn't started, but not if it helps to do
so ;)

-- 
As of next week, passwords will be entered in Morse code.


signature.asc
Description: PGP signature


bug#45448: Emacs can't load org mode after last update

2020-12-27 Thread Michael Rohleder
Hello Marinus,

thank you for reporting!

I can reproduce this.

It seems, commit 93a81f5f643782926bd0e87eb4a55efd9c67ad18 broke
emacs-org and packages that depend on it.

e.g. emacs-org-re-reveal:

...
starting phase `build'
Checking /gnu/store/vlaq8yndpjmv55y8nwks82x1lnsm0q95-emacs-org-re-reveal-3.1.1/share/emacs/site-lisp/...
Compiling /gnu/store/vlaq8yndpjmv55y8nwks82x1lnsm0q95-emacs-org-re-reveal-3.1.1/share/emacs/site-lisp/org-re-reveal-autoloads.el...
Compiling /gnu/store/vlaq8yndpjmv55y8nwks82x1lnsm0q95-emacs-org-re-reveal-3.1.1/share/emacs/site-lisp/org-re-reveal.el...
Compiling /gnu/store/vlaq8yndpjmv55y8nwks82x1lnsm0q95-emacs-org-re-reveal-3.1.1/share/emacs/site-lisp/ox-re-reveal.el...
Invalid version syntax: ‘’ (must start with a number)
command "/gnu/store/k826y34z8zzjj57jv2nldmpw6vsdd145-emacs-minimal-27.1/bin/emacs" "--quick" "--batch" "--eval=(eval '(progn (setq byte-compile-debug t) (byte-recompile-directory (file-name-as-directory \"/gnu/store/vlaq8yndpjmv55y8nwks82x1lnsm0q95-emacs-org-re-reveal-3.1.1/share/emacs/site-lisp\") 0 1)) t)" failed with status 255
builder for `/gnu/store/q0nyh14394g1g2q9kj2cljc6kapjwdh7-emacs-org-re-reveal-3.1.1.drv' failed with exit code 1
build of /gnu/store/q0nyh14394g1g2q9kj2cljc6kapjwdh7-emacs-org-re-reveal-3.1.1.drv failed


I tried searching for a broken version string in org el's, but couldn't
find one.


signature.asc
Description: PGP signature


bug#45179: qutebrowser stuck at Cloudflare 'browser checks'

2020-12-22 Thread Michael Rohleder
Hello bdju,

"bdju"  writes:
> guix (GNU Guix) 91e35e32a4938e0e37499c64fa8ed3e7cf51dce3
> some example sites with browser checks:
> https://gitlab.com/users/sign_in
> http://livechart.me/
>
> I already contacted the people in the qutebrowser IRC. The bug persists
> when I launch with no config (`qutebrowser --temp-basedir'), and they
> could not reproduce the issue on the same version of qutebrowser I'm
> using. I suspect it may be an issue with the guix version.
>

A workaround is setting the "User Agent" string to something CF likes, e.g. 
like this:
qutebrowser --temp-basedir --set content.headers.user_agent 'Mozilla/5.0 
(Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0' 
https://gitlab.com/users/sign_in

Maybe the reason why the (very helpful) #qutebrowser folks can't
reproduce this, is because they use another qt version (qutebrowser uses
qtwebengine) and perhaps this sets user agent to a string that CF has
whitelisted.

I don't think there is much we could do here (besides updating qt and
mbakke has that in the pipeline, afaik).

-- 
COFFEE.EXE Missing - Insert Cup and Press Any Key


signature.asc
Description: PGP signature


bug#44948: glade does not respond

2020-12-02 Thread Michael Rohleder
Hey Jesse,

Jesse Gibbons  writes:
> guix environment --ad-hoc glade -- glade
> The main window pops up, and so does a dialog asking if I want to take
> a survey. I click to close the dialog and it doesn't respond.
> My WM is xfce.
> $ guix describe
> Generation 342    Nov 28 2020 17:39:32    (current)
>   guix f816deb
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: master
>     commit: f816deb9055669deaca59ac7652943adf7f11bb1

I could not reproduce this on current
(266d5705cd0fac2157705f4186583ffc7c49e693) master.
(the survey dialog shows after rm ~/.config/glade.conf)

Is this on a foreign distro?

-- 
Q: How does a Unix guru have sex?
A: unzip;strip;touch;finger;mount;fsck;more;yes;umount;sleep


signature.asc
Description: PGP signature


bug#44916: No option to add whisker menu to xfce panel after installing package xfce4-whiskermenu-plugin.

2020-11-28 Thread Michael Rohleder
Thank you for reporting!

potentialuse...@postpro.net writes:
> After doing a fresh install of Guix system using the graphics install menu 
> and picking the xfce option, I decided to substitute xfce's "Applications" 
> menu with the "Whisker" menu.
>
> Thus, I used command "guix install xfce4-whiskermenu-plugin" to
> install the package. After a system reboot, I opened the menu for
> adding items to the xfce panel. However, the option "Whisker Menu"
> isn't there.
>
> I asked this problem on irc and irc user "mroh" told me that this plugin 
> looks broken and they will try to fix it. They also asked me to make a bug 
> report:
>> mroh | PotentailUser-53: that plugin does indeed looks broken:
> ~/.guix-profile/bin/xfce4-popup-whiskermenu: line 47:
> /gnu/store/clmv25gbfjrajvh8bsnhfj3w86kry004-xfce4-whiskermenu-plugin-2.4.6/bin/xfce4-panel:
> No such file or directory

Here is a first try to fix this:

>From c0157162c35dea28fd4f65c0b8bc87425358e7db Mon Sep 17 00:00:00 2001
From: Michael Rohleder 
Date: Sat, 28 Nov 2020 16:10:15 +0100
Subject: [PATCH] gnu: xfce4-whiskermenu-plugin: Fix installed shell script.

* gnu/packages/xfce.scm (xfce4-whiskermenu-plugin): Fix installed shell script.
[arguments]: Add phase fix-shell-script to substitute path to xfce4-panel.
---
 gnu/packages/xfce.scm | 10 +-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index fbe06a1c76..1e5ece0489 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -535,7 +535,15 @@ keys for controlling the audio volume.")
("gtk+" ,gtk+)
("libxfce4ui" ,libxfce4ui)))
 (arguments
-  `(#:tests? #f)) ; no tests
+ `(#:tests? #f  ; no tests
+   #:phases
+   (modify-phases %standard-phases
+ (add-after 'unpack 'fix-shell-script
+   (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* (string-append "panel-plugin/xfce4-popup-whiskermenu.in")
+   (("@CMAKE_INSTALL_FULL_BINDIR@")
+(string-append (assoc-ref inputs "xfce4-panel") "/bin")))
+ #t)
 (home-page "https://goodies.xfce.org/projects/panel-plugins/xfce4-whiskermenu-plugin;)
 (synopsis "Application menu panel plugin for Xfce")
 (description
-- 
2.29.2


Now, the shell script (path to xfce4-panel in the last line) looks fine,
but it still doesn't popup/display anything ;(

-- 
apples  have  meant  trouble  since  eden


signature.asc
Description: PGP signature


bug#44769: [staging] gst-plugins-bad fails tests on aarch64, armhf, i686

2020-11-21 Thread Michael Rohleder
Marius Bakke  writes:
> To move on with the merge, I wonder whether to:
>
> 1. Disable the affected tests, as upstream does not seem terribly
>concerned.
> 2. Drop 'cheese' from 'gnome'.
>
> I'm leaning towards 2, as the AArch64 failure looks kind of serious.
> Unfortunately 'cheese' does seem to require gst-plugins-bad.
>
> Thoughts?

+1

I don't think cheese is essential or important for a running gnome
desktop.

-- 
Vergesslichkeit ist eine Form der Freiheit.
   Khalil Gibran


signature.asc
Description: PGP signature


bug#44606: Error with `guix-start-repl', No prompt found

2020-11-12 Thread Michael Rohleder
Hello Michael,

Thank you for reporting!

I think, we already have #44062 for this, so I merged them.


signature.asc
Description: PGP signature


bug#44062: emacs-guix is broken: geiser-repl--wait-for-prompt: No prompt found!

2020-10-18 Thread Michael Rohleder
Maxim Cournoyer  writes:
> Emacs-Guix cannot be used at all currently due to a problem starting its
> Guix REPL process.  The messages that appears in the mini-buffer read
> as:
>
> Starting Guix REPL ... [2 times]
> geiser-repl--wait-for-prompt: No prompt found!

This is because of the geiser upgrade from 0.11.2 to 0.12.

Andre Alexandre made an upstream issue here [1].

I think, there is a comment in the emacs-guix code that geiser leaves
a socket file after closing and deletes it before starting a repl.
Maybe this is the behavior that has changed in geiser 0.12?


[1] https://gitlab.com/emacs-guix/emacs-guix/-/issues/27

-- 
Everything you know is wrong.
Inside Macintosh, 1984


signature.asc
Description: PGP signature


bug#43832: beets build fails in tests

2020-10-11 Thread Michael Rohleder
done (disabled test) with 1f1996e6a5cc5203e0534dc26fe51b87832082aa

-- 
A language that doesn't affect the way you think about programming is
not worth knowing.


signature.asc
Description: PGP signature


bug#37265: Seahorse can not create PGP keys.

2020-10-09 Thread Michael Rohleder
closed, because I think it can not be reproduced anymore.


signature.asc
Description: PGP signature


bug#43832: beets build fails in tests

2020-10-06 Thread Michael Rohleder

commit 4913e8ede09bf6f4efc27d3fb6e224cb87bbb9ee (python-mutagen update)
breaks a test in beets:

...
==
FAIL: test_read_audio_properties (test.test_mediafile.AIFFTest)
--
Traceback (most recent call last):
  File "/tmp/guix-build-beets-1.4.9.drv-0/beets-1.4.9/test/test_mediafile.py", 
line 440, in test_read_audio_properties
self.assertEqual(getattr(mediafile, key), value)
AssertionError: 16 != 0

==
FAIL: test_read_audio_properties (test.test_mediafile.WavpackTest)
--
Traceback (most recent call last):
  File "/tmp/guix-build-beets-1.4.9.drv-0/beets-1.4.9/test/test_mediafile.py", 
line 440, in test_read_audio_properties
self.assertEqual(getattr(mediafile, key), value)
AssertionError: 16 != 0

--
Ran 1901 tests in 124.212s


guix time-machine --commit=bd994bbb2003f3af936836bbf148660a81a3037b -- build 
beets
works.


signature.asc
Description: PGP signature


bug#37265: Seahorse can not create PGP keys.

2020-09-30 Thread Michael Rohleder
Hi!

j...@dorsal.tk writes:
> See attached screenshot.  There should be a PGP key menu option here.

In the seahorse versions I tested (3.3[46]), the menu for creating keys
look very different from yours (and seem to work).

Can you please check, if it works for you too?

-- 
43rd Law of Computing:
Anything that can go wr
Segmentation Fault (core dumped)


signature.asc
Description: PGP signature


bug#43528: Download all issues so I can search?

2020-09-21 Thread Michael Rohleder
Here's [1] an archive of the ML in mbox format.
Maybe this helps if you want to grep for things.


[1] https://lists.gnu.org/archive/mbox/bug-guix/

-- 
Das Leben kann nur rückwärts verstanden werden,
aber es muss vorwärts gelebt werden.
  – Søren Kierkegaard


signature.asc
Description: PGP signature


bug#43109: Infinite loop in cl-subseq

2020-09-15 Thread Michael Rohleder
Hello divoplade,

I believe, this should be fixed with removing the emacs-seq package
(commit 852ae64e11ef9107afabbdb307770f946376addd), no?


signature.asc
Description: PGP signature


bug#43402: [BUG] python-gssapi-1.6.5 not building

2020-09-15 Thread Michael Rohleder
Hello Kurt,

Thank you the report!
It has been reported twice in these bugs, so I will merge it:
42370 43284


-- 
SVRMGR> shutdown
ORA-01034: ORACLE not available
SVRMGR> startup
ORA-01081: cannot start already-running ORACLE - shut it down first


signature.asc
Description: PGP signature


bug#43406: Emacs 27.1 memory consumption grows indefinitely

2020-09-15 Thread Michael Rohleder
Hi Ludovic,

I also had trouble with that helm caching. I had the impression that it
was because of newer helm versions not emacs versions.

What helped me was disabling it with:
(setq helm-ff-keep-cached-candidates nil)

-- 
Alles fließt, nichts bleibt.
 Heraklit


signature.asc
Description: PGP signature


bug#43284: Synapse v1.14.0 fails to build

2020-09-08 Thread Michael Rohleder
Seems to be the same as in #42370:
https://issues.guix.gnu.org/42370


signature.asc
Description: PGP signature


bug#43277: emacs-next is broke, "seq" missing

2020-09-08 Thread Michael Rohleder
Hi Martin,

Martin Becze  writes:
> emacs-next recently broke. It now has this error on start up.
>
> "require: Cannot open load file: No such file or directory, seq"

Maybe it's possible to find where this is coming from?
(starting emacs with "--debug-init" might help or starting with a
minimal .emacs.el etc)

-- 
Alle anziehenden Leute sind immer im Kern verdorben.
Darin liegt das Geheimnis ihrer sympathischen Kraft.
  Oskar Wilde


signature.asc
Description: PGP signature


bug#42301: [PATCH] gnu: solfage: fix build.

2020-08-09 Thread Michael Rohleder
Hi!

Nicolas Goaziou  writes:
> Thank you. Unfortunately, the build fails later on with the following
> unrelated message, probably related to the latest Lilypond release:
>
> fatal error: Uninitialized variable `write-performances-midis' in module 
> (lily)
>

This is interesting, I can't reproduce this, it builds (and runs) fine here.
Are you using a newer version of lilypond? (here, its 2.20.0 from current 
master)

> Besides, you are adding this snippet to an unrelated phase, about Python
> wrapping.

Added a phase 'patch-readme:

From 3e6a637fcacb990291fb8a8b7e03e18be15bd644 Mon Sep 17 00:00:00 2001
From: Michael Rohleder 
Date: Sun, 9 Aug 2020 18:26:25 +0200
Subject: [PATCH] gnu: solfege: fix build.

* gnu/packages/music.scm (solfege): fix build (http://issues.guix.gnu.org/42301).
---
 gnu/packages/music.scm | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index db2f1ff8d6..f788d93b65 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -1362,6 +1362,12 @@ re-sequencer LV2 plugin.")
 "solfege/presetup.py")
(("#!/usr/bin/python") (string-append "#!" (which "python"
  #t))
+ ;; fix build, see https://issues.guix.gnu.org/42301
+ (add-before 'build 'patch-readme
+   (lambda _
+ (with-fluids ((%default-port-encoding "ISO-8859-1"))
+   (substitute* '("README") (("Malm.") "Malmoe")))
+ #t))
  (add-before 'build 'add-sitedirs
;; .pth files are not automatically interpreted unless the
;; directories containing them are added as "sites".  The directories
-- 
2.28.0


>
> BTW, would it make sense to provide 3.23.4 release instead? It is
> a development version, but development has stalled anyway. Also, it
> relies on Python 3 intead of Python 2.
>
> I tried to update it with the following source:
>
>  (origin
>(method url-fetch)
>(uri (string-append "http://alpha.gnu.org/gnu/solfege/solfege-;
>version ".tar.gz"))
>(sha256
> (base32 "0sc17vf4xz6gy0s0z9ghi68yskikdmyb4gdaxx6imrm40734k8mp")))
>
> but it fails in the same way.
>
> WDYT?

idk.
I haven't tried building it, because I think, we should first solve that
"fatal error: Uninitialized variable `write-performances-midis' in
module (lily)" error you get and I cant reproduce...

Regards,

-- 
Ein Hamsterrad sieht von innen aus
wie eine Karriereleiter.


signature.asc
Description: PGP signature


bug#42771: smalltalk fails to build

2020-08-08 Thread Michael Rohleder
As reported by zelphirkaltst...@posteo.de, smalltalk fails in tests:

...
/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash 
'./testsuite' 
## --- ##
## GNU Smalltalk 3.2.5 test suite. ##
## --- ##

Regression tests.

  1: arrays.st   ok
  2: classes.st  ok
  3: blocks.st   ok
  4: sets.st ok
  5: processes.stok
  6: exceptions.st   ok
  7: intmath.st  FAILED (testsuite.at:33)
^C

-- 
A baby is God's opinion that the world should go on.
-- Carl Sandburg


signature.asc
Description: PGP signature


bug#42301: [PATCH] gnu: solfage: fix build.

2020-08-07 Thread Michael Rohleder
* gnu/packages/music.scm (solfage): fix build 
(http://issues.guix.gnu.org/42301).
---
 gnu/packages/music.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index db2f1ff8d6..af65c40193 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -1361,6 +1361,9 @@ re-sequencer LV2 plugin.")
  (substitute* '("solfege/parsetree.py"
 "solfege/presetup.py")
(("#!/usr/bin/python") (string-append "#!" (which "python"
+ ;; fix build, see https://issues.guix.gnu.org/42301
+ (with-fluids ((%default-port-encoding "ISO-8859-1"))
+   (substitute* '("README") (("Malm.") "Malmoe")))
  #t))
  (add-before 'build 'add-sitedirs
;; .pth files are not automatically interpreted unless the
-- 
2.28.0






bug#40834: system-config-printer fails while starting

2020-07-31 Thread Michael Rohleder
this seems to fix it:

>From 83e8f11687b284bbda73c482434fac0bc0f8f9bf Mon Sep 17 00:00:00 2001
From: Michael Rohleder 
Date: Fri, 31 Jul 2020 15:06:11 +0200
Subject: [PATCH] gnu: system-config-printer: fix for 40834.

* gnu/packages/gnome.scm (system-config-printer): fix 40834.
---
 gnu/packages/gnome.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 8f0153f6bf..017fa3647c 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -54,6 +54,7 @@
 ;;; Copyright © 2020 Vinicius Monego 
 ;;; Copyright © 2020 Brice Waegeneire 
 ;;; Copyright © 2020 Arun Isaac 
+;;; Copyright © 2020 Michael Rohleder 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1988,6 +1989,7 @@ database is translated at Transifex.")
("gobject-introspection" ,gobject-introspection)
("python" ,python)
("cups" ,cups)
+   ("gtk+" ,gtk+)   ; fix http://issues.guix.gnu.org/40834
("python-dbus" ,python-dbus)
("python-pygobject" ,python-pygobject)
("python-pycups" ,python-pycups)
-- 
2.28.0



bug#41397: xfce4-terminal not reproducible

2020-07-31 Thread Michael Rohleder
Hi Danny,

I just tried to reproduce this (10 times) but failed (all builds are the
same)
Is this still the case?


signature.asc
Description: PGP signature


bug#42423: icedtea: JAVA_HOME

2020-07-31 Thread Michael Rohleder
Hi Christopher,

Christopher Howard  writes:
> Hi, I'm not going to pretend to be a Java expert, but I was trying to
> build and run a Java application, and had to set JAVA_HOME manually. It
> is my understanding from my research[1] that applications often will
> want JAVA_HOME set to the path to the java install directory. It would
> seem like it would be useful if Guix set that as well for the icedtea
> and icedtea:jdk package.
>
> If there are good reasons for that not to be, perhaps more
> knowledgeable individuals will explain it.
>
> One part I'm not quite sure about is what JAVA_HOME would be set to if
> both icedtea and icedtea:jdk were installed.

I dont think this is a good idea (or even possible?):

From a Developer POV I think its pretty common to have many jdk's installed
(8,11,14 sometimes even 7). To what should JAVA_HOME be set/defaults in this
case?

I dont know a distribution which sets JAVA_HOME (per default) and I
think its much better to let the user or sysadmin decide which one is
best...


signature.asc
Description: PGP signature


bug#41063: emacs-guix: unrecognized keyword error

2020-07-31 Thread Michael Rohleder
Ludovic Courtès  writes:
>> emacs-guix/actions.scm:118:8: In procedure process-package-actions:
>> Unrecognized keyword: #:use-substitutes?
>
> This probably has to do with this API change:
>
>   
> https://git.savannah.gnu.org/cgit/guix.git/commit/?id=65ffb9388c1c3d870cb07e4cb3ef12c9ac06a161
>
> I see it’s already reported upstream:
>
>   https://gitlab.com/emacs-guix/emacs-guix/-/issues/18

This is fixed with the latest (gitlab) version:

From 1c58fd7f2de4623bb051e7f8472e703290663e64 Mon Sep 17 00:00:00 2001
From: Michael Rohleder 
Date: Fri, 31 Jul 2020 08:33:43 +0200
Subject: [PATCH] gnu: emacs-guix: Update to latest gitlab version.

* gnu/packages/emacs-xyz.scm (emacs-guix): Update to a 0.5.2 snapshot.
fix https://issues.guix.gnu.org/41063
[source] changes to git-getch.
[snippet] removed.
[native-inputs] added tools to build.
---
 gnu/packages/emacs-xyz.scm | 73 +++---
 1 file changed, 36 insertions(+), 37 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 04bb534ce7..ba16c84402 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -2566,46 +2566,45 @@ type, for example: packages, buffers, files, etc.")
 (license license:gpl3+)))
 
 (define-public emacs-guix
-  (package
-(name "emacs-guix")
-(version "0.5.2")
-(source (origin
-  (method url-fetch)
-  (uri (string-append "https://emacs-guix.gitlab.io/website/;
-  "releases/emacs-guix-" version ".tar.gz"))
-  (sha256
-   (base32
-"0yz64c0z4ygi2k4af18k4r1ncgys18jb8icywkp2g5pgmpn5l7ps"))
-  (modules '((guix build utils)))
-  (snippet
-   '(begin
-  ;; Add support for Guile 3.0.  Remove for versions > 0.5.2.
-  (substitute* "configure"
-(("\"2\\.2 2\\.0\"")
- "\"3.0 2.2 2.0\""))
-  #t
-(build-system gnu-build-system)
-(native-inputs
- `(("pkg-config" ,pkg-config)
-   ("emacs" ,emacs-minimal)))
-(inputs
- `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
-   ("guix" ,guix)))
-(propagated-inputs
- `(("geiser" ,emacs-geiser)
-   ("guile-gcrypt" ,guile-gcrypt)
-   ("dash" ,emacs-dash)
-   ("bui" ,emacs-bui)
-   ("edit-indirect" ,emacs-edit-indirect)
-   ("magit-popup" ,emacs-magit-popup)))
-(home-page "https://emacs-guix.gitlab.io/website/;)
-(synopsis "Emacs interface for GNU Guix")
-(description
- "Emacs-Guix provides a visual interface, tools and features for the GNU
+  (let ((commit "df1fc5d8885959fd2bb83a443137d21c6850dd74")
+(revision "1"))
+(package
+  (name "emacs-guix")
+  (version (git-version "0.5.2" revision commit))
+  (source (origin
+(method git-fetch)
+(uri (git-reference
+  (url "https://gitlab.com/emacs-guix/emacs-guix;)
+  (commit commit)))
+(file-name (git-file-name name version))
+(sha256
+ (base32
+  "14rn02ay1b8zl0pg54pkqpyzh948c4qiqlvl35627shx7zw5acqh"
+  (build-system gnu-build-system)
+  (native-inputs
+   `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("pkg-config" ,pkg-config)
+ ("texinfo" ,texinfo)
+ ("emacs" ,emacs-minimal)))
+  (inputs
+   `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
+ ("guix" ,guix)))
+  (propagated-inputs
+   `(("geiser" ,emacs-geiser)
+ ("guile-gcrypt" ,guile-gcrypt)
+ ("dash" ,emacs-dash)
+ ("bui" ,emacs-bui)
+ ("edit-indirect" ,emacs-edit-indirect)
+ ("magit-popup" ,emacs-magit-popup)))
+  (home-page "https://emacs-guix.gitlab.io/website/;)
+  (synopsis "Emacs interface for GNU Guix")
+  (description
+   "Emacs-Guix provides a visual interface, tools and features for the GNU
 Guix package manager.  Particularly, it allows you to do various package
 management tasks from Emacs.  To begin with, run @code{M-x guix-about} or
 @code{M-x guix-help} command.")
-(license license:gpl3+)))
+  (license license:gpl3+
 
 (define-public emacs-build-farm
   (package
-- 
2.28.0



signature.asc
Description: PGP signature


bug#42409: weasyprint fails to build

2020-07-17 Thread Michael Rohleder
weasyprint fails in tests:

...
=== FAILURES ===
__ test_acid2 __

@assert_no_logs
@requires('cairo', (1, 12, 0))
def test_acid2():
def render(filename):
return HTML(resource_filename(filename)).render(enable_hinting=True)

with capture_logs():
# This is a copy of 
http://www.webstandards.org/files/acid2/test.html
document = render('acid2-test.html')
intro_page, test_page = document.pages
# Ignore the intro page: it is not in the reference
test_image, width, height = document.copy(
[test_page]).write_image_surface()

# This is a copy of 
http://www.webstandards.org/files/acid2/reference.html
ref_image, ref_width, ref_height = render(
'acid2-reference.html').write_image_surface()

assert (width, height) == (ref_width, ref_height)
>   assert_pixels_equal(
'acid2', width, height, image_to_pixels(test_image, width, height),
image_to_pixels(ref_image, width, height), tolerance=2)

weasyprint/tests/test_acid2.py:37: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

name = 'acid2', width = 794, height = 1123
raw = 
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
expected_raw = 
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
tolerance = 2

def assert_pixels_equal(name, width, height, raw, expected_raw, 
tolerance=0):
"""Take 2 matrices of pixels and assert that they are the same."""
if raw != expected_raw:  # pragma: no cover
for i, (value, expected) in enumerate(zip(raw, expected_raw)):
if abs(value - expected) > tolerance:
write_png(name, raw, width, height)
write_png(name + '.expected', expected_raw,
  width, height)
pixel_n = i // 4
x = pixel_n // width
y = pixel_n % width
i % 4
pixel = tuple(list(raw[i:i + 4]))
expected_pixel = tuple(list(
expected_raw[i:i + 4]))
>   assert 0, (
'Pixel (%i, %i) in %s: expected rgba%s, got rgba%s'
% (x, y, name, expected_pixel, pixel))
E   AssertionError: Pixel (124, 160) in acid2: expected 
rgba(191, 127, 127, 255), got rgba(128, 0, 0, 255)

weasyprint/tests/test_draw/__init__.py:163: AssertionError
-- Captured log call ---
INFO weasyprint.progress:__init__.py:106 Step 1 - Fetching and parsing HTML 
- 
/tmp/guix-build-weasyprint-51.drv-0/WeasyPrint-51/weasyprint/tests/resources/acid2-test.html
INFO weasyprint.progress:__init__.py:315 Step 2 - Fetching and parsing CSS 
- CSS string
WARNING  weasyprint:__init__.py:825 Invalid or unsupported selector 
'[class=second two] ', (, 'expected ], got ident')
WARNING  weasyprint:__init__.py:86 Ignored `error: \}` at 90:74, unknown 
property.
WARNING  weasyprint:__init__.py:86 Ignored `m
rgin: 2em` at 93:14, unknown property.
WARNING  weasyprint:__init__.py:825 Invalid or unsupported selector ';
   .parser ', (, 'expected a compound selector, got literal')
WARNING  weasyprint:__init__.py:86 Ignored `width: 200` at 95:14, invalid value.
WARNING  weasyprint:__init__.py:86 Ignored `border: 5em solid red ! error` at 
96:14, invalid value.
WARNING  weasyprint:__init__.py:86 Ignored `background: red pink` at 97:14, 
invalid value.
INFO weasyprint.progress:__init__.py:315 Step 2 - Fetching and parsing CSS 
- data:text/css,.picture%20%7B%20background%3A%20none%3B%20%7D
INFO weasyprint.progress:__init__.py:67 Step 3 - Applying CSS
INFO weasyprint.progress:document.py:371 Step 4 - Creating formatting 
structure
ERRORweasyprint:images.py:231 Failed to load image at 
"file:///tmp/guix-build-weasyprint-51.drv-0/WeasyPrint-51/weasyprint/tests/resources/404"
 (URLError: )
ERRORweasyprint:images.py:231 Failed to load image at 
"data:application/x-unknown,ERROR" (Pixbuf error: Unrecognized image file 
format)
INFO weasyprint.progress:pages.py:798 Step 5 - Creating layout - Page 1
INFO weasyprint.progress:pages.py:798 Step 5 - Creating layout - Page 2
INFO weasyprint.progress:document.py:751 Step 6 - Drawing
INFO weasyprint.progress:__init__.py:106 Step 1 - Fetching and parsing HTML 
- 

bug#42372: python-tinycss2 fails to build

2020-07-15 Thread Michael Rohleder
Hey guix,

I tried building weasyprint, but python-tinycss2 fails in (flake?)
tests:

...
starting phase `check'
= test session starts ==
platform linux -- Python 3.8.2, pytest-5.3.5, py-1.8.1, pluggy-0.13.1
rootdir: /tmp/guix-build-python-tinycss2-1.0.2.drv-0/tinycss2-1.0.2, inifile: 
setup.cfg
plugins: hypothesis-5.4.1, flake8-1.0.6, isort-0.3.1
collected 498 items

setup.py ..  [  0%]
tinycss2/__init__.py ..  [  0%]
tinycss2/ast.py ..   [  1%]
tinycss2/bytes.py .. [  1%]
tinycss2/color3.py ..[  2%]
tinycss2/nth.py ..   [  2%]
tinycss2/parser.py ..[  2%]
tinycss2/serializer.py ..[  3%]
tinycss2/test_tinycss2.py .. [ 12%]
 [ 26%]
 [ 41%]
 [ 55%]
 [ 70%]
 [ 84%]
..   [ 98%]
tinycss2/tokenizer.py .. [ 99%]
tinycss2/css-parsing-tests/make_color3_hsl.py .F [ 99%]
tinycss2/css-parsing-tests/make_color3_keywords.py ..[100%]

=== FAILURES ===
_ FLAKE8-check _
/tmp/guix-build-python-tinycss2-1.0.2.drv-0/tinycss2-1.0.2/tinycss2/css-parsing-tests/make_color3_hsl.py:19:9:
 E741 ambiguous variable name 'l'

-- Captured log call ---
WARNING  flake8.options.manager:manager.py:207 option --max-complexity: please 
update from optparse string `type=` to argparse callable `type=` -- this will 
be an error in the future
 1 failed, 497 passed in 2.63s =
command "pytest" failed with status 1
builder for 
`/gnu/store/29xnjbi81x88w5pc8rkj09ffcr62y0z5-python-tinycss2-1.0.2.drv' failed 
with exit code 1
build of /gnu/store/29xnjbi81x88w5pc8rkj09ffcr62y0z5-python-tinycss2-1.0.2.drv 
failed


-- 
If you are the smartest person in the room,
you are in the wrong room.





bug#42370: python-gssapi fails to build

2020-07-15 Thread Michael Rohleder
Hey guix!

I tried building synapse and python-gssapi fails in some (kerberos?)
tests:

...
test_verify_mic_iov_bad_mic_raises_error (gssapi.tests.test_raw.TestWrapUnwrap) 
... ok
test_wrap_size_limit (gssapi.tests.test_raw.TestWrapUnwrap) ... ok

==
ERROR: test_add_with_impersonate (gssapi.tests.test_high_level.CredsTestCase)
--
Traceback (most recent call last):
  File 
"/gnu/store/zc5mv2h8b7p3lzd4cx3pcbcn9ix25vk5-python-k5test-0.9.2/lib/python3.8/site-packages/k5test/unit.py",
 line 28, in ext_test
func(self, *args, **kwargs)
  File 
"/tmp/guix-build-python-gssapi-1.6.5.drv-0/gssapi-1.6.5/gssapi/tests/test_high_level.py",
 line 364, in test_add_with_impersonate
new_creds = input_creds.add(server_ctx.initiator_name,
  File 
"/tmp/guix-build-python-gssapi-1.6.5.drv-0/gssapi-1.6.5/gssapi/creds.py", line 
378, in add
res = rcred_s4u.add_cred_impersonate_name(self, impersonator,
  File "gssapi/raw/ext_s4u.pyx", line 199, in 
gssapi.raw.ext_s4u.add_cred_impersonate_name
gssapi.raw.misc.GSSError: Major (851968): Unspecified GSS failure.  Minor code 
may provide more information, Minor (2529638928): KDC has no support for padata 
type

==
ERROR: test_acquire_creds_impersonate_name 
(gssapi.tests.test_raw.TestBaseUtilities)
--
Traceback (most recent call last):
  File 
"/gnu/store/zc5mv2h8b7p3lzd4cx3pcbcn9ix25vk5-python-k5test-0.9.2/lib/python3.8/site-packages/k5test/unit.py",
 line 28, in ext_test
func(self, *args, **kwargs)
  File 
"/tmp/guix-build-python-gssapi-1.6.5.drv-0/gssapi-1.6.5/gssapi/tests/test_raw.py",
 line 421, in test_acquire_creds_impersonate_name
imp_resp = gb.acquire_cred_impersonate_name(server_creds,
  File "gssapi/raw/ext_s4u.pyx", line 112, in 
gssapi.raw.ext_s4u.acquire_cred_impersonate_name
gssapi.raw.misc.GSSError: Major (851968): Unspecified GSS failure.  Minor code 
may provide more information, Minor (2529638928): KDC has no support for padata 
type

==
ERROR: test_add_cred_impersonate_name (gssapi.tests.test_raw.TestBaseUtilities)
--
Traceback (most recent call last):
  File 
"/gnu/store/zc5mv2h8b7p3lzd4cx3pcbcn9ix25vk5-python-k5test-0.9.2/lib/python3.8/site-packages/k5test/unit.py",
 line 28, in ext_test
func(self, *args, **kwargs)
  File 
"/tmp/guix-build-python-gssapi-1.6.5.drv-0/gssapi-1.6.5/gssapi/tests/test_raw.py",
 line 390, in test_add_cred_impersonate_name
imp_resp = gb.add_cred_impersonate_name(input_creds,
  File "gssapi/raw/ext_s4u.pyx", line 199, in 
gssapi.raw.ext_s4u.add_cred_impersonate_name
gssapi.raw.misc.GSSError: Major (851968): Unspecified GSS failure.  Minor code 
may provide more information, Minor (2529638928): KDC has no support for padata 
type

--
Ran 192 tests in 2.094s

FAILED (errors=3, skipped=9)
Test failed: 
error: Test failed: 
command "python" "-c" "import setuptools, 
tokenize;__file__='setup.py';f=getattr(tokenize, 'open', 
open)(__file__);code=f.read().replace('\\r\\n', 
'\\n');f.close();exec(compile(code, __file__, 'exec'))" "test" failed with 
status 1
builder for 
`/gnu/store/38kbrahy7qjzwz629vfm62mg6cx95cb1-python-gssapi-1.6.5.drv' failed 
with exit code 1
build of /gnu/store/38kbrahy7qjzwz629vfm62mg6cx95cb1-python-gssapi-1.6.5.drv 
failed


-- 
Unsere Träume können wir erst dann verwirklichen, 
wenn wir uns entschließen, daraus zu erwachen.
(Josephine Baker)


signature.asc
Description: PGP signature


bug#42018: next browser build failure

2020-07-14 Thread Michael Rohleder
fixed with commit ec70df7243b8d0892d8cec7a43a87c9740c4bfaa


signature.asc
Description: PGP signature


bug#42186: emacs swiper package missing since ivy update 0.13.1

2020-07-04 Thread Michael Rohleder
That is also the reason why emacs-lispy fails to build:

...
starting phase `check'
make: which: No such file or directory
Using ...
emacs -batch -l elpa.el -l lispy-test.el -l lispy-inline.el -l lispy.el -f 
ert-run-tests-batch-and-exit
Loading 
/gnu/store/3s56kpyjvds6apr21nw85nh83lwj6smg-emacs-clojure-mode-5.11.0/share/emacs/site-lisp/clojure-mode-autoloads...
Loading 
/gnu/store/p1advrdp5jipq915alsxgvdb24ck6rwd-emacs-undercover-0.6.1/share/emacs/site-lisp/undercover-autoloads...
Loading 
/gnu/store/j57rh6w6fvxibl08mj9x8pb7d98jbfk2-emacs-ace-window-0.10.0/share/emacs/site-lisp/ace-window-autoloads...
Loading 
/gnu/store/adndadpiaj5i08hiq9bddrn7m4sqy5a8-emacs-iedit-0.9.9.9-1.e2c100c/share/emacs/site-lisp/iedit-autoloads...
Loading 
/gnu/store/s86lwlq43m1jy7nw8ydwz6017cxhcl2x-emacs-ivy-0.13.1/share/emacs/site-lisp/ivy-autoloads...
Loading 
/gnu/store/5b6qndzv9hczlm7ax2vmah9z81177p5r-emacs-hydra-0.15.0/share/emacs/site-lisp/hydra-autoloads...
Loading 
/gnu/store/v09b5sx3lm9pybvikm19krmwvb2fgvqg-emacs-zoutline-0.2.0/share/emacs/site-lisp/zoutline-autoloads...
Loading 
/gnu/store/byijdv6j5gsdrvamcwcpnn9in6c8854h-emacs-shut-up-0.3.2/share/emacs/site-lisp/shut-up-autoloads...
Loading 
/gnu/store/qi38w5ivwzdiapnkj8h3v5zkdfy5wnkj-emacs-dash-2.17.0/share/emacs/site-lisp/dash-autoloads...
Loading 
/gnu/store/fxi3kp0kcbvp8grljm2c8h11xygggl47-emacs-avy-0.5.0/share/emacs/site-lisp/avy-autoloads...
Cannot open load file: No such file or directory, swiper
make: *** [Makefile:22: test] Error 255


-- 
The sendmail configuration file is one of those files that looks like someone
beat their head on the keyboard.  After working with it... I can see why!
-- Harry Skelton


signature.asc
Description: PGP signature


bug#41948: Shepherd deadlocks

2020-06-19 Thread Michael Rohleder
Hi Mathieu,

Mathieu Othacehe  writes:
> This is not always reproducible. In order to gather some information, I
> created a Shepherd "strace" service that logs what's happening in
> Shepherd itself (patch attached).

> +(define strace-service-type
> +  (shepherd-service-type
> +   'strace
> +   (lambda (pid)
> + (shepherd-service
> +  (requirement '(root-file-system user-processes))
> +  (provision (list (string->symbol
> +(string-append "strace-" (number->string pid)
> +  (documentation "Strace a running process.")
> +  (start #~(make-forkexec-constructor
> +(list #$(file-append strace "/bin/strace")
> +  "-f" "-p" (number->string #$pid)
> +  "-o" (string-append "/var/log/strace-"
> +  (number->string #$pid) ".log"
> +  (stop   #~(make-kill-destructor))

Thank you very much for this nice strace service!

I'am debugging a "shepherd hangs" problem in the context of lvm and
lvmcache...
This service helps me a lot, ty!


-- 
>Ever heard of .cshrc?
That's a city in Bosnia.  Right?
(Discussion in comp.os.linux.misc on the intuitiveness of commands.)


signature.asc
Description: PGP signature


bug#41598: [staging] calibre build failure

2020-06-02 Thread Michael Rohleder
Marius Bakke  writes:
> I started working on this.  It now needs 'python2-pyqtwebengine', but
> has some trouble because PyQt apparently really wants all the components
> (sip, pyqt, pyqtwebengine) to live in the same directory, and does not
> respect the standard search paths.
>
> The Calibre build script works if I run it in a 'guix environment -C',
> because that would set up a single union profile with all the packages.
>
> I tried this hack as a workaround, but now it hits a SIGTRAP somewhere:

what I found out is that the versions between 3.45 and 3.48 compiles
with our qt version, only a (stupid) html test fails.

Maybe this could be a shorter route to get it working.

-- 
Programmierer sind Maschinen die Nikotin und Koffein in Programmcode umsetzen.


signature.asc
Description: PGP signature


bug#41034: guix info: display messed up in emacs info

2020-06-02 Thread Michael Rohleder
Christopher Howard  writes:
> Hi, thank you, but problem is gone now. I can't quite recall, but I
> think it went away after I ran fc-cache -f -v.

Ok, let's close this ;)

-- 
Programmierer sind Maschinen die Nikotin und Koffein in Programmcode umsetzen.


signature.asc
Description: PGP signature


bug#41034: guix info: display messed up in emacs info

2020-06-02 Thread Michael Rohleder
Hi Christopher,

Christopher Howard  writes:
> Hi, the guix info pages display fine when viewed with the normal info
> command, but when viewed with emacs (C-h i m Guix) there is strange
> issue where text between forward and backquote symbols shows up as hex
> numbers. See section 6.2 for a representative example. I get the same
> result if I run `emacs -q'. I've attached some screenshots which
> hopefully make it through the filters.

I can not reproduce this.
I think there might be something wrong with your theme or fonts or so.

Can you please try with `emacs -Q` ?
(-q still loads x-resources etc...)

-- 
I like work; it fascinates me; I can sit and look at it for hours.


signature.asc
Description: PGP signature


bug#40880: [XFCE]: No webbrowser installed by default

2020-06-02 Thread Michael Rohleder
Hi Jonathan,

Jonathan Brielmaier  writes:
> If you install XFCE and you want to start the webbrowser via the bottom
> line or the Applications menu, you get a dialog "Choose Preferred
> Application" instead of a launching web browser.
>
> That's because no web browser is installed with XFCE.

I think its because you havent choosen a preferred browser, so I think
xfce behavior is correct here.

If the user wants a webbrowser he needs to install one, I dont think
there is anything xfce could do here.

-- 
In most countries selling harmful things like drugs is punishable.
Then howcome people can sell Microsoft software and go unpunished?
(By ha...@rost.abo.fi, Hasse Skrifvars)


signature.asc
Description: PGP signature


bug#38864: Broken icons in GNOME shell since commit a8cda7f579

2020-06-01 Thread Michael Rohleder
I can not reproduce this (anymore?) and I dont have hicolor-icon-theme
in any profile.

-- 
I hear and I forget.
I see and I remember.
I do and I understand.
 Confucius


signature.asc
Description: PGP signature


bug#41281: guix package -i guile-dbi failed

2020-05-15 Thread Michael Rohleder
Wensheng Xie  writes:
> Hinweis: Versuchen Sie, sowohl `guile-dbi' als auch `guile' zu aktualisieren, 
> oder
> entfernen Sie eines von beidem aus dem Profil.

try to do what this suggests, update guile and guile-dbi together:
`guix package -u guile guile-dbi`

-- 
Ich habe schon soviel aus Fehlern gelernt, ich ueberlege noch welche zu machen.


signature.asc
Description: PGP signature


bug#41233: [PATCH] gnu: font-gnu-freefont: fix for bug 41233.

2020-05-13 Thread Michael Rohleder
I havent tested, but looking at the installed fonts it seems clear that
they are in the wrong directory.

From 4f11dc30d324964c14bac748393f7b54df69d340 Mon Sep 17 00:00:00 2001
From: Michael Rohleder 
Date: Wed, 13 May 2020 17:28:27 +0200
Subject: [PATCH] gnu: font-gnu-freefont: fix for bug 41233.

* gnu/packages/fonts.scm (font-gnu-freefont): should fix bug 41233.
---
 gnu/packages/fonts.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 1728eeeaf9..64d5c17346 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -255,11 +255,11 @@ The Lato 2.010 family supports more than 100 Latin-based languages, over
  (let ((doc-dir  (string-append %output "/share/doc/"
 ,name "-" ,version))
(ttf-font-dir (string-append %output
-"/share/fonts/ttf"))
+"/share/fonts/truetype"))
(otf-font-dir (string-append %output
-"/share/fonts/otf"))
+"/share/fonts/opentype"))
(woff-font-dir (string-append %output
- "/share/fonts/woff")))
+ "/share/fonts/webfonts")))
(mkdir-p doc-dir)
(substitute* "Makefile"
  (("\\$\\(TMPDIR\\)") doc-dir)
-- 
2.26.2


-- 
Listen and silent are spelled with the same letters.


signature.asc
Description: PGP signature


bug#41081: coreutils: cp is built without xattr support

2020-05-04 Thread Michael Rohleder
Tim Komarov  writes:
> It's often very useful to run:
>  
> # cp --preserve=xattr aaa.txt  bbb.txt
> Running this on Guix I get:
>  
> cp: cannot preserve extended attributes, cp is built without xattr support

Does it help/work if you mount the filesystem with "user_xattr" option?


-- 
Fly Windows NT:
All the passengers carry their seats out onto the tarmac, placing the chairs
in the outline of a plane. They all sit down, flap their arms and make jet
swooshing sounds as if they are flying.


signature.asc
Description: PGP signature


bug#40789: vigra 1.11.1 build error

2020-04-23 Thread Michael Rohleder
Leo Famulari  writes:
> This often means it ran out of memory, which would make sense for
> building vigra. Does that seem plausible here?

I think its plausible, because I have *just* build vigra from current
master.

-- 
"If you want to travel around the world and be invited to speak at a lot
of different places, just write a Unix operating system."
(By Linus Torvalds)


signature.asc
Description: PGP signature


bug#39475: close 39475, 39463, 39467

2020-04-23 Thread Michael Rohleder
close 39475, 39463, 39467

this looks like a feature, not a bug.

-- 
Time sharing: The use of many people by the computer.


signature.asc
Description: PGP signature


bug#29302: close 29302

2020-04-23 Thread Michael Rohleder
close 29302

can be closed.

-- 
Time sharing: The use of many people by the computer.


signature.asc
Description: PGP signature


bug#39475: Xfce desktop - multiple programs from other desktop environments

2020-03-20 Thread Michael Rohleder
Michael Rohleder  writes:
> "Scott C. MacCallum"  writes:
>> After the installation of all the available desktop environments, in the 
>> Xfce desktop environment there are multiple programs from some of the other 
>> desktop environments to choose from, not just the Xfce default ones.
>
> Isnt this more a feature than a bug?
>
> afaik, the installation of xfce in gentoo, debian and ubuntu behaves the
> same...

Ok, to close this?

If so, we can also close 39459, 39463, 39467 that are all the same, basically.
In all cases and DE combinations, this is a feature, not a bug, imho.


-- 
The question of whether computers can think is just like the question of
whether submarines can swim.
-- Edsger W. Dijkstra


signature.asc
Description: PGP signature


bug#39475: Xfce desktop - multiple programs from other desktop environments

2020-03-12 Thread Michael Rohleder
"Scott C. MacCallum"  writes:
> After the installation of all the available desktop environments, in the Xfce 
> desktop environment there are multiple programs from some of the other 
> desktop environments to choose from, not just the Xfce default ones.

Isnt this more a feature than a bug?

afaik, the installation of xfce in gentoo, debian and ubuntu behaves the
same...


-- 
Das Lernen vieler Dinge lehrt nicht Verständnis.
 Heraklit, B40


signature.asc
Description: PGP signature