Opened 11 years ago

Closed 9 years ago

Last modified 7 years ago

#2628 closed enhancement (fixed)

OpenModelica doesn't install under Debian testing (Jessie)

Reported by: Rüdiger Franke Owned by: Martin Sjölund
Priority: high Milestone:
Component: Installation program Version: trunk
Keywords: Cc:

Description

Attempting to install a nightly build under Debian testing, apt-get update fails with the following message:

W: Failed to fetch http://build.openmodelica.org/apt/dists/jessie/nightly/source/Sources  404  Not Found

W: Failed to fetch http://build.openmodelica.org/apt/dists/jessie/nightly/binary-amd64/Packages  404  Not Found

It works under Debian stable (Wheezy).

Change History (19)

comment:1 by Adeel Asghar, 11 years ago

Owner: changed from Adeel Asghar to Martin Sjölund
Status: newassigned

comment:2 by Martin Sjölund, 11 years ago

Resolution: wontfix
Status: assignedclosed

Use source builds until jessie is frozen at 23:59 UTC on the 5th of November 2014. Until then if we make a package, it might be broken in a future jessie update. So... we don't make such packages since OpenModelica has a huge list of dependencies.

comment:3 by Martin Sjölund, 11 years ago

Oh, and... If I unbreak the trusty builds you could use those instead (hopefully tomorrow). It should be pretty close to current jessie.

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

The trusty builds appear to work under jessie! There was just one minor issue: OMEdit failed to start due to a missing libQtWebKit.so.4. It worked after having installed the package libqtwebkit4 manually.

Is there a dependency missing?

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

Possibly. The OMEdit automatic dependencies might have been broken when we added libgc to the list of libraries we link against.

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

OK. The dependencies should be added now. I found the option that ignores any packages apt is too stupid to look for - shared libraries in non-standard paths and in a package different from the one the executable is in.
So if the omc-bootstrapped executable cannot find libOpenModelicaRuntimeC.so because it is in package omc under usr/lib/omc... We just ignore it. Works rather well anyway since all the packages depend on omc.

comment:7 by Pierre Haessig, 10 years ago

Hello,

I've tried to install the Ubuntu Utopic version on my up-to-date Debian testing (jessie).

The omc package cannot be installed due to a missing dependency with libhdf5-7. On the current version of jessie, there is libhdf5-8 instead (https://packages.debian.org/search?suite=all&section=all&arch=any&searchon=names&keywords=libhdf5).

Now that jessie is frozen, it would be nice to have binary packages for it.

comment:8 by Pierre Haessig, 10 years ago

Resolution: wontfix
Status: closedreopened

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

I'm starting the build for the Jessie schroot. Maybe there will be a nightly build tomorrow.

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

+ chroot /home/build/chroot/jessie-i386 apt-get -qqy install gcc-4.4 g++-4.4
E: Package 'gcc-4.4' has no installation candidate
E: Package 'g++-4.4' has no installation candidate

That's bad. It pretty much means you cannot build omc on jessie because OMOptim depends on exactly g++-4.4 (because of the old paradiseo).

comment:11 by Pierre Haessig, 10 years ago

Oh :-(

Indeed, it seems gcc 4.4 is not in Debian testing anymore (https://tracker.debian.org/pkg/gcc-4.4). For now it is still in unstable, but it seems that the removal is already planned (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707276).

Jessie default version seems to be 4.9 (https://packages.debian.org/search?keywords=gcc&searchon=names&suite=all&section=all). Digging a bit further, the oldest available gcc version in this future Debian stable seems to be 4.8.

comment:12 by Adrian Pop, 10 years ago

I suggest we disable OMOptim for now on this system. Martin, is this possible?

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

The dependency needs to be there in order to install OMOptim on the systems that do have gcc-4.4 or some weird magic decides if omoptim is supported or not.
If we finish splitting the repositories of the qtclients, OMOptim could have its own installation files and only be installed on systems that do support it.

When I finish my thesis I could work on some of these issues.

comment:14 by Dietmar Winkler, 9 years ago

Milestone: 1.9.11.9.4

Looks like this was forgotten to reschedule.

comment:15 by Martin Sjölund, 9 years ago

Milestone: 1.9.41.9.5

Milestone pushed to 1.9.5

comment:16 by Martin Sjölund, 9 years ago

Milestone: 1.9.51.10.0

Milestone renamed

comment:17 by pierre.haessig@…, 9 years ago

As an update, I think this bug can be closed. I'm running the nightly build (OpenModelica 1.10.0~dev-601-gfdba0f8) from the jessie channel on my Debian testing (stretch). It works pretty well. Thanks!

comment:18 by anonymous, 9 years ago

Resolution: fixed
Status: reopenedclosed

comment:19 by Martin Sjölund, 7 years ago

Milestone: 1.10.0

Milestone deleted

Note: See TracTickets for help on using tickets.