Skip to content

Build failure: freeswitch #412481

Closed
Closed

Description

@brianmay

Nixpkgs version

  • Stable (25.05)

Steps to reproduce

Try to build the package.

Can Hydra reproduce this build failure?

Yes, Hydra can reproduce this build failure.

Link to Hydra build job

https://hydra.nixos.org/build/298608796

Relevant log output

make[4]: Entering directory '/build/source/src/mod/xml_int/mod_xml_rpc'
make[4]: warning: -j1 forced in makefile: resetting jobserver mode.
  CC       mod_xml_rpc_la-mod_xml_rpc.lo
make[4]: Leaving directory '/build/source/src/mod/applications/mod_voicemail'

making all mod_xml_scgi
make[4]: Entering directory '/build/source/src/mod/xml_int/mod_xml_scgi'
  CC       mod_xml_scgi_la-mod_xml_scgi.lo
mod_xml_rpc.c: In function 'is_authorized':
mod_xml_rpc.c:362:67: error: passing argument 6 of 'user_attributes' from incompatible pointer type []
  362 |         if (!user_attributes(user, domain_name, NULL, NULL, NULL, &allowed_commands)) {
      |                                                                   ^~~~~~~~~~~~~~~~~
      |                                                                   |
      |                                                                   char **
mod_xml_rpc.c:249:148: note: expected 'const char **' but argument is of type 'char **'
  249 |                                                                   const char **ppasswd, const char **pvm_passwd, const char **palias, const char **pallowed_commands)
      |                                                                                                                                       ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
mod_xml_rpc.c: In function 'handler_hook':
mod_xml_rpc.c:947:86: error: passing argument 5 of 'ConnRead' from incompatible pointer type []
  947 |                                                 ConnRead(r->connP, 2000, NULL, NULL, &readError);
      |                                                                                      ^~~~~~~~~~
      |                                                                                      |
      |                                                                                      char **
In file included from /build/source/libs/xmlrpc-c/include/../lib/abyss/src/http.h:7,
                 from mod_xml_rpc.c:70:
/build/source/libs/xmlrpc-c/include/../lib/abyss/src/conn.h:98:30: note: expected 'const char ** const' but argument is of type 'char **'
   98 |          const char ** const errorP);
      |          ~~~~~~~~~~~~~~~~~~~~^~~~~~
make[4]: *** [Makefile:1294: mod_xml_rpc_la-mod_xml_rpc.lo] Error 1
make[4]: Leaving directory '/build/source/src/mod/xml_int/mod_xml_rpc'

Additional context

No response

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.6.87, NixOS, 24.11 (Vicuna), 24.11.20250412.26d499f
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.24.14
  • nixpkgs: /nix/store/hzaj4d6ari2wq2cbg1j60n9zw42gnshy-source

Notify maintainers

@MikaelFangel


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.

Activity

  1. added
    0.kind: build failure
    on May 30, 2025
  2. Sigmanificient commented on May 31, 2025

    @Sigmanificient
    Member

    This is part of #388196

  3. brianmay commented on Jun 5, 2025

    @brianmay
    ContributorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: build failure

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions