Ticket #3137 (closed bug: fixed)

Opened 16 months ago

Last modified 8 months ago

Updated bison 2.4 package appears to not correctly generate ftpd's ftpcmd.c

Reported by: anevilyak Owned by: zooey
Priority: normal Milestone: R1
Component: Build System Version: R1/pre-alpha1
Keywords: Cc: black.belt.jimmy@…, olive@…
Blocked By: Platform: All
Blocking: #3156

Description

With the recently updated bison package, ftpcmd.y -> ftpcmd.c no longer works correctly. It generates a symbol table, but then puts the enum definitions for the tokens used in said table later in the file, as a result of which gcc fails to build the file. This still works correctly on Linux and FreeBSD though, both of which are using bison 2.3 here.

Attachments

ftpcmd_y.diff Download (382 bytes) - added by Adek336 16 months ago.
workaround

Change History

Changed 16 months ago by anevilyak

  • blocking 3156 added

(In #3156) Duplicate of ticket #3137.

Changed 16 months ago by bbjimmy

  • cc black.belt.jimmy@… added

Changed 16 months ago by karmak

  • cc olive@… added

I hit this bug too, when building Haiku from haiku, with latest packages donwloaded from haiku-files.org. Just putting myself in the CC for now.

Changed 16 months ago by Adek336

workaround

Changed 16 months ago by Adek336

Attached workaround as suggested by Rene Gollent on the mailing list.

Changed 16 months ago by anevilyak

That would be me :) That's not really a long term solution though, as the real problem is bison not correctly generating the file.

Changed 15 months ago by scottmc

Perhaps roll back bison to 2.3 until they get regressions fixed in 2.4:  http://www.mail-archive.com/bug-bison@gnu.org/msg01234.html

Changed 15 months ago by scottmc

Or perhap they already fixed it?  http://ftp.gnu.org/gnu/bison/bison-2.4.1.tar.gz

Changed 15 months ago by scottmc

 http://ports.haiku-files.org/wiki/sys-devel/bison/2.4.1 2.4.1 builds on Haiku if you use --disable-nls, but it's failing 7 "make check" tests. Not sure if the new build fixes the orig problem or not. Binary is posted on haikuports for testing.

Changed 15 months ago by scottmc

I can now confirm that a simple build of bison-2.4.1 does NOT fix this issue. Here's what I get when trying to build Haiku using bison-2.4.1:

