Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525332 - media-libs/stk-4.4.4-r1: econf failed — configure:4751: error: ALSA support requires the asound library!
Summary: media-libs/stk-4.4.4-r1: econf failed — configure:4751: error: ALSA support r...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-13 19:46 UTC by Piotr Szymaniak
Modified: 2020-02-08 00:44 UTC (History)
5 users (show)

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


Attachments
config.log (config.log,25.72 KB, text/plain)
2014-10-13 19:47 UTC, Piotr Szymaniak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Szymaniak 2014-10-13 19:46:02 UTC
checking for socket... yes
checking for gettimeofday... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for audio API... using ALSA
checking for snd_pcm_open in -lasound... no
configure: error: ALSA support requires the asound library!

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-libs/stk-4.4.4-r1/work/stk-4.4.4/config.log
 * ERROR: media-libs/stk-4.4.4-r1::gentoo failed (configure phase):
 *   econf failed


~ # emerge --info '=media-libs/stk-4.4.4-r1::gentoo'
Portage 2.2.14_rc1 (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,    598812 free
KiB Swap:    2097148 total,   2088876 free
Timestamp of tree: Fri, 10 Oct 2014 20:30:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p53
dev-lang/perl:            5.20.1
dev-lang/python:          2.7.8, 3.4.1
dev-util/ccache:          3.1.9-r3
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.1
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.2-r1
sys-devel/make:           4.1
sys-kernel/linux-headers: 3.16 (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-libs/stk-4.4.4-r1::gentoo'
[ebuild  N    ] media-libs/stk-4.4.4-r1  USE="-alsa -debug -doc -jack -oss" 


Reproducible: Always
Comment 1 Piotr Szymaniak 2014-10-13 19:47:12 UTC
Created attachment 386620 [details]
config.log
Comment 2 Toralf Förster gentoo-dev 2016-11-30 09:24:59 UTC
still true
Comment 3 Pacho Ramos gentoo-dev 2018-02-20 14:53:54 UTC
can you retry with 4.5.1-r1?
Comment 4 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2018-12-15 00:48:04 UTC
(In reply to Pacho Ramos from comment #3)
> can you retry with 4.5.1-r1?

4.5.1-r1 still fails in configure.

configure:4771: x86_64-pc-linux-gnu-gcc -o conftest -march=native -mtune=native -O2 -pipe   -DHAVE_GETTIMEOFDAY -Wl,-O1 -Wl,--as-needed conftest.c -lasound  -lm  >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lasound
collect2: error: ld returned 1 exit status
configure:4771: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "STK"
| #define PACKAGE_TARNAME "stk"
| #define PACKAGE_VERSION "4.5.1"
| #define PACKAGE_STRING "STK 4.5.1"
| #define PACKAGE_BUGREPORT "gary@music.mcgill.ca"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TERMIO_H 1
| #define HAVE_UNISTD_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_LIBM 1
| #define HAVE_SELECT 1
| #define HAVE_SOCKET 1
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char snd_pcm_open ();
| int
| main ()
| {
| return snd_pcm_open ();
|   ;
|   return 0;
| }
configure:4780: result: no
configure:4790: error: ALSA support requires the asound library!
Comment 5 Miroslav Šulc gentoo-dev 2020-02-08 00:44:40 UTC
please test with 4.6.1. if the issue persists, please open a new bug and attach full build log and other info as specified after the build process if the build fails.