Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1226641 - Patches don't apply on aarch64
Summary: Patches don't apply on aarch64
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: atlas
Version: rawhide
Hardware: aarch64
OS: Unspecified
urgent
urgent
Target Milestone: ---
Assignee: Frantisek Kluknavsky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ARM64, F-ExcludeArch-aarch64
TreeView+ depends on / blocked
 
Reported: 2015-05-31 11:12 UTC by Peter Robinson
Modified: 2015-06-21 22:00 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-21 22:00:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Peter Robinson 2015-05-31 11:12:58 UTC
It's actually considered bad form to apply patches on a per arch basis. If you _REALLY_ must do it please check that they do actually apply!


http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=3017386



Mock Version: 1.2.8
Mock Version: 1.2.8
ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/atlas.spec'], chrootPath='/var/lib/mock/SHADOWBUILD-f23-build-644637-559668/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=86400logger=<mockbuild.trace_decorator.getLog object at 0x3ff9faaa990>uid=1000)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/atlas.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False
warning: Could not canonicalize hostname: aarch64-03a.arm.fedoraproject.org
Building target platforms: aarch64
Building for target aarch64
Wrote: /builddir/build/SRPMS/atlas-3.10.2-2.fc23.src.rpm
Child return code was: 0
LEAVE do --> 

ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps  /builddir/build/SPECS/atlas.spec '], chrootPath='/var/lib/mock/SHADOWBUILD-f23-build-644637-559668/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=86400logger=<mockbuild.trace_decorator.getLog object at 0x3ff9faaa990>uid=1000)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps  /builddir/build/SPECS/atlas.spec '] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False
Building target platforms: aarch64
Building for target aarch64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xGRlYk
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf ATLAS
+ /usr/bin/bzip2 -dc /builddir/build/SOURCES/atlas3.10.2.tar.bz2
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd ATLAS
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #3 (atlas-melf.patch):'
Patch #3 (atlas-melf.patch):
+ /usr/bin/cat /builddir/build/SOURCES/atlas-melf.patch
+ /usr/bin/patch -p1 -b --suffix .melf --fuzz=0
patching file CONFIG/src/SpewMakeInc.c
+ echo 'Patch #4 (atlas-throttling.patch):'
Patch #4 (atlas-throttling.patch):
+ /usr/bin/cat /builddir/build/SOURCES/atlas-throttling.patch
+ /usr/bin/patch -p1 -b --suffix .thrott --fuzz=0
patching file CONFIG/src/config.c
+ echo 'Patch #5 (atlas-shared_libraries.patch):'
Patch #5 (atlas-shared_libraries.patch):
+ /usr/bin/cat /builddir/build/SOURCES/atlas-shared_libraries.patch
+ /usr/bin/patch -p2 -b --suffix .sharedlib --fuzz=0
patching file makes/Make.lib
+ echo 'Patch #6 (atlas-affinity.patch):'
Patch #6 (atlas-affinity.patch):
+ /usr/bin/cat /builddir/build/SOURCES/atlas-affinity.patch
+ /usr/bin/patch -p1 -b --suffix .affinity --fuzz=0
patching file src/threads/ATL_thread_start.c
+ echo 'Patch #7 (atlas-aarch64port.patch):'
Patch #7 (atlas-aarch64port.patch):
+ /usr/bin/cat /builddir/build/SOURCES/atlas-aarch64port.patch
+ /usr/bin/patch -p1 -b --suffix .aarch64 --fuzz=0
patching file CONFIG/include/atlconf.h
Hunk #1 FAILED at 16.
Hunk #2 FAILED at 28.
Hunk #3 FAILED at 41.
Hunk #4 succeeded at 63 (offset 1 line).
Hunk #5 succeeded at 86 (offset 1 line).
3 out of 5 hunks FAILED -- saving rejects to file CONFIG/include/atlconf.h.rej
patching file CONFIG/src/Makefile
patching file CONFIG/src/SpewMakeInc.c
patching file CONFIG/src/atlcomp.txt
Hunk #1 succeeded at 267 (offset 4 lines).
patching file CONFIG/src/atlconf_misc.c
Hunk #1 succeeded at 563 (offset 82 lines).
Hunk #2 succeeded at 589 (offset 82 lines).
patching file CONFIG/src/backend/Make.ext
patching file CONFIG/src/backend/archinfo_linux.c
Hunk #1 succeeded at 267 (offset 19 lines).
patching file CONFIG/src/backend/probe_gas_aarch64.S
patching file CONFIG/src/probe_comp.c
Hunk #1 succeeded at 582 (offset 4 lines).
patching file include/atlas_genparse.h
error: Bad exit status from /var/tmp/rpm-tmp.xGRlYk (%prep)
    Bad exit status from /var/tmp/rpm-tmp.xGRlYk (%prep)
RPM build errors:
Child return code was: 1
EXCEPTION: Command failed. See logs for output.
 # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps  /builddir/build/SPECS/atlas.spec 
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 84, in trace
    result = func(*args, **kw)
  File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 504, in do
    raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode)
Error: Command failed. See logs for output.
 # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps  /builddir/build/SPECS/atlas.spec 
LEAVE do --> EXCEPTION RAISED


Note You need to log in before you can comment on or make changes to this bug.