<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>143272</bug_id>
          
          <creation_ts>2006-08-08 16:35 0000</creation_ts>
          <short_desc>app-office/sc-7.16 syntax error: let A0&lt;= = 10</short_desc>
          <delta_ts>2008-01-30 12:08:57 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>2006.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>ULMO@SONIC.NET</reporter>
          <assigned_to>maintainer-needed@gentoo.org</assigned_to>
          <cc>barral@webspeed.dk</cc>
    
    <cc>gentoo-bugs@njw.me.uk</cc>
    
    <cc>kabaiakh@free.fr</cc>
    
    <cc>masterdriverz@gentoo.org</cc>
    
    <cc>pe.malte@gmail.com</cc>
    
    <cc>treecleaner@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>ULMO@SONIC.NET</who>
            <bug_when>2006-08-08 16:35:40 0000</bug_when>
            <thetext>syntax error: let A0&lt;= = 10
syntax error: rightstring A0&lt;= = &quot;foo

app-office/sc-7.16 doesn&apos;t allow you to execute assignment commands from anywhere, including saved files.  It does not work.  I tried with various compiler flags, and it made no difference.

app-office/sc-7.12 does work.

To reproduce:

invoke sc (that&apos;s ESS CEE on the command line by itself)
type command &gt;foo [RETURN] (that&apos;s GREATERTHAN EFF OH OH RETURN)
  syntax error: rightstring A0&lt;= = &quot;foo
or command =10 [RETURN] (that&apos;s EQUALS ONE ZERO RETURN)
  syntax error: let A0&lt;= = 10

It gives error.  Try in sc-7.12, and notice it works right.

I put a mask in /etc/portage/package.mask for sc-7.16, and it works great.  I recommend Gentoo put sc-7.16 into ~ or - (soft or hard mask?) so that 7.12 will stick around long enough for the bug to be resolved.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-08-08 23:27:31 0000</bug_when>
            <thetext>Last upstream release 4 years old; no maintainer. I&apos;d rather see this thing go to /dev/null.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ULMO@SONIC.NET</who>
            <bug_when>2006-08-10 21:44:54 0000</bug_when>
            <thetext>&gt; Last upstream release 4 years old; no maintainer. I&apos;d rather see this thing go
&gt; to /dev/null.

2 things:

1.  How do we get stats on what packages people are using?  How many people use sc?
2.  I&apos;ll consider becoming maintainer for sc.  So far, I copied some files into ftp://ftp.sonic.net/pub/users/qm/sc/ and http://www.sonic.net/~qm/sc/ -- I&apos;ll put this into slow burn until it works.  I have little time but if I do start maint on this thing, it&apos;ll be to just keep it working.  Right now, of course, the above bug still exists.  If I have to fix it, I&apos;ll do it some day but not right away.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ULMO@SONIC.NET</who>
            <bug_when>2006-08-10 22:08:43 0000</bug_when>
            <thetext>&gt; Last upstream release 4 years old; no maintainer. I&apos;d rather see this thing go
&gt; to /dev/null.

