Package Details: neural-amp-modeler-lv2-git 0.1.7.r10.50be365-1

Git Clone URL: https://aur.archlinux.org/neural-amp-modeler-lv2-git.git (read-only, click to copy)
Package Base: neural-amp-modeler-lv2-git
Description: Neural Amp Modeler (NAM) LV2 plugin (git version)
Upstream URL: https://github.com/mikeoliphant/neural-amp-modeler-lv2
Keywords: amp guitar lv2 plugin
Licenses: GPL-3.0-only
Groups: lv2-plugins, pro-audio
Conflicts: neural-amp-modeler-lv2
Provides: neural-amp-modeler-lv2
Submitter: LekKit
Maintainer: LekKit (SpotlightKid)
Last Packager: SpotlightKid
Votes: 2
Popularity: 0.000602
First Submitted: 2023-12-23 11:52 (UTC)
Last Updated: 2025-03-24 12:08 (UTC)

Latest Comments

lukeemhigh commented on 2025-03-24 08:15 (UTC)

Package is failing to build

==> Starting build()...
-- The C compiler identification is GNU 14.2.1
-- The CXX compiler identification is GNU 14.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at deps/NeuralAudio/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- NOT Building static RTNeural models
-- NOT Building NAM Core implementation
-- WaveNet frame size is: 64
-- Convoluation buffer padding size: 24
CMake Deprecation Warning at deps/NeuralAudio/deps/RTNeural/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- RTNeural -- Using Eigen backend (Default)
CMake Error at deps/NeuralAudio/NeuralAudio/CMakeLists.txt:84 (add_subdirectory):
  The source directory

    /home/lukeemhigh/.cache/paru/clone/neural-amp-modeler-lv2-git/src/neural-amp-modeler-lv2/deps/NeuralAudio/deps/math_approx

  does not contain a CMakeLists.txt file.


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'neural-amp-modeler-lv2-git-0.1.6.r6.46c2bb8-1': 
error: packages failed to build: neural-amp-modeler-lv2-git-0.1.6.r6.46c2bb8-1

lukeemhigh commented on 2025-02-02 18:29 (UTC)

Package is failing to build since a couple of days:

==> Making package: neural-amp-modeler-lv2-git 0.1.5.r21.f14faca-1 (Sun 02 Feb 2025 07:23:06 PM CET)
==> Retrieving sources...
  -> Updating neural-amp-modeler-lv2 git repo...
  -> Updating lv2 git repo...
  -> Updating NeuralAudio git repo...
remote: Enumerating objects: 47, done.
remote: Counting objects: 100% (47/47), done.
remote: Compressing objects: 100% (29/29), done.
remote: Total 47 (delta 22), reused 43 (delta 18), pack-reused 0 (from 0)
Unpacking objects: 100% (47/47), 21.36 KiB | 284.00 KiB/s, done.
From https://github.com/mikeoliphant/NeuralAudio
 * [new branch]      naopt      -> naopt
  -> Updating NeuralAmpModelerCore git repo...
  -> Updating RTNeural git repo...
  -> Updating RTNeural-NAM git repo...
==> Validating source files with sha256sums...
    neural-amp-modeler-lv2 ... Skipped
    lv2 ... Skipped
    NeuralAudio ... Skipped
    NeuralAmpModelerCore ... Skipped
    RTNeural ... Skipped
    RTNeural-NAM ... Skipped
