Bug 994968 - ocaml-cil doesn't compile on arm
Summary: ocaml-cil doesn't compile on arm
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ocaml-cil
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F-ExcludeArch-ARM
TreeView+ depends on / blocked
 
Reported: 2013-08-08 10:18 UTC by Richard W.M. Jones
Modified: 2015-06-29 13:05 UTC (History)
4 users (show)

Fixed In Version: ocaml-cil-1.7.3-21.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-29 12:15:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
build.log (163.07 KB, text/plain)
2013-09-03 12:07 UTC, Richard W.M. Jones
no flags Details
build.log including test/cil.log on arm (830.75 KB, text/plain)
2013-09-03 16:08 UTC, Gabriel Kerneis
no flags Details

Description Richard W.M. Jones 2013-08-08 10:18:10 UTC
Description of problem:

From looking at the error, it appears the problem is that
the old ./configure script doesn't recognize the arm triple
that we're using.  Possibly rerunning autoconf might fix this.

checking whether time.h and sys/time.h may both be included... yes
checking for working memcmp... yes
checking for mkdir... yes
checking for select... yes
checking for socket... yes
checking for __sysv_signal... yes
checking for real definition of size_t... unsigned int
checking for real definition of wchar_t... unsigned int
configure: error: 
      Unsupported platform armv7l-unknown-linux-gnu -- sorry.
      ./configure supports these platforms:
         on x86:     Linux, Win32(with Cygwin), FreeBSD, OpenBSD, and Mac OS X
         on amd64:   FreeBSD
         on PowerPC: Mac OS X
         on SPARC:   Solaris
         on MIPS:    Linux
         on MIPSel:  Linux
    
error: Bad exit status from /var/tmp/rpm-tmp.gPuI5U (%build)
    Bad exit status from /var/tmp/rpm-tmp.gPuI5U (%build)

Version-Release number of selected component (if applicable):

ocaml-cil 1.4.0

Comment 1 Richard W.M. Jones 2013-09-03 12:07:41 UTC
Created attachment 793153 [details]
build.log

New version 1.7.3 also FTBFS.  See attached log.

Comment 2 Gabriel Kerneis 2013-09-03 14:06:38 UTC
It's "only" the test suite failing, which probably means some bugs in CIL (or the tests themselves) but not a fundamentally broken package. I'll have a look at those test cases, thanks for the report.

If it's easy for you, it would be helpful to get a copy of test/cil.log (something like "make test || cat test/cil.log" would do the trick).

Comment 3 Gabriel Kerneis 2013-09-03 16:08:38 UTC
Created attachment 793256 [details]
build.log including test/cil.log on arm

Attached a build.log including the output of test/cil.log.

Comment 4 Gabriel Kerneis 2013-09-03 19:24:06 UTC
Upstream patch fixing the test suite for arm:
https://github.com/kerneis/cil/commit/9d7c79cc1bceff6ec371cc161c5f311178ac030a

Tested on koji:
http://koji.fedoraproject.org/koji/taskinfo?taskID=5888616

Rich, you proposed that I apply as a maintainer to push updates myself in the future. I think this is a good opportunity to try. How shall I proceed?

Comment 5 Richard W.M. Jones 2013-09-05 12:21:06 UTC
(In reply to Gabriel Kerneis from comment #4)
> Upstream patch fixing the test suite for arm:
> https://github.com/kerneis/cil/commit/
> 9d7c79cc1bceff6ec371cc161c5f311178ac030a
> 
> Tested on koji:
> http://koji.fedoraproject.org/koji/taskinfo?taskID=5888616
> 
> Rich, you proposed that I apply as a maintainer to push updates myself in
> the future. I think this is a good opportunity to try. How shall I proceed?

You should be in a position now where you can push your fix
directly into ocaml-cil in Fedora.

fedpkg clone -B ocaml-cil
cd ocaml-cil/master
<make changes>
fedpkg push
fepdkg build
cd ../f20
git pull ../master
fedpkg push
fedpkg build
fedpkg update  # mention this bug in the update

Comment 6 Fedora End Of Life 2013-09-16 16:28:00 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora20

Comment 7 Fedora End Of Life 2015-05-29 09:18:09 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 8 Fedora End Of Life 2015-06-29 12:15:17 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 9 Peter Robinson 2015-06-29 13:05:33 UTC
Built now for ocaml-cil-1.7.3-21.fc23


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