Getdate error
This is probably one for the upstream guy, but here are some build errors showing on the latest selinux utils:
getdate.y: In function `yyparse':
getdate.y:381: parse error before `}'
getdate.y:387: parse error before `}'
getdate.y:393: parse error before `}'
They appear to be missing semicolons:
relunit:
tUNUMBER tYEAR_UNIT
{ PC.rel_year += $1.value * $2; }
| tSNUMBER tYEAR_UNIT
{ PC.rel_year += $1.value * $2; }
| tYEAR_UNIT
{ PC.rel_year += $1; }
| tUNUMBER tMONTH_UNIT
{ PC.rel_month += $1.value * $2; }
| tSNUMBER tMONTH_UNIT
{ PC.rel_month += $1.value * $2; }
| tMONTH_UNIT
{ PC.rel_month += $1; }
| tUNUMBER tDAY_UNIT
{ PC.rel_day += $1.value * $2; }
| tSNUMBER tDAY_UNIT
{ PC.rel_day += $1.value * $2; }
| tDAY_UNIT
{ PC.rel_day += $1 } <--
| tUNUMBER tHOUR_UNIT
{ PC.rel_hour += $1.value * $2; }
| tSNUMBER tHOUR_UNIT
{ PC.rel_hour += $1.value * $2; }
| tHOUR_UNIT
{ PC.rel_hour += $1 } <--
| tUNUMBER tMINUTE_UNIT
{ PC.rel_minutes += $1.value * $2; }
| tSNUMBER tMINUTE_UNIT
{ PC.rel_minutes += $1.value * $2; }
| tMINUTE_UNIT
{ PC.rel_minutes += $1 } <--
| tUNUMBER tSEC_UNIT
{ PC.rel_seconds += $1.value * $2; }
| tSNUMBER tSEC_UNIT
{ PC.rel_seconds += $1.value * $2; }
| tSEC_UNIT
{ PC.rel_seconds += $1; }
;If someone else already had this problem, excuse me for the repeat. I'm several days behind on the selinux mail.
Signature · 10 lines
------------------------------------------------------
Nuke bin Laden: Dale Amon, CEO/MD
improve the global Islandone Society
gene pool. www.islandone.org
------------------------------------------------------
--
You have received this message because you are subscribed to the selinux list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.I had to fix this in three places:
selinux/utils/fileutils-4.1/lib selinux/utils/sh-utils-2.0.11/lib selinux/utils/tar-1.13.19/lib
Signature · 10 lines
------------------------------------------------------
Nuke bin Laden: Dale Amon, CEO/MD
improve the global Islandone Society
gene pool. www.islandone.org
------------------------------------------------------
--
You have received this message because you are subscribed to the selinux list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.Quoted 7 lines · Dale Amon
This is probably one for the upstream guy, but here are some build errors showing on the latest selinux utils:
getdate.y: In function `yyparse':
getdate.y:381: parse error before `}'
getdate.y:387: parse error before `}'
getdate.y:393: parse error before `}'
The semicolons are missing in the upstream sources, but this doesn't appear to create a build problem for us. bison appears to insert an extra semicolon automatically anyway. We're using bison version 1.28, the standard one on RH7.1 and RH7.2.
--
Stephen D. Smalley, NAI Labs
[email protected]
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 4 lines · Stephen Smalley
The semicolons are missing in the upstream sources, but this doesn't appear to create a build problem for us. bison appears to insert an extra semicolon automatically anyway. We're using bison version 1.28, the standard one on RH7.1 and RH7.2.
I've got 1.34. Perhaps it's stricter?
Signature · 10 lines
------------------------------------------------------
Nuke bin Laden: Dale Amon, CEO/MD
improve the global Islandone Society
gene pool. www.islandone.org
------------------------------------------------------
--
You have received this message because you are subscribed to the selinux list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.