| Summary: | fails to build for AArch64 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Marcin Juszkiewicz <mjuszkie> | ||||||
| Component: | apache-commons-daemon | Assignee: | Mikolaj Izdebski <mizdebsk> | ||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | rawhide | CC: | java-sig-commits, mizdebsk, mjuszkie, msrb, sochotni, SpikeFedora, tradej | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | 1.0.15-5 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2013-11-25 14:17:53 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: | |||||||
| Attachments: |
|
||||||||
Are there there any public AArch64 Koji instances and shell machines where I could build the package and perform necessary testing? There is no public Koji for AArch64 yet. Only Foundation model is available. http://fedoraproject.org/wiki/Architectures/ARM/AArch64/QuickStart describes how to get it running. Note that it means Fedora 19 for now. Ok, in this case I can apply patch you provided, but you'll need to improve it. First of all, I don't like the idea of patching generated files (i.e. configure) -- patching apsupport.m4 and running autoconf should be enough. You should send this patch to upstream at [1] and reference the issue number in comment before "Patch:" line in spec file. Then prepare and attach here a git patch according to [2]. [1] https://issues.apache.org/jira/browse/DAEMON [2] https://fedoraproject.org/wiki/User:Mizdebsk/HowToSubmitPatches Created attachment 828678 [details] Changeset with spec and patch This changeset is now proper git patch format. Patch in that form is present in upstream repository. https://issues.apache.org/jira/browse/DAEMON-308 is upstream issue report. Fixed in apache-commons-daemon-1.0.15-5 I believe that this bug is fixed in apache-commons-daemon-1.0.15-5, which is available in Fedora Rawhide, so I am closing this bug now. The build containing the fix can be found at Koji: http://koji.fedoraproject.org/koji/buildinfo?buildID=480632 |
Created attachment 828604 [details] fix for AArch64 architecture Description of problem: During the initial build of packages on the ARM (Aarch64) architecture, apache-commons-daemon failed to build. Version-Release number of selected component (if applicable): 1.0.15-4 How reproducible: Always Steps to Reproduce: Attempt to build package on Aarch64 system Actual results: Fails to build. checking for strip... strip *** Host support *** checking C flags dependant on host system type... failed configure: error: Unsupported CPU architecture "aarch64" error: Bad exit status from /var/tmp/rpm-tmp.UILczA (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.UILczA (%build) Child return code was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target aarch64 --nodeps builddir/build/SPECS/apache-commons-daemon.spec'] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 361, in do raise mockbuild.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target aarch64 --nodeps builddir/build/SPECS/apache-commons-daemon.spec'] LEAVE do --> EXCEPTION RAISED Suggested patch: The attached patch adds aarch64 awareness to its auto configuration files.