Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Alsamixergui doesnot compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
poe_1957
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2018
Posts: 96
Location: Mortsel

PostPosted: Mon Nov 30, 2020 11:46 am    Post subject: Alsamixergui doesnot compile Reply with quote

With the latest sync i got a problem when i did a recompile of everything : (emerge -avueDNU --with-bdeps=y @world

Code:
Portage 3.0.9 (python 3.7.9-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-9.3.0, glibc-2.32-r2, 5.4.72-gentooSYSTEMD_ZEN_201201 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.72-gentooSYSTEMD_ZEN_201201-x86_64-AMD_Ryzen_9_3900X_12-Core_Processor-with-gentoo-2.7
KiB Mem:    32818080 total,  27506756 free
KiB Swap:   43482108 total,  43482108 free
Timestamp of repository gentoo: Sat, 28 Nov 2020 14:00:01 +0000
Head commit of repository gentoo: 1ad4eab41481da0d7700a51608f53d66990d5a26
sh bash 5.0_p18
ld GNU ld (Gentoo 2.34 p6) 2.34.0
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r4::gentoo, 3.7.9::gentoo, 3.8.6::gentoo, 3.9.0::gentoo
dev-util/cmake:           3.17.4-r1::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2-r1::gentoo
sys-devel/binutils:       2.34-r2::gentoo
sys-devel/gcc:            9.3.0-r1::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r2::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/conf.d/xdm /etc/locale.gen /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=znver2 -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=znver2 -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=znver2 -O2 -pipe"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ https://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo https://ftp.snt.utwente.nl/pub/os/linux/gentoo rsync://ftp.snt.utwente.nl/gentoo"
LANG="nl_BE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="nl_BE.UTF-8 en nl"
MAKEOPTS="-j24"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr emboss encode eudev exif flac fortran gdbm gif gles2 gpm gtk gui iconv icu ipv6 jpeg kde kipi kwallet lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt5 readline sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vaapi vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput evdev" KERNEL="linux" L10N="nl_BE.utf-8 en_US en_GB de_DE nl fr de en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-sound/alsamixergui-0.9.0.1.2-r4::gentoo was built with the following:
USE="" ABI_X86="(64)"



In the boot code everything seems ok :
Code:
nov 30 00:13:18 POERYZEN kernel: ledtrig-cpu: registered to indicate activity on CPUs
nov 30 00:13:18 POERYZEN kernel: EFI Variables Facility v0.08 2004-May-17
nov 30 00:13:18 POERYZEN kernel: pstore: Registered efi as persistent store backend
nov 30 00:13:18 POERYZEN kernel: hidraw: raw HID events driver (C) Jiri Kosina
nov 30 00:13:18 POERYZEN kernel: usbcore: registered new interface driver usbhid
nov 30 00:13:18 POERYZEN kernel: usbhid: USB HID core driver
nov 30 00:13:18 POERYZEN kernel: snd_hda_intel 0000:12:00.4: enabling device (0000 -> 0002)
nov 30 00:13:18 POERYZEN kernel: ipip: IPv4 and MPLS over IPv4 tunneling driver
nov 30 00:13:18 POERYZEN kernel: Initializing XFRM netlink socket
nov 30 00:13:18 POERYZEN kernel: NET: Registered protocol family 10
nov 30 00:13:18 POERYZEN kernel: snd_hda_intel 0000:10:00.1: bound 0000:10:00.0 (ops 0xffffffff83040300)
nov 30 00:13:18 POERYZEN kernel: Segment Routing with IPv6
nov 30 00:13:18 POERYZEN kernel: sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
nov 30 00:13:18 POERYZEN kernel: NET: Registered protocol family 17
nov 30 00:13:18 POERYZEN kernel: NET: Registered protocol family 15
nov 30 00:13:18 POERYZEN kernel: input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.1/0000:0e:00.0/0000:0f:00.0/0000:10:00.1/sound/card0/input2
nov 30 00:13:18 POERYZEN kernel: Bluetooth: RFCOMM TTY layer initialized
nov 30 00:13:18 POERYZEN kernel: input: HD-Audio Generic HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.1/0000:0e:00.0/0000:0f:00.0/0000:10:00.1/sound/card0/input3
nov 30 00:13:18 POERYZEN kernel: snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC1220: line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line
nov 30 00:13:18 POERYZEN kernel: snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
nov 30 00:13:18 POERYZEN kernel: snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
nov 30 00:13:18 POERYZEN kernel: microcode: CPU9: patch_level=0x08701021
nov 30 00:13:18 POERYZEN kernel: microcode: CPU10: patch_level=0x08701021
nov 30 00:13:18 POERYZEN kernel: snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
nov 30 00:13:18 POERYZEN kernel: microcode: CPU11: patch_level=0x08701021
nov 30 00:13:18 POERYZEN kernel: snd_hda_codec_realtek hdaudioC1D0:    dig-out=0x1e/0x0
nov 30 00:13:18 POERYZEN kernel: microcode: CPU12: patch_level=0x08701021
nov 30 00:13:18 POERYZEN kernel: snd_hda_codec_realtek hdaudioC1D0:    inputs:
nov 30 00:13:18 POERYZEN kernel: microcode: CPU13: patch_level=0x08701021
nov 30 00:13:18 POERYZEN kernel: snd_hda_codec_realtek hdaudioC1D0:      Front Mic=0x19
nov 30 00:13:18 POERYZEN kernel: microcode: CPU14: patch_level=0x08701021
nov 30 00:13:18 POERYZEN kernel: snd_hda_codec_realtek hdaudioC1D0:      Rear Mic=0x18
nov 30 00:13:18 POERYZEN kernel: microcode: CPU15: patch_level=0x08701021
nov 30 00:13:18 POERYZEN kernel: snd_hda_codec_realtek hdaudioC1D0:      Line=0x1a
nov 30 00:13:18 POERYZEN kernel: input: HD-Audio Generic Front Mic as /devices/pci0000:00/0000:00:08.1/0000:12:00.4/sound/card1/input8
nov 30 00:13:18 POERYZEN kernel: zswap: loaded using pool lzo/zbud
nov 30 00:13:18 POERYZEN kernel: input: HD-Audio Generic Rear Mic as /devices/pci0000:00/0000:00:08.1/0000:12:00.4/sound/card1/input9
nov 30 00:13:18 POERYZEN kernel: Key type ._fscrypt registered
nov 30 00:13:18 POERYZEN kernel: input: HD-Audio Generic Line as /devices/pci0000:00/0000:00:08.1/0000:12:00.4/sound/card1/input10
nov 30 00:13:18 POERYZEN kernel: Key type .fscrypt registered
nov 30 00:13:18 POERYZEN kernel: input: HD-Audio Generic Line Out Front as /devices/pci0000:00/0000:00:08.1/0000:12:00.4/sound/card1/input11
nov 30 00:13:18 POERYZEN kernel: pstore: Using crash dump compression: deflate
nov 30 00:13:18 POERYZEN kernel: input: HD-Audio Generic Line Out Surround as /devices/pci0000:00/0000:00:08.1/0000:12:00.4/sound/card1/input12
nov 30 00:13:18 POERYZEN kernel: printk: console [netcon0] enabled
nov 30 00:13:18 POERYZEN kernel: input: HD-Audio Generic Line Out CLFE as /devices/pci0000:00/0000:00:08.1/0000:12:00.4/sound/card1/input13
nov 30 00:13:18 POERYZEN kernel: netconsole: network logging started
nov 30 00:13:18 POERYZEN kernel: hctosys: unable to open rtc device (rtc0)
nov 30 00:13:18 POERYZEN kernel: input: HD-Audio Generic Front Headphone as /devices/pci0000:00/0000:00:08.1/0000:12:00.4/sound/card1/input14


Until here :
Code:
nov 30 00:13:38 POERYZEN kernel: snd_hda_intel 0000:10:00.1: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.
nov 30 00:13:38 POERYZEN kernel: kmixctrl[1298]: segfault at 0 ip 0000000000000000 sp 00007ffe972a09a8 error 14 in kmixctrl[56041de01000+2000]
nov 30 00:13:38 POERYZEN kernel: Code: Bad RIP value.

The suggestion for bigger bdl_pos_adj. : where do I do this ?
_________________
Linuxpioneer
ALUG
Back to top
View user's profile Send private message
Zucca
Veteran
Veteran


Joined: 14 Jun 2007
Posts: 1868
Location: KUUSANKOSKI, Finland

PostPosted: Mon Nov 30, 2020 12:37 pm    Post subject: Reply with quote

Try to add "snd_hda_intel.bdl_pos_adj=-1,64" to the kernel command line for example.
If it does not work try other values in place of 64, preferably ones matching powers of 2 (2, 4, 8 and so on).
_________________
..: Zucca :..

Code:
ERROR: '--failure' is not an option. Aborting...
Back to top
View user's profile Send private message
poe_1957
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2018
Posts: 96
Location: Mortsel

PostPosted: Sun Dec 06, 2020 4:26 pm    Post subject: Reply with quote

This is the warnings (+100) i get when i compile it:
Code:
images/rec1.xpm:4:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    4 | "  c None",
      | ^~~~~~~~~~

It seems to me a problem in the sourcecode.
Also :
Code:
Fl_AM.cxx: In function ‘void gui_abort(const char*)’:
Fl_AM.cxx:154:20: warning: format not a string literal and no format arguments [-Wformat-security]
  154 |   fl_alert(errorstr);
      |                    ^
Fl_AM.cxx: In constructor ‘Fl_AMHelpWindow::Fl_AMHelpWindow()’:
Fl_AM.cxx:342:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  342 |  mixer_show_text ("Help", mixer_help_text,0,0);

Code:
make[2]: Leaving directory '/var/tmp/portage/media-sound/alsamixergui-0.9.0.1.2-r4/work/alsamixergui-0.9.0rc1-2/src'
make[1]: *** [Makefile:287: all] Error 2
make[1]: Leaving directory '/var/tmp/portage/media-sound/alsamixergui-0.9.0.1.2-r4/work/alsamixergui-0.9.0rc1-2/src'
make: *** [Makefile:344: all-recursive] Error 1
 * ERROR: media-sound/alsamixergui-0.9.0.1.2-r4::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-sound/alsamixergui-0.9.0.1.2-r4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-sound/alsamixergui-0.9.0.1.2-r4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-sound/alsamixergui-0.9.0.1.2-r4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/alsamixergui-0.9.0.1.2-r4/temp/environment'.
 * Working directory: '/var/tmp/portage/media-sound/alsamixergui-0.9.0.1.2-r4/work/alsamixergui-0.9.0rc1-2'
 * S: '/var/tmp/portage/media-sound/alsamixergui-0.9.0.1.2-r4/work/alsamixergui-0.9.0rc1-2'

>>> Failed to emerge media-sound/alsamixergui-0.9.0.1.2-r4, Log file:

>>>  '/var/tmp/portage/media-sound/alsamixergui-0.9.0.1.2-r4/temp/build.log'

 * Messages for package media-sound/alsamixergui-0.9.0.1.2-r4:

 * ERROR: media-sound/alsamixergui-0.9.0.1.2-r4::gentoo failed (compile phase):
 *   emake failed


Can someone look at this please ?
warning: ISO C++ forbids converting a string constant to ‘char*
All other packages compile fine. So it is not a config problem in my system but a problem in the package media-sound/alsamixergui-0.9.0.1.2-r4
_________________
Linuxpioneer
ALUG
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 16491

PostPosted: Sun Dec 06, 2020 8:37 pm    Post subject: Reply with quote

The warning means what it says. The file is compiled in C++ mode, and is performing a disallowed conversion. Yes, this is a bug. However, that is only a warning, so it will not abort the build.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum