Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 323975 - media-sound/cmus-2.3.2 compilation fails
Summary: media-sound/cmus-2.3.2 compilation fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Christian Faulhammer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-14 18:15 UTC by tom
Modified: 2011-11-02 18:14 UTC (History)
4 users (show)

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


Attachments
Here is the log file (build.log,2.80 KB, text/plain)
2010-06-15 14:21 UTC, tom
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tom 2010-06-14 18:15:44 UTC
compile cmus with USE="alsa unicode flac mad mp4 oss vorbis wma"
Here is the error message:

configure failed.
 * ERROR: media-sound/cmus-2.3.2 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_configure
 *   environment, line 889:  Called die
 * The specific snippet of code:
 *       ./configure prefix=/usr ${myconf} exampledir=/usr/share/doc/${PF}/examples libdir=/usr/$(get_libdir) DEBUG=${debuglevel} || die
 * 
 * If you need support, post the output of 'emerge --info =media-sound/cmus-2.3.2',
 * the complete build log and the output of 'emerge -pqv =media-sound/cmus-2.3.2'.
 * The complete build log is located at '/var/tmp/portage/media-sound/cmus-2.3.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/cmus-2.3.2/temp/environment'.
 * S: '/var/tmp/portage/media-sound/cmus-2.3.2/work/cmus-v2.3.2'
Comment 1 tom 2010-06-14 18:28:10 UTC
I work around this bug by change 
./configure prefix=/usr ${myconf} to ./configure prefix=/usr
Comment 2 Rafał Mużyło 2010-06-14 20:20:23 UTC
That message is meaningless.
Attach build log.
Comment 3 Michael Weber (RETIRED) gentoo-dev 2010-06-14 22:27:34 UTC
and environment file and `emerge --info`
Comment 4 tom 2010-06-15 14:20:37 UTC
# emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.4.3, glibc-2.10.1-r1, 2.6.34-ck i686)
=================================================================
System uname: Linux-2.6.34-ck-i686-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-gentoo-1.12.13
Timestamp of tree: Tue, 15 Jun 2010 14:00:22 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1, 3.1.2-r3
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo http://ftp.gtlib.gatech.edu/pub/gentoo http://ftp.twaren.net/Linux/Gentoo http://lab.unb.br/pub/Linux/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa berkdb bzip2 cairo cli cracklib crypt cxx dbus dri extras fortran gdbm gnome gpm hal iconv laptop modules mudflap ncurses nls nptl nptlonly opengl openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 tom 2010-06-15 14:21:50 UTC
Created attachment 235419 [details]
Here is the log file
Comment 6 Rafał Mużyło 2010-06-15 23:08:31 UTC
There are reasons why package maintainers hate homebrew build systems.
Could you see why check for neaacdec.h fails ?
That header belongs to faad2.
Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2010-07-19 08:37:00 UTC
Could you please try cmus 2.3.3?
Comment 8 Thomas Juerges 2010-10-24 12:13:54 UTC
(In reply to comment #7)
> Could you please try cmus 2.3.3?
> 

Fails when support for mp4 containers is enabled on ~ppc:
[...]
   CC     mp4.lo
mp4.c:27:17: warning: mp4.h: No such file or directory
mp4.c:49: error: expected specifier-qualifier-list before 'MP4FileHandle'
[...]
mp4.c:438: error: 'struct <anonymous>' has no member named 'track'
make: *** [mp4.lo] Error 1
 * ERROR: media-sound/cmus-2.3.3 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 903:  Called _eapi2_src_compile
 *     ebuild.sh, line 646:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =media-sound/cmus-2.3.3',
 * the complete build log and the output of 'emerge -pqv =media-sound/cmus-2.3.3'.
 * The complete build log is located at '/var/tmp/portage/media-sound/cmus-2.3.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/cmus-2.3.3/temp/environment'.
 * S: '/var/tmp/portage/media-sound/cmus-2.3.3/work/cmus-v2.3.3'

>>> Failed to emerge media-sound/cmus-2.3.3, Log file:
Comment 9 Christian Faulhammer (RETIRED) gentoo-dev 2011-04-23 22:22:08 UTC
Configure option handling and detection of mp4.h has been fixed in the 3.2.4 ebuild.  Maybe anyone with build problems could give that version a go.  Credits for those fixes go out to jargon@molb.org.
Comment 10 Tim Harder gentoo-dev 2011-11-02 18:14:07 UTC
This should be fixed by now in the version currently in the tree.