Bug ID | 1199821 |
---|---|
Summary | gdb build fails with GCC 13 |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Basesystem |
Assignee | screening-team-bugs@suse.de |
Reporter | martin.liska@suse.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
The package fails due to an out-of-date patch: gdb-6.6-buildid-locate-rpm.patch that causes: conftest.c:47:27: error: conflicting types for 'rpmtsInitIterator' due to enum/integer mismatch; have 'struct rpmdbMatchIterator_s *(struct rpmts_s * const, rpmTag, const void *, size_t)' {aka 'struct rpmdbMatchIterator_s *(struct rpmts_s * const, enum rpmTag_e, const void *, long unsigned int)'} [-Werror=enum-int-mismatch] 47 | extern rpmdbMatchIterator rpmtsInitIterator(const rpmts ts, rpmTag rpmtag, | ^~~~~~~~~~~~~~~~~ In file included from conftest.c:38: /usr/include/rpm/rpmts.h:344:20: note: previous declaration of 'rpmtsInitIterator' with type 'struct rpmdbMatchIterator_s *(struct rpmts_s * const, rpmDbiTagVal, const void *, size_t)' {aka 'struct rpmdbMatchIterator_s *(struct rpmts_s * const, int, const void *, long unsigned int)'} 344 | rpmdbMatchIterator rpmtsInitIterator(const rpmts ts, rpmDbiTagVal rpmtag, | ^~~~~~~~~~~~~~~~~