OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000706OMNeT++command line toolspublic2014-01-22 14:512014-01-22 19:36
Reporterwoife 
Assigned Torhornig 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version4.4 
Target VersionFixed in Version4.4.1 
Summary0000706: OMNeT 4.4: Can't compile with make -j16
DescriptionI tried to compile the released OMNeT++ 4.4 with make -j16, and the compilation failes. The console output is attached in the file 'make_j16_error.txt'.

Compiling with plain make (= with a single job) succeeds without problems.
Additional InformationPS: Please correct the following items in the bug report:
*) There is currently no version '4.4' available for the bug report, so I have chosen 4.3.1.
*) I'm not sure which category is the correct one, so I have chosen 'Installer/Productizing'
TagsNo tags attached.
Attached Filestxt file icon make_j16_error.txt [^] (12,805 bytes) 2014-01-22 14:51 [Show Content]
? file icon Makefile [^] (9,481 bytes) 2014-01-22 16:41 [Show Content]

- Relationships

-  Notes
(0000876)
woife (reporter)
2014-01-22 15:46

I forgot to mention my platform:

Kubuntu 13.10 64 Bit
(0000877)
rhornig (administrator)
2014-01-22 16:15

Report corrected.

The makefile is not 100% pralelized and it seems that some dependencies are not explicitly stated.
(0000878)
rhornig (administrator)
2014-01-22 16:42

I could not reproduce the issue as it is a race condition but spotted the probable root. Could you please test it by downloading the attached Makefile and replacing src/eventlog/Makefile with it and then re-running it again?
(0000879)
woife (reporter)
2014-01-22 18:29

Seems like you made the correct changes.
I made a small script that un-tar's the OMNeT sources, calls ./configure, copies one of the two makefils and calls make -j16.

Calling the scripts 5 times with your makefile resulted in 5 correct builds.
Calling it two times with the original makefile failed two times.
(0000880)
rhornig (administrator)
2014-01-22 19:36

Thanks for the testing. I've seen similar build problems rarely, but was never able to spot the cause. I have committed the changes now.

- Issue History
Date Modified Username Field Change
2014-01-22 14:51 woife New Issue
2014-01-22 14:51 woife File Added: make_j16_error.txt
2014-01-22 15:46 woife Note Added: 0000876
2014-01-22 16:15 rhornig Note Added: 0000877
2014-01-22 16:15 rhornig Category Installer / Productizing => command line tools
2014-01-22 16:15 rhornig Product Version 4.3.1 => 4.4
2014-01-22 16:41 rhornig File Added: Makefile
2014-01-22 16:42 rhornig Note Added: 0000878
2014-01-22 16:43 rhornig Status new => to be tested
2014-01-22 18:29 woife Note Added: 0000879
2014-01-22 19:36 rhornig Note Added: 0000880
2014-01-22 19:36 rhornig Status to be tested => resolved
2014-01-22 19:36 rhornig Fixed in Version => 4.4.1
2014-01-22 19:36 rhornig Resolution open => fixed
2014-01-22 19:36 rhornig Assigned To => rhornig


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker