Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949638 - =media-sound/lash-0.5.4-r6 fails build with gnu23: server_event.c:76:1: error: conflicting types for ‘server_event_destroy’; have ‘void(server_event_t *)’ {aka ‘void(struct _server_event *)’}
Summary: =media-sound/lash-0.5.4-r6 fails build with gnu23: server_event.c:76:1: error...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2025-02-12 04:14 UTC by tdr
Modified: 2025-02-12 10:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build failure log (lash-0.5.4-r6.build.log,41.75 KB, text/plain)
2025-02-12 04:16 UTC, tdr
Details
emerge--info (tdr-emerge--info.txt,6.15 KB, text/plain)
2025-02-12 04:16 UTC, tdr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tdr 2025-02-12 04:14:25 UTC
/var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/server_event.c:76:1: error: conflicting types for ‘server_event_destroy’; have ‘void(server_event_t *)’ {aka ‘void(struct _server_event *)’}
   76 | server_event_destroy(server_event_t * event)
      | ^~~~~~~~~~~~~~~~~~~~
In file included from /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/server_event.c:24:
/var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/server_event.h:54:18: note: previous declaration of ‘server_event_destroy’ with type ‘void(void)’
   54 | void             server_event_destroy ();
      |                  ^~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:618: lashd-server_event.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/main.c: In function ‘main’:
/var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/main.c:108:9: warning: ‘xmlSetCompressMode’ is deprecated [-Wdeprecated-declarations]
  108 |         xmlSetCompressMode(XML_COMPRESSION_LEVEL);
      |         ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
                 from /usr/include/libxml2/libxml/tree.h:17,
                 from /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/main.c:30:
/usr/include/libxml2/libxml/tree.h:1305:17: note: declared here
 1305 |                 xmlSetCompressMode      (int mode);
      |                 ^~~~~~~~~~~~~~~~~~
/var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/client.c:29:1: error: conflicting types for ‘client_new’; have ‘client_t *(lash_connect_params_t *)’ {aka ‘struct _client *(struct _lash_connect_params *)’}
   29 | client_new(lash_connect_params_t * params)
      | ^~~~~~~~~~
In file included from /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/client.c:24:
/var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/client.h:66:12: note: previous declaration of ‘client_new’ with type ‘client_t *(void)’ {aka ‘struct _client *(void)’}
   66 | client_t * client_new ();
      |            ^~~~~~~~~~
make[2]: *** [Makefile:590: lashd-client.o] Error 1
/var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/conn_mgr.c: In function ‘conn_mgr_send_server_event_to_client’:
/var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/conn_mgr.c:857:17: error: too many arguments to function ‘server_event_destroy’; expected 0, have 1
  857 |                 server_event_destroy(server_event);
      |                 ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~
In file included from /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/conn_mgr.h:28,
                 from /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/conn_mgr.c:37:
/var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/server_event.h:54:18: note: declared here
   54 | void             server_event_destroy ();
      |                  ^~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/conn_mgr.c:865:17: error: too many arguments to function ‘server_event_destroy’; expected 0, have 1
  865 |                 server_event_destroy(server_event);
      |                 ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~
/var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/server_event.h:54:18: note: declared here
   54 | void             server_event_destroy ();
      |                  ^~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/conn_mgr.c:868:9: error: too many arguments to function ‘server_event_destroy’; expected 0, have 1
  868 |         server_event_destroy(server_event);
      |         ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~
/var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/server_event.h:54:18: note: declared here
   54 | void             server_event_destroy ();
      |                  ^~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/server.c: In function ‘server_main’:
/var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/server.c:752:25: error: too many arguments to function ‘server_event_destroy’; expected 0, have 1
  752 |                         server_event_destroy(server_event);
      |                         ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~
In file included from /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/conn_mgr.h:28,
                 from /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/server.h:28,
                 from /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/server.c:33:
/var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/server_event.h:54:18: note: declared here
   54 | void             server_event_destroy ();
      |                  ^~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:660: lashd-server.o] Error 1

Reproducible: Always

Steps to Reproduce:
emerge gcc:15 and set active
emerge lash



over-ride env permits it to build:
    CFLAGS="${CFLAGS} -std=gnu17"
Comment 1 tdr 2025-02-12 04:16:03 UTC
Created attachment 918796 [details]
build failure log
Comment 2 tdr 2025-02-12 04:16:58 UTC
Created attachment 918797 [details]
emerge--info