Bug 1637789
Summary: | need smoke job to FAIL if build fails with '-m32' (ie, non-64) | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Amar Tumballi <atumball> |
Component: | project-infrastructure | Assignee: | Deepshikha khandelwal <dkhandel> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | mainline | CC: | bugs, gluster-infra, mscherer, nigelb |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-12-03 06:29:04 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Amar Tumballi
2018-10-10 06:28:31 UTC
The easiest and most portable way is to build in mock for a 32-bit architecture. That prevents the need for having all 32-bit libraries, development tools and dependencies on the systems. This normally does quite nicely: mock -r fedora-rawhide-i386 rebuild <srcrpm> The https://build.gluster.org/job/strfmt_errors/ job uses such a configuration already. What I currently do is run a mock build on 32-bit and grep it for specific warnings. What we want to do is run that with -Wall and we should be good. I'm going to assign this to sprint 5. So, if we want the build to fail, shouldn't it be -Werror -Wall ? (and then, I think -Wall is not really "all", there is more warnings out there). using -Werror to detect failure also bring the question of "what when new warnings are added". This is now done. There is a non-voting job that is failing. Please fix the warnings and file a new bug for a voting job. |