bugvmod-tbf - Bugs: bug #270, vmod doesn't compile on varnish 4.1

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #270: vmod doesn't compile on varnish 4.1

Submitted by:  Gilles Dubuc <gilles>
Submitted on:  Mon Jan 18 22:39:50 2016  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: Fixed
Privacy: PublicAssigned to: Sergey Poznyakoff <gray>
Open/Closed: Closed

Sat Jan 23 19:35:34 2016, comment #5:

Great. I'm closing this bug then. Thank you!

Sergey Poznyakoff <gray>
Project AdministratorIn charge of this item.
Wed Jan 20 20:11:29 2016, comment #4:

The branch works perfectly, thanks a lot!

Gilles Dubuc <gilles>
Wed Jan 20 12:49:51 2016, comment #3:

Hi Gilles,

Can you please try the branch varnish-4.1? To do so:

git clone git://git.gnu.org.ua/vmod-tbf.git
cd vmod-tbf
git checkout varnish-4.1
./bootstrap

Then proceed with configure and make as usual.

Sergey Poznyakoff <gray>
Project AdministratorIn charge of this item.
Tue Jan 19 12:23:11 2016, comment #2:

My "fix" isn't enough yet. When trying to load the vmod, I get:

vagrant@mediawiki-vagrant:/tmp/Varnish-Cache$ sudo varnishd -F -f /etc/varnish/default.vcl -a localhost:6081
Debug: Platform: Linux,3.13.0-30-generic,x86_64,-junix,-smalloc,-smalloc,-hcritbit

Debug: Child (6125) Started
Error: Child (6125) Pushing vcls failed:
VCL "boot" Failed initialization
Debug: Stopping Child
Info: Child (6125) ended
Could not create _.vsm.6115: File exists

Gilles Dubuc <gilles>
Tue Jan 19 10:03:16 2016, comment #1:

Basic fix (untested): https://github.com/gi11es/vmod-tbf/commit/26a239f68ba9e53dea9c3b6ad9243befabdf8b0e

Gilles Dubuc <gilles>
Mon Jan 18 22:39:50 2016, original submission:

python /tmp/varnish-4.1.0/lib/libvcc/vmodtool.py --strict ../src/vmod_tbf.vcc
ERROR: Format error reading "../src/vmod_tbf.vcc": 'Unknown keyword: $Init'

Gilles Dubuc <gilles>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gray (Posted a comment)
  • -unavailable- added by gilles (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    4 latest changes follow.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat Jan 23 19:35:34 2016grayStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Wed Jan 20 12:49:51 2016grayStatusNone=>Ready For Test
      Assigned toNone=>gray
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray