(address . bug-guix@gnu.org)
Dear Guix hackers,
when installing plantuml in a pure environment, it throws an java.awt.AWTError: Can't connect to X11 window server using ':1' as the value of the DISPLAY variable.
To reproduce:
$ guix environment --ad-hoc --pure plantuml -- plantumlNo protocol specified
Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using ':1' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:65)
at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:115)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:74)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1181)
at net.sourceforge.plantuml.FileFormat.<clinit>(FileFormat.java:93)
at net.sourceforge.plantuml.Option.<init>(Option.java:97)
at net.sourceforge.plantuml.Run.main(Run.java:93)
When I leave out --pure, it works, so I assume that a dependency on X11
might be missing.
Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein
ohne es zu merken
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCAAuFiEE801qEjXQSQPNItXAE++NRSQDw+sFAmAqbpsQHGFybmVfYmFi
QHdlYi5kZQAKCRAT741FJAPD68v5D/47XbLRl/kYcSw/UDP1b++agr1/Mnz2UNfK
8Zn8xFr33tUrq7aQJbCFKQ2fn1GyRB+jrR5KB6uEEnSmBD4X19pOVaOrcq+OTRLV
+Xk0C69WO49tJxtR7nhIYZR+pq1JM7UUZCwnpDBhXo549GfIjFWNk6xHmNF3y7PA
kyD0e24P/7D2RZPDt900jdmKeEgPTYLgxu2pz/20ntNJqOXXio+5BmcX+6uXLxIw
ESPHSKjY+jW2W3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