Bug ID | 1225929 |
---|---|
Summary | Package subversion does not build with gcc14 because of new errors |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Development |
Assignee | screening-team-bugs@suse.de |
Reporter | mjambor@suse.com |
QA Contact | qa-bugs@suse.de |
Blocks | 1220571 |
Target Milestone | --- |
Found By | --- |
Blocker | --- |
GCC 14 newly by default treats as errors a number of situations which before were only warnings. For more information see https://gcc.gnu.org/gcc-14/porting_to.html and meta bug #1220571. Because of this, package subversion fails to compile. This can be seen online at: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/subversion/standard/x86_64 It can be reproduced locally with command: osc build --clean --alternative-project home:rguenther:nextgcc The issue can likely be fixed with a patch attached to https://issues.apache.org/jira/browse/SVN-4915 The (first) error (that halts the build) is: [ 107s] subversion/bindings/swig/ruby/core.c: In function '_wrap_svn_config_write_auth_data': [ 107s] subversion/bindings/swig/ruby/core.c:20623:17: error: passing argument 1 of 'RB_NIL_P' makes integer from pointer without a cast [-Wint-conversion] [ 107s] 20623 | if (NIL_P(arg1)) { [ 107s] | ^~~~ [ 107s] | | [ 107s] | apr_hash_t * [ 107s] /usr/include/ruby-3.3.0/ruby/internal/special_consts.h:173:16: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'apr_hash_t *' [ 107s] 173 | RB_NIL_P(VALUE obj) [ 107s] | ~~~~~~^~~