Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 569808 - net-analyzer/wireshark-2.0.0 - FOP_OPTS=-Xmx256m JAVA_OPTS=-Xmx256m /usr/bin/fop user-guide-a4.fo user-guide-a4.pdf: Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
Summary: net-analyzer/wireshark-2.0.0 - FOP_OPTS=-Xmx256m JAVA_OPTS=-Xmx256m /usr/bin/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-26 13:51 UTC by latenite
Modified: 2016-02-17 22:11 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/log/portage/net-analyzer:wireshark-2.0.0:20151226-125751.log (log.zip,142.28 KB, application/zip)
2015-12-26 13:51 UTC, latenite
Details
build.log.xz (build.log.xz,83.51 KB, application/x-xz)
2016-01-12 16:02 UTC, Alex Xu (Hello71)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description latenite 2015-12-26 13:51:18 UTC
Created attachment 420872 [details]
/var/log/portage/net-analyzer:wireshark-2.0.0:20151226-125751.log

net-analyzer:wireshark-2.0.0 can not be emerged unless 'unset DISPLAY' is used to 
circumvent the error shown in the build log attached.
Comment 1 Adam Feldman gentoo-dev 2016-01-01 23:22:58 UTC
Please upload logs as plain text or compressed plain text.  Please do no upload in zip files.
Comment 2 Alex Xu (Hello71) 2016-01-12 16:02:57 UTC
Created attachment 422698 [details]
build.log.xz

in future please upload gzip or xz format files, not zip.
Comment 3 James Le Cuirot gentoo-dev 2016-01-13 21:00:48 UTC
I could have simply unset DISPLAY in this package but several other packages use fop and presumably suffer from the same issue. Instead, I set -Djava.awt.headless=true in the fop launcher except when the -awt option is given. Please grab dev-java/fop-2.0-r2 for the fix. I'll close this when stable.
Comment 4 James Le Cuirot gentoo-dev 2016-02-17 22:11:22 UTC
(In reply to James Le Cuirot from comment #3)
> I'll close this when stable.

Done.