[erlang-questions] strange rebar error

Angel J. Alvarez Miguel clist@REDACTED
Mon Mar 19 21:08:15 CET 2012


Hi

Im using rebar for several projects and i used to have it installed as a RPM 
from a openSUSE repo and seems to run fine.

DEBUG: Rebar location: "/usr/bin/rebar"
DEBUG: Entering 
/home/sinosuke/Documentos/Trabajo/2012/Investigación/ResMol/Erlang_NoseHoover_16_12_2012/nosehoover
DEBUG: Available deps: []
DEBUG: Missing deps  : []
DEBUG: Predirs: []
==> nosehoover (clean)
DEBUG: Postdirs: []
DEBUG: Entering 
/home/sinosuke/Documentos/Trabajo/2012/Investigación/ResMol/Erlang_NoseHoover_16_12_2012/nosehoover
DEBUG: Available deps: []
DEBUG: Missing deps  : []
DEBUG: Predirs: []
==> nosehoover (compile)
DEBUG: Matched required ERTS version: 5.9 -> .*
DEBUG: Matched required OTP release: R15B -> .*
DEBUG: erl_opts [native,inline,{i,"include"}]
DEBUG: Starting 3 compile worker(s)
src/nosehoover.erl:48: Warning: variable 'OtrosArgs' is unused
Compiled src/nosehoover.erl
Compiled src/nosehoover_loader_gaussian.erl
Compiled src/getopt.erl
DEBUG: Worker exited cleanly
src/nosehoover_core.erl:21: Warning: variable 'Other' is unused
Compiled src/nosehoover_core.erl
DEBUG: Worker exited cleanly
Compiled src/nosehoover_tools.erl
DEBUG: Worker exited cleanly
DEBUG: Postdirs: []
DEBUG: Entering 
/home/sinosuke/Documentos/Trabajo/2012/Investigación/ResMol/Erlang_NoseHoover_16_12_2012/nosehoover
DEBUG: Available deps: []
DEBUG: Missing deps  : []
DEBUG: Predirs: []
==> nosehoover (escriptize)
DEBUG: Postdirs: []


sinosuke@REDACTED:~/Documentos/Trabajo/2012/Investigación/ResMol/Erlang_NoseHoover_16_12_2012/nosehoover> 
./nosehoover -D ./data/METANO metano
Reading geom: # Metano, formato etiquetado "atomo" "X" "Y" "Z"
Reading geom: # el formato está defomardo para ejercitar el parser
{system,[{atom,"C1",{cartesian,0.0,0.0,1.089}},
         {atom,"H1",{cartesian,1.02672,0.0,-0.362996}},
         {atom,"H2",{cartesian,-0.51336,-0.889165,-0.363}},
         {atom,"H3",{cartesian,-0.51336,0.889165,-0.363}}],
        {cartesian,[0.0,0.0,0.0,0.0,0.0,-0.970109808,-0.685963027,0.0,
                    1.94021962,2.05791176,-0.685970586,1.68027834,
                    -0.970109808,-0.685970586,-1.68027834]},
        {gradient,[-1.28369537e-16,3.49033183e-7,-5.12583544e-7,
                   2.74086309e-16,5.68362124e-7,-0.00249459546,-0.00176301405,
                   -5.2909066e-17,0.00498827352,0.00529098265,-0.00176372801,
                   0.00432037169,-0.00249459546,-0.00176372801,
                   -0.00432037169]},
        {hessian,[-3.6869881e-16,2.60106291e-7,0.824862682,1.3382681e-16,
                  0.824865666,0.0696220165,-1.87359717e-8,-5.90803338e-17,
                  -0.0798212583,0.824862747,0.0696218852,-3.25950592e-19,
                  -9.21169816e-17,-0.0798212533,-6.03652537e-17,.....
.. more chem related data.
         



Today ive downloaded lastest rebar from git and tested the same way...

sinosuke@REDACTED:~/Documentos/Trabajo/2012/Investigación/ResMol/Erlang_NoseHoover_16_12_2012/nosehoover> 
./rebar -v clean compile escriptize
==> nosehoover (clean)
==> nosehoover (compile)
src/nosehoover.erl:48: Warning: variable 'OtrosArgs' is unused
Compiled src/nosehoover.erl
Compiled src/nosehoover_loader_gaussian.erl
src/nosehoover_core.erl:21: Warning: variable 'Other' is unused
Compiled src/nosehoover_core.erl
Compiled src/getopt.erl
Compiled src/nosehoover_tools.erl
==> nosehoover (escriptize)
sinosuke@REDACTED:~/Documentos/Trabajo/2012/Investigación/ResMol/Erlang_NoseHoover_16_12_2012/nosehoover> 
./nosehoover -D ./data/METANO metano

./nosehoover:5: undefined macro '�'
./nosehoover:18: illegal atom
./nosehoover:25: illegal atom
./nosehoover:25: syntax error before: 3
./nosehoover:28: illegal atom
./nosehoover:28: illegal atom
./nosehoover:30: illegal atom
./nosehoover:34: syntax error before: M
./nosehoover:34: undefined macro '��P���XK���n���QF'
./nosehoover:48: illegal atom
./nosehoover:50: illegal atom
./nosehoover:56: illegal atom
./nosehoover:66: illegal atom
./nosehoover:75: undefined macro 'v'
./nosehoover:88: illegal macro call '?'�''
./nosehoover:101: undefined macro '�x'
./nosehoover:104: illegal atom
./nosehoover:109: syntax error before: A�
./nosehoover:115: illegal atom
./nosehoover:119: illegal atom
./nosehoover:143: illegal atom
./nosehoover:146: illegal atom
./nosehoover:149: syntax error before: '�'
./nosehoover:154: undefined macro 'J�u'
./nosehoover:160: illegal integer
./nosehoover:161: undefined macro 'C'
./nosehoover:177: illegal atom
./nosehoover:181: undefined macro '�'
./nosehoover:211: illegal atom
./nosehoover:212: syntax error before: '#'
./nosehoover:217: illegal atom
./nosehoover:218: syntax error before: _
./nosehoover:222: undefined macro '�'
./nosehoover:246: illegal atom
./nosehoover:250: illegal macro call '?'�''
./nosehoover:264: illegal macro call '?'+''
./nosehoover:267: illegal atom
./nosehoover:271: syntax error before: '�'
./nosehoover:272: syntax error before: J�B
./nosehoover:277: undefined macro '�'
./nosehoover:281: illegal atom
./nosehoover:291: illegal atom
./nosehoover:291: syntax error before: '�'
./nosehoover:292: illegal atom
./nosehoover:298: illegal atom
./nosehoover:305: illegal atom
./nosehoover:328: illegal macro call '?3'
./nosehoover:328: undefined macro '�'
escript: There were compilation errors.

the generated script crashes badly and i dont know why. We are feared of 
lossing our good rebar on a RPM update and face this problem with newer rebar 
versions...

¿Can anyone give a clue on what's wrong?

Thanks!






More information about the erlang-questions mailing list