Package Details: ncpamixer 1.3.7-1

Git Clone URL: https://aur.archlinux.org/ncpamixer.git (read-only, click to copy)
Package Base: ncpamixer
Description: ncurses PulseAudio Mixer
Upstream URL: https://github.com/fulhax/ncpamixer
Licenses: MIT
Conflicts: ncpamixer-git
Provides: ncpamixer
Submitter: None
Maintainer: eddie_vs
Last Packager: eddie_vs
Votes: 31
Popularity: 0.168136
First Submitted: 2018-01-01 13:45 (UTC)
Last Updated: 2023-09-13 21:13 (UTC)

Latest Comments

1 2 Next › Last »

willemw commented on 2023-11-13 10:26 (UTC)

This packages (a package without -git, -bin, etc.) should not have a conflicts and provides array.

xdavidwu commented on 2021-09-13 05:21 (UTC)

This should conflicts but not replaces ncpamixer-git. Replaces is for marking old package as obsolete and make pacman migrate to the new one automatically.

See ArchWiki PKGBUILD#replaces

sQVe commented on 2020-09-15 14:17 (UTC)

This package is now updated and building fine. Sorry about the delay.

Kr1ss commented on 2020-09-12 12:18 (UTC) (edited on 2020-09-12 12:18 (UTC) by Kr1ss)

There's a patch posted below by @fx101. Have you tried that @hoobhoober115 ?

Err, and btw the solution to fix a broken package is not to request its deletion IMHO.

hoobhoober115 commented on 2020-09-12 09:39 (UTC)

doesn't build

