Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 521044 - sci-libs/fftw fails to install with ABI_X86="32 64"
Summary: sci-libs/fftw fails to install with ABI_X86="32 64"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-26 13:11 UTC by Tiziano Müller (RETIRED)
Modified: 2014-09-02 15:11 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tiziano Müller (RETIRED) gentoo-dev 2014-08-26 13:11:46 UTC
[...]
libtool: install: warning: `../libfftw3f.la' has not been installed in `/usr/lib64'
libtool: install: warning: `../libfftw3f.la' has not been installed in `/usr/lib32'
libtool: install: /usr/bin/install -c .libs/fftwf-wisdom /var/tmp/paludis/sci-libs-fftw-3.3.4/image//usr/bin/fftwf-wisdom
libtool: install: /usr/bin/install -c .libs/fftwf-wisdom /var/tmp/paludis/sci-libs-fftw-3.3.4/image//usr/bin/fftwf-wisdom
/usr/bin/install: cannot create regular file '/var/tmp/paludis/sci-libs-fftw-3.3.4/image//usr/bin/fftwf-wisdom': File exists
make[3]: Leaving directory '/var/tmp/paludis/sci-libs-fftw-3.3.4/work/fftw-3.3.4-single-abi_x86_64.amd64/tools'
make[2]: Leaving directory '/var/tmp/paludis/sci-libs-fftw-3.3.4/work/fftw-3.3.4-single-abi_x86_64.amd64/tools'
make[1]: Leaving directory '/var/tmp/paludis/sci-libs-fftw-3.3.4/work/fftw-3.3.4-single-abi_x86_64.amd64/tools'
Makefile:400: recipe for target 'install-binPROGRAMS' failed
make[3]: *** [install-binPROGRAMS] Error 1
make[3]: Leaving directory '/var/tmp/paludis/sci-libs-fftw-3.3.4/work/fftw-3.3.4-single-abi_x86_32.x86/tools'
Making install in m4
Makefile:631: recipe for target 'install-am' failed
make[2]: *** [install-am] Error 2
make[2]: Leaving directory '/var/tmp/paludis/sci-libs-fftw-3.3.4/work/fftw-3.3.4-single-abi_x86_32.x86/tools'
Makefile:625: recipe for target 'install' failed
make[1]: *** [install] Error 2
make[1]: Leaving directory '/var/tmp/paludis/sci-libs-fftw-3.3.4/work/fftw-3.3.4-single-abi_x86_32.x86/tools'
Makefile:632: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
Comment 1 Christoph Junghans (RETIRED) gentoo-dev 2014-08-26 16:28:27 UTC
I see, I guess we have to wrap fftw*-wisdom as multilib tool.
Comment 2 Tiziano Müller (RETIRED) gentoo-dev 2014-08-28 20:02:03 UTC
(In reply to Christoph Junghans from comment #1)
> I see, I guess we have to wrap fftw*-wisdom as multilib tool.

At that point we may also start to install the /etc/fftw/wisdom file as well.
Comment 3 Tiziano Müller (RETIRED) gentoo-dev 2014-09-02 09:27:49 UTC
or maybe not: "[...] this will take many hours [...]"

Anyway, after adding

  MULTILIB_CHOST_TOOLS=(
      /usr/bin/fftwf-wisdom
  )

it fails later:

/usr/bin/install: cannot change permissions of ‘/var/tmp/paludis/sci-libs-fftw-3.3.4/image//usr/include/fftw3.h’: No such file or directory
/usr/bin/install: cannot create regular file ‘/var/tmp/paludis/sci-libs-fftw-3.3.4/image//usr/include/fftw3.f’: File exists
Makefile:553: recipe for target 'install-includeHEADERS' failed
make[3]: *** [install-includeHEADERS] Error 1
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-09-02 11:44:53 UTC
EEXIST shouldn't really happen with install. The only thing that could supposedly trigger it is mkdir() for existing directory -- in other words, a race condition. It may be worth reporting a bug against coreutils.

As for the ebuild, it is calling:

    multibuild_foreach_variant multilib_parallel_foreach_abi autotools-utils_src_install

I dare say it shouldn't do install in parallel with autotools :).
Comment 5 Tiziano Müller (RETIRED) gentoo-dev 2014-09-02 15:11:38 UTC
@mgorny: thanks, removing the "foreach" fixes it.
The issue with nested loops (and solution to using MULTILIB_CHOST_TOOLS inside nested loops) is tracked in #483758