Build Failure: Jamesdsp

by ADMIN 24 views

Introduction

This article discusses a build failure in the jamesdsp package, which is part of the nixos-unstable channel. The build failure is reproducible and has been reported on the NixOS GitHub issue tracker. In this article, we will delve into the details of the build failure, including the relevant log output, system metadata, and additional context.

Nixpkgs Version

The Nixpkgs version used in this build is 25.05, which is the unstable version.

Steps to Reproduce

To reproduce this build failure, follow these steps:

  1. Run the command nix build github:nixos/nixpkgs/nixos-unstable#jamesdsp

Can Hydra Reproduce This Build Failure?

Yes, Hydra can reproduce this build failure.

Link to Hydra Build Job

The link to the Hydra build job is: https://hydra.nixos.org/build/291899616

Relevant Log Output

The relevant log output from the build failure is as follows:

Running phase: qmakePrePhase
@nix { "action": "setPhase", "phase": "qmakePrePhase" }
Running phase: qtPreHook
@nix { "action": "setPhase", "phase": "qtPreHook" }
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/7z6vyin837llzfswjg877av13fg7zgrz-source
source root is source
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
QMAKEPATH=/nix/store/5axv6qs5lw2kbnq3b89ksplrc8ga71wc-qtbase-6.8.2-dev:/nix/store/00dn0wh9afy98xja69p7i404jgznfkdk-qtbase-6.8.2:/nix/store/65105k00nj95gl5g004xmk4r4vyc555j-qtsvg-6.8.2-dev:/nix/store/d46mnr8pklv39>
qmake PREFIX=/nix/store/z2rx6q7ha7qgw0x3g2migsnd2pfarfhz-jamesdsp-2.7.0 NIX_OUTPUT_OUT=/nix/store/z2rx6q7ha7qgw0x3g2migsnd2pfarfhz-jamesdsp-2.7.0 NIX_OUTPUT_DEV=/nix/store/z2rx6q7ha7qgw0x3g2migsnd2pfarfhz-jamesds>
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
Info: creating stash file /build/source/.qmake.stash
qmake: enabled parallel building
qmake: enabled parallel installing
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
build flags: -j16 SHELL=/nix/store/ki4if6b0w5bqv8dc5lrjp8xm7wjy9dlf-bash-5.2p37/bin/bash
cd libjamesdsp/ && ( test -e Makefile || /nix/store/00dn0wh9afy98xja69p7i404jgznfkdk-qtbase-6.8.2/bin/qmake -o Makefile /build/source/libjamesdsp/libjamesdsp.pro PREFIX=/nix/store/z2rx6q7ha7qgw0x3g2migsnd2pfarfhz>
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
make[1]: Entering directory '/build/source/libjamesdsp'
gcc -c -pipe -std=gnu11 -O2 -O2 -fPIC -w -D_REENTRANT -DLIBJAMESDSP_PLUGIN -DCUSTOM_CMD -Dprintf=redirected_printf -DANDROID_LOG_INFO=0 -DDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -I. -Isubtree/Main/libjamesdsp/jni/james>
gcc -c -pipe -std=gnu11 -O2 -O2 -fPIC -w -D_REENTRANT -DLIBJAMESDSP_PLUGIN -DCUSTOM_CMD -Dprintf=redirected_printf -DANDROID_LOG_INFO=0 -DDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -I. -Isubtree/Main/libjamesdsp/jni/james>
...
../3rdparty/qtpromise/include/../src/qtpromise/qpromise_p.h:504:17: note: '<anonymous>' declared here
  504 |         m_value = PromiseValue<T>{std::forward<V>(value)};
      |         ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In member function 'void QSharedPointer<T>::deref() [with T = AeqVersion]',
    inlined from 'QSharedPointer<T>::~QSharedPointer() [with T = AeqVersion]' at /nix/store/00dn0wh9afy98xja69p7i404jgznfkdk-qtbase-6.8.2/include/QtCore/qsharedpointer_impl.h:284:30,
    inlined from 'static QSharedPointer<T> QSharedPointer<T>::create(Args&& ...) [with Args = {const AeqVersion&}; T = AeqVersion]' at /nix/store/00dn0wh9afy98xja69p7i404jgznfkdk-qtbase-6.8.2/include/QtCore/qsharedpoint>
    inlined from 'QtPromisePrivate::PromiseValue<T>::PromiseValue(const T&) [with T = AeqVersion]' at ../3rdparty/qtpromise/include/../src/qtpromise/qpromise_p.h:95:35,
    inlined from 'void QtPromisePrivate::PromiseData<T>::resolve(V&&) [with V = const AeqVersion&; T = AeqVersion]' at ../3rdparty/qtpromise/include/../src/qtpromise/qpromise_p.h:504:17,
    inlined from 'void QtPromisePrivate::PromiseResolver<T>::resolve(V&&) [with V = const AeqVersion&; T = AeqVersion]' at ../3rdparty/qtpromise/include/../src/qtpromise/qpromiseresolver.h:62:34,
    inlined from 'void QtPromise::QPromiseResolve<T>::operator()(V&&) const [with V = const AeqVersion&; T = AeqVersion]' at ../3rdparty/qtpromise/include/../src/qtpromise/qpromiseresolver.h:110:27,
    inlined from 'AeqPackageManager::isUpdateAvailable()::<lambda(const QtPromise::QPromiseResolve<AeqVersion>&, const QtPromise::QPromiseReject<AeqVersion>&)>::<lambda()>::<lambda(AeqVersion)>::<lambda(AeqVersio>
    inlined from 'static void QtPromisePrivate::PromiseDispatch<void>::call(const Resolve&, const Reject&, Functor, Args&& ...) [with Resolve = QtPromise::QPromiseResolve<void>; Reject = QtPromise::QPromiseReject>
    inlined from 'QtPromisePrivate::PromiseHandler<AeqVersion, AeqPackageManager::isUpdateAvailable()::<lambda(const QtPromise::QPromiseResolve<AeqVersion>&, const QtPromise::QPromiseReject<AeqVersion>&)>::<lambd>
    inlined from 'constexpr _Res std::__invoke_impl(__invoke_other, _Fn&&, _Args&& ...) [with _Res = void; _Fn = QtPromisePrivate::PromiseHandler<AeqVersion, AeqPackageManager::isUpdateAvailable()::<lambda(const >
    inlined from 'constexpr std::enable_if_t<((bool)is_invocable_r_v<_Res, _Callable, _Args ...>), _Res> std::__invoke_r(_Callable&&, _Args&& ...) [with _Res = void; _Callable = QtPromisePrivate::PromiseHandler<A>
    inlined from 'static _Res std::_Function_handler<_Res(_ArgTypes ...), _Functor>::_M_invoke(const std::_Any_data&, _ArgTypes&& ...) [with _Res = void; _Functor = QtPromisePrivate::PromiseHandler<AeqVersion, Ae>
/nix/store/00dn0wh9afy98xja69p7i404jgznfkdk-qtbase-6.8.2/include/QtCore/qsharedpointer_impl.h:471:12: warning: '<unnamed>.QtPromisePrivate::PromiseValue<AeqVersion>::m_data.QSharedPointer<AeqVersion>::d' may be u<br/>
**Q&A: Build Failure in jamesdsp Package**

**Q: What is the issue with the jamesdsp package?**

A: The jamesdsp package is experiencing a build failure, which is reproducible and has been reported on the NixOS GitHub issue tracker.

**Q: What is the Nixpkgs version used in this build?**

A: The Nixpkgs version used in this build is 25.05, which is the unstable version.

**Q: How can I reproduce this build failure?**

A: To reproduce this build failure, run the command `nix build github:nixos/nixpkgs/nixos-unstable#jamesdsp`.

**Q: Can Hydra reproduce this build failure?**

A: Yes, Hydra can reproduce this build failure.

**Q: What is the link to the Hydra build job?**

A: The link to the Hydra build job is: https://hydra.nixos.org/build/291899616

**Q: What is the relevant log output from the build failure?**

A: The relevant log output from the build failure is as follows:

```console
Running phase: qmakePrePhase
@nix { "action": "setPhase", "phase": "qmakePrePhase" }
Running phase: qtPreHook
@nix { "action": "setPhase", "phase": "qtPreHook" }
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/7z6vyin837llzfswjg877av13fg7zgrz-source
source root is source
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
QMAKEPATH=/nix/store/5axv6qs5lw2kbnq3b89ksplrc8ga71wc-qtbase-6.8.2-dev:/nix/store/00dn0wh9afy98xja69p7i404jgznfkdk-qtbase-6.8.2:/nix/store/65105k00nj95gl5g004xmk4r4vyc555j-qtsvg-6.8.2-dev:/nix/store/d46mnr8pklv39>
qmake PREFIX=/nix/store/z2rx6q7ha7qgw0x3g2migsnd2pfarfhz-jamesdsp-2.7.0 NIX_OUTPUT_OUT=/nix/store/z2rx6q7ha7qgw0x3g2migsnd2pfarfhz-jamesdsp-2.7.0 NIX_OUTPUT_DEV=/nix/store/z2rx6q7ha7qgw0x3g2migsnd2pfarfhz-jamesds>
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
Info: creating stash file /build/source/.qmake.stash
qmake: enabled parallel building
qmake: enabled parallel installing
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
build flags: -j16 SHELL=/nix/store/ki4if6b0w5bqv8dc5lrjp8xm7wjy9dlf-bash-5.2p37/bin/bash
cd libjamesdsp/ && ( test -e Makefile || /nix/store/00dn0wh9afy98xja69p7i404jgznfkdk-qtbase-6.8.2/bin/qmake -o Makefile /build/source/libjamesdsp/libjamesdsp.pro PREFIX=/nix/store/z2rx6q7ha7qgw0x3g2migsnd2pfarfhz>
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
make[1]: Entering directory '/build/source/libjamesdsp'
gcc -c -pipe -std=gnu11 -O2 -O2 -fPIC -w -D_REENTRANT -DLIBJAMESDSP_PLUGIN -DCUSTOM_CMD -Dprintf=redirected_printf -DANDROID_LOG_INFO=0 -DDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -I. -Isubtree/Main/libjamesdsp/jni/james>
gcc -c -pipe -std=gnu11 -O2 -O2 -fPIC -w -D_REENTRANT -DLIBJAMESDSP_PLUGIN -DCUSTOM_CMD -Dprintf=redirected_printf -DANDROID_LOG_INFO=0 -DDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -I. -Isubtree/Main/libjamesdsp/jni/james>
...
../3rdparty/qtpromise/include/../src/qtpromise/qpromise_p.h:504:17: note: '<anonymous>' declared here
  504 |         m_value = PromiseValue<T>{std::forward<V>(value)};
      |         ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In member function 'void QSharedPointer<T>::deref() [with T = AeqVersion]',
    inlined from 'QSharedPointer<T>::~QSharedPointer() [with T = AeqVersion]' at /nix/store/00dn0wh9afy98xja69p7i404jgznfkdk-qtbase-6.8.2/include/QtCore/qsharedpointer_impl.h:284:30,
    inlined from 'static QSharedPointer<T> QSharedPointer<T>::create(Args&& ...) [with Args = {const AeqVersion&}; T = AeqVersion]' at /nix/store/00dn0wh9afy98xja69p7i404jgznfkdk-qtbase-6.8.2/include/QtCore/qsharedpoint>
    inlined from 'QtPromisePrivate::PromiseValue<T>::PromiseValue(const T&) [with T = AeqVersion]' at ../3rdparty/qtpromise/include/../src/qtpromise/qpromise_p.h:95:35,
    inlined from 'void QtPromisePrivate::PromiseData<T>::resolve(V&&) [with V = const AeqVersion&; T = AeqVersion]' at ../3rdparty/qtpromise/include/../src/qtpromise/qpromise_p.h:504:17,
    inlined from 'void QtPromisePrivate::PromiseResolver<T>::resolve(V&&) [with V = const AeqVersion&; T = AeqVersion]' at ../3rdparty/qtpromise/include/../src/qtpromise/qpromiseresolver.h:62:34,
    inlined from 'void QtPromise::QPromiseResolve<T>::operator()(V&&) const [with V = const AeqVersion&; T = AeqVersion]' at ../3rdparty/qtpromise/include/../src/qtpromise/qpromiseresolver.h:110:27,
    inlined from 'AeqPackageManager::isUpdateAvailable()::<lambda(const QtPromise::QPromiseResolve<AeqVersion>&, const QtPromise::QPromiseReject<AeqVersion>&)>::<lambda()>::<lambda(AeqVersion)>::<lambda(AeqVersio>
    inlined from 'static void QtPromisePrivate::PromiseDispatch<void>::call(const Resolve&, const Reject&, Functor, Args&& ...) [with Resolve = QtPromise::QPromiseResolve<void>; Reject = QtPromise::QPromiseReject>
    inlined from 'QtPromisePrivate::PromiseHandler<AeqVersion, AeqPackageManager::isUpdateAvailable()::<lambda(const QtPromise::QPromiseResolve<AeqVersion>&, const QtPromise::QPromiseReject<AeqVersion>&)>::<lambd>
    inlined from 'constexpr _Res std::__invoke_impl(__invoke_other, _Fn&&, _Args&& ...) [with _Res = void; _Fn = QtPromisePrivate::PromiseHandler<AeqVersion, AeqPackageManager::isUpdateAvailable()::<lambda(const >
    inlined from 'constexpr std::enable_if_t<((bool)is_invocable_r_v<_Res, _Callable, _Args ...>), _Res> std::__invoke_r(_Callable&&, _Args&& ...) [with _Res = void; _Callable = QtPromisePrivate::PromiseHandler<A>
    inlined from 'static _Res std::_Function_handler<_Res(_ArgTypes ...), _Functor>::_M_invoke(const std::_Any_data&, _ArgTypes&& ...) [with _Res = void; _Functor = QtPromisePrivate::PromiseHandler<AeqVersion, Ae>
/nix/store/00dn0wh9afy98xja69p7i404jgznfkdk-qtbase-6.8.2/include/QtCore/qsharedpointer_impl.h:471:12: warning: '<unnamed>.QtPromisePrivate::PromiseValue<AeqVersion>::m_data.QSharedPointer<Aeq