Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 728250 - media-plugins/ir_lv2-1.3.4 : ir_gui.cc: error: invalid conversion from void* (*)(const _LV2UI_Descriptor*, const char*, const char
Summary: media-plugins/ir_lv2-1.3.4 : ir_gui.cc: error: invalid conversion from void* ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-14 15:47 UTC by Toralf Förster
Modified: 2020-09-14 16:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.72 KB, text/plain)
2020-06-14 15:47 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,299.60 KB, text/plain)
2020-06-14 15:47 UTC, Toralf Förster
Details
environment (environment,68.38 KB, text/plain)
2020-06-14 15:47 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,25.88 KB, application/x-bzip)
2020-06-14 15:47 UTC, Toralf Förster
Details
media-plugins:ir_lv2-1.3.4:20200613-080345.log (media-plugins:ir_lv2-1.3.4:20200613-080345.log,11.32 KB, text/plain)
2020-06-14 15:47 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,18.66 KB, application/x-bzip)
2020-06-14 15:47 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-06-14 15:47:38 UTC
  545 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
      |                          ^~~~~~~~
ir_gui.cc:1681:14: error: invalid conversion from void* (*)(const _LV2UI_Descriptor*, const char*, const char*, LV2UI_Write_Function, LV2UI_Controller, void**, const LV2_Feature* const*) {aka void* (*)(const _LV2UI_Descriptor*, const char*, const char*, void (*)(void*, unsigned int, unsigned int, unsigned int, const void*), void*, void**, const LV2_Feature* const*)} to void* (*)(const LV2UI_Descriptor*, const char*, const char*, LV2UI_Write_Function, LV2UI_Controller, void**, const LV2_Feature* const*) {aka void* (*)(const LV2UI_Descriptor*, const char*, const char*, void (*)(void*, unsigned int, unsigned int, unsigned int, const void*), void*, void**, const LV2_Feature* const*)} [-fpermissive]
 1681 |  {IR_UI_URI, instantiate, cleanup, port_event, NULL}
      |              ^~~~~~~~~~~
      |              |

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-20200603-220659

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.3.1
 [2] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python3.6 (fallback)
  [5]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.44.0
  [2]   rust-1.44.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-8]
*)	IcedTea JDK 3.16.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat 13 Jun 2020 07:05:15 AM UTC

emerge -qpvO media-plugins/ir_lv2
[ebuild  N    ] media-plugins/ir_lv2-1.3.4  USE="-tools"
Comment 1 Toralf Förster gentoo-dev 2020-06-14 15:47:41 UTC
Created attachment 644666 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-06-14 15:47:45 UTC
Created attachment 644668 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-06-14 15:47:47 UTC
Created attachment 644670 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-06-14 15:47:50 UTC
Created attachment 644672 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-06-14 15:47:53 UTC
Created attachment 644674 [details]
media-plugins:ir_lv2-1.3.4:20200613-080345.log
Comment 6 Toralf Förster gentoo-dev 2020-06-14 15:47:55 UTC
Created attachment 644676 [details]
temp.tbz2
Comment 7 Samuel Bauer 2020-07-25 16:21:48 UTC
Adding to the ebuild

src_prepare() {
        default
        sed -i -e 's/_LV2UI_Descriptor/LV2UI_Descriptor/' ir_gui.cc
}

Fixes things
If someone needs, I can submit the fix as a patch.
Comment 8 Larry the Git Cow gentoo-dev 2020-08-12 16:55:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0058ad95ebdc811a55214f879c63473bfab9bcb

commit b0058ad95ebdc811a55214f879c63473bfab9bcb
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2020-08-12 16:53:59 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2020-08-12 16:55:02 +0000

    media-plugins/ir_lv2: fixed lv2 compilation issue in 1.3.4
    
    thanks to Samuel Bauer <samuel.bauer@yahoo.fr> for the fix
    
    Closes: https://bugs.gentoo.org/728250
    Package-Manager: Portage-3.0.2, Repoman-2.3.23
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-plugins/ir_lv2/files/ir_lv2-1.3.4-lv2.patch | 13 +++++++++++++
 media-plugins/ir_lv2/ir_lv2-1.3.4.ebuild          |  3 ++-
 2 files changed, 15 insertions(+), 1 deletion(-)
Comment 9 Martin Erdtmann 2020-09-14 16:46:19 UTC
Just to mention:

Previously this version of the plugin was working fine. But after this fix has been made, Ardour crashes immediatly after inserting ir_lv2.
The kernel log delivers:

ArdourGUI[13603] general protection fault ip:7fb5b24bcf54 sp:7ffd885127f0 error:0 in libsord-0.so.0.16.4[7fb5b24ba000+6000]


Therefore this plugin is completly unusable. Unfortunately it is the only way in the linux world to get a reasonable convolution reverb. Maybe you know a way to fix this. I tried to contact the author but did not find a email address up to now.