Trying to build the new multilib enabled version of swh-plugins fails with: ibtool: compile: x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-plugins/swh-plugins-0.4.15-r3/work/swh-plugins-0.4.15 -pipe -march=amdfam10 -O3 -fomit-frame-pointer -fweb -frename-registers -ftracer -c /var/tmp/portage/media-plugins/swh-plugins-0.4.15-r3/work/swh-plugins-0.4.15/pitch_scale_1193.c -fPIC -DPIC -o .libs/pitch_scale_1193_la-pitch_scale_1193.o mbeq_1197.xml:22:20: fatal error: srfftw.h: No such file or directory compilation terminated. make[2]: *** [mbeq_1197_la-mbeq_1197.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/media-plugins/swh-plugins-0.4.15-r3/work/swh-plugins-0.4.15-x86' The cause seems to be that mbew_1197 wants to use the fftw-2 header, but only the fftw-3 package is installed. The cause of this wrong include is, that the source of swh-plugins seems to ship an horribly outdated config.h that points to fftw-2. Without the multilib changes that did not matter: The config.h just got overwritten by configure and everything works. But with multilib we get this: thoregon work # cd /var/tmp/portage/media-plugins/swh-plugins-0.4.15-r3/work thoregon work # ls swh-plugins-0.4.15 swh-plugins-0.4.15-amd64 swh-plugins-0.4.15-x86 thoregon work # ls -l */config.h -rw-r--r-- 1 root root 3165 Jun 27 20:54 swh-plugins-0.4.15-amd64/config.h -rw-r--r-- 1 root root 2721 Aug 8 2006 swh-plugins-0.4.15/config.h -rw-r--r-- 1 root root 3165 Jun 27 20:54 swh-plugins-0.4.15-x86/config.h thoregon work # Each arch gets its own correct config.h, but the old broken version still exists. And because the broken one is in the same directory as the other source files that one gets used and breaks the build. The fix is simple: Just kill the broken version. --- swh-plugins-0.4.15-r3.ebuild~ 2013-06-27 17:01:31.000000000 +0200 +++ swh-plugins-0.4.15-r3.ebuild 2013-06-27 20:57:01.890155204 +0200 @@ -46,6 +46,9 @@ # it doesn't get updated otherwise rm -f missing + # old shipped version breaks multilib build + rm -f config.h + # Fix build with automake 1.13 sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.in || die
i have the same problem i hope this get fix soon.
applied, thanks!