Cc generated/objects/haiku/x86/release/bin/network/ftpd/ftpcmd.o 
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:138: `USER' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:138: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:138: (near initialization for `cmdtab[0].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:139: `PASS' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:139: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:139: (near initialization for `cmdtab[1].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:140: `ACCT' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:140: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:140: (near initialization for `cmdtab[2].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:141: `SMNT' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:141: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:141: (near initialization for `cmdtab[3].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:142: `REIN' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:142: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:142: (near initialization for `cmdtab[4].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:143: `QUIT' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:143: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:143: (near initialization for `cmdtab[5].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:144: `PORT' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:144: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:144: (near initialization for `cmdtab[6].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:145: `LPRT' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:145: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:145: (near initialization for `cmdtab[7].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:146: `EPRT' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:146: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:146: (near initialization for `cmdtab[8].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:147: `PASV' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:147: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:147: (near initialization for `cmdtab[9].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:148: `LPSV' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:148: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:148: (near initialization for `cmdtab[10].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:149: `EPSV' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:149: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:149: (near initialization for `cmdtab[11].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:150: `TYPE' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:150: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:150: (near initialization for `cmdtab[12].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:151: `STRU' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:151: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:151: (near initialization for `cmdtab[13].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:152: `MODE' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:152: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:152: (near initialization for `cmdtab[14].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:153: `RETR' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:153: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:153: (near initialization for `cmdtab[15].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:154: `STOR' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:154: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:154: (near initialization for `cmdtab[16].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:155: `APPE' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:155: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:155: (near initialization for `cmdtab[17].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:156: `MLFL' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:156: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:156: (near initialization for `cmdtab[18].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:157: `MAIL' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:157: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:157: (near initialization for `cmdtab[19].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:158: `MSND' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:158: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:158: (near initialization for `cmdtab[20].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:159: `MSOM' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:159: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:159: (near initialization for `cmdtab[21].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:160: `MSAM' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:160: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:160: (near initialization for `cmdtab[22].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:161: `MRSQ' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:161: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:161: (near initialization for `cmdtab[23].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:162: `MRCP' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:162: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:162: (near initialization for `cmdtab[24].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:163: `ALLO' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:163: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:163: (near initialization for `cmdtab[25].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:164: `REST' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:164: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:164: (near initialization for `cmdtab[26].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:165: `RNFR' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:165: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:165: (near initialization for `cmdtab[27].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:166: `RNTO' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:166: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:166: (near initialization for `cmdtab[28].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:167: `ABOR' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:167: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:167: (near initialization for `cmdtab[29].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:168: `DELE' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:168: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:168: (near initialization for `cmdtab[30].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:169: `CWD' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:169: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:169: (near initialization for `cmdtab[31].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:170: `CWD' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:170: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:170: (near initialization for `cmdtab[32].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:171: `LIST' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:171: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:171: (near initialization for `cmdtab[33].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:172: `NLST' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:172: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:172: (near initialization for `cmdtab[34].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:173: `SITE' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:173: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:173: (near initialization for `cmdtab[35].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:174: `SYST' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:174: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:174: (near initialization for `cmdtab[36].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:175: `FEAT' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:175: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:175: (near initialization for `cmdtab[37].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:176: `STAT' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:176: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:176: (near initialization for `cmdtab[38].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:177: `HELP' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:177: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:177: (near initialization for `cmdtab[39].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:178: `NOOP' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:178: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:178: (near initialization for `cmdtab[40].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:179: `MKD' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:179: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:179: (near initialization for `cmdtab[41].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:180: `MKD' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:180: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:180: (near initialization for `cmdtab[42].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:181: `RMD' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:181: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:181: (near initialization for `cmdtab[43].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:182: `RMD' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:182: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:182: (near initialization for `cmdtab[44].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:183: `PWD' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:183: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:183: (near initialization for `cmdtab[45].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:184: `PWD' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:184: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:184: (near initialization for `cmdtab[46].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:185: `CDUP' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:185: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:185: (near initialization for `cmdtab[47].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:186: `CDUP' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:186: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:186: (near initialization for `cmdtab[48].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:187: `STOU' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:187: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:187: (near initialization for `cmdtab[49].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:188: `SIZE' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:188: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:188: (near initialization for `cmdtab[50].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:189: `MDTM' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:189: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:189: (near initialization for `cmdtab[51].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:194: `MDFIVE' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:194: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:194: (near initialization for `sitetab[0].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:195: `UMASK' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:195: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:195: (near initialization for `sitetab[1].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:196: `IDLE' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:196: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:196: (near initialization for `sitetab[2].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:197: `CHMOD' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:197: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:197: (near initialization for `sitetab[3].token')
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:198: `HELP' undeclared here (not in a function)
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:198: initializer element is not constant
/boot/home/develop/haiku/trunk/src/bin/network/ftpd/ftpcmd.y:198: (near initialization for `sitetab[4].token')

So perhaps we should roll back to bison-2.3 for now?  http://haiku-files.org/files/optional-packages/bison-2.3-gcc2-2008-03-28.zip Nope.. I get the same failure there... and bison --version shows that 2.3 is active.

Changed 14 months ago by mmlr

I've committed the workaround in r29019 after getting confirmation that it doesn't break with bison 2.3.

Changed 13 months ago by stippi

  • milestone changed from R1/alpha1 to R1

Since the workaround has been commited, I don't see the pressing need for this to be in the R1/alpha milestone.

Changed 9 months ago by anevilyak

  • owner changed from bonefish to zooey

Changed 8 months ago by zooey

  • status changed from new to closed
  • resolution set to fixed

Fixed in r31401

Note: See TracTickets for help on using tickets.