Ok, I read some Gentoo docs and can&apos;t find how to become maintainer of the Gentoo sc package.  I want to do it.  Where&apos;s the link for docs for becoming maintainer?  Do I just become a developer and then add myself to some XML list someplace?  Or is there a more straightforward way?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kioshen@gmail.com</who>
            <bug_when>2006-08-11 05:22:44 0000</bug_when>
            <thetext>(In reply to comment #3)
&gt;1.  How do we get stats on what packages people are using?  How many people &gt;use sc?
&gt; 
We currently do not have any stats available but there&apos;s a SoC project done by genone for it.

&gt; Ok, I read some Gentoo docs and can&apos;t find how to become maintainer of the
&gt; Gentoo sc package.  I want to do it.  Where&apos;s the link for docs for becoming
&gt; maintainer?  
&gt; 
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=1&amp;chap=2

I think your best bet would be to find a developper to proxy maintain this beast or let it drop from the main tree and get in contact with the sunrise developpers to try your hand at maintaining it.

It won&apos;t be straightforward to become a dev since you have to be involved in the project for a while, get noticed by current developpers, get a mentor etc etc. All is explained in the link that I provided you.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>antarus@gentoo.org</who>
            <bug_when>2006-08-11 09:35:01 0000</bug_when>
            <thetext>(In reply to comment #3)
&gt; &gt; Last upstream release 4 years old; no maintainer. I&apos;d rather see this thing go
&gt; &gt; to /dev/null.
&gt; 
&gt; Ok, I read some Gentoo docs and can&apos;t find how to become maintainer of the
&gt; Gentoo sc package.  I want to do it.  Where&apos;s the link for docs for becoming
&gt; maintainer?  Do I just become a developer and then add myself to some XML list
&gt; someplace?  Or is there a more straightforward way?
&gt; 

Become a dev or put it in sunrise.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>barral@webspeed.dk</who>
            <bug_when>2006-11-04 06:10:01 0000</bug_when>
            <thetext>(In reply to comment #5)

any news about this?
(I would find it a pitty if this package would be removed)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>masterdriverz@gentoo.org</who>
            <bug_when>2006-11-04 06:26:23 0000</bug_when>
            <thetext>(In reply to comment #6)
&gt; any news about this?
&gt; (I would find it a pitty if this package would be removed)

It can only go in sunrise when its punted (see sunrise policy), so wait till then, or find a dev to proxy for you.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>masterdriverz@gentoo.org</who>
            <bug_when>2006-12-08 11:55:41 0000</bug_when>
            <thetext>(In reply to comment #7)
&gt; (In reply to comment #6)
&gt; &gt; any news about this?
&gt; &gt; (I would find it a pitty if this package would be removed)
&gt; 
&gt; It can only go in sunrise when its punted (see sunrise policy), so wait till
&gt; then, or find a dev to proxy for you.
 
Seeing as I&apos;m now a dev, I would be willing to proxy for you. Please mail me or ping me on IRC (nick is masterdriverz).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>masterdriverz@gentoo.org</who>
            <bug_when>2006-12-17 15:48:46 0000</bug_when>
            <thetext>(In reply to comment #8)
&gt; Seeing as I&apos;m now a dev, I would be willing to proxy for you. Please mail me or
&gt; ping me on IRC (nick is masterdriverz).

Just to update people, me and Kai are arranging proxy-maintaining this. 

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>carsten@luckmann.name</who>
            <bug_when>2007-01-24 11:19:14 0000</bug_when>
            <thetext>Error occurs only when compiled with gcc-4(.1.1-r3).  Works fine if compiled with gcc-3(.4.6-r1).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>carsten@luckmann.name</who>
            <bug_when>2007-02-09 15:10:08 0000</bug_when>
            <thetext>The bug lies somewhere in lex.c.  If you compile lex.c with either gcc-3 or with gcc-4 -O0 (i.e. without optimization) it works.

(gcc-3.4.6-r1 and gcc-4.1.1-r3 used.)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kabaiakh@free.fr</who>
            <bug_when>2007-04-08 19:21:46 0000</bug_when>
            <thetext>(In reply to comment #11)
&gt; The bug lies somewhere in lex.c.  If you compile lex.c with either gcc-3 or
&gt; with gcc-4 -O0 (i.e. without optimization) it works.
&gt; 
&gt; (gcc-3.4.6-r1 and gcc-4.1.1-r3 used.)
&gt; 
It seems that the &apos;ret&apos; variable within yylex() lacks its initialisation. From Debian existing patch, adding &apos;= 0&apos; make everything work fine.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-11-17 20:23:13 0000</bug_when>
            <thetext>Back to treecleaners...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo-bugs@njw.me.uk</who>
            <bug_when>2007-11-19 00:28:50 0000</bug_when>
            <thetext>Created an attachment (id=136333)
Patch to fix ret initialisation

 (In reply to comment #12)
&gt; It seems that the &apos;ret&apos; variable within yylex() lacks its initialisation. From
&gt; Debian existing patch, adding &apos;= 0&apos; make everything work fine.
 
This patch applies the fix; seems to work cleanly. Ebuild incorporating this follows.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo-bugs@njw.me.uk</who>
            <bug_when>2007-11-19 00:30:16 0000</bug_when>
            <thetext>Created an attachment (id=136335)
Updated sc-7.16 ebuild

Ebuild taking new patch into account</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dirtyepic@gentoo.org</who>
            <bug_when>2008-01-17 20:59:45 0000</bug_when>
            <thetext>Fixed (along with a bunch of other stuff) in sc-7.16-r1.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pe.malte@gmail.com</who>
            <bug_when>2008-01-30 12:08:57 0000</bug_when>
            <thetext>Thanks for keeping sc up to date! I actually use it, now that the &apos;syntax error&apos; bug has been fixed. Seeing as it&apos;s the only CLI spreadsheet editor in portage (I may be wrong), it really would be a pitty if this thing would go down /dev/null.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>136333</attachid>
            <date>2007-11-19 00:28 0000</date>
            <desc>Patch to fix ret initialisation</desc>
            <filename>sc-7.16-lexfix.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGxleC5jCTIwMDctMTEtMTkgMDA6MTQ6MzcuMDAwMDAwMDAwICswMDAwCisrKyBsZXguYwky
MDA3LTExLTE5IDAwOjE0OjU2LjAwMDAwMDAwMCArMDAwMApAQCAtMTA3LDcgKzEwNyw3IEBAIGlu
dAogeXlsZXgoKQogewogICAgIGNoYXIgKnAgPSBsaW5lICsgbGluZWxpbTsKLSAgICBpbnQgcmV0
OworICAgIGludCByZXQgPSAwOwogICAgIHN0YXRpYyBpbnQgaXNmdW5jID0gMDsKICAgICBzdGF0
aWMgYm9vbCBpc2dvdG8gPSAwOwogICAgIHN0YXRpYyBib29sIGNvbHN0YXRlID0gMDsK
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>136335</attachid>
            <date>2007-11-19 00:30 0000</date>
            <desc>Updated sc-7.16 ebuild</desc>
            <filename>sc-7.16.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA1IEdlbnRvbyBGb3VuZGF0aW9uCiMgRGlzdHJpYnV0ZWQgdW5k
ZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSB2MgojICRIZWFk
ZXI6IC92YXIvY3Zzcm9vdC9nZW50b28teDg2L2FwcC1vZmZpY2Uvc2Mvc2MtNy4xNi5lYnVpbGQs
diAxLjEgMjAwNS8wNy8xMiAwNzo0ODoxMyBzcHlkZXJvdXMgRXhwICQKCmluaGVyaXQgZXV0aWxz
CgpERVNDUklQVElPTj0ic2MgaXMgYSBmcmVlIGN1cnNlcy1iYXNlZCBzcHJlYWRzaGVldCBwcm9n
cmFtIHRoYXQgdXNlcyBrZXkgYmluZGluZ3Mgc2ltaWxhciB0byB2aSBhbmQgbGVzcy4iClNSQ19V
Ukk9ImZ0cDovL2liaWJsaW8ub3JnL3B1Yi9MaW51eC9hcHBzL2ZpbmFuY2lhbC9zcHJlYWRzaGVl
dC8ke1B9LnRhci5neiIKSE9NRVBBR0U9Imh0dHA6Ly9pYmlibGlvLm9yZy9wdWIvTGludXgvYXBw
cy9maW5hbmNpYWwvc3ByZWFkc2hlZXQvIgoKU0xPVD0iMCIKTElDRU5TRT0icHVibGljLWRvbWFp
biIKS0VZV09SRFM9Ing4NiBwcGMgc3BhcmMgYW1kNjQiCklVU0U9IiIKCkRFUEVORD0iPj1zeXMt
YXBwcy9zZWQtNC4wLjUKCT49c3lzLWxpYnMvbmN1cnNlcy01LjIiCgpzcmNfdW5wYWNrKCkgewoJ
dW5wYWNrICR7QX0KCWNkICR7U30KCWVwYXRjaCAke0ZJTEVTRElSfS8ke1B9LWFtZDY0LnBhdGNo
CgllcGF0Y2ggJHtGSUxFU0RJUn0vJHtQfS1sZXhmaXgucGF0Y2gKfQoKc3JjX2NvbXBpbGUoKSB7
CgltYWtlIENGTEFHUz0iLURTWVNWMyAkQ0ZMQUdTIiBwcmVmaXg9L3VzciB8fCBkaWUKfQoKc3Jj
X2luc3RhbGwgKCkgewoJZG9kaXIgL3Vzci9iaW4KCWRvZGlyIC91c3Ivc2hhcmUvbWFuL21hbjEK
CWRvZGlyIC91c3IvbGliL3NjCgltYWtlIHByZWZpeD0ke0R9L3VzciBNQU5ESVI9JHtEfS91c3Iv
c2hhcmUvbWFuL21hbjEgaW5zdGFsbCB8fCBkaWUKCglzZWQgLWkgInM6JHtEfTo6ZyIgc2MuMQoJ
ZG9tYW4gc2MuMSBwc2MuMQoKCWRvZG9jIENIQU5HRVMgUkVBRE1FIHNjLmRvYyBwc2MuZG9jIHR1
dG9yaWFsLnNjCglkb2RvYyBWTVNfTk9URVMgJHtQfS5sc20gVE9ETyBTQy5NQUNST1MKfQoKIyB2
aW06IGFpIGV0IHN3PTQgdHM9NAo=
</data>        

          </attachment>
    </bug>

</bugzilla>