==> Making package: neural-amp-modeler-lv2-git 0.1.5.r21.f14faca-1 (Sun 02 Feb 2025 07:23:13 PM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating neural-amp-modeler-lv2 git repo...
  -> Updating lv2 git repo...
  -> Updating NeuralAudio git repo...
  -> Updating NeuralAmpModelerCore git repo...
  -> Updating RTNeural git repo...
  -> Updating RTNeural-NAM git repo...
==> Validating source files with sha256sums...
    neural-amp-modeler-lv2 ... Skipped
    lv2 ... Skipped
    NeuralAudio ... Skipped
    NeuralAmpModelerCore ... Skipped
    RTNeural ... Skipped
    RTNeural-NAM ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of neural-amp-modeler-lv2 git repo...
Cloning into 'neural-amp-modeler-lv2'...
done.
  -> Creating working copy of lv2 git repo...
Cloning into 'lv2'...
done.
  -> Creating working copy of NeuralAudio git repo...
Cloning into 'NeuralAudio'...
done.
  -> Creating working copy of NeuralAmpModelerCore git repo...
Cloning into 'NeuralAmpModelerCore'...
done.
  -> Creating working copy of RTNeural git repo...
Cloning into 'RTNeural'...
done.
  -> Creating working copy of RTNeural-NAM git repo...
Cloning into 'RTNeural-NAM'...
done.
==> Starting prepare()...
Submodule 'lv2' (https://github.com/lv2/lv2) registered for path 'deps/lv2'
Synchronizing submodule url for 'deps/lv2'
Cloning into '/home/lukeemhigh/.cache/paru/clone/neural-amp-modeler-lv2-git/src/neural-amp-modeler-lv2/deps/lv2'...
done.
Submodule path 'deps/lv2': checked out 'e9d94328743d630e27a9d322015437fd9080695d'
Submodule 'deps/NeuralAudio' (https://github.com/mikeoliphant/NeuralAudio) registered for path 'deps/NeuralAudio'
Synchronizing submodule url for 'deps/NeuralAudio'
Cloning into '/home/lukeemhigh/.cache/paru/clone/neural-amp-modeler-lv2-git/src/neural-amp-modeler-lv2/deps/NeuralAudio'...
done.
Submodule path 'deps/NeuralAudio': checked out 'c6ac6206ca92d4fd6729f6d9bc1f8dc73509ad13'
Submodule 'deps/NeuralAmpModelerCore' (https://github.com/mikeoliphant/NeuralAmpModelerCore) registered for path 'deps/NeuralAmpModelerCore'
Synchronizing submodule url for 'deps/NeuralAmpModelerCore'
Cloning into '/home/lukeemhigh/.cache/paru/clone/neural-amp-modeler-lv2-git/src/neural-amp-modeler-lv2/deps/NeuralAudio/deps/NeuralAmpModelerCore'...
done.
Submodule path 'deps/NeuralAmpModelerCore': checked out 'e181f61efb8d05d34add45b5eecb3893ff21177c'
Submodule 'deps/RTNeural' (https://github.com/mikeoliphant/RTNeural) registered for path 'deps/RTNeural'
Synchronizing submodule url for 'deps/RTNeural'
Cloning into '/home/lukeemhigh/.cache/paru/clone/neural-amp-modeler-lv2-git/src/neural-amp-modeler-lv2/deps/NeuralAudio/deps/RTNeural'...
done.
Submodule path 'deps/RTNeural': checked out '5909c44909cd6100367f62cd04b348de85d57dbf'
fatal: no submodule mapping found in .gitmodules for path 'deps/RTNeural-NAM'
==> ERROR: A failure occurred in prepare().
    Aborting...
error: failed to build 'neural-amp-modeler-lv2-git-0.1.5.r21.f14faca-1': 
error: packages failed to build: neural-amp-modeler-lv2-git-0.1.5.r21.f14faca-1

SpotlightKid commented on 2023-12-29 08:30 (UTC)

I have updated the PKGBUILD. Unfortunately, the new version number returned by pkgver is considered lower than the previous one, which contained an underscore.

I removed the following architectures from arch: arm, arch6h, i386, ppc. I kept armv7h, since I think that is what the MOD platform runs on. I we get reports of the plugin successfully running on any of these platforms, we can add them back.

I also enabled parallel building with -j $(nproc --ignore=1).

SpotlightKid commented on 2023-12-29 08:19 (UTC)

From https://wiki.archlinux.org/title/PKGBUILD#makedepends:

The package base-devel is assumed to be already installed when building with makepkg. Dependencies of this package should not be included in makedepends array.

base-devel includes make and gcc as its dependencies:

https://archlinux.org/packages/core/any/base-devel/

To use the AUR, you always need to install base-devel, as per https://wiki.archlinux.org/title/Arch_User_Repository#Getting_started

LekKit commented on 2023-12-29 02:15 (UTC) (edited on 2023-12-29 02:16 (UTC) by LekKit)

Removed gcc and make from makedepends (they are in base-devel and always implicit make dependencies.

This didn't always work for me sadly when installing AUR packages on new systems - perhaps a bug in an AUR helper I'm using, so I'd prefer to explicitly include this makedepend (unless there is a better way around this?).

I've kept all the items in arch for now, though I honestly doubt the software will run on all these architectures (have you tested them all?).

ARM64 and RISC-V builds work just fine (albeit my test devices are slow, but for rendering a project with DI guitars worked perfectly well). No testing on 32-bit arches was done yet, remove if you wish - not that I like 32bits too much, just wanted portability on actual modern arches

@SpotlightKid, added you as a co-maintainer, completely agree with your other points

SpotlightKid commented on 2023-12-27 19:45 (UTC)

Hi, @LekKit, you beat me to the punch by just a few days in packaging neural-amp-modeler-lv2! :)

May I suggest a few improvements to the package:

https://cpaste.org/?cd9646394800f1b4#Bg7Ct2HXPs2DTTe2d1otZxTxvz3TuQhyPJggCS7UfnJC

  • Add depends=(gcc-libs glibc).
  • Removed gcc and make from makedepends (they are in base-devel and always implicit make dependencies.
  • Add git submodules to sources.
  • Change pkgver to get version from git describe.
  • Use out-of-tree build.
  • Install readme to docdir.
  • Use install instead of cp -r for installation (makes sure permissions are always correct).
  • Updated PKGBUILD syntax style to common practices in official repos.
  • I've kept all the items in arch for now, though I honestly doubt the software will run on all these architectures (have you tested them all?).

If you want, you can add me as a co-maintainer and I'll update the package.