Opened 10 years ago

Closed 10 years ago

#3246 closed defect (fixed)

Nightly builds for Linux broken second day in a row

Reported by: Rüdiger Franke Owned by: somebody
Priority: high Milestone: 1.9.3
Component: Build Environment Version: trunk
Keywords: Cc: Marcus Walther

Description

The apts are frozen since March 23.

Fixing this, could you please also add include/omc/cpp/FMU2 to the distribution?

Change History (13)

comment:1 by Martin Sjölund, 10 years ago

It's very easy to fix the nightly builds: by disabling the cppruntime entirely:
https://test.openmodelica.org/hudson/job/OpenModelica_LINUX_NIGHTLY_BUILD/1063/console

comment:3 by Rüdiger Franke, 10 years ago

Cc: Marcus Walther added

Better not disable, but fix the cpp things.

I agree that C is more portable. On the other hand side C++ can help to simplify model translation, like keeping track of scoping and object destruction -- hopefully making a garbage collector obsolete. Also note all the array indexing errors in the C runtime (quite a fraction of the tickets deal with this).

It's good to have options.

comment:4 by Marcus Walther, 10 years ago

Should be fixed with r25242. I've used features that are only part of CMake 2.8.11 (17 May 2013) and above, but I think the nightly build server is running with Ubuntu 12.04 LTS or something like that. So there is only an older CMake version installed. Maybe Martin can confirm that.

comment:5 by Martin Sjölund, 10 years ago

Precise has 2.8.7. Wheezy has 2.8.9. The build server has 2.8.10 everywhere it seems (because we manually installed extra high versions even though 2.6 should be enough for everyone writing portable code):

$ schroot -a -- cmake --version
cmake version 2.8.10.1
cmake version 2.8.10.1
cmake version 2.8.10.1
cmake version 2.8.10.1
cmake version 2.8.10.1
cmake version 2.8.10.1
cmake version 2.8.10.1
cmake version 2.8.10.1
build@build:~$ schroot --list
chroot:precise-amd64
chroot:precise-i386
chroot:trusty-amd64
chroot:trusty-i386
chroot:utopic-amd64
chroot:utopic-i386
chroot:wheezy-amd64
chroot:wheezy-i386
Last edited 10 years ago by Martin Sjölund (previous) (diff)

comment:6 by Martin Sjölund, 10 years ago

precise-amd64: CMake 2.8.11 or higher is required. You are running version 2.8.10.1

comment:7 by Rüdiger Franke, 10 years ago

Debian 6 (squeeze) comes with 2.8.2. Debian 7 (wheezy) 2.8.9. The upcoming Debian 8 (jessie) 3.0.2.

Whould be good if not more than 2.8.9 was required.

comment:8 by Rüdiger Franke, 10 years ago

Just to complete the picture: the current Ubuntu LTS 14.04 Trusty uses 2.8.12. Backports for LTS 12.04 Precise seem to go to 2.8.11 -- meaning that it should be justified to require 2.8.11 if it offers important features.

comment:9 by Marcus Walther, 10 years ago

Thank you for the information. At the moment we do not really need features of CMake >= 2.8.11 . Instead we are using a feature that is deprecated in CMake >= 2.8.11, but that's not really problematic and it's the price we have to pay, if we want to support a large set of different systems.

However, the nightly build seems to work again, so you can close the ticket now.

comment:10 by Rüdiger Franke, 10 years ago

Resolution: fixed
Status: newclosed

Thanks!

comment:11 by Rüdiger Franke, 10 years ago

Resolution: fixed
Status: closedreopened

Today's nightly is r25243. This is a yesterday's highnoonly. Why isn't the nightly r25263?

comment:13 by Rüdiger Franke, 10 years ago

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.