Package Details: vapoursynth-plugin-fftspectrum-git r1.5.g6326b2e-1

Git Clone URL: https://aur.archlinux.org/vapoursynth-plugin-fftspectrum-git.git (read-only, click to copy)
Package Base: vapoursynth-plugin-fftspectrum-git
Description: Plugin for Vapoursynth: fftspectrum (GIT version)
Upstream URL: https://github.com/Beatrice-Raws/FFTSpectrum
Keywords: vapoursynth
Licenses: GPL
Conflicts: vapoursynth-plugin-fftspectrum
Provides: vapoursynth-plugin-fftspectrum
Submitter: sl1pkn07
Maintainer: sl1pkn07
Last Packager: sl1pkn07
Votes: 1
Popularity: 0.000000
First Submitted: 2019-03-02 20:04 (UTC)
Last Updated: 2022-02-06 20:48 (UTC)

Latest Comments

sl1pkn07 commented on 2022-10-19 16:05 (UTC)

try this:

between the line 33 and 34:

export CFLAGS="${CFLAGS/-march=x86-64 -mtune=generic/-march=native}"

Win8Error commented on 2022-10-15 19:38 (UTC)

Build still fails ... I tried build on host and in an clean chroot.

==> Starting build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true ../fftspectrum --libdir /usr/lib/vapoursynth
The Meson build system
Version: 0.63.3
Source dir: /build/vapoursynth-plugin-fftspectrum-git/src/fftspectrum
Build dir: /build/vapoursynth-plugin-fftspectrum-git/src/build
Build type: native build
Project name: FFTSpectrum
Project version: 2
C compiler for the host machine: cc (gcc 12.2.0 "cc (GCC) 12.2.0")
C linker for the host machine: cc ld.bfd 2.39.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Run-time dependency vapoursynth found: YES 60
Run-time dependency fftw3f found: YES 3.3.10
Build targets in project: 1
NOTICE: Future-deprecated features used:
 * 0.56.0: {'dependency.get_pkgconfig_variable'}

FFTSpectrum 2

  User defined options
    auto_features: enabled
    buildtype    : plain
    libdir       : /usr/lib/vapoursynth
    libexecdir   : lib
    prefix       : /usr
    sbindir      : bin
    wrap_mode    : nodownload
    b_lto        : true
    b_pie        : true

Found ninja-1.11.1 at /usr/bin/ninja
[1/2] Compiling C object libfftspectrum.so.p/FFTSpectrum.c.o
FAILED: libfftspectrum.so.p/FFTSpectrum.c.o 
cc -Ilibfftspectrum.so.p -I. -I../fftspectrum -I/usr/include/vapoursynth -fvisibility=hidden -flto=auto -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -O0 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -fPIC -MD -MQ libfftspectrum.so.p/FFTSpectrum.c.o -MF libfftspectrum.so.p/FFTSpectrum.c.o.d -o libfftspectrum.so.p/FFTSpectrum.c.o -c ../fftspectrum/FFTSpectrum.c
In file included from ../fftspectrum/FFTSpectrum.c:42:
../fftspectrum/sse_mathfun.h:167: warning: ignoring ‘#pragma mark code’ [-Wunknown-pragmas]
  167 | #pragma mark code section
      | 
../fftspectrum/sse_mathfun.h:1309: warning: ignoring ‘#pragma mark SSE’ [-Wunknown-pragmas]
 1309 | #pragma mark SSE extensions
      | 
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/immintrin.h:39,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/x86intrin.h:32,
                 from ../fftspectrum/FFTSpectrum.c:38:
/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/smmintrin.h: In function ‘fill_fft_input_array’:
/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/smmintrin.h:520:1: error: inlining failed in call to ‘always_inline’ ‘_mm_cvtepu8_epi32’: target specific option mismatch
  520 | _mm_cvtepu8_epi32 (__m128i __X)
      | ^~~~~~~~~~~~~~~~~
../fftspectrum/FFTSpectrum.c:79:32: note: called from here
   79 |                 epu32_buffer = _mm_cvtepu8_epi32(in_buffer);
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

sl1pkn07 commented on 2021-10-25 18:28 (UTC)

try to add -msse4.1 in the https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=vapoursynth-plugin-fftspectrum-git#n34 before -fPIC

Win8Error commented on 2021-10-25 18:23 (UTC)

I have a Intel Core i7 8750H.

sl1pkn07 commented on 2021-10-25 18:22 (UTC)

what is your processor?

Win8Error commented on 2021-10-25 18:16 (UTC)

Thank you for the update. But now it fails with following output:

==> Starting pkgver()...
==> Starting build()...
make: Entering directory '/build/vapoursynth-plugin-fftspectrum-git/src/fftspectrum'
gcc -c -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -I. -I/usr/include/vapoursynth  -o FFTSpectrum.o FFTSpectrum.c
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/immintrin.h:39,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:32,
                 from FFTSpectrum.c:38:
FFTSpectrum.c: In function ‘fill_fft_input_array’:
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/smmintrin.h:520:1: error: inlining failed in call to ‘always_inline’ ‘_mm_cvtepu8_epi32’: target specific option mismatch
  520 | _mm_cvtepu8_epi32 (__m128i __X)
      | ^~~~~~~~~~~~~~~~~
FFTSpectrum.c:79:32: note: called from here
   79 |                 epu32_buffer = _mm_cvtepu8_epi32(in_buffer);
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/build/vapoursynth-plugin-fftspectrum-git/src/fftspectrum'
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/.archbuild/extra-x86_64/yuki/build

Win8Error commented on 2021-10-25 18:13 (UTC)

Sadly also this package fails to build.

==> Starting pkgver()...

==> Starting build()...

make: Entering directory '/build/vapoursynth-plugin-fftspectrum-git/src/fftspectrum'

gcc -c -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -I. -I/usr/include/vapoursynth  -o FFTSpectrum.o FFTSpectrum.c

In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/immintrin.h:39,

                 from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:32,

                 from FFTSpectrum.c:38:

FFTSpectrum.c: In function ‘fill_fft_input_array’:

/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/smmintrin.h:520:1: error: inlining failed in call to ‘always_inline’ ‘_mm_cvtepu8_epi32’: target specific option mismatch

  520 | _mm_cvtepu8_epi32 (__m128i __X)

      | ^~~~~~~~~~~~~~~~~

FFTSpectrum.c:79:32: note: called from here

   79 |                 epu32_buffer = _mm_cvtepu8_epi32(in_buffer);

      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

make: *** [Makefile:2: all] Error 1

make: Leaving directory '/build/vapoursynth-plugin-fftspectrum-git/src/fftspectrum'

==> ERROR: A failure occurred in build().

    Aborting...

==> ERROR: Build failed, check /home/.archbuild/extra-x86_64/yuki/build

Win8Error commented on 2021-08-28 20:13 (UTC)

Build fails with following output:

==> Retrieving sources...
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of fftspectrum git repo...
Cloning into 'fftspectrum'...
done.
==> Starting prepare()...
==> Starting pkgver()...
==> Starting build()...
make: Entering directory '/build/vapoursynth-plugin-fftspectrum-git/src/fftspectrum'
gcc -c -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -I. -I/usr/include/vapoursynth  -o FFTSpectrum.o FFTSpectrum.c
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/immintrin.h:39,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:32,
                 from FFTSpectrum.c:38:
FFTSpectrum.c: In function ‘fill_fft_input_array’:
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/smmintrin.h:520:1: error: inlining failed in call to ‘always_inline’ ‘_mm_cvtepu8_epi32’: target specific option mismatch
  520 | _mm_cvtepu8_epi32 (__m128i __X)
      | ^~~~~~~~~~~~~~~~~
FFTSpectrum.c:79:32: note: called from here
   79 |                 epu32_buffer = _mm_cvtepu8_epi32(in_buffer);
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/build/vapoursynth-plugin-fftspectrum-git/src/fftspectrum'
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/.archbuild/extra-x86_64/yuki/build