Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 253971

Summary: media-sound/musepack-tools build process freezes
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED DUPLICATE    
Severity: normal CC: pavel.a.denisov
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-01-06 13:47:16 UTC
config.c:53: warning: integer constant is too large for 'long' type
config.c:54: warning: integer constant is too large for 'long' type
config.c:55: warning: integer constant is too large for 'long' type
config.c: In function 'test_round_32':
config.c:89: warning: integer constant is too large for 'long' type
config.c:89: warning: integer constant is too large for 'long' type
nasm -f elf cpu_feat.nas -o cpu_feat.o -l cpu_feat.lst
cpu_feat.nas:142: warning: label alone on a line without a colon might be in error
nasm -f elf synthasm.nas -o synthasm.o -l synthasm.lst
i686-pc-linux-gnu-gcc -c -O2 -pipe -I/var/tmp/portage/media-sound/musepack-tools-1.15v-r1/work/sv7  -DCVD_FASTLOG -DFAST_MATH    -DMPPDEC_VERSION=\"1.15v\" -DMPPENC_VERSION=\"1.15v\" -I/usr/include -L/usr/lib -fno-strict-aliasing -fno-gcse -fno-finite-math-only -fno-unsafe-math-optimizations -fno-strict-aliasing -fno-gcse -fno-finite-math-only -fno-unsafe-math-optimizations -DMPP_DECODER _setargv.c
i686-pc-linux-gnu-gcc -c -O2 -pipe -I/var/tmp/portage/media-sound/musepack-tools-1.15v-r1/work/sv7  -DCVD_FASTLOG -DFAST_MATH    -DMPPDEC_VERSION=\"1.15v\" -DMPPENC_VERSION=\"1.15v\" -I/usr/include -L/usr/lib -fno-strict-aliasing -fno-gcse -fno-finite-math-only -fno-unsafe-math-optimizations -DMPP_DECODER replaygain.c
i686-pc-linux-gnu-gcc -c -O2 -pipe -I/var/tmp/portage/media-sound/musepack-tools-1.15v-r1/work/sv7  -DCVD_FASTLOG -DFAST_MATH    -DMPPDEC_VERSION=\"1.15v\" -DMPPENC_VERSION=\"1.15v\" -I/usr/include -L/usr/lib -fno-strict-aliasing -fno-gcse -fno-finite-math-only -fno-unsafe-math-optimizations -DMPP_DECODER gain_analysis.c

*** Compile sources with ***

i686-pc-linux-gnu-gcc -O2 -pipe -I/var/tmp/portage/media-sound/musepack-tools-1.15v-r1/work/sv7  -DCVD_FASTLOG -DFAST_MATH    -DMPPDEC_VERSION="1.15v" -DMPPENC_VERSION="1.15v" -I/usr/include -L/usr/lib -fno-strict-aliasing -fno-gcse -fno-finite-math-only -fno-unsafe-math-optimizations -o <<EXE>> <<SRC>> -lm


*** Execute binary with ***

./<<EXE>>

i686-pc-linux-gnu-gcc -O2 -pipe -I/var/tmp/portage/media-sound/musepack-tools-1.15v-r1/work/sv7  -DCVD_FASTLOG -DFAST_MATH    -DMPPDEC_VERSION=\"1.15v\" -DMPPENC_VERSION=\"1.15v\" -I/usr/include -L/usr/lib -fno-strict-aliasing -fno-gcse -fno-finite-math-only -fno-unsafe-math-optimizations replaygain.o gain_analysis.o pipeopen.o stderr.o _setargv.o -o replaygain      -lm
[end of transmission]

flame@yamato asneeded-logs % ps aux | grep musepack
root     12469  0.0  0.8 144732 142272 pts/14  S+   05:01   0:26 /usr/bin/python /usr/bin/emerge -1 --noreplace media-sound/musepack-tools
root     12736  0.0  0.0   1740   496 pts/14   S+   05:01   0:00 [musepack-tools-1.15v-r1] sandbox "/usr/lib/portage/bin/ebuild.sh" compile
root     12834 99.9  0.0   2676   848 pts/14   R+   05:01 577:44 ./config i686-pc-linux-gnu-gcc -O2 -pipe -I/var/tmp/portage/media-sound/musepack-tools-1.15v-r1/work/sv7  -DCVD_FASTLOG -DFAST_MATH    -DMPPDEC_VERSION="1.15v" -DMPPENC_VERSION="1.15v" -I/usr/include -L/usr/lib -fno-strict-aliasing -fno-gcse -fno-finite-math-only -fno-unsafe-math-optimizations -o <<EXE>> <<SRC>> -lm ./<<EXE>>
flame    20206  0.0  0.0   5332   816 pts/13   S+   14:40   0:00 grep --colour=auto musepack

The problem I guess is that << expects data in stdin that it's not going to receive; on why there is that <<EXE>> and <<SRC>> there, no clue. Probably bad interaction with another package, this is from tinderbox.

Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.3.2-asneeded, glibc-2.9_p20081201-r1, 2.6.28-gentoo i686)
=================================================================
System uname: Linux-2.6.28-gentoo-i686-Quad-Core_AMD_Opteron-tm-_Processor_2350-with-glibc2.0
Timestamp of tree: Mon, 05 Jan 2009 10:10:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.1-r1
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/glftpd/etc /opt/glftpd/ftp-data /opt/openfire/resources/security/ /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/X11/xkb /usr/share/bufrtables /usr/share/config /var/bind /var/lib/hsqldb /var/phxd /var/spool/fax/etc /var/spool/torque /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
INSTALL_MASK=" 	/usr/share/doc 	/usr/share/man 	/usr/share/info"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j14"
PKGDIR="/var/spool/portage/packages"
PORTAGE_COMPRESS=""
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="/var/cache/portage/tree"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 scatorish 2009-03-04 17:25:38 UTC
Same problem here - just hangs.

Portage 2.2_rc23-r2 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r2 i686)
=================================================================
System uname: Linux-2.6.28-gentoo-r2-i686-AMD_Sempron-tm-_Processor_3100+-with-glibc2.0
Timestamp of tree: Tue, 03 Mar 2009 12:35:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p48-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0-r2
sys-apps/openrc:     0.4.2
sys-apps/sandbox:    1.3.8
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.heanet.ie/pub/gentoo/ "
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB en"
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X aac aalib acl acpi alsa animgif berkdb bzip2 cairo cdr cleartype cli contrast cracklib crypt cups dbus dga divx dri dvb dvd dvdr dvdread encode exif ffmpeg firefox flac fontconfig fortran gd gdbm gif gimp glitz gpm hal iceweasel iconv id3tag ipv6 isdnlog java jpeg lame lcms libnotify libsamplerate mad midi mmx motif mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre perl png pppd python quicktime raw readline realmedia reflection restrict-javascript sdl session sndfile spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode vidix vorbis wavpack win32codecs wmp x86 xcomposite xml xorg xscreensaver xulrunner xv xvmc 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" USERLAND="GNU" VIDEO_CARDS="radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-05-12 07:11:59 UTC
Please undo this change (dup.) if it's wrong, musepack-tools is known to be broken with MAKEOPTS higher than -j1, I've forced -j1 to -r1 ebuild recently as temp. workaround.

*** This bug has been marked as a duplicate of bug 167534 ***