Skip to content

Build failure: openvpn #439299

Description

@heitorPB

Nixpkgs version

  • Unstable (25.11)

Steps to reproduce

I went on to update my system today and OpenVPN failed to build.

Can Hydra reproduce this build failure?

No, Hydra cannot reproduce this build failure.

Link to Hydra build job

No response

Relevant log output

error: builder for '/nix/store/kc4i11qrwlywq1k8wfllvdzap93nrpq6-openvpn-2.6.14.drv' failed with exit code 2;
       last 25 log lines:
       >       |         ^~~~~~~~~~~~
       > ovpn_dco_linux.h:251:9: note: previous definition of 'OVPN_MODE_MP' with type 'enum ovpn_mode'
       >   251 |         OVPN_MODE_MP,
       >       |         ^~~~~~~~~~~~
       > /nix/store/9ly5qx1lbj0q1rcsf1dc0m9n3db6ii60-glibc-2.40-66-dev/include/linux/if_link.h:1995:9: error: redeclaration of enumerator 'IFLA_OVPN_UNSPEC'
       >  1995 |         IFLA_OVPN_UNSPEC,
       >       |         ^~~~~~~~~~~~~~~~
       > ovpn_dco_linux.h:241:9: note: previous definition of 'IFLA_OVPN_UNSPEC' with type 'enum ovpn_ifla_attrs'
       >   241 |         IFLA_OVPN_UNSPEC = 0,
       >       |         ^~~~~~~~~~~~~~~~
       > /nix/store/9ly5qx1lbj0q1rcsf1dc0m9n3db6ii60-glibc-2.40-66-dev/include/linux/if_link.h:1996:9: error: redeclaration of enumerator 'IFLA_OVPN_MODE'
       >  1996 |         IFLA_OVPN_MODE,
       >       |         ^~~~~~~~~~~~~~
       > ovpn_dco_linux.h:242:9: note: previous definition of 'IFLA_OVPN_MODE' with type 'enum ovpn_ifla_attrs'
       >   242 |         IFLA_OVPN_MODE,
       >       |         ^~~~~~~~~~~~~~
       > make[3]: *** [Makefile:786: auth_token.o] Error 1
       > make[3]: *** [Makefile:786: dco_linux.o] Error 1
       > make[3]: *** [Makefile:786: error.o] Error 1
       > make[3]: Leaving directory '/build/openvpn-2.6.14/src/openvpn'
       > make[2]: *** [Makefile:444: all-recursive] Error 1
       > make[2]: Leaving directory '/build/openvpn-2.6.14/src'
       > make[1]: *** [Makefile:623: all-recursive] Error 1
       > make[1]: Leaving directory '/build/openvpn-2.6.14'
       > make: *** [Makefile:511: all] Error 2
       For full logs, run:
         nix log /nix/store/kc4i11qrwlywq1k8wfllvdzap93nrpq6-openvpn-2.6.14.drv

Additional context

No response

System metadata

$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.12.42, NixOS, 25.11 (Xantusia), 25.11.20250819.2007595`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.28.4`
 - nixpkgs: `/nix/store/pxnx7dbr0pz3qpgw2r315wdbb00afdw7-source`

Notify maintainers

@peterhoeg


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: build failureA package fails to build2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions