Hi

Am 22.11.2019 um 21:24 schrieb Dan Dennedy:
> On Wed, Nov 20, 2019 at 7:23 AM Patrick Matthäi <pmatth...@debian.org> wrote:
>> Hi,
>>
>> I just uploaded 6.18.0, but it FTBFS on some architectures like armel, 
>> mipsel etc:
> Can you please test the attached patch?

Sorry I were on vacation, I have tested it now:


>
> diff --git a/src/modules/avformat/producer_avformat.c
> b/src/modules/avformat/producer_avformat.c
> index 46c16346..6ac46cc1 100644
> --- a/src/modules/avformat/producer_avformat.c
> +++ b/src/modules/avformat/producer_avformat.c
> @@ -68,6 +68,12 @@
>  #define IMAGE_ALIGN (1)
>  #define VFR_THRESHOLD (3) // The minimum number of video frames with
> differing durations to be considered VFR.
>
> +#ifndef HAVE_ATOMIC_INT_FAST64
> +#  if !#defined(__arm__) && !#defined(__mips__) && !defined(__sh__)
> +#    define HAVE_ATOMIC_INT_FAST64 1
> +#  endif
> +#endif
> +
>  struct producer_avformat_s
>  {
>   mlt_producer parent;
> @@ -84,10 +90,15 @@ struct producer_avformat_s
>   int audio_index;
>   int video_index;
>   int64_t first_pts;
> +#if defined(HAVE_ATOMIC_INT_FAST64) && (HAVE_ATOMIC_INT_FAST64 != 0)
>   atomic_int_fast64_t last_position;
> + atomic_int_fast64_t current_position;
> +#else
> + int64_t last_position;
> + int64_t current_position;
> +#endif
>   int video_seekable;
>   int seekable; /// This one is used for both audio and file level 
> seekability.
> - atomic_int_fast64_t current_position;
>   mlt_position nonseek_position;
>   atomic_int top_field_first;
>   uint8_t *audio_buffer[ MAX_AUDIO_STREAMS ];
> diff --git a/src/modules/lumas/create_lumas b/src/modules/lumas/create_lumas
> index a86c8477..943911b1 100755

With this applied on 6.18.0 it still fails:

https://buildd.debian.org/status/fetch.php?pkg=mlt&arch=armel&ver=6.18.0-2&stamp=1576577801&file=log


> --- a/src/modules/lumas/create_lumas
> +++ b/src/modules/lumas/create_lumas
> @@ -4,6 +4,8 @@
>
>  if [ "$(uname -s)" = "Darwin" ]; then
>   export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH:../../framework
> +elif uname -s | grep -iq mingw; then
> + export PATH=$PATH:../../framework
>  else
>   export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:../../framework
>  fi
This is not applied, because the patch does not apply on 6.18.0

-- 
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

  Blog: http://www.linux-dev.org/
E-Mail: pmatth...@debian.org
        patr...@linux-dev.org
*/



_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to