Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

pbuilder can't create debian packages on testing distribution

pbuilder can't create debian packages on testing distribution

Hi,

I am trying to build the debian packages for openmodelica from the dsc file, using pbuilder. Toward the end of the build, the omc-java.install script fails, aborting the build, because the file modelica_java.jar isn't found.

I assume this was to have been compiled from source, but it hasn't been. I am wondering if the dsc file is missing a build dependency?

Has anyone tried using pbuilder to build the debian packages in a clean development environment?
[/left]

Re: pbuilder can't create debian packages on testing distribution

This is because some newer Java versions fail to compile the files. The latest nightly build does not have this problem and you can resolve the issue by removing the offending line from omc-java.install (you usually don't need the jar-file and you could use https://github.com/OpenModelica/OMJava instead if you do need it)

Re: pbuilder can't create debian packages on testing distribution

Thanks for this information.

The nightly build openmodelica_1.13.0~dev-924-g9375dc8 did build successfully, with pbuilder but there are dependency issues that keep the packages from being installed.

Specifically, the packages omlib-modelicareference and omlib-modelica are required dependencies that are apparently not being built. They don't appear as binary packages to be built in the dsc file.

Code:


dpkg: dependency problems prevent configuration of omedit:
omedit depends on omlib-modelica-3.2.2 | omlib-modelica-3.2.1; however:
  Package omlib-modelica-3.2.2 is not installed.
  Package omlib-modelica-3.2.1 is not installed.
omedit depends on omlib-modelicareference; however:
  Package omlib-modelicareference is not installed.

Re: pbuilder can't create debian packages on testing distribution

You can find the libraries here: https://build.openmodelica.org/apt/pool/libraries/

You can build your own deb-files from https://github.com/OpenModelica/OMLibraries (`make debian` once you setup the locations of the deb-packages and files for apt-ftparchive).

There are 0 guests and 0 other users also viewing this topic
You are here: