|
Bugzilla – Full Text Bug Listing |
| Summary: | [gcc14] accountsservice fails to build due to local suse patch | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Dominique Leuenberger <dimstar> |
| Component: | GNOME | Assignee: | xiaoguang wang <xiaoguang.wang> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | gnome-bugs, yfjiang |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
there was also an upstream-issue in the mocklibc-1.0 subproject tarball - but that has already been addressed in GNOME:Next |
When using GCC 14 to build accountsservice, we run into this build error: [ 10s] ../src/gdm-sysconfig.c: In function ‘gdm_sysconfig_save_file’: [ 10s] ../src/gdm-sysconfig.c:382:47: error: passing argument 2 of ‘save_settings_file’ from incompatible pointer type [-Wincompatible-pointer-types] [ 10s] 382 | return save_settings_file (file_name, sysconfig); [ 10s] | ^~~~~~~~~ [ 10s] | | [ 10s] | const gchar ** {aka const char **} [ 10s] ../src/gdm-sysconfig.c:91:53: note: expected ‘gchar **’ {aka ‘char **’} but argument is of type ‘const gchar **’ {aka ‘const char **’} [ 10s] 91 | save_settings_file (const gchar *file_name, gchar **lines) [ 10s] | ~~~~~~~~^~~~~ [ 10s] ../src/gdm-sysconfig.c: In function ‘gdm_sysconfig_load_value’: [ 10s] ../src/gdm-sysconfig.c:458:28: error: passing argument 1 of ‘get_value’ from incompatible pointer type [-Wincompatible-pointer-types] [ 10s] 458 | value = get_value (lines, key); [ 10s] | ^~~~~ [ 10s] | | [ 10s] | gchar ** {aka char **} [ 10s] ../src/gdm-sysconfig.c:271:26: note: expected ‘const gchar **’ {aka ‘const char **’} but argument is of type ‘gchar **’ {aka ‘char **’} [ 10s] 271 | get_value (const gchar **lines, const gchar *key) [ 10s] | ~~~~~~~~~~~~~~^~~~~ The code comes from a local SUSE patch: accountsservice-sysconfig.patch