Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007587OCamlconfigure and build/installpublic2017-07-17 13:302017-09-21 17:18
ReporterRichard Jones 
Assigned Toshindere 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Platformx86_64OSLinuxOS VersionFedora 27
Product Version4.05.0 
Target Version4.06.0 +dev/beta1/beta2/rc1Fixed in Version4.06.0 +dev/beta1/beta2/rc1 
Summary0007587: Parallel builds are broken in the ocamldoc/ subdirectory [was: lex/ directory]
DescriptionParallel builds (make -j 16) are broken in the lex/ subdirectory. See the attached build log.
Steps To Reproducemake -j 16 world.opt
Additional InformationThis working (perhaps by luck) in OCaml 4.04.x.
TagsNo tags attached.
Attached Fileslog file icon build-4.05.0-1.fc27.log [^] (589,096 bytes) 2017-07-17 13:30

- Relationships

-  Notes
(0018082)
Richard Jones (reporter)
2017-07-17 13:31

I should have said the obvious workaround (make -j1) works.
(0018083)
gasche (administrator)
2017-07-17 14:24

Thanks for the report.

I have the impression from your log that the issue is actually in ocamldoc/ rather than lex/. There were various changes to the ocamldoc build system recently.

What is the way you rely on parallel builds / how can a fix reach you? If the issue exists with the 4.05.0 release but is fixed in the 4.05 branch, is it good for you? If it exists in 4.05 but is fixed in trunk, is that an issue?
(0018084)
shindere (manager)
2017-07-17 14:27

It seems this is an ocamldoc dependency issue that has nothing to do with the lex directory.





 
(0018085)
Richard Jones (reporter)
2017-07-17 15:04

Yes, looking more closely at the log I think you are correct that the problem lies in ocamldoc.

We can cherry-pick fixes for Fedora from anywhere. We have a downstream repo containing various changes on top of (currently) 4.05 which we ship to Fedora end-users and RHEL customers.

https://pagure.io/fedora-ocaml/branch/fedora-27-4.05.0 [^]
(0018310)
xleroy (administrator)
2017-09-21 17:15

I can reproduce the "make -j16" problem in ocamlopt with 4.05 but not with 4.06 after many runs. The problem in 4.05, as far as I can see, is the lack of dependencies for the "generators/*.cmxs" targets. Those were added by commits d377bce5 (fixes the Makefile) then f6736c1 (updates the .depend).
(0018311)
Richard Jones (reporter)
2017-09-21 17:18

OK let's mark this as fixed in that case. I will try 4.06 when it's released.

- Issue History
Date Modified Username Field Change
2017-07-17 13:30 Richard Jones New Issue
2017-07-17 13:30 Richard Jones File Added: build-4.05.0-1.fc27.log
2017-07-17 13:31 Richard Jones Note Added: 0018082
2017-07-17 14:21 shindere Assigned To => shindere
2017-07-17 14:21 shindere Status new => assigned
2017-07-17 14:24 gasche Note Added: 0018083
2017-07-17 14:27 shindere Note Added: 0018084
2017-07-17 14:27 shindere Status assigned => confirmed
2017-07-17 15:04 Richard Jones Note Added: 0018085
2017-09-21 17:15 xleroy Note Added: 0018310
2017-09-21 17:15 xleroy Status confirmed => resolved
2017-09-21 17:15 xleroy Resolution open => fixed
2017-09-21 17:15 xleroy Fixed in Version => 4.06.0 +dev/beta1/beta2/rc1
2017-09-21 17:15 xleroy Target Version => 4.06.0 +dev/beta1/beta2/rc1
2017-09-21 17:16 xleroy Summary Parallel builds are broken in the lex/ subdirectory => Parallel builds are broken in the ocamldoc/ subdirectory [was: lex/ directory]
2017-09-21 17:18 Richard Jones Note Added: 0018311


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker