Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 738176 - media-sound/alsamixergui-0.9.0.1.2-r4 : alsamixer.cxx: error: sys_siglist was not declared in this scope
Summary: media-sound/alsamixergui-0.9.0.1.2-r4 : alsamixer.cxx: error: sys_siglist was...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks: glibc-2.32
  Show dependency tree
 
Reported: 2020-08-20 11:09 UTC by Toralf Förster
Modified: 2020-12-28 20:12 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.37 KB, text/plain)
2020-08-20 11:09 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,273.65 KB, text/plain)
2020-08-20 11:09 UTC, Toralf Förster
Details
environment (environment,91.76 KB, text/plain)
2020-08-20 11:09 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,31.70 KB, application/x-bzip)
2020-08-20 11:09 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.48 KB, application/x-bzip)
2020-08-20 11:09 UTC, Toralf Förster
Details
media-sound:alsamixergui-0.9.0.1.2-r4:20200820-105758.log (media-sound:alsamixergui-0.9.0.1.2-r4:20200820-105758.log,52.69 KB, text/plain)
2020-08-20 11:09 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,27.49 KB, application/x-bzip)
2020-08-20 11:09 UTC, Toralf Förster
Details
proposed strsignal patch (alsamixergui-0.9.0.1.2-strsignal.patch,402 bytes, patch)
2020-11-27 03:04 UTC, Larry Pyeatt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-08-20 11:09:20 UTC
      |                    ^~~~~~~
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
Comment 1 Toralf Förster gentoo-dev 2020-08-20 11:09:22 UTC
Created attachment 655684 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-08-20 11:09:24 UTC
Created attachment 655686 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-08-20 11:09:26 UTC
Created attachment 655688 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-08-20 11:09:28 UTC
Created attachment 655690 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-08-20 11:09:29 UTC
Created attachment 655692 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-08-20 11:09:31 UTC
Created attachment 655694 [details]
media-sound:alsamixergui-0.9.0.1.2-r4:20200820-105758.log
Comment 7 Toralf Förster gentoo-dev 2020-08-20 11:09:32 UTC
Created attachment 655696 [details]
temp.tbz2
Comment 8 Larry Pyeatt 2020-11-27 02:30:20 UTC
sys_siglist[signal]

should be replaced with 

strsignal(signal)
Comment 9 Larry Pyeatt 2020-11-27 03:04:02 UTC
Created attachment 675235 [details, diff]
proposed strsignal patch

This patch made it work for me.
Comment 10 Jack 2020-12-06 01:01:48 UTC
Patch works for me. Thanks.
Comment 11 gevisz@gmail.com 2020-12-19 08:55:07 UTC
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....
Comment 12 Jack 2020-12-19 18:51:32 UTC
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.
Comment 13 Larry Pyeatt 2020-12-23 15:27:54 UTC
Since there are a couple of verifications that it works, I would like to update the ebuild.  How do I do that?
Comment 14 Larry Pyeatt 2020-12-23 17:18:52 UTC
Thanks. I did a pull request.
Comment 15 Larry the Git Cow gentoo-dev 2020-12-26 22:18:28 UTC
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(+)