Skip to content

Build failure: ocf-resource-agents #331107

@SigmaSquadron

Description

@SigmaSquadron

Steps To Reproduce

Steps to reproduce the behavior:

  1. build ocf-resource-agents.

Build log

Relevant:

xml.c:2539:9: error: 'xmlRegisterNodeDefault' is deprecated [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Werror=deprecated-declarations8;;]
 2539 |         xmlRegisterNodeDefault(new_private_data);
      |         ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[4]: *** [Makefile:1401: libcrmcommon_la-xml.lo] Error 1
make: *** [GNUmakefile:30: build] Error 2

(full log)

Additional context

Looks like a GCC update deprecated xmlRegisterNodeDefault, which is used by ocf-resource-agents.
This also causes the pacemaker build to fail, due to the circular dependency.

Notify maintainers

@ryantm, @astro.

Metadata

  • system: "x86_64-linux"
  • host os: Linux 6.9.7-pvops, NixOS, 24.11 (Velociraptor), 24.11.20240703.9f4128e
  • multi-user?: no
  • sandbox: yes
  • version: nix-env (Nix) 2.23.1
  • nixpkgs: not found (I'm using commit 987a15b56865af0b294d0493b968a7e7d193b44f)

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    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