Required dependencies not installed along with juce-tools

Bug #1885939 reported by Ankush Menat
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juce (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I installed projucer using `juce-tools` package and tried to compile a basic audio project without any modification. It fails as some required libraries are missing.

I found solution on JUCE forums. https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121/44

It suggest following packages as dependencies, after installing them compilation went smoothly.

libasound2-dev
libcurl4-openssl-dev
libx11-dev
libxinerama-dev
libxext-dev
libfreetype6-dev
libwebkit2gtk-4.0-dev
libglu1-mesa-dev

I believe these packages should be considered as dependencies to prevent same problem from occurring for future users.

To reproduce you need to start with basic installation and install `juce-tools` package. After that you need to start an "Audio project", it will create Makefiles. Run make and compilation will likely fail because of missing dependencies.
I can provide any additional information required.

FYI:
❯ apt show juce-tools
Package: juce-tools
Version: 5.4.7~ds0-1
Priority: optional
Section: universe/devel
Source: juce
Origin: Ubuntu
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Debian Multimedia Maintainers <email address hidden>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 9,858 kB
Depends: libc6 (>= 2.29), libfreetype6 (>= 2.2.1), libgcc-s1 (>= 3.0), libglib2.0-0 (>= 2.35.8), libgtk-3-0 (>= 3.0.0), libjpeg8 (>= 8c), libpng16-16 (>= 1.6.2-1), libstdc++6 (>= 5.2), libwebkit2gtk-4.0-37 (>= 2.15.1), libx11-6, libxext6, zlib1g (>= 1:1.1.4)
Download-Size: 2,973 kB
APT-Manual-Installed: yes
APT-Sources: http://in.archive.ubuntu.com/ubuntu focal/universe amd64 Packages

description: updated
Revision history for this message
Manfred Hampl (m-hampl) wrote :

This seems to be a misunderstanding of the package relationships in Ubuntu/Debian.
see e.g. https://www.debian.org/doc/debian-policy/ch-relationships.html

Quote:
Depends
This declares an absolute dependency. A package will not be configured unless all of the packages listed in its Depends field have been correctly configured (unless there is a circular dependency as described above).

Recommends
This declares a strong, but not absolute, dependency.
The Recommends field should list packages that would be found together with this one in all but unusual installations.
End of quote

As far as I understood, juce-tools can be installed without all those extra packages that are listed on that forum psoting, and you can start projucer without these. So they do not qualify for a "depends".

If your attempt to compile an audio project fails with missing dependencies, then this is something different and in my opinion falls into the "recommends" category.

Revision history for this message
Kai Kasurinen (kai-kasurinen) wrote :

Package: juce-tools
Recommends: juce-modules-source

Package: juce-modules-source
Depends: libasound2-dev, libcurl4-gnutls-dev | libcurl-dev, libfreetype6-dev, libgl1-mesa-dev | libgl-dev, libx11-dev, libxext-dev, libxinerama-dev, libxrandr-dev, zlib1g-dev | libz-dev, libwebkit2gtk-4.0-dev, libgtk-3-dev, libflac-dev, libjpeg-dev, libpng-dev, libvorbis-dev

Isn't this enough?

Changed in juce (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for juce (Ubuntu) because there has been no activity for 60 days.]

Changed in juce (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.