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 837972

Summary: Io-language-20110912-1.fc18 is FTBFS on ARM
Product: [Fedora] Fedora Reporter: Peter Robinson <pbrobinson>
Component: Io-languageAssignee: Gwyn Ciesla <gwync>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gwync
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-09 14:30:45 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:
Bug Depends On:    
Bug Blocks: 245418    

Comment 1 Gwyn Ciesla 2012-07-24 14:19:00 UTC
End of build log:

Scanning dependencies of target coroutine
[ 11%] Building C object libs/coroutine/CMakeFiles/coroutine.dir/source/context.c.o
/builddir/build/BUILD/stevedekorte-io-23afbcc/libs/coroutine/source/context.c: In function 'makecontext':
/builddir/build/BUILD/stevedekorte-io-23afbcc/libs/coroutine/source/context.c:104:18: error: 'mcontext_t' has no member named 'gregs'
/builddir/build/BUILD/stevedekorte-io-23afbcc/libs/coroutine/source/context.c:106:17: error: 'mcontext_t' has no member named 'gregs'
/builddir/build/BUILD/stevedekorte-io-23afbcc/libs/coroutine/source/context.c:107:17: error: 'mcontext_t' has no member named 'gregs'
make[2]: *** [libs/coroutine/CMakeFiles/coroutine.dir/source/context.c.o] Error 1
make[1]: *** [libs/coroutine/CMakeFiles/coroutine.dir/all] Error 2

Appears to be due to lack of ARM support.  That dir has a 386-ucontext.h and an amd64-ucontext.h, and that's it.  taskimpl.h checks that __arm__ is defined, but 
the actions taken don't seem to be sufficient.  A corresponding arm-ucontext.h is likely needed.  Do thing this is something someone in the ARM team could create, or that I could create, given an ARM VM?  Upstream might not have access to an ARM system to create this, but I suspect would happily accept patches.

Comment 2 Peter Robinson 2012-07-24 14:25:50 UTC
> Appears to be due to lack of ARM support.  That dir has a 386-ucontext.h and
> an amd64-ucontext.h, and that's it.  taskimpl.h checks that __arm__ is
> defined, but 
> the actions taken don't seem to be sufficient.  A corresponding
> arm-ucontext.h is likely needed.  Do thing this is something someone in the
> ARM team could create, or that I could create, given an ARM VM?  Upstream
> might not have access to an ARM system to create this, but I suspect would
> happily accept patches.

It's possible we could but I usually first check if Debian or Ubuntu have done it already. Sometimes there's patch sets in the debian packages

Comment 3 Gwyn Ciesla 2012-07-24 14:33:52 UTC
I don't see it in Debian or Ubuntu, if I'm searching properly.  Google only gives me old inquiries and this BZ. :)

Comment 4 Gwyn Ciesla 2012-09-17 16:41:31 UTC
https://github.com/stevedekorte/io/issues/226

Comment 5 Gwyn Ciesla 2012-09-18 15:30:31 UTC
Committed fix to rawhide, building for primary, posted patch to upstream bug.

Comment 6 Fedora Update System 2012-09-24 12:24:28 UTC
Io-language-20110912-6.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/Io-language-20110912-6.fc18

Comment 7 Fedora Update System 2012-09-24 20:01:38 UTC
Package Io-language-20110912-6.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing Io-language-20110912-6.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-14666/Io-language-20110912-6.fc18
then log in and leave karma (feedback).

Comment 8 Peter Robinson 2012-10-09 14:30:45 UTC
Fixed and pushed to stable