All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Khem Raj" <raj.khem@gmail.com>
To: "Andreas Müller" <schnitzeltony@gmail.com>
Cc: openembeded-devel <openembedded-devel@lists.openembedded.org>
Subject: Re: [oe] [PATCH 5/6] fluidsynth: upgrade 2.1.7 -> 2.2.0
Date: Thu, 8 Apr 2021 07:42:21 -0700	[thread overview]
Message-ID: <CAMKF1sqVmjueJdni+Muux-a4FkB5ccZ9G3VCAQR5wr8ZW_wm7Q@mail.gmail.com> (raw)
In-Reply-To: <CALbNGRQfiRRdbws434sNW5-5EnLqon55JLozdUm8R_V65_GvzQ@mail.gmail.com>

there is patching error on musl


ERROR: fluidsynth-2.2.0-r0 do_patch: Fuzz detected:

Applying patch 0002-fluid_synth_nwrite_float-Allow-zero-pointer-for-left.patch
patching file src/synth/fluid_synth.c
Hunk #1 succeeded at 3628 with fuzz 1 (offset 322 lines).
Hunk #2 succeeded at 3719 (offset 333 lines).
Hunk #3 succeeded at 3749 (offset 333 lines).
Hunk #4 succeeded at 3762 (offset 333 lines).
Hunk #5 succeeded at 3770 (offset 333 lines).
Hunk #6 succeeded at 3801 (offset 333 lines).
Hunk #7 succeeded at 3834 (offset 333 lines).
Hunk #8 succeeded at 3847 (offset 333 lines).
Hunk #9 succeeded at 3855 (offset 333 lines).

fluidsynth-2.2.0: Patch log indicates that patches do not apply
cleanly. [patch-fuzz]


