[torqueusers] Torque-2.1.6 make error

Jay Srinivasan jay at nersc.gov
Wed Oct 25 13:30:42 MDT 2006


Garrick Staples wrote:
> TORQUE 2.1.6 is now available.  This fixes all known security
> problems and regressions from Friday's release.  TM on single-node
> jobs and job reruns are working again.
> 
>   http://www.clusterresources.com/downloads/torque/
> 

Hi,

I am getting the following error when I try to either "make rpm" or
"make" with sched=basl using Torque-2.1.6

gcc -m64 -DHAVE_CONFIG_H -I. -I. -I../../src/include
-I../../src/include  -DPBS_SERVER_HOME=\"/var/
spool/torque\" -DPBS_ENVIRON=\"/var/spool/torque/pbs_environment\" -g
-O2 -D_LARGEFILE64_SOURCE -c `
test -f 'SymTab.c' || echo './'`SymTab.c
bison -y  -d Parser.y && mv y.tab.c Parser.c
Parser.y:1417.17: syntax error, unexpected "|"
make[2]: *** [Parser.c] Error 1
make[2]: Leaving directory `/u0/jay/torque-2.1.6/src/scheduler.basl'

The following patch seems to fix the issue, but I am not sure if it is
the right fix.

--- Parser.y.orig       2006-10-25 12:03:29.419705488 -0700
+++ Parser.y    2006-10-25 12:03:39.042240617 -0700
@@ -1411,8 +1411,6 @@


                                                }
-               ;
-

                |       CASE floatConst ':' {
                                        ParserCondPrint("caseElementHead");

Jay


More information about the torqueusers mailing list