Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#31788 - [ocaml] Segfault when building camlp5 6.06

Attached to Project: Arch Linux
Opened by Ramana Kumar (xrchz) - Wednesday, 03 October 2012, 17:43 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 14 October 2012, 07:08 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


ocaml as packaged in [extra] segfaults when building camlp5 6.06.
If I build ocaml manually, without the PKGBUILD, it does not segfault.
I haven't tried every combination yet (it takes a while) - I'm looking for confirmation as much as anything.

Here is what I have tried:
- install ocaml-4.00.0-2 from [extra], makepkg camlp5 from -> segfault during build
- build ocaml-4.00.0-2 using makepkg and extra from abs, makepkg camlp5 -> segfault
- build ocaml manually, make camlp5 manually -> no segfault :)
- build ocaml from abs with !strip, make camlp5 manually -> segfault
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Sunday, 14 October 2012, 07:08 GMT
Reason for closing:  Fixed
Comment by Ramana Kumar (xrchz) - Wednesday, 03 October 2012, 17:59 GMT
a bit more info:
- making campl5 bytecode as opposed to native code (that is `make world' rather than `make world.opt') -> no segfault :)
- building ocaml from abs with edited PKGBUILD to remove the compiler_libs package and the tk dependency, then try building camlp5 -> segfault

% uname -srvmo
Linux 3.5.4-1-LIBRE #1 SMP PREEMPT Tue Sep 18 18:59:50 UTC 2012 x86_64 GNU/Linux
Comment by Tobias Powalowski (tpowa) - Friday, 12 October 2012, 13:21 GMT
Still an issue with latest ocaml?
Comment by Ramana Kumar (xrchz) - Saturday, 13 October 2012, 09:37 GMT
What is the latest ocaml? I made this task using ocaml-4.00.0-2 which still looks like the latest to me.
Comment by Tobias Powalowski (tpowa) - Saturday, 13 October 2012, 09:41 GMT
Comment by Ramana Kumar (xrchz) - Saturday, 13 October 2012, 13:48 GMT
camlp5 6.07 (not yet packaged) with ocaml-4.00.1-1 worked without any segfault. looks like you can close this task for now :)