Skip to content

Compiling fails under fully updated Debian 11 + Varnish 7.0.2 + vsthrottle #78

@8Protons

Description

@8Protons
vmod_vsf.c:96:39: error: array type has incomplete element type ‘struct vmod_priv_methods’
    96 | static const struct vmod_priv_methods vmod_body_methods[1] = {{
       |                                       ^~~~~~~~~~~~~~~~~
 vmod_vsf.c:97:11: error: ‘VMOD_PRIV_METHODS_MAGIC’ undeclared here (not in a function); did you mean ‘VDI_METHODS_MAGIC’?
    97 |  .magic = VMOD_PRIV_METHODS_MAGIC,
       |           ^~~~~~~~~~~~~~~~~~~~~~~
       |           VDI_METHODS_MAGIC
 vmod_vsf.c: In function ‘vmod_body’:
 vmod_vsf.c:139:6: error: ‘struct vmod_priv’ has no member named ‘methods’
   139 |  priv->methods = vmod_body_methods;
       |      ^~
 make[3]: *** [Makefile:671: libvmod_vsf_la-vmod_vsf.lo] Error 1

Also there is a problem since the dependencies require python-docutils which has been made obsolete by python3-docutils, and is no longer available for several Linux versions. Furthermore libvarnishapi-dev conflicts with varnish-dev, which is required for the OEM Varnish Modules package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions