Build failures

33 views
Skip to first unread message

Yaroslav Halchenko

unread,
Oct 27, 2011, 6:51:23 PM10/27/11
to Tetrad Users Group
Hello ;)

Trying to build tetrad out of tetraddist-4.3.10-5.zip. Both with
openjdk 6 and suns' (1.6.0.26) receiving errors on spurious UTF
symbols embedded in the comments (obviously an easy fix) and the
critical one about missing package edu.cmu.tetradproj.fmri (I thought
that tetraddist should contain everything or is there more to
download?)

compile:
[javac] /home/yoh/deb/perspect/tetrad/tetrad-4.3.10-5/build.xml:
179: warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 1178 source files to /home/yoh/deb/perspect/
tetrad/tetrad-4.3.10-5/build/tetrad/classes
[javac] /home/yoh/deb/perspect/tetrad/tetrad-4.3.10-5/src/edu/cmu/
tetrad/search/IImages.java:56: warning: unmappable character for
encoding UTF8

[javac] //


[javac]
^
[javac] /home/yoh/deb/perspect/tetrad/tetrad-4.3.10-5/src/edu/cmu/
tetrad/util/dist/Distribution.java:51: warning: unmappable character
for encoding UTF8
[javac] * @param index Ibid. Must be >= 0 and < #
�parameters.
[javac] ^
[javac] /home/yoh/deb/perspect/tetrad/tetrad-4.3.10-5/src/edu/cmu/
tetrad/search/TestGes.java:31: package edu.cmu.tetradproj.fmri does
not exist
[javac] import edu.cmu.tetradproj.fmri.CpcSmo;
[javac] ^
[javac] /home/yoh/deb/perspect/tetrad/tetrad-4.3.10-5/src/edu/cmu/
tetrad/search/TestGes.java:372: cannot find symbol
[javac] symbol : class CpcSmo
[javac] location: class edu.cmu.tetrad.search.TestGes
[javac] CpcSmo cpc = new CpcSmo(covs);
[javac] ^
[javac] /home/yoh/deb/perspect/tetrad/tetrad-4.3.10-5/src/edu/cmu/
tetrad/search/TestGes.java:372: cannot find symbol
[javac] symbol : class CpcSmo
[javac] location: class edu.cmu.tetrad.search.TestGes
[javac] CpcSmo cpc = new CpcSmo(covs);
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 3 errors
[javac] 2 warnings


Is there a chance to get access to the development SVN?

Joseph Ramsey

unread,
Oct 27, 2011, 7:47:53 PM10/27/11
to tetrad-us...@googlegroups.com
I need to investigate that. All the stuff in tetradproj was left out
of the dist because it's just stuff like student projects, etc.
Somewhere there's a cyclic dependency which I'll have to track down.

--
Joseph D. Ramsey
Special Faculty and Director of Research Computing
Department of Philosophy
135 Baker Hall
Carnegie Mellon University
Pittsburgh, PA 15213

jsph....@gmail.com
Office: (412) 268-8063
http://www.andrew.cmu.edu/user/jdramsey

Yaroslav Halchenko

unread,
May 31, 2012, 5:03:39 PM5/31/12
to tetrad-us...@googlegroups.com
Hi Joe,

I still wonder if you had a chance to investigate this issue. Tried to
'ant' tetraddist-4.3.10-6.zip got:

[javac] 100 errors
[javac] 3 warnings

using openjdk

$> javac -version
javac 1.6.0_24
Yaroslav O. Halchenko
Postdoctoral Fellow, Department of Psychological and Brain Sciences
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419
WWW: http://www.linkedin.com/in/yarik

Joseph Ramsey

unread,
May 31, 2012, 7:15:14 PM5/31/12
to tetrad-us...@googlegroups.com
I'll track it down. There shouldn't be any errors, though the warnings
are probably unavoidable, due to the way the threading had to be done.

Joe

On Thu, May 31, 2012 at 5:03 PM, Yaroslav Halchenko

Yaroslav Halchenko

unread,
May 31, 2012, 8:54:40 PM5/31/12
to tetrad-us...@googlegroups.com

On Thu, 31 May 2012, Joseph Ramsey wrote:

> I'll track it down. There shouldn't be any errors, though the warnings
> are probably unavoidable, due to the way the threading had to be done.

threading??? yikes -- just apply attached patch removing those spurious
symbols and warnings should be gone. Include edu.cmu.lsec_lab_common
into the source distribution and errors I believe should disappear (at
least most of them).

And let me ask that boring question again:
> >> > Is there a chance to get access to the development SVN?

;-)
up_spurious_utf8

Joseph Ramsey

unread,
May 31, 2012, 9:11:12 PM5/31/12
to tetrad-us...@googlegroups.com
On Thu, May 31, 2012 at 8:54 PM, Yaroslav Halchenko
<yarik...@gmail.com> wrote:
>
> On Thu, 31 May 2012, Joseph Ramsey wrote:
>
>> I'll track it down. There shouldn't be any errors, though the warnings
>> are probably unavoidable, due to the way the threading had to be done.
>
> threading??? yikes -- just apply attached patch removing those spurious
> symbols and warnings should be gone.  Include edu.cmu.lsec_lab_common
> into the source distribution and errors I believe should disappear (at
> least most of them).

There should at least be one warning about threading, or else they've
given up the ghost on that! In any case I can't get the errors to
happen in my ant, but believe you. I'll include the jar.

>
> And let me ask that boring question again:
>> >> > Is there a chance to get access to the development SVN?

Whoa, when did that question happen? :) For you, anything. I'll set
you up access tomorrow.

Joe

>
> ;-)
>
> --
> Yaroslav O. Halchenko
> Postdoctoral Fellow,   Department of Psychological and Brain Sciences
> Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
> Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
> WWW:   http://www.linkedin.com/in/yarik



Message has been deleted
Message has been deleted
Message has been deleted

Yaroslav Halchenko

unread,
Jun 1, 2012, 11:10:50 AM6/1/12
to tetrad-us...@googlegroups.com

On Fri, 01 Jun 2012, Joseph Ramsey wrote:
> Ok here you are: www.phil.cmu.edu, yoh/"E(x tanh(y))"

yikes -- hopefully I was the first one who used these credentials to
login... changed the password now

> svn checkout svn+ssh://y...@www.phil.cmu.edu/home/svnroot/tetrad/trunk tetrad

> I guess I should as you what you're going to do. If you're going to
> post code somewhere, please don't post anything in the tetradproj
> subdirectory--this consists of student projects, stuff I'm working on
> off to the side, stuff other people have asked me not to post.

ah -- thanks for the warning -- I will try then not to fetch them at all
to not commit any crime in my subconscious acts late at night, but
which path is that exactly (to make sure):

./src/edu/cmu/tetradproj

this one?

> Probably the best thing to do is get the distribution to work and post
> that,

oh yeah!

> if that's the goal, since the distribution strips out tetrad
> proj and leaves out the ant scripts that only do administrative work,
> but keeps everything else. My sense is that the distribution for
> 4.3.10-7 works, trying to remember.

ah -- there is 4.3.10-7? ... got it now... INDEED -- it built
successfully even without any warning with my patch ;) so this issue is
RESOLVED ;)

you might like to update
http://www.phil.cmu.edu/projects/tetrad/current.html
which still says -6 to be the current one

URL to source distribution .zip file could be useful for someone as well

Joseph Ramsey

unread,
Jun 1, 2012, 2:24:09 PM6/1/12
to tetrad-us...@googlegroups.com
On Fri, Jun 1, 2012 at 11:10 AM, Yaroslav Halchenko
<yarik...@gmail.com> wrote:
>
> On Fri, 01 Jun 2012, Joseph Ramsey wrote:
>> Ok here you are: www.phil.cmu.edu, yoh/"E(x tanh(y))"
>
> yikes -- hopefully I was the first one who used these credentials to
> login... changed the password now

I'm sure it's fine, but I'll check it. I deleted the post almost right away.

>
>> svn checkout svn+ssh://y...@www.phil.cmu.edu/home/svnroot/tetrad/trunk tetrad
>
>> I guess I should as you what you're going to do. If you're going to
>> post code somewhere, please don't post anything in the tetradproj
>> subdirectory--this consists of student projects, stuff I'm working on
>> off to the side, stuff other people have asked me not to post.
>
> ah -- thanks for the warning -- I will try then not to fetch them at all
> to not commit any crime in my subconscious acts late at night, but
> which path is that exactly (to make sure):
>
> ./src/edu/cmu/tetradproj
>
> this one?

That's it! :)

>
>> Probably the best thing to do is get the distribution to work and post
>> that,
>
> oh yeah!
>
>> if that's the goal, since the distribution strips out tetrad
>> proj and leaves out the ant scripts that only do administrative work,
>> but keeps everything else. My sense is that the distribution for
>> 4.3.10-7 works, trying to remember.
>
> ah -- there is 4.3.10-7? ... got it now... INDEED -- it built
> successfully even without any warning with my patch ;)  so this issue is
> RESOLVED ;)
>
> you might like to update
> http://www.phil.cmu.edu/projects/tetrad/current.html
> which still says -6 to be the current one

I'll do that. :)

>
> URL to source distribution .zip file could be useful for someone as well

Good idea.

Joe

>
> --
> Yaroslav O. Halchenko
> Postdoctoral Fellow,   Department of Psychological and Brain Sciences
> Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
> Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
> WWW:   http://www.linkedin.com/in/yarik



Yaroslav Halchenko

unread,
Jun 1, 2012, 6:06:41 PM6/1/12
to tetrad-us...@googlegroups.com
shall I generally assume that .class files under SVN control with alive
.java sources are committed by mistake and just remove them? ;)

e.g.
./src/edu/cmu/tetradapp/model/GesParams.class

and there are some others under tetradproj

Cheers,

On Fri, 01 Jun 2012, Joseph Ramsey wrote:

> >> svn checkout svn+ssh://y...@www.phil.cmu.edu/home/svnroot/tetrad/trunk tetrad

> >> I guess I should as you what you're going to do. If you're going to
> >> post code somewhere, please don't post anything in the tetradproj
> >> subdirectory--this consists of student projects, stuff I'm working on
> >> off to the side, stuff other people have asked me not to post.

Joseph Ramsey

unread,
Jun 1, 2012, 7:54:59 PM6/1/12
to tetrad-us...@googlegroups.com
Yes. Don't know how they got there.

Joe
Reply all
Reply to author
Forward
0 new messages