[SRU] Carla can't find plugins in plugin directories located in the user's home

Bug #1969798 reported by Brian Hechinger
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
carla (Ubuntu)
Fix Released
High
Erich Eickmeyer
Jammy
Triaged
High
Erich Eickmeyer
Kinetic
Fix Released
High
Erich Eickmeyer

Bug Description

[Impact]

Users of Carla are unable to refresh audio plugins when more are installed, i.e. in the user's home directory. Furthermore, this can cause Carla to crash.

[Test Plan]

 * Launch Carla
 * Click "Add Plugin"
 * Click "Refresh"
 * Click "Scan"

 Expected: Carla will scan for new plugins and find them.

 Actual: Carla does not scan for plugins, and may crash.

[Where problems could occur]

 * This may simply cause a regression in Carla in which save files may cease to load or other issues with plugins loading, however this is highly unlikely.

[Other Info]

Originally the plan for this SRU was to upload a patched version of Carla 2.4.2 which did not work as planned. 2.4.3 FTBFS when uploaded to Kinetic, as did 2.4.4 when uploaded to a PPA built against Kinetic. Eventually, it was proven that 2.4.4 would build cleanly in Jammy and introduces essential bugfixes, including this fix as well as fixes Python 3.10 compatibility issues that were merely patched before.

It is to be noted that this upstream version does *NOT* introduce any new features, and the upstream developer was aware that any fixes he made in this release could not introduce new features and could only introduce bugfixes. As stated from the changelog, these bugfixes, including the one in this SRU, include:

 * Fix inaccurate MIDI CC rounding
 * Fix python3.10 compatibility issues
 * Fix integration with internal Qt toolbar visibility state

From a usability standpoint, these are essential fixes in functionality.

It is also to be noted that the upstream developer primarily develops on focal for focal and bionic and was unaware of the primary issue until it was brought to his attention, but could not work it until he had a docker image of jammy in a stable release. It was at that point he discovered the other issues.

For that reason, I do apologize for the large diff, and I hope this is a good explanation for that and the bugs fixes covered in the diff. Rather than filing separate bug reports for each of these, I'd rather get it all taken care of with at once here.

- Erich Eickmeyer

Original bug report as follows:
------

In the LV2 location in my home directory .lv2 I have the following plugin:

➜ ls ~/.lv2
librnnoise_lv2.so

${HOME}/.lv2 is configured in Carla as a search path.

In the Add Plugin dialog for Carla if I search for noise nothing shows up.

This worked fine previously on 21.10.

Release notes for Carla 2.4.3 [1] include this line: Fix plugin search (regression from 2.4.2)

Ubuntu Studio 22.04 currently has the bugged version:

➜ carla --version
Using Carla version 2.4.2

[1] https://github.com/falkTX/Carla/releases/tag/v2.4.3

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: carla 2.4.2-0ubuntu2
ProcVersionSignature: Ubuntu 5.15.0-24.24-lowlatency 5.15.30
Uname: Linux 5.15.0-24-lowlatency x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Thu Apr 21 15:41:13 2022
InstallationDate: Installed on 2022-04-20 (1 days ago)
InstallationMedia: Ubuntu-Studio 22.04 LTS "Jammy Jellyfish" - Beta amd64 (20220329.1)
SourcePackage: carla
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Brian Hechinger (bhechinger) wrote :
Changed in carla (Ubuntu):
assignee: nobody → Erich Eickmeyer  (eeickmeyer)
importance: Undecided → High
Changed in carla (Ubuntu Jammy):
milestone: none → jammy-updates
Changed in carla (Ubuntu Jammy):
status: New → Triaged
description: updated
Changed in carla (Ubuntu Jammy):
status: Triaged → In Progress
status: In Progress → Fix Committed
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Brian, or anyone else affected,

Accepted carla into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/carla/2.4.2-0ubuntu3 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

tags: added: verification-needed verification-needed-jammy
Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote : Re: Carla can't find plugins in plugin directories located in the user's home

Unfortunately, this completely FTBFS. It will likely have to be a complete backport of Carla 2.4.3. I'll work on that once Kinetic completely opens.

Changed in carla (Ubuntu Jammy):
status: Fix Committed → Triaged
Changed in carla (Ubuntu Kinetic):
status: Fix Committed → Triaged
milestone: jammy-updates → none
Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

This is a bit more serious, working with upstream on a resolution.

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

Working with upstream on this one, he was able to release 2.4.4 as a bug fix. Will upload to Kinetic and hopefully we can do a backport of this per his request. But yes, 2.4.3 FTBFS on Kinetic.

tags: added: verification-failed verification-failed-jammy
removed: verification-needed verification-needed-jammy
Changed in carla (Ubuntu Kinetic):
status: Triaged → In Progress
Changed in carla (Ubuntu Jammy):
status: Triaged → In Progress
Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

Version 2.5.0 was released and fixes this bug and builds perfectly on Kinetic. Uploaded. 2.4.4 will be a bugfix for Jammy.

description: updated
summary: - Carla can't find plugins in plugin directories located in the user's
- home
+ [SRU] Carla can't find plugins in plugin directories located in the
+ user's home
Changed in carla (Ubuntu Kinetic):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package carla - 2.5.0-0ubuntu1

---------------
carla (2.5.0-0ubuntu1) kinetic; urgency=medium

  [ Erich Eickmeyer ]
  * New upstream release 2.5.0
  * d/copyright: Remove superfluous stanza

  [ Filipe Coelho ]
  * Add JSFX plugin support
  * Add SDL engine driver
  * Adapt engine code to allow single-threaded web-assembly builds
  * Use full driver settings dialog if opened via menu and engine is not running
  * Update built-in DPF
  * Update to JUCE 7.0.1

 -- Erich Eickmeyer <email address hidden> Mon, 08 Aug 2022 18:47:29 -0700

Changed in carla (Ubuntu Kinetic):
status: Fix Committed → Fix Released
tags: removed: verification-failed verification-failed-jammy
description: updated
Revision history for this message
Robie Basak (racb) wrote :

> For that reason, I do apologize for the large diff, and I hope this is a good explanation for that and the bugs fixes covered in the diff. Rather than filing separate bug reports for each of these, I'd rather get it all taken care of with at once here.

Please see https://wiki.ubuntu.com/StableReleaseUpdates#New_upstream_microreleases. Either the "upstream QA process must be documented/demonstrated and linked from the SRU tracking bug" and meet the quality requirements in our policy, or you need to track and verify every bugfix you're trying to land here.

Changed in carla (Ubuntu Jammy):
status: In Progress → Incomplete
Revision history for this message
Robie Basak (racb) wrote :

As there has been no response, I'm cleaning this up from the queue. Maybe this can still be fixed in Jammy but see the comments above on what needs to be resolved first. Once resolved, please re-upload - the SRU team won't notice to respond otherwise.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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