All of lore.kernel.org
 help / color / mirror / Atom feed
* Getdate error
@ 2002-03-21 12:11 Dale Amon
  2002-03-21 14:56 ` Dale Amon
  2002-03-21 15:16 ` Stephen Smalley
  0 siblings, 2 replies; 4+ messages in thread
From: Dale Amon @ 2002-03-21 12:11 UTC (permalink / raw)
  To: Stephen Smalley; +Cc: SE Linux

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.

-- 
------------------------------------------------------
    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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Getdate error
  2002-03-21 12:11 Getdate error Dale Amon
@ 2002-03-21 14:56 ` Dale Amon
  2002-03-21 15:16 ` Stephen Smalley
  1 sibling, 0 replies; 4+ messages in thread
From: Dale Amon @ 2002-03-21 14:56 UTC (permalink / raw)
  To: Stephen Smalley; +Cc: SE Linux

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

-- 
------------------------------------------------------
    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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Getdate error
  2002-03-21 12:11 Getdate error Dale Amon
  2002-03-21 14:56 ` Dale Amon
@ 2002-03-21 15:16 ` Stephen Smalley
  2002-03-21 16:24   ` Dale Amon
  1 sibling, 1 reply; 4+ messages in thread
From: Stephen Smalley @ 2002-03-21 15:16 UTC (permalink / raw)
  To: Dale Amon; +Cc: SE Linux


On Thu, 21 Mar 2002, Dale Amon wrote:

> 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
ssmalley@nai.com




--
You have received this message because you are subscribed to the selinux list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Getdate error
  2002-03-21 15:16 ` Stephen Smalley
@ 2002-03-21 16:24   ` Dale Amon
  0 siblings, 0 replies; 4+ messages in thread
From: Dale Amon @ 2002-03-21 16:24 UTC (permalink / raw)
  To: Stephen Smalley; +Cc: SE Linux

On Thu, Mar 21, 2002 at 10:16:54AM -0500, Stephen Smalley wrote:
> 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?

-- 
------------------------------------------------------
    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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-03-21 16:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-21 12:11 Getdate error Dale Amon
2002-03-21 14:56 ` Dale Amon
2002-03-21 15:16 ` Stephen Smalley
2002-03-21 16:24   ` Dale Amon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.