Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167534 - media-sound/musepack-tools-1.15v fails parallel make - error: config.h: No such file or directory
Summary: media-sound/musepack-tools-1.15v fails parallel make - error: config.h: No su...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
: 239685 253971 256492 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-18 20:47 UTC by Shawn Rutledge
Modified: 2010-01-03 10:34 UTC (History)
6 users (show)

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


Attachments
Testcase - emerge fails (send,20.85 KB, text/plain)
2007-04-22 16:29 UTC, Arno Venner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shawn Rutledge 2007-02-18 20:47:02 UTC
>>> Unpacking mpcsv7-src-1.15v.tar.bz2 to /var/tmp/portage/musepack-tools-1.15v/work
tar: Read 9728 bytes from -
tar: A lone zero block at 5019
 * Applying musepack-tools-1.15v-Makefile.patch ...                                                  [ ok ]
 * Applying musepack-tools-1.15v-gcc4.patch ...                                                      [ ok ]
 * Applying musepack-tools-1.15v-execstack.patch ...                                                 [ ok ]
 * Applying musepack-tools-1.15v-fbsd.patch ...                                                      [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/musepack-tools-1.15v/work/sv7 ...
i686-pc-linux-gnu-gcc -DMPP_DECODER -O2 -march=athlon-xp -pipe -fomit-frame-pointer -I/var/tmp/portage/musepack-tools-1.15v/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 config config.c   -lm
nasm -f elf fft4gasm.nas -o fft4gasm.o -l fft4gasm.lst
i686-pc-linux-gnu-gcc -c -O2 -march=athlon-xp -pipe -fomit-frame-pointer -I/var/tmp/portage/musepack-tools-1.15v/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_ENCODER fastmath.c
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
i686-pc-linux-gnu-gcc -c -O2 -march=athlon-xp -pipe -fomit-frame-pointer -I/var/tmp/portage/musepack-tools-1.15v/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 pipeopen.c
i686-pc-linux-gnu-gcc -c -O2 -march=athlon-xp -pipe -fomit-frame-pointer -I/var/tmp/portage/musepack-tools-1.15v/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 stderr.c
i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -pipe -fomit-frame-pointer -I/var/tmp/portage/musepack-tools-1.15v/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   -c -o regress.o regress.c
rm -f -- cpu_feat.lst
nasm -f elf cpu_feat.nas -o cpu_feat.o -l cpu_feat.lst
rm -f -- synthasm.lst
nasm -f elf synthasm.nas -o synthasm.o -l synthasm.lst
synthasm.nas:459: warning: section attributes ignored on redeclaration of section `.text'
i686-pc-linux-gnu-gcc -c -O2 -march=athlon-xp -pipe -fomit-frame-pointer -I/var/tmp/portage/musepack-tools-1.15v/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
In file included from _setargv.c:20:
mppdec.h:67:21: error: config.h: No such file or directory

*** Compile sources with ***

i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -pipe -fomit-frame-pointer -I/var/tmp/portage/musepack-tools-1.15v/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 -c -O2 -march=athlon-xp -pipe -fomit-frame-pointer -I/var/tmp/portage/musepack-tools-1.15v/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
make: *** [_setargv.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: media-sound/musepack-tools-1.15v failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  musepack-tools-1.15v.ebuild, line 64:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Shawn Rutledge 2007-02-18 20:47:51 UTC
Portage 2.1.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.18-gentoo-r2 i686)
=================================================================
System uname: 2.6.18-gentoo-r2 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.12.6
Last Sync: Sun, 18 Feb 2007 19:58:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.3.3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.4.3-r3, 1.5.22
virtual/os-headers:  2.4.19-r1, 2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
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/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.espri.arizona.edu/gentoo/"
LANG="en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X X509 a52 aac aalib accessibility afs alac alsa alsa_cards_intel8x0 alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 apm arts asf avahi berkdb bitmap-fonts bonjour cddb cdparanoia cli cpudetection cracklib crypt cups daap dga directfb divx4linux djvu dlloader dmx dri dts dv dvb dvd dvdread ecmark3 eds elibc_glibc emboss encode fbcon festival ffmpeg fftw flac foomaticdb fortran gcj gd gdbm gif glitz glut gpm gstreamer gtk gtk2 h323 hal httpd iconv imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog ithreads jabber jack joystick jpeg kernel_linux lcd lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text ldap libcaca libg++ libwww lirc live lzo mad matroska midi mikmod mjpeg mmx mmxext mng modplug mp3 mp4 mpeg mysql mythtv na_dd na_icons ncurses network nls nptl nptlonly nvidia ogg opengl oss pam pcre pcsc-lite perl png postgres ppds pppd python qt3 qt4 quicktime readline real reflection rtc rtsp samba sdl session shout skey skins smartcard speex spl sqlite sse ssl stream svg svga tcpd theora threads transcode truetype truetype-fonts tv_check tv_pick_cgi type1-fonts unicode usb userland_GNU v4l v4l2 vcd video_cards_nv video_cards_nvidia vidix vlm vorbis win32codecs x264 xanim xext xml xorg xv xvid xvmc zaptel zeroconf zlib zvbi"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-02-18 21:53:12 UTC
On a side note:

> virtual/os-headers:  2.4.19-r1, 2.6.17-r1

is most certainly not sane, you should have exactly one linux-headers version installed.
Comment 3 Arno Venner 2007-04-22 16:29:32 UTC
Created attachment 117001 [details]
Testcase - emerge fails

contains "emerge --info" and "emerge musepack-tools" logs.
Comment 4 Martin von Gagern 2007-05-13 23:00:07 UTC
Same here with media-sound/musepack-tools-1.15v-r1. However it emerged all right with MAKEOPTS=-j1, so I guess this is a parallel build issue.
Comment 5 Stian Skjelstad 2007-07-19 07:35:42 UTC
In Makefile you find the following section

config.h: mpp.h config.c
        $(CC) -DMPP_DECODER $(CFLAGS) -o config config.c   $(LDADD) &> $(LOGFILE)
        @$(RM_F) config.h
        @./config "$(CC) $(CFLAGS) -o <<EXE>> <<SRC>> $(LDADD)" "./<<EXE>>"
        @$(RM_F) config

config.h is included from other .h files, which is a bad idea when not all the offending .o files have config.h on their dependency list, and we run make with -j2 or higher. Since we can get a small race-condition here where config.h might not exists, or contain errors. This is more an upstream issue, but ebuild should append -j1 on MAKEOPTS (or patch Makefile) until upstream is fixed
Comment 6 Stian Skjelstad 2007-11-28 12:03:43 UTC
Does

MAKEOPTS="-j1" emerge media-sound/musepack-tools

resolv the issue for you?
Comment 7 Alexis Ballier gentoo-dev 2008-10-28 07:09:31 UTC
*** Bug 239685 has been marked as a duplicate of this bug. ***
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2009-05-11 20:01:29 UTC
(In reply to comment #5)
> config.h is included from other .h files, which is a bad idea when not all the
> offending .o files have config.h on their dependency list, and we run make with
> -j2 or higher. Since we can get a small race-condition here where config.h
> might not exists, or contain errors. This is more an upstream issue, but ebuild
> should append -j1 on MAKEOPTS (or patch Makefile) until upstream is fixed
> 

+  11 May 2009; Samuli Suominen <ssuominen@gentoo.org>
+  musepack-tools-1.15v-r1.ebuild:
+  Force -j1 wrt #167534.

Leaving this open, if anyone is intrested to provide a patch.
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2009-05-12 07:09:27 UTC
*** Bug 266260 has been marked as a duplicate of this bug. ***
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2009-05-12 07:10:41 UTC
*** Bug 256492 has been marked as a duplicate of this bug. ***
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2009-05-12 07:11:59 UTC
*** Bug 253971 has been marked as a duplicate of this bug. ***
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2009-05-12 07:45:22 UTC
*** Bug 266260 has been marked as a duplicate of this bug. ***
Comment 13 Samuli Suominen (RETIRED) gentoo-dev 2009-07-25 15:38:50 UTC
Fixed with >=musepack-tools-444 by looks of it.