Bug 2256763
| Summary: | clearsilver-0.10.5-77.fc40 FTBFS: Broken Ruby extension with GCC 14: neo_util.c:81:12: error: passing argument 1 of ‘RARRAY_PTR’ makes integer from pointer without a cast | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Florian Weimer <fweimer> |
| Component: | clearsilver | Assignee: | Gwyn Ciesla <gwync> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | gwync, paul.wouters, ppisar |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| URL: | https://koschei.fedoraproject.org/package/clearsilver | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-01-29 18:00:45 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2137512, 2231791 | ||
|
Description
Florian Weimer
2024-01-04 12:07:31 UTC
Clearsilver had a release in 2017 here: https://github.com/blong42/clearsilver but is currently archived. This in turn relies on streamhtmlparser, which is also long-dead: https://github.com/google/streamhtmlparser I don't see any users of clearsilver in Fedora, so I may retire this. clearsilver-0.10.5-77.fc40 fails like this now:
gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I/builddir/build/BUILD/clearsilver-0.10.5/ruby/ext/hdf -DHAVE_CLEARSILVER_H -I../../.. -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -m64 -o neo_util.o -c neo_util.c
neo_util.c: In function ‘h_mark’:
neo_util.c:65:33: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘t_hdfh *’ {aka ‘struct s_hdfh *’} [-Wformat=]
65 | fprintf(stderr,"mark top 0x%x\n",hdfh);
| ~^ ~~~~
| | |
| | t_hdfh * {aka struct s_hdfh *}
| unsigned int
neo_util.c: In function ‘h_new’:
neo_util.c:81:12: error: passing argument 1 of ‘RARRAY_PTR’ makes integer from pointer without a cast [-Wint-conversion]
81 | if (err) Srb_raise(r_neo_error(err));
| ^~~~~~~~~
| |
| struct RString *
A difference between passing and failing build roots is at <https://koschei.fedoraproject.org/build/17103387>.
Retired. |