On Thu, Apr 8, 2021 at 12:17 AM Andreas Müller <schnitzeltony@gmail.com> wrote:
>
> On Thu, Apr 8, 2021 at 12:18 AM Andreas Müller via
> lists.openembedded.org
> <schnitzeltony=gmail.com@lists.openembedded.org> wrote:
> >
> > The only fallout by API/ABI changes in my world build was meta-games/scummvm.
> > Fix was sent [1]
> >
> > fluidsynth 2.2.0
> > This release breaks ABI compatibility! Refer to the API docs for details.
> > A C++98 compliant compiler is now required to build fluidsynth (mailing list thread)
> >
> > New features
> >
> >     Support loading SoundFonts >2GiB on Windows (#629)
> >     Major overhaul of the sequencer and its event queue (#604)
> >         Overlapping notes can be handled (#637)
> >         Performance improvement, since the event queue no longer blocks the rendering thread
> >         Time scale is not limited to 1000 anymore and can therefore be used for tempo changes
> >     The following audio drivers have gained multi-channel support
> >         DSound (#667, thanks to @jjceresa)
> >         WaveOut (#667, thanks to @jjceresa)
> >     The WinMIDI driver supports multiple devices (#677, thanks to @jjceresa)
> >     Handle GS DT1 SysEx messages for setting whether a channel is used for rhythm part (#708, thanks to @chirs241097)
> >     Support use of UTF-8 filenames under Windows (#718, thanks to @getraid-gg)
> >     Improved support for overriding tempo of the MIDI player (#711, #713, thanks to @jjceresa)
> >     Handle settings-related commands in user command file before initializing other objects (#739)
> >     SoundFont loading has been parallelized (#746, #812, requires openMP)
> >     The Oboe driver has gained a lower latency and other updates (#740, #741, #747)
> >     WASAPI driver has been added (#754, thanks to @chirs241097)
> >
> > General
> >
> >     Fix race condition in fluid_player_callback (#783, thanks to @arcln)
> >     Improvements to LADSPA subsystem (#795, thanks to @mawe42)
> >
> > [1] https://github.com/cazfi/meta-games/pull/58
> >
> > Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
> > ---
> >  .../fluidsynth/fluidsynth.inc                 |  6 ++---
> >  ...te_float-Allow-zero-pointer-for-left.patch | 26 +++++++++----------
> >  2 files changed, 16 insertions(+), 16 deletions(-)
> >
> > diff --git a/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth.inc b/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth.inc
> > index 74a2683ac..63ba54c34 100644
> > --- a/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth.inc
> > +++ b/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth.inc
> > @@ -4,9 +4,9 @@ SECTION = "libs/multimedia"
> >  LICENSE = "LGPL-2.1"
> >  LIC_FILES_CHKSUM = "file://LICENSE;md5=fc178bcd425090939a8b634d1d6a9594"
> >
> > -SRC_URI = "git://github.com/FluidSynth/fluidsynth.git;branch=2.1.x"
> > -SRCREV = "e2d67ea77237046b703d537aec90620c22f7f629"
> > +SRC_URI = "git://github.com/FluidSynth/fluidsynth.git"
> > +SRCREV = "8413c35aca641567baf13e9b16e9839019ebf99d"
> >  S = "${WORKDIR}/git"
> > -PV = "2.1.7"
> > +PV = "2.2.0"
> >
> >  inherit cmake pkgconfig lib_package
> > diff --git a/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth/0002-fluid_synth_nwrite_float-Allow-zero-pointer-for-left.patch b/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth/0002-fluid_synth_nwrite_float-Allow-zero-pointer-for-left.patch
> > index 94daa951c..f7debc5ad 100644
> > --- a/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth/0002-fluid_synth_nwrite_float-Allow-zero-pointer-for-left.patch
> > +++ b/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth/0002-fluid_synth_nwrite_float-Allow-zero-pointer-for-left.patch
> > @@ -17,15 +17,15 @@ Upstream-Status: Submitted [1]
> >
> >  Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
> >  ---
> > - src/synth/fluid_synth.c | 69 ++++++++++++++++++++++++++++++++++---------------
> > + src/synth/fluid_synth.c | 69 ++++++++++++++++++++++++++++-------------
> >   1 file changed, 48 insertions(+), 21 deletions(-)
> >
> >  diff --git a/src/synth/fluid_synth.c b/src/synth/fluid_synth.c
> > -index 0df620d3..379f8216 100644
> > +index 1eb5d737..6c876efa 100644
> >  --- a/src/synth/fluid_synth.c
> >  +++ b/src/synth/fluid_synth.c
> > -@@ -3306,10 +3306,10 @@ fluid_synth_program_reset(fluid_synth_t *synth)
> > -  * Synthesize a block of floating point audio to separate audio buffers (multichannel rendering). First effect channel used by reverb, second for chorus.
> > +@@ -3628,10 +3628,10 @@ fluid_synth_program_reset(fluid_synth_t *synth)
> > +  *
> >    * @param synth FluidSynth instance
> >    * @param len Count of audio frames to synthesize
> >  - * @param left Array of float buffers to store left channel of planar audio (as many as \c synth.audio-channels buffers, each of \c len in size)
> > @@ -38,8 +38,8 @@ index 0df620d3..379f8216 100644
> >  + * @param fx_right Since 1.1.7: If not \c NULL, array of float buffers to store right effect channels (size: dito). Since 2.0.3: NULL allowed for array entry
> >    * @return #FLUID_OK on success, #FLUID_FAILED otherwise
> >    *
> > -  * @note Should only be called from synthesis thread.
> > -@@ -3386,15 +3386,27 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len,
> > +  * First effect channel used by reverb, second for chorus.
> > +@@ -3719,15 +3719,27 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len,
> >           for(i = 0; i < synth->audio_channels; i++)
> >           {
> >   #ifdef WITH_FLOAT
> > @@ -71,7 +71,7 @@ index 0df620d3..379f8216 100644
> >               }
> >
> >   #endif //WITH_FLOAT
> > -@@ -3404,12 +3416,12 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len,
> > +@@ -3737,12 +3749,12 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len,
> >           {
> >   #ifdef WITH_FLOAT
> >
> > @@ -86,7 +86,7 @@ index 0df620d3..379f8216 100644
> >               {
> >                   FLUID_MEMCPY(fx_right[i], &fx_right_in[i * FLUID_BUFSIZE * FLUID_MIXER_MAX_BUFFERS_DEFAULT + synth->cur], bytes);
> >               }
> > -@@ -3417,7 +3429,7 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len,
> > +@@ -3750,7 +3762,7 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len,
> >   #else //WITH_FLOAT
> >               int j;
> >
> > @@ -95,7 +95,7 @@ index 0df620d3..379f8216 100644
> >               {
> >                   for(j = 0; j < num; j++)
> >                   {
> > -@@ -3425,7 +3437,7 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len,
> > +@@ -3758,7 +3770,7 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len,
> >                   }
> >               }
> >
> > @@ -104,7 +104,7 @@ index 0df620d3..379f8216 100644
> >               {
> >                   for(j = 0; j < num; j++)
> >                   {
> > -@@ -3456,15 +3468,30 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len,
> > +@@ -3789,15 +3801,30 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len,
> >           for(i = 0; i < synth->audio_channels; i++)
> >           {
> >   #ifdef WITH_FLOAT
> > @@ -140,7 +140,7 @@ index 0df620d3..379f8216 100644
> >               }
> >
> >   #endif //WITH_FLOAT
> > -@@ -3474,12 +3501,12 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len,
> > +@@ -3807,12 +3834,12 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len,
> >           {
> >   #ifdef WITH_FLOAT
> >
> > @@ -155,7 +155,7 @@ index 0df620d3..379f8216 100644
> >               {
> >                   FLUID_MEMCPY(fx_right[i] + count, &fx_right_in[i * FLUID_BUFSIZE * FLUID_MIXER_MAX_BUFFERS_DEFAULT], bytes);
> >               }
> > -@@ -3487,7 +3514,7 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len,
> > +@@ -3820,7 +3847,7 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len,
> >   #else //WITH_FLOAT
> >               int j;
> >
> > @@ -164,7 +164,7 @@ index 0df620d3..379f8216 100644
> >               {
> >                   for(j = 0; j < num; j++)
> >                   {
> > -@@ -3495,7 +3522,7 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len,
> > +@@ -3828,7 +3855,7 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len,
> >                   }
> >               }
> >
> > --
> > 2.26.2
> >
> Sorry & thanks for rebasing Khem - was about to send V2
>
> Andreas
>
> 
>

      reply	other threads:[~2021-04-08 14:42 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-07 22:18 [PATCH 1/6] mousepad: upgrade 0.5.3 -> 0.5.4 Andreas Müller
2021-04-07 22:18 ` [PATCH] networkmanager-openvpn: Fix packageing Andreas Müller
2021-04-07 22:26   ` [oe] " Khem Raj
2021-04-07 22:32     ` Martin Jansa
2021-04-07 22:40       ` Khem Raj
2021-04-07 22:46     ` Andreas Müller
2021-04-07 22:49       ` Khem Raj
2021-04-07 22:18 ` [PATCH 2/6] xfce4-battery-plugin: upgrade 1.1.3 -> 1.1.4 Andreas Müller
2021-04-07 22:18 ` [PATCH 3/6] gigolo: upgrade 0.5.1 -> 0.5.2 Andreas Müller
2021-04-07 22:18 ` [PATCH 4/6] thunar: upgrade 4.16.4 -> 4.16.6 Andreas Müller
2021-04-07 22:18 ` [PATCH 5/6] fluidsynth: upgrade 2.1.7 -> 2.2.0 Andreas Müller
2021-04-07 22:18 ` [PATCH 6/6] poppler: upgrade 21.03.0 -> 21.04.0 Andreas Müller
     [not found] ` <1673B361F4D94ACE.4742@lists.openembedded.org>
2021-04-08  7:17   ` [oe] [PATCH 5/6] fluidsynth: upgrade 2.1.7 -> 2.2.0 Andreas Müller
2021-04-08 14:42     ` Khem Raj [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMKF1sqVmjueJdni+Muux-a4FkB5ccZ9G3VCAQR5wr8ZW_wm7Q@mail.gmail.com \
    --to=raj.khem@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=schnitzeltony@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.