Dependency removed when building packages at PPA

Asked by Cecilio Salmeron

I'm building packages at https://code.launchpad.net/~lenmus-phonascus/+archive/ubuntu/ppa

In the source tree, the debian/control file specifies a dependency from package "fluid-soundfont-gm". But in built packages this dependency is removed. How can I force to include this depencency? Thank you.

From build log I have extracted the following information:

Merged Build-Depends:
debhelper (>= 8.0.0), cdbs, cmake (>= 3.1), pkg-config, libportmidi-dev, libsqlite3-dev (>= 3.6.10), libwxgtk3.0-dev (>= 3.0), wx-common, libfreetype6-dev, libpng++-dev, zlib1g (>= 1:1.2.1), libfluidsynth-dev, fluid-soundfont-gm

Filtered Build-Depends:
debhelper (>= 8.0.0), cdbs, cmake (>= 3.1), pkg-config, libportmidi-dev, libsqlite3-dev (>= 3.6.10), libwxgtk3.0-dev (>= 3.0), wx-common, libfreetype6-dev, libpng++-dev, zlib1g (>= 1:1.2.1), libfluidsynth-dev, fluid-soundfont-gm

debian/control file has:
debhelper (>= 8.0.0), cdbs, cmake (>= 3.1), pkg-config, libportmidi-dev, libsqlite3-dev (>=3.6.10), libwxgtk3.0-dev (>= 3.0), wx-common, libfreetype6-dev, libpng++-dev, zlib1g (>= 1:1.2.1), libfluidsynth-dev, fluid-soundfont-gm

And built package has:
libc6 (>= 2.27), libfluidsynth1 (>= 1.1.6-4~), libfreetype6 (>= 2.2.1), libgcc1 (>= 1:3.0), libpng16-16 (>= 1.6.2-1), libportmidi0, libsqlite3-0 (>= 3.12.0), libstdc++6 (>= 6), libwxbase3.0-0v5 (>= 3.0.4+dfsg), libwxgtk3.0-0v5 (>= 3.0.4+dfsg), zlib1g (>= 1:1.1.4)

The following table shows the changes made by the build system. To me, all is correct but not the removal of "fluid-soundfont-gm"

debian/control Built package
-------------------------- --------------------------------------
libportmidi-dev libportmidi0
libsqlite3-dev (>=3.6.10) libsqlite3-0 (>= 3.12.0)
libwxgtk3.0-dev (>= 3.0) libwxgtk3.0-0v5 (>= 3.0.4+dfsg)
wx-common libwxbase3.0-0v5 (>= 3.0.4+dfsg)
libfreetype6-dev libfreetype6 (>= 2.2.1)
libpng++-dev libpng16-16 (>= 1.6.2-1)
zlib1g (>= 1:1.2.1) zlib1g (>= 1:1.1.4)
libfluidsynth-dev libfluidsynth1 (>= 1.1.6-4~)
fluid-soundfont-gm -- not included --
                                             libc6 (>= 2.27), libgcc1 (>= 1:3.0), libstdc++6 (>= 6)

How can I fix this? Otherwise built packages are useless. Thank you.

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Best Manfred Hampl (m-hampl) said :
#1

Don't confuse build-depends with the dependencies of the binary package.

I assume that in your case you have to add that dependency manually to the debian/control file in the "Depends" field of the binary package, something like

Depends: libfoobar, ${shlibs:Depends}, ${misc:Depends}

Apparently the debhelper scripts do not automatically include that file, because it is not a shared library.

Revision history for this message
Cecilio Salmeron (s-cecilio) said :
#2

> Don't confuse build-depends with the dependencies of the binary package.

Thank you very much for raising this. I do appreciate it. I do not have much knowledge about debian packaging and I've been struggling with this all day!

As you has sugessted, I have added the dependency in the "Depends" field and the problem is now solved.
Many, many thanks for your assistance.