Opened 11 years ago

Closed 8 years ago

Last modified 7 years ago

#2628 closed enhancement (fixed)

OpenModelica doesn't install under Debian testing (Jessie)

Reported by: rfranke Owned by: sjoelund.se
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 Changed 11 years ago by adeas31

  • Owner changed from adeas31 to sjoelund.se
  • Status changed from new to assigned

comment:2 Changed 11 years ago by sjoelund.se

  • Resolution set to wontfix
  • Status changed from assigned to closed

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 Changed 11 years ago by sjoelund.se

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 Changed 11 years ago by rfranke

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 Changed 10 years ago by sjoelund.se

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

comment:6 Changed 10 years ago by sjoelund.se

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 Changed 9 years ago by Pierre Haessig

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 Changed 9 years ago by Pierre Haessig

  • Resolution wontfix deleted
  • Status changed from closed to reopened

comment:9 Changed 9 years ago by sjoelund.se

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

comment:10 Changed 9 years ago by sjoelund.se

+ 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 Changed 9 years ago by Pierre Haessig

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 Changed 9 years ago by adrpo

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

comment:13 Changed 9 years ago by sjoelund.se

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 Changed 9 years ago by dietmarw

  • Milestone changed from 1.9.1 to 1.9.4

Looks like this was forgotten to reschedule.

comment:15 Changed 9 years ago by sjoelund.se

  • Milestone changed from 1.9.4 to 1.9.5

Milestone pushed to 1.9.5

comment:16 Changed 9 years ago by sjoelund.se

  • Milestone changed from 1.9.5 to 1.10.0

Milestone renamed

comment:17 Changed 8 years ago by pierre.haessig@…

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 Changed 8 years ago by anonymous

  • Resolution set to fixed
  • Status changed from reopened to closed

comment:19 Changed 7 years ago by sjoelund.se

  • Milestone 1.10.0 deleted

Milestone deleted

Note: See TracTickets for help on using tickets.