Bug 2045834
| Summary: | libstoragemgmt: FTBFS in Fedora rawhide/f36 | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Fedora Release Engineering <releng> | ||||||||||||||
| Component: | libstoragemgmt | Assignee: | Tony Asleson <tasleson> | ||||||||||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||
| Priority: | unspecified | ||||||||||||||||
| Version: | rawhide | CC: | andy, fge, jakub, mpolacek, tasleson | ||||||||||||||
| Target Milestone: | --- | ||||||||||||||||
| Target Release: | --- | ||||||||||||||||
| Hardware: | Unspecified | ||||||||||||||||
| OS: | Unspecified | ||||||||||||||||
| Whiteboard: | |||||||||||||||||
| Fixed In Version: | libstoragemgmt-1.9.3-3 | Doc Type: | If docs needed, set a value | ||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||
| Last Closed: | 2022-01-26 20:57:57 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: | 1992484 | ||||||||||||||||
| Attachments: |
|
||||||||||||||||
|
Description
Fedora Release Engineering
2022-01-25 18:39:03 UTC
Created attachment 1855323 [details]
build.log
file build.log too big, will only attach last 32768 bytes
Created attachment 1855324 [details]
root.log
file root.log too big, will only attach last 32768 bytes
Created attachment 1855325 [details]
state.log
This maybe a compiler issue. The package is failing to build because a compile warning is being generated for armv7hl only and the package treats warnings as errors. The following reproduces the warning that doesn't occur for other compiled architectures on fedora:
$ uname -m
armv7l
$ cat repro.cpp
#include <iostream>
#include <stdexcept>
class SomeException : public std::runtime_error {
public:
SomeException(std::string m) : std::runtime_error(m) {}
};
int main() {
try {
throw SomeException("compiler bug?");
} catch (const SomeException &e) {
std::cout << e.what() << std::endl;
}
return 0;
}
$ g++ -Wall repo.cpp -save-temps
repo.cpp: In destructor ‘virtual SomeException::~SomeException()’:
repo.cpp:4:7: warning: pointer used after ‘void operator delete(void*, std::size_t)’ [-Wuse-after-free]
4 | class SomeException : public std::runtime_error {
| ^~~~~~~~~~~~~
repo.cpp:4:7: note: call to ‘void operator delete(void*, std::size_t)’ here
To get the builds working again, I'll likely remove `-Werror` for the package build.
Created attachment 1855542 [details]
a-repo.s
Created attachment 1855545 [details]
a-repo.ii
Created attachment 1855548 [details]
repo.cpp
Marek should I create an upstream g++ bug submission for this? It is most likely https://gcc.gnu.org/PR104213 Thanks Jakub Yup, just verified my upstream patch fixes this too. So it's PR104213 for which I'm going to commit a patch now. |