Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236369 - dev-tex/tex4ht-20080829_p0203 fails to emerge with USE=java
Summary: dev-tex/tex4ht-20080829_p0203 fails to emerge with USE=java
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-01 17:34 UTC by Erik Zeek
Modified: 2008-09-03 06:09 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge_info.txt,8.96 KB, text/plain)
2008-09-01 17:34 UTC, Erik Zeek
Details
Patch to change XtpipesPrintWriter to PrintWriter (tex4ht-20080829_p0203-fix_XtpipesPrintWriter.patch,1.91 KB, patch)
2008-09-01 18:09 UTC, John Keeping
Details | Diff
Updated ebuild to include above patch (tex4ht-20080829_p0203.ebuild,3.39 KB, text/plain)
2008-09-01 18:10 UTC, John Keeping
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Zeek 2008-09-01 17:34:02 UTC
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
Comment 1 Erik Zeek 2008-09-01 17:34:45 UTC
Created attachment 164273 [details]
emerge --info
Comment 2 John Keeping 2008-09-01 18:08:43 UTC
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.
Comment 3 John Keeping 2008-09-01 18:09:33 UTC
Created attachment 164278 [details, diff]
Patch to change XtpipesPrintWriter to PrintWriter
Comment 4 John Keeping 2008-09-01 18:10:07 UTC
Created attachment 164279 [details]
Updated ebuild to include above patch
Comment 5 Alexis Ballier gentoo-dev 2008-09-01 21:01:52 UTC
(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.
Comment 6 John Keeping 2008-09-02 06:49:23 UTC
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.
Comment 7 Alexis Ballier gentoo-dev 2008-09-02 08:27:13 UTC
(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 :(
Comment 8 Alexis Ballier gentoo-dev 2008-09-03 06:09:41 UTC
tex4ht-20080902_p1753 should be fine now; thanks for taking care of it!