It doesn't seem to like XtpipesPrintWriter. MAKEOPTS=-j1 emerge -luvDN --with-bdeps y @system @world Last login: Mon Sep 1 06:44:05 MDT 2008 from jorj on pts/13 These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild R ] dev-tex/tex4ht-20080829_p0203 USE="java*" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-tex/tex4ht-20080829_p0203 * tex4ht-1.0.2008_08_29_0203.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * Using: sun-jdk-1.6 >>> Unpacking source... >>> Unpacking tex4ht-1.0.2008_08_29_0203.tar.gz to /gentoo/tmp/portage/dev-tex/tex4ht-20080829_p0203/work * Removing precompiled java stuff /gentoo/tmp/portage/dev-tex/tex4ht-20080829_p0203/work/tex4ht-1.0.2008_08_29_0203/texmf/tex4ht/bin/tex4ht.jar >>> Source unpacked. >>> Compiling source in /gentoo/tmp/portage/dev-tex/tex4ht-20080829_p0203/work/tex4ht-1.0.2008_08_29_0203 ... * Compiling postprocessor sources... * Compiling java files... xtpipes/Xtpipes.java:128: cannot find symbol symbol : class XtpipesPrintWriter location: class xtpipes.Xtpipes XtpipesPrintWriter out, ^ xtpipes/Xtpipes.java:94: cannot find symbol symbol : class XtpipesPrintWriter location: class xtpipes.Xtpipes outPrintWriter = new XtpipesPrintWriter( out, true ); ^ xtpipes/Xtpipes.java:121: cannot find symbol symbol : class XtpipesPrintWriter location: class xtpipes.Xtpipes outPrintWriter = new XtpipesPrintWriter( out ); ^ xtpipes/Xtpipes.java:402: cannot find symbol symbol : class XtpipesPrintWriter location: class xtpipes.Xtpipes outPrintWriter = new XtpipesPrintWriter(System.out,true); ^ xtpipes/Xtpipes.java:712: cannot find symbol symbol : class XtpipesPrintWriter location: class xtpipes.Xtpipes outPrintWriter = new XtpipesPrintWriter( fw ); ^ xtpipes/Xtpipes.java:842: cannot find symbol symbol : class XtpipesPrintWriter location: class xtpipes.Xtpipes XtpipesPrintWriter out = new XtpipesPrintWriter( fw ); ^ xtpipes/Xtpipes.java:842: cannot find symbol symbol : class XtpipesPrintWriter location: class xtpipes.Xtpipes XtpipesPrintWriter out = new XtpipesPrintWriter( fw ); ^ 7 errors * * ERROR: dev-tex/tex4ht-20080829_p0203 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3973: Called ejavac 'GroupMn.java' 'HtJsml.java' 'HtSpk.java' 'JsmlFilter.java' 'JsmlMathBreak.java' 'OoFilter.java' 'OoUtilities.java' 'OomFilter.java' 'xtpipes.java' 'xtpipes/FileInfo.java' 'xtpipes/InputObject.java' 'xtpipes/Xtpipes.java' 'xtpipes/XtpipesUni.java' 'xtpipes/util/ScriptsManager.java' 'xtpipes/util/ScriptsManagerLH.java' '-d' '../../texmf/tex4ht/bin' * environment, line 1074: Called die * The specific snippet of code: * ${compiler_executable} ${javac_args} "${@}" || die "ejavac failed" * The die message: * ejavac failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/dev-tex:tex4ht-20080829_p0203:20080901-124718.log'. * The ebuild environment file is located at '/gentoo/tmp/portage/dev-tex/tex4ht-20080829_p0203/temp/environment'. * !!! When you file a bug report, please include the following information: GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.07" JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac" and of course, the output of emerge --info
Created attachment 164273 [details] emerge --info
It looks like they've removed their custom PrintWriter but not changed some of the references in the code to use the standard PrintWriter. I've patched my copy and it compiles fine. I'll attach the patch and updated ebuild.
Created attachment 164278 [details, diff] Patch to change XtpipesPrintWriter to PrintWriter
Created attachment 164279 [details] Updated ebuild to include above patch
(In reply to comment #3) > Created an attachment (id=164278) [edit] > Patch to change XtpipesPrintWriter to PrintWriter Indeed, thanks for the patch, this fixes the problem here. Could you please send it to the tex4ht author (his mail should be at the bottom of the homepage), so that we are sure that the removal of XtpipesPrintWriter was not a mistake. Meanwhile I think I should mask that version instead.
I've emailed the author and have a reply. He's put up a new version which includes the XtpipesPrintWriter class file, although I wont't have time to check if it compiles until tonight.
(In reply to comment #6) > I've emailed the author and have a reply. He's put up a new version which > includes the XtpipesPrintWriter class file, although I wont't have time to > check if it compiles until tonight. > thanks; but at least the version i downloaded ( http://www.cse.ohio-state.edu/~gurari/TeX4ht/fix/tex4ht-1.0.2008_09_01_2155.tar.gz ) seems to be exactly the same as the one from 08/29 :(
tex4ht-20080902_p1753 should be fine now; thanks for taking care of it!