| ^~~~~~~ alsamixer.cxx: In function ‘void mixer_signal_handler(int)’: alsamixer.cxx:2084:30: error: ‘sys_siglist’ was not declared in this scope 2084 | mixer_abort (ERR_SIGNAL, sys_siglist[signal], 0); | ^~~~~~~~~~~ make[2]: *** [Makefile:403: alsamixer.o] Error 1 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_developer-20200813-172142 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-10.2.0 * clang version 10.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.1 Available Python interpreters, in order of preference: [1] python3.7 [2] python3.9 (fallback) [3] python3.8 (fallback) [4] python3.6 (fallback) [5] python2.7 (fallback) [6] pypy3 (fallback) Available Ruby profiles: [1] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.45.2 * The following VMs are available for generation-2: 1) IcedTea JDK 3.16.0 [icedtea-8] *) IcedTea JDK 3.16.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-8 [2] icedtea-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.8.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Thu Aug 20 10:05:33 AM UTC 2020 emerge -qpvO media-sound/alsamixergui [ebuild N ] media-sound/alsamixergui-0.9.0.1.2-r4
Created attachment 655684 [details] emerge-info.txt
Created attachment 655686 [details] emerge-history.txt
Created attachment 655688 [details] environment
Created attachment 655690 [details] etc.portage.tbz2
Created attachment 655692 [details] logs.tbz2
Created attachment 655694 [details] media-sound:alsamixergui-0.9.0.1.2-r4:20200820-105758.log
Created attachment 655696 [details] temp.tbz2
sys_siglist[signal] should be replaced with strsignal(signal)
Created attachment 675235 [details, diff] proposed strsignal patch This patch made it work for me.
Patch works for me. Thanks.
The same problem here, on completely stable new AMD64 Gentoo intstallation two 2 after the problem has actually been solved. So, why broken ebuild is still in the stable portage tree? alsamixer.cxx: In function ‘void mixer_signal_handler(int)’: alsamixer.cxx:2084:30: error: ‘sys_siglist’ was not declared in this scope 2084 | mixer_abort (ERR_SIGNAL, sys_siglist[signal], 0); | ^~~~~~~~~~~ make[2]: *** [Makefile:403: alsamixer.o] Error 1 make[2]: *** Waiting for unfinished jobs....
Did you put the patch under /etc/portage/patches? The patch exists and works, but has (obviously?) not been added to the tree yet. The current ebuild works fine with the patch, and as it's the only version in the tree, there's no point in removing it until someone creates a new version including the patch.
Since there are a couple of verifications that it works, I would like to update the ebuild. How do I do that?
Thanks. I did a pull request.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecd2764588b988e6a82ca122296ded6158bcc412 commit ecd2764588b988e6a82ca122296ded6158bcc412 Author: Larry Pyeatt <larry.pyeatt@sdsmt.edu> AuthorDate: 2020-12-23 16:31:05 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-12-26 22:16:59 +0000 media-sound/alsamixergui: strsignal patch for bug #738176 Closes: https://bugs.gentoo.org/738176 Suggested-by: Larry Pyeatt <larry.pyeatt@sdsmt.edu> Signed-off-by: Larry Pyeatt <larry.pyeatt@sdsmt.edu> Closes: https://github.com/gentoo/gentoo/pull/18786 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> media-sound/alsamixergui/alsamixergui-0.9.0.1.2-r4.ebuild | 1 + .../files/alsamixergui-0.9.0.1.2-strsignal.patch | 13 +++++++++++++ 2 files changed, 14 insertions(+)