bugvile, a vi-compatible text editor - Bugs: bug #38964, compile under MacOS 10.8.3 fails...

 
 

bug #38964: compile under MacOS 10.8.3 fails with " vile: error: conflicting types for 'yyget_leng'"

Submitter:  None
Submitted:  Sat 11 May 2013 10:22:47 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Mon 03 Jun 2013 10:35:02 AM UTC, comment #7: 

This was fixed by adding a port for "reflex".

Thomas Dickey <dickey>
Group administrator
Sat 11 May 2013 12:19:21 PM UTC, comment #6: 

I did that a while back, but recall some pushback from one
of the packagers who wanted to try "new" flex anyway.  So
it only warns in the current script.

Thomas Dickey <dickey>
Group administrator
Sat 11 May 2013 12:17:03 PM UTC, comment #5: 

We've solved the issue in MacPorts by using reflex instead of flex. You might still want to enhance vile so that it detects bad versions of flex at configure time and prints an error message advising the user what to do.

Ryan Carsten Schmidt <ryandesign>
Sat 11 May 2013 11:55:13 AM UTC, comment #4: 

right - I'm adding the port stuff to my to-do list.
I hadn't gotten involved in that area since generally there
are existing ports and maintainers to deal with.

I think that biting off the reflex-port first would be enough
to see how the system works, and once done, I'll follow up
with fixing vile.  (Making things actually build and  port is
just the easy part).

Thomas Dickey <dickey>
Group administrator
Sat 11 May 2013 11:40:33 AM UTC, comment #3: 

So according to the FAQ, the 15-year-old flex 2.5.4a would work, but newer versions don't, and this is a flex problem, and the developers of flex do not respond to bug reports? The FAQ also seems to state that the problem has been worked around in vile 9.4, but we are experiencing the problem with vile 9.8. We could investigate creating a port for flex 2.5.4a, but getting software that old to compile on current versions of OS X is often a challenge. The FAQ says we could use reflex instead of flex. We don't have reflex in MacPorts but we could investigate adding it.

You may request to take over maintenance of a port by filing a ticket in the MacPorts issue tracker and attaching a patch changing the "maintainers" line to your email address (preferably in obfuscated "host:user" format). If you have other changes you'd like made to the port, you can include them in your patch as well.

Ryan Carsten Schmidt <ryandesign>
Sat 11 May 2013 11:11:41 AM UTC, comment #2: 

sure -
http://invisible-island.net/vile/vile.faq.html#old_flex_bugs

I could do the MacPorts maintenance, but haven't found how to
take over the port.  Will look again, but a hint might help.

Thomas Dickey <dickey>
Group administrator
Sat 11 May 2013 10:53:52 AM UTC, comment #1: 

The flex 2.5.37 you're talking about is not the one provided by OS X, but the one provided by MacPorts. Also, the vile port in MacPorts does not have a maintainer right now; I just happened to read and respond to your ticket.

Ryan Carsten Schmidt <ryandesign>
Sat 11 May 2013 10:22:47 AM UTC, original submission:  

there seems a problem to have crept in, probably related to the the `flex' version used by MacOS nowadays: the `make' run fails with:


8<-----------------------------------
echo "#include <flt_defs.h>" > awk-filt.c
flex -t awk-filt.l >> awk-filt.c
gcc -c -I. -I.. -I../filters -I.. -DHAVE_CONFIG_H   -D_DARWIN_C_SOURCE -g -O2  awk-filt.c
<stdout>:647: error: conflicting types for ‘yyget_leng’
./filters.h:213: error: previous declaration of ‘yyget_leng’ was here
<stdout>:1850: error: conflicting types for ‘yyget_leng’
./filters.h:213: error: previous declaration of ‘yyget_leng’ was here
make[1]: *** [awk-filt.o] Error 1
make: *** [install] Error 2
8<-----------------------------------


the maintainer of the `vile' port in the `Macports' packaging system wrote this:


8<--------------------
"I tried updating the port to the latest development (?) version 9.8j and it has the same problem. You should report it to the developers of vile.

We had this problem once before in #27422 but there the reason was a too-old version of flex provided by OS X, and the solution was to use MacPorts flex instead. So the reason this time must be different. (It could be that MacPorts flex is now too new!)"
8<--------------------


`flex --version' yields 2.5.37 on my machine buy this is the same version as with the previous MacOS release (10.7) were vile compiled without problems. so I'm not sure where the problem is.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dickey (Posted a comment)
  • -email is unavailable- added by ryandesign (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-06-03 dickey StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-b921.
    Corresponding source code