Opened 14 years ago

Closed 14 years ago

#27422 closed defect (fixed)

vile: error: conflicting types for 'yyget_leng'

Reported by: albemengoni Owned by: waqar@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: vile

Description (last modified by ryandesign (Ryan Carsten Schmidt))

the command:

mymac>sudo port install vile

terminates with error and vile cannot be installed.

Attachments (3)

main.log (6.6 KB) - added by albemengoni 14 years ago.
vile-9.8.diff (884 bytes) - added by ryandesign (Ryan Carsten Schmidt) 14 years ago.
proposed patch
newmain.log (33.3 KB) - added by albemengoni 14 years ago.

Download all attachments as: .zip

Change History (11)

Changed 14 years ago by albemengoni

Attachment: main.log added

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Owner: changed from macports-tickets@… to waqar@…
Port: vile added
Summary: vile does not compile/installvile: error: conflicting types for 'yyget_leng'

The relevant error from the log seems to be:

:info:build <stdout>:526: error: conflicting types for 'yyget_leng'
:info:build ./filters.h:165: error: previous declaration of 'yyget_leng' was here

I get a different error when I try to build...

The port should be updated to version 9.8; maybe that will help one or both of us.

comment:2 Changed 14 years ago by albemengoni

OK. Looking forward for vile 9.8 version. A

Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: vile-9.8.diff added

proposed patch

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

9.8 builds for me; I've attached my patch. See if it builds for you too.

comment:4 Changed 14 years ago by albemengoni

sorry, but where can i find 9.8 vile and how do i install with port?

comment:5 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

  1. download my vile-9.8.diff patch from this ticket
  2. apply the patch to the vile portfile by running a command like this (using the correct path to wherever you downloaded the file on your computer):
    sudo patch $(port file vile) < ~/Downloads/vile-9.8.diff
    
  1. install the vile port:
    sudo port install vile
    

Changed 14 years ago by albemengoni

Attachment: newmain.log added

comment:6 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Oh, sorry, I didn't see you attached a new log. Trac doesn't send notifications for new attachments, so if you want me to see you've added an attachment, you should also add a regular comment to the ticket.

I see you're getting the same error in the new log as you were in the old one, so upgrading to 9.8 didn't help there. Googling the error message shows me it's an issue with flex. I had MacPorts flex installed, and if I deactivate it (thereby causing vile to use Apple's flex instead), then I can reproduce your error. So you should clean vile, install the flex port, and try installing vile again. And we should give vile a build dependency on the flex port to fix this.

sudo port clean vile
sudo port install flex
sudo port install vile

comment:7 in reply to:  6 Changed 14 years ago by albemengoni

Replying to ryandesign@…:

Oh, sorry, I didn't see you attached a new log. Trac doesn't send notifications for new attachments, so if you want me to see you've added an attachment, you should also add a regular comment to the ticket.

I see you're getting the same error in the new log as you were in the old one, so upgrading to 9.8 didn't help there. Googling the error message shows me it's an issue with flex. I had MacPorts flex installed, and if I deactivate it (thereby causing vile to use Apple's flex instead), then I can reproduce your error. So you should clean vile, install the flex port, and try installing vile again. And we should give vile a build dependency on the flex port to fix this.

sudo port clean vile
sudo port install flex
sudo port install vile

Thanks. Now vile is installed and running. Sorry for the previous reply without text.

comment:8 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Added flex build dependency in r73855 and updated to 9.8 in r73856 (maintainer timeout).

Note: See TracTickets for help on using tickets.