Bug 1221695 - GCC 14: sharutils package fails
Summary: GCC 14: sharutils package fails
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Christian Vögl
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: modern_C
  Show dependency treegraph
 
Reported: 2024-03-19 12:00 UTC by Michal Jireš
Modified: 2024-03-27 14:03 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Jireš 2024-03-19 12:00:06 UTC
Building sharutils with GCC 14 fails here:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/sharutils/standard/x86_64

Due to (exhaustive list of errors):

unshar.c: In function ‘looks_like_shell_code’:
unshar.c:110:22: error: initialization of ‘intptr_t’ {aka ‘long int’} from ‘const char *’ makes integer from pointer without a cast [-Wint-conversion]
  110 |   intptr_t buf_end = buf + rw_base_size;
      |                      ^~~

See the meta bug#1220571 for more info.