Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 475620 - media-sound/mpg321 should depend on media-libs/alsa-lib - configure: error: "ALSA lib is required to compile mpg321."
Summary: media-sound/mpg321 should depend on media-libs/alsa-lib - configure: error: "...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
: 514626 580400 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-07-03 11:53 UTC by Dan Johansson
Modified: 2016-05-07 12:23 UTC (History)
4 users (show)

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


Attachments
config.log (config.log,45.17 KB, text/plain)
2014-11-02 21:43 UTC, Piotr Szymaniak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Johansson 2013-07-03 11:53:36 UTC
Trying to compile mpg321 without alsa-lib fails in the configure-step with the following error:

checking whether to enable ALSA... yes
checking for snd_mixer_selem_get_playback_volume in -lasound... no
configure: error: "ALSA lib is required to compile mpg321."

Adding "media-libs/alsa-lib" to (R)DEPEND solves the issue for me.


Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-07-03 13:08:16 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.
Comment 2 Piotr Szymaniak 2014-11-02 21:42:27 UTC
~ # emerge --info '=media-sound/mpg321-0.3.1-r1::gentoo'
Portage 2.2.14 (python 2.7.8-final-0, default/linux/amd64/13.0, gcc-4.9.1, glibc-2.19-r1, 3.11.1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.11.1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E4600_@_2.40GHz-with-gentoo-2.2
KiB Mem:     2047648 total,    729484 free
KiB Swap:    2097148 total,   2084964 free
Timestamp of tree: Sun, 02 Nov 2014 21:00:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
ccache version 3.1.10 [disabled]
app-shells/bash:          4.3_p30
dev-lang/perl:            5.20.1-r2
dev-lang/python:          2.7.8, 3.4.2
dev-util/ccache:          3.1.10
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.2
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.9.1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.3
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.17 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo roslin sunrise
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -mno-sse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=nocona -mno-sse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirror.pw.edu.pl/"
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/roslin /var/lib/layman/sunrise"
USE="amd64 mmx openmp openssl readline sse sse2 ssl threads udev unicode" ABI_X86="64" ELIBC="glibc" KERNEL="linux" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON


~ # emerge -pqv '=media-sound/mpg321-0.3.1-r1::gentoo'
[ebuild  N    ] media-libs/libmad-0.15.1b-r8  USE="-debug -static-libs" ABI_X86="(64) -32 (-x32)" 
[ebuild  N    ] media-libs/libid3tag-0.15.1b-r4  USE="-debug -static-libs" ABI_X86="(64) -32 (-x32)" 
[ebuild  N    ] app-admin/eselect-lib-bin-symlink-0.1.1 
[ebuild  N    ] media-libs/libao-1.2.0  USE="-alsa -mmap -nas -pulseaudio -static-libs" ABI_X86="(64) -32 (-x32)" 
[ebuild  N    ] app-admin/eselect-mpg123-0.1 
[ebuild  N    ] media-sound/mpg321-0.3.1-r1  USE="-ipv6"
Comment 3 Piotr Szymaniak 2014-11-02 21:43:42 UTC
Created attachment 388356 [details]
config.log
Comment 4 Michael Weber (RETIRED) gentoo-dev 2015-08-12 21:38:51 UTC
*** Bug 514626 has been marked as a duplicate of this bug. ***
Comment 5 Michael Weber (RETIRED) gentoo-dev 2015-08-12 21:41:30 UTC
commit b8c6db7e6b2033dc1d30bca8ba8edd8fc6f4c8c1
Author: Michael Weber <xmw@gentoo.org>
Date:   Wed Aug 12 23:39:47 2015 +0200

    media-sound/mpg321: Version bump (bug 444418), USE=alsa (bug 475620), format-security (bug 557132, thanks René Rhéaume).
    
    Package-Manager: portage-2.2.20.1

media-sound/mpg321/Manifest
media-sound/mpg321/files/mpg321-0.3.2-format-security.patch
media-sound/mpg321/mpg321-0.3.2.ebuild
Comment 6 Pacho Ramos gentoo-dev 2016-05-07 12:23:59 UTC
*** Bug 580400 has been marked as a duplicate of this bug. ***