Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 729716 - media-sound/yoshimi-1.7.1 : /.../YoshimiLV2Plugin.cpp: error: invalid conversion from void* (*)(const _LV2_Descriptor*, double, co
Summary: media-sound/yoshimi-1.7.1 : /.../YoshimiLV2Plugin.cpp: error: invalid convers...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Reva Denis
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-06-26 10:42 UTC by Toralf Förster
Modified: 2020-08-12 07:23 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.22 KB, text/plain)
2020-06-26 10:42 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,172.29 KB, text/plain)
2020-06-26 10:42 UTC, Toralf Förster
Details
environment (environment,87.72 KB, text/plain)
2020-06-26 10:42 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.63 KB, application/x-bzip)
2020-06-26 10:42 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.70 KB, application/x-bzip)
2020-06-26 10:42 UTC, Toralf Förster
Details
media-sound:yoshimi-1.7.1:20200626-091526.log (media-sound:yoshimi-1.7.1:20200626-091526.log,105.82 KB, text/plain)
2020-06-26 10:42 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,27.24 KB, application/x-bzip)
2020-06-26 10:42 UTC, Toralf Förster
Details
Proposed patch for yoshimi-1.7.1 with media-libs/lv2-1.18.0 (fix-LV2_Descriptor.patch,2.99 KB, patch)
2020-07-05 18:19 UTC, alex
Details | Diff

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-26 10:42:17 UTC
/var/tmp/portage/media-sound/yoshimi-1.7.1/work/yoshimi-1.7.1/src/LV2_Plugin/YoshimiLV2Plugin.cpp:80:23: error: invalid conversion from ‘void* (*)(const _LV2_Descriptor*, double, const char*, const LV2_Feature* const*)’ to ‘void* (*)(const LV2_Descriptor*, double, const char*, const LV2_Feature* const*)’ [-fpermissive]
   80 |     YoshimiLV2Plugin::instantiate,
      |     ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
      |                       |

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20200621-221934

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

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]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.44.1 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.16.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   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	Fri 26 Jun 2020 08:35:20 AM UTC

emerge -qpvO media-sound/yoshimi
[ebuild  N    ] media-sound/yoshimi-1.7.1  USE="lv2"
Comment 1 Toralf Förster gentoo-dev 2020-06-26 10:42:20 UTC
Created attachment 646512 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-06-26 10:42:23 UTC
Created attachment 646514 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-06-26 10:42:26 UTC
Created attachment 646516 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-06-26 10:42:29 UTC
Created attachment 646518 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-06-26 10:42:32 UTC
Created attachment 646520 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-06-26 10:42:35 UTC
Created attachment 646522 [details]
media-sound:yoshimi-1.7.1:20200626-091526.log
Comment 7 Toralf Förster gentoo-dev 2020-06-26 10:42:38 UTC
Created attachment 646524 [details]
temp.tbz2
Comment 8 Reva Denis 2020-06-26 13:31:37 UTC
Thanks for report, Toralf. I'm not sure I'm able to reproduce bug but I'll investigate it... Because I have just succesfully rebuild that version.
Here is my dependency graph of yoshimi. CHeck if you have old packages from that list.
RarogCmexEngine /home/rarogcmex # equery g media-sound/yoshimi
 * Searching for yoshimi in media-sound ...

 * dependency graph for media-sound/yoshimi-1.7.1
 `--  media-sound/yoshimi-1.7.1  amd64 
   `--  dev-libs/mxml-3.1  (>=dev-libs/mxml-2.5) amd64 
   `--  media-libs/alsa-lib-1.2.2-r1  (media-libs/alsa-lib) amd64 
   `--  media-libs/fontconfig-2.13.0-r4  (media-libs/fontconfig) amd64 
   `--  media-libs/libsndfile-1.0.29_pre2_p20191024  (media-libs/libsndfile) amd64 
   `--  sci-libs/fftw-3.3.6_p2  (sci-libs/fftw) amd64 
   `--  sys-libs/ncurses-6.2-r1  (sys-libs/ncurses) amd64 
   `--  sys-libs/readline-8.0_p4  (sys-libs/readline) amd64 
   `--  sys-libs/zlib-1.2.11-r2  (sys-libs/zlib) amd64 
   `--  virtual/jack-0  (virtual/jack) amd64 
   `--  x11-libs/cairo-1.16.0-r3  (x11-libs/cairo) amd64  [X]
   `--  x11-libs/fltk-1.3.5-r4  (x11-libs/fltk) amd64  [opengl]
   `--  media-libs/lv2-1.16.0-r1  (media-libs/lv2) amd64 
   `--  dev-util/desktop-file-utils-0.24  (dev-util/desktop-file-utils) amd64 
   `--  x11-misc/shared-mime-info-1.15  (x11-misc/shared-mime-info) amd64 
   `--  virtual/pkgconfig-2  (virtual/pkgconfig) amd64 
   `--  dev-util/ninja-1.9.0  (dev-util/ninja) amd64 
   `--  dev-util/cmake-3.16.5  (dev-util/cmake) amd64 
[ media-sound/yoshimi-1.7.1 stats: packages (18), max depth (1) ]
Comment 9 Reva Denis 2020-06-26 13:34:08 UTC
Could you get me result of
eix -v media-libs/lv2
?
Comment 10 Toralf Förster gentoo-dev 2020-06-26 13:41:02 UTC
(In reply to Reva Denis from comment #9)
> Could you get me result of
> eix -v media-libs/lv2
> ?

pls have a look at "emerge-history.txt" attachment
Comment 11 Reva Denis 2020-06-26 14:17:45 UTC
I've found that you are using 2020-06-23T23:12:12 >>> media-libs/lv2-1.18.0
Could you try to build it with lv2 1.16.0-r1?
Seems like yoshimi don't compatible with 1.18.0. I'll also play around it within day when I have time.
Comment 12 Reva Denis 2020-06-27 07:49:03 UTC
https://github.com/gentoo/gentoo/pull/16442
Comment 13 Reva Denis 2020-06-27 07:50:06 UTC
Yes, yoshimi hasn't been compatible with media-libs/lv2-1.18.0 yet.
Comment 14 alex 2020-07-05 18:18:30 UTC
I ran into this same issue recently:  media-sound/yoshimi-1.7.1 and media-libs/lv2-1.18.0.  Attaching the patch that got yoshimi to build for me.
Comment 15 alex 2020-07-05 18:19:46 UTC
Created attachment 647840 [details, diff]
Proposed patch for yoshimi-1.7.1 with media-libs/lv2-1.18.0
Comment 16 Reva Denis 2020-07-06 04:12:41 UTC
Patch brokes compatibility with media-libs/lv2-1.16.0.
Comment 17 Larry the Git Cow gentoo-dev 2020-08-12 07:23:04 UTC
The bug has been closed via the following commit(s):

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

commit a6ebfac088b89ad44478c1fc902fbbf78e888330
Author:     Denis Reva <denis7774@gmail.com>
AuthorDate: 2020-07-06 04:23:12 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-08-12 07:22:54 +0000

    media-sound/yoshimi: fix #729716 LV2_Descriptor
    
    Created new ebuild -r1 with patch from bugzilla.
    
    Closes: https://bugs.gentoo.org/729716
    Package-Manager: Portage-2.3.99, Repoman-2.3.23
    Signed-off-by: Denis Reva <denis7774@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/16606
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../files/yoshimi-1.7.1-fix-LV2_Descriptor.patch   | 47 ++++++++++++++++++++++
 ...oshimi-1.7.1.ebuild => yoshimi-1.7.1-r1.ebuild} |  2 +
 2 files changed, 49 insertions(+)