Bug 429655
| Summary: | openais build error on ia64: open with O_CREAT needs 3 arguments | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Zhan, Yi <yi.zhan> |
| Component: | openais | Assignee: | Steven Dake <sdake> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | sdake |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | ia64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-03-05 22:54:44 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: | 163350 | ||
This is now building cleanly in rawhide. |
Description of problem: I encountered the build error when try to build openais on IA64. The error is caused by exec/keygen.c, line 75: authkey_fd = open ("/etc/ais/authkey", O_CREAT|O_WRONLY); Adding the third argument could fix it. authkey_fd = open ("/etc/ais/authkey", O_CREAT|O_WRONLY, S_IRUSR|S_IWUSR|S_IRGRP); Version-Release number of selected component (if applicable): openais-0.80.1-6.src.rpm How reproducible: always Steps to Reproduce: 1. rpmbuild --rebuild openais-0.80.1-6.src.rpm 2. 3. Actual results: /usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments make[1]: *** [keygen.o] Error 1 Expected results: Build cleanly Additional info: