|
Bugzilla – Full Text Bug Listing |
| Summary: | Package sgmltool does not build with gcc14 because of new errors | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Martin Jambor <mjambor> |
| Component: | Other | Assignee: | Martin Jambor <mjambor> |
| Status: | NEW --- | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | ke |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Bug Depends on: | |||
| Bug Blocks: | 1220571 | ||
|
Description
Martin Jambor
2024-06-04 12:15:56 UTC
The failures causing the build to fail all come from total
misconfiguration in the sgmls-1.1 subdirectory where pretty much all
snippets to test features violate C99 by not specifying a return type
form main - and many also use undeclared exit and _exit and who knows
what. The most conservative fix is to add -fpermissive to the
invocation of ./configure in sgmls-1.1/Makefile.
However, the handling of compilation flags seems rather bothed all
over the place, CFLAGS (and therefore also RPM %{optflags}) are
quickly lost which means we compile evertyhing with just -O (that is
-O1) and without any of the fortification options that distro packages
should use. I am attempting to address this - but will keep in place
overriding the optimization level to -O1 to minimize chances of some
fallout.
I have created https://build.opensuse.org/request/show/1187544 |