-- Build files have been written to: /home/mother/.cache/yay/ncpamixer/src/ncpamixer-1.3.3 Scanning dependencies of target ncpamixer [ 5%] Building CXX object CMakeFiles/ncpamixer.dir/pulsemixer.cpp.o [ 10%] Building CXX object CMakeFiles/ncpamixer.dir/pa_object.cpp.o [ 15%] Building CXX object CMakeFiles/ncpamixer.dir/pa_card.cpp.o [ 21%] Building CXX object CMakeFiles/ncpamixer.dir/pa_sink.cpp.o [ 26%] Building CXX object CMakeFiles/ncpamixer.dir/pa_input.cpp.o [ 31%] Building CXX object CMakeFiles/ncpamixer.dir/pa_source.cpp.o [ 36%] Building CXX object CMakeFiles/ncpamixer.dir/pa_source_output.cpp.o [ 42%] Building CXX object CMakeFiles/ncpamixer.dir/pa.cpp.o In file included from /usr/include/string.h:519, from /usr/include/c++/10.2.0/cstring:42, from /home/mother/.cache/yay/ncpamixer/src/ncpamixer-1.3.3/src/pa.cpp:5: In function ‘char strncpy(char, const char, size_t)’, inlined from ‘void Pa::update_input(const pa_sink_input_info)’ at /home/mother/.cache/yay/ncpamixer/src/ncpamixer-1.3.3/src/pa.cpp:466:16: /usr/include/bits/string_fortified.h:106:34: error: ‘char __builtin_strncpy(char, const char, long unsigned int)’ specified bound 255 equals destination size [-Werror=stringop-truncation] 106 | return __builtinstrncpychk (dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: all warnings being treated as errors make[2]: [CMakeFiles/ncpamixer.dir/build.make:173: CMakeFiles/ncpamixer.dir/pa.cpp.o] Error 1 make[1]: ** [CMakeFiles/Makefile2:123: CMakeFiles/ncpamixer.dir/all] Error 2 make: [Makefile:149: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... error making: ncpamixer

there goes any chances of me ever using this i guess

fx101 commented on 2020-08-31 08:38 (UTC) (edited on 2020-08-31 08:38 (UTC) by fx101)

@khalil2535 my patch below fixes your issue if you want to use it in the meantime.

khalil2535 commented on 2020-08-31 08:36 (UTC)

hope it would get fixed soon.


==> Starting build()...
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- 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
-- Looking for wsyncup in /usr/lib/libcurses.so
-- Looking for wsyncup in /usr/lib/libcurses.so - found
-- Looking for cbreak in /usr/lib/libncurses.so
-- Looking for cbreak in /usr/lib/libncurses.so - found
-- Found Curses: /usr/lib/libncurses.so
-- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE
-- Got version -- Configuring done -- Generating done -- Build files have been written to: /home/khalil2535/.cache/yay/ncpamixer/src/ncpamixer-1.3.3 Scanning dependencies of target ncpamixer [ 5%] Building CXX object CMakeFiles/ncpamixer.dir/pulsemixer.cpp.o [ 10%] Building CXX object CMakeFiles/ncpamixer.dir/pa_object.cpp.o [ 15%] Building CXX object CMakeFiles/ncpamixer.dir/pa_card.cpp.o [ 21%] Building CXX object CMakeFiles/ncpamixer.dir/pa_sink.cpp.o [ 26%] Building CXX object CMakeFiles/ncpamixer.dir/pa_input.cpp.o [ 31%] Building CXX object CMakeFiles/ncpamixer.dir/pa_source.cpp.o [ 36%] Building CXX object CMakeFiles/ncpamixer.dir/pa_source_output.cpp.o [ 42%] Building CXX object CMakeFiles/ncpamixer.dir/pa.cpp.o In file included from /usr/include/string.h:519, from /usr/include/c++/10.2.0/cstring:42, from /home/khalil2535/.cache/yay/ncpamixer/src/ncpamixer-1.3.3/src/pa.cpp:5: In function 'char strncpy(char, const char, size_t)', inlined from 'void Pa::update_input(const pa_sink_input_info)' at /home/khalil2535/.cache/yay/ncpamixer/src/ncpamixer-1.3.3/src/pa.cpp:466:16: /usr/include/bits/string_fortified.h:106:34: error: 'char __builtin_strncpy(char, const char, long unsigned int)' specified bound 255 equals destination size [-Werror=stringop-truncation] 106 | return __builtinstrncpychk (dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: all warnings being treated as errors make[2]: [CMakeFiles/ncpamixer.dir/build.make:173: CMakeFiles/ncpamixer.dir/pa.cpp.o] Error 1 make[1]: ** [CMakeFiles/Makefile2:123: CMakeFiles/ncpamixer.dir/all] Error 2 make: [Makefile:149: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... error making: ncpamixer

fx101 commented on 2020-08-28 09:52 (UTC) (edited on 2020-08-28 09:53 (UTC) by fx101)

This package is currently broken due to some pedantic errors in the latest GCC. Also, 1.3.3.1 is out now. Here's a patch to address the first issue:

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 72bc495..e67d859 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -76,9 +76,6 @@ target_link_libraries(${CMAKE_PROJECT_NAME}
     ${CMAKE_THREAD_LIBS_INIT}
     )

-target_compile_options(${CMAKE_PROJECT_NAME} PUBLIC "-Werror")
-target_compile_options(${CMAKE_PROJECT_NAME} PUBLIC "-Wall")
-target_compile_options(${CMAKE_PROJECT_NAME} PUBLIC "-Wpedantic")

And here's the git diff for the SHA256sum and patching modifications needed for PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index 4a2e5b1..6ac73d7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: sQVe <oskargrunning@gmail.com>

 pkgname=ncpamixer
-pkgver=1.3.3
+pkgver=1.3.3.1
 pkgrel=1
 pkgdesc='ncurses PulseAudio Mixer'
 url='https://github.com/fulhax/ncpamixer'
@@ -12,8 +12,13 @@ makedepends=('git' 'cmake')
 provides=('ncpamixer')
 replaces=('ncpamixer-git')
 conflicts=('ncpamixer-git')
-source=("https://github.com/fulhax/${pkgname}/archive/${pkgver}.tar.gz")
-sha256sums=('a9f5385e06de4d5554030cc41c111d08d2bd1488140f260f10aec27369475c5f')
+source=("https://github.com/fulhax/${pkgname}/archive/${pkgver}.tar.gz" "fix_pedantic_errors.patch")
+sha256sums=('b2c797a90c92aa931052c5ac89a79fbc30f76d5e2a5b773ef68edf057c34b060' '6d53e5c17db8e0de5f848710493127c3f1e16606da1d3a66b9463f87e3dec341')
+
+prepare() {
+    cd "$srcdir/$pkgname-$pkgver"
+    patch -p1 --forward --input="$srcdir/fix_pedantic_errors.patch"
+}

 build() {
   cd "$srcdir/$pkgname-$pkgver"