Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 511198 - sci-libs/fftw - my_configure(): abi_x86_64.amd64 precision not implemented in this ebuild
Summary: sci-libs/fftw - my_configure(): abi_x86_64.amd64 precision not implemented in...
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-05-24 13:34 UTC by Manuel Lauss
Modified: 2014-08-07 01:00 UTC (History)
3 users (show)

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 Manuel Lauss 2014-05-24 13:34:06 UTC
emerge =sci-libs/fftw-3.3.4:

>>> Preparing source in /tmp-ram/portage/sci-libs/fftw-3.3.4/work/fftw-3.3.4 ...
 * Running elibtoolize in: fftw-3.3.4/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.2 patch ...
 *   Applying target-nm/2.4.2 patch ...
>>> Source prepared.
>>> Configuring source in /tmp-ram/portage/sci-libs/fftw-3.3.4/work/fftw-3.3.4 ...
 * single: running multilib_parallel_foreach_abi my_configure
 * abi_x86_64.amd64: running my_configure
 * ERROR: sci-libs/fftw-3.3.4::gentoo failed (configure phase):
 *   abi_x86_64.amd64 precision not implemented in this ebuild
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 4100:  Called multibuild_foreach_variant 'multilib_parallel_foreach_abi' 'my_configure'
 *   environment, line 2984:  Called _multibuild_run 'multilib_parallel_foreach_abi' 'my_configure'
 *   environment, line 2982:  Called multilib_parallel_foreach_abi 'my_configure'
 *   environment, line 3436:  Called multibuild_parallel_foreach_variant '_multilib_multibuild_wrapper' 'my_configure'
 *   environment, line 3041:  Called multibuild_foreach_variant '_multibuild_parallel' '_multilib_multibuild_wrapper' 'my_configure'
 *   environment, line 2984:  Called _multibuild_run '_multibuild_parallel' '_multilib_multibuild_wrapper' 'my_configure'
 *   environment, line 2982:  Called _multibuild_parallel '_multilib_multibuild_wrapper' 'my_configure'
 *   environment, line 3032:  Called _multilib_multibuild_wrapper 'my_configure'
 *   environment, line  739:  Called my_configure
 *   environment, line 4093:  Called die
 * The specific snippet of code:
 *                           die "${x} precision not implemented in this ebuild";


Portage 2.2.10 (default/linux/amd64/13.0/desktop/kde, gcc-4.9.0, glibc-2.19, 3.15.0-rc6-00001-gd778825-dirty x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.15.0-rc6-00001-gd778825-dirty-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.2
KiB Mem:     8159188 total,   1665248 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of tree: Sat, 24 May 2014 08:45:01 +0000
ld GNU ld (GNU Binutils) 2.24.51.20140522
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6-r1, 3.3.5, 3.4.0
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.14.1
sys-devel/binutils:       9999
sys-devel/gcc:            4.8.2-r1, 4.9.0
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.14 (virtual/os-headers)
sys-libs/glibc:           2.19
Repositories: gentoo x11 steam-overlay qt mano
ACCEPT_KEYWORDS="amd64 ~amd64 ~amd64-linux"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x googleearth GPL-3 LGPL-3 PUEL dlj-1.1 skype-eula google-talkplugin Oracle-BCLA-JavaSE skype-4.0.0.7-copyright SGI-B-2.0"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -fwrapv -fomit-frame-pointer -pipe -mno-3dnow"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -mtune=native -fwrapv -fomit-frame-pointer -pipe -mno-3dnow"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.inode.at"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp-ram"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/steam /var/lib/layman/qt /etc/portage/overlay"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 bash-completion bluetooth bzip2 consolekit crypt gstreamer iconv inotify introspection ipv6 jpeg lzma nptl opengl pam png policykit qt4 ssl threads tiff udev unicode usb zlib" ABI_X86="64" CALLIGRA_FEATURES="*" CAMERAS="*" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="*" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="en" LIRC_DEVICES="all" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" QEMU_SOFTMMU_TARGETS="*" QEMU_USER_TARGETS="*" RUBY_TARGETS="ruby21" SANE_BACKENDS="*" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

sci-libs/fftw-3.3.4 was built with the following:
USE="openmp sse sse2 threads (-altivec) -avx -doc -fma -fortran -mpi (-neon) -quad -static-libs -test (-zbus)" ABI_X86="64 -32 -x32"


Reproducible: Always
Comment 1 tman 2014-05-24 19:43:45 UTC
i can also confirm this failure:

--- Invalid atom in /mnt/portage/profiles/package.mask: media-video/vdr-1.6*
Portage 2.2.10 (default/linux/amd64/13.0/desktop, gcc-4.8.2, glibc-2.19, 3.14.4-gentoo x86_64)
=================================================================
System uname: Linux-3.14.4-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    24693448 total,  20123076 free
KiB Swap:   25598972 total,  25598972 free
Timestamp of tree: Sat, 24 May 2014 18:00:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6-r1, 3.2.5-r4, 3.3.5, 3.4.0
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.14 (virtual/os-headers)
sys-libs/glibc:           2.19
Repositories: gentoo bitcoin steam-overlay bumblebee lokal
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/mnt/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/mnt/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/mnt/portage"


#################


Would you like to merge these packages? [Yes/No] 

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sci-libs/fftw-3.3.4::gentoo
 * fftw-3.3.4.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                       [ ok ]
 * Using following Fortran compiler:
 *   F77: x86_64-pc-linux-gnu-gfortran
 *   FC:  x86_64-pc-linux-gnu-gfortran
 * x86_64-pc-linux-gnu-gfortran has OPENMP support
>>> Unpacking source...
>>> Unpacking fftw-3.3.4.tar.gz to /var/tmp/portage/sci-libs/fftw-3.3.4/work
>>> Source unpacked in /var/tmp/portage/sci-libs/fftw-3.3.4/work
>>> Preparing source in /var/tmp/portage/sci-libs/fftw-3.3.4/work/fftw-3.3.4 ...
 * Running elibtoolize in: fftw-3.3.4/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.2 patch ...
 *   Applying target-nm/2.4.2 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sci-libs/fftw-3.3.4/work/fftw-3.3.4 ...
 * single: running multilib_parallel_foreach_abi my_configure
 * abi_x86_32.x86: running my_configure
 * abi_x86_64.amd64: running my_configure
 * ERROR: sci-libs/fftw-3.3.4::gentoo failed (configure phase):
 *   abi_x86_64.amd64 precision not implemented in this ebuild
 * 
 * Call stack:
 * ERROR: sci-libs/fftw-3.3.4::gentoo failed (configure phase):
 *     ebuild.sh, line   93:  Called src_configure
 *   abi_x86_32.x86 precision not implemented in this ebuild
 * 
 * Call stack:
 *   environment, line 4084:  Called multibuild_foreach_variant 'multilib_parallel_foreach_abi' 'my_configure'
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 2968:  Called _multibuild_run 'multilib_parallel_foreach_abi' 'my_configure'
 *   environment, line 4084:  Called multibuild_foreach_variant 'multilib_parallel_foreach_abi' 'my_configure'
 *   environment, line 2966:  Called multilib_parallel_foreach_abi 'my_configure'
 *   environment, line 2968:  Called _multibuild_run 'multilib_parallel_foreach_abi' 'my_configure'
 *   environment, line 3420:  Called multibuild_parallel_foreach_variant '_multilib_multibuild_wrapper' 'my_configure'
 *   environment, line 2966:  Called multilib_parallel_foreach_abi 'my_configure'
 *   environment, line 3025:  Called multibuild_foreach_variant '_multibuild_parallel' '_multilib_multibuild_wrapper' 'my_configure'
 *   environment, line 3420:  Called multibuild_parallel_foreach_variant '_multilib_multibuild_wrapper' 'my_configure'
 *   environment, line 2968:  Called _multibuild_run '_multibuild_parallel' '_multilib_multibuild_wrapper' 'my_configure'
 *   environment, line 3025:  Called multibuild_foreach_variant '_multibuild_parallel' '_multilib_multibuild_wrapper' 'my_configure'
 *   environment, line 2966:  Called _multibuild_parallel '_multilib_multibuild_wrapper' 'my_configure'
 *   environment, line 2968:  Called _multibuild_run '_multibuild_parallel' '_multilib_multibuild_wrapper' 'my_configure'
 *   environment, line 3016:  Called _multilib_multibuild_wrapper 'my_configure'
 *   environment, line 2966:  Called _multibuild_parallel '_multilib_multibuild_wrapper' 'my_configure'
 *   environment, line  723:  Called my_configure
 *   environment, line 4077:  Called die
 * The specific snippet of code:
 *   environment, line 3016:  Called _multilib_multibuild_wrapper 'my_configure'
 *   environment, line  723:  Called my_configure
 *   environment, line 4077:  Called die
 * The specific snippet of code:
 *                           die "${x} precision not implemented in this ebuild";
 * 
 * If you need support, post the output of `emerge --info '=sci-libs/fftw-3.3.4::gentoo'`,
Comment 2 Christoph Junghans (RETIRED) gentoo-dev 2014-05-24 20:59:56 UTC
I think that has something to do with multibuild inside multilib (bug #483758).
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-05-24 22:01:57 UTC
Oh my, looks like this one suffered a lot. I will try to provide a patch in a few minutes.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-05-24 22:15:41 UTC
Intermediate issue should be fixed:

+  24 May 2014; Michał Górny <mgorny@gentoo.org> fftw-3.3.3-r3.ebuild,
+  fftw-3.3.4.ebuild:
+  Fix the variant-obtaining hack after changes to build dir naming in multilib-
+  build. Bug #511198.

Nevertheless, the hack needs to die. Does anyone (ottxor?) know why the nesting was reversed? This is pretty much what broke it...
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-05-24 22:31:33 UTC
Oh sorry, now I see what happened. So pretty much the second loop was moved outside do_configure().

As I see it, we have two options and both have issues:

a) outer multilib, inner precision loop -- then multilib_foreach_abi overrides MULTIBUILD_VARIANTS, and we need an extra wrapper to restore it before calling multibuild_foreach_variant...

b) outer precision, inner multilib -- then multilib overrides MULTIBUILD_VARIANT, so we'd need wrapper that would save it in the middle.

Some option is to make eclasses more friendly to direct multibuild use -- for example, we could restore original MULTIBUILD_VARIANT{,S} inside the user functions.
Comment 6 Christoph Junghans (RETIRED) gentoo-dev 2014-05-25 23:00:36 UTC
(In reply to Michał Górny from comment #5)
> Oh sorry, now I see what happened. So pretty much the second loop was moved
> outside do_configure().
> 
> As I see it, we have two options and both have issues:
> 
> a) outer multilib, inner precision loop -- then multilib_foreach_abi
> overrides MULTIBUILD_VARIANTS, and we need an extra wrapper to restore it
> before calling multibuild_foreach_variant...
> 
> b) outer precision, inner multilib -- then multilib overrides
> MULTIBUILD_VARIANT, so we'd need wrapper that would save it in the middle.
> 
> Some option is to make eclasses more friendly to direct multibuild use --
> for example, we could restore original MULTIBUILD_VARIANT{,S} inside the
> user functions.
All information is encoded in BUILD_DIR, so it might be the easiest to use a special token (like @:) to between multiple MULTIBUILD_VARIANTS loops. We could add a function to split BUILD_DIR, so that the hackery doesn't need to be in the ebuild.
Comment 7 Steven Newbury 2014-07-30 11:05:28 UTC
(In reply to Michał Górny from comment #4)
> Intermediate issue should be fixed:
> 
> +  24 May 2014; Michał Górny <mgorny@gentoo.org> fftw-3.3.3-r3.ebuild,
> +  fftw-3.3.4.ebuild:
> +  Fix the variant-obtaining hack after changes to build dir naming in
> multilib-
> +  build. Bug #511198.
> 
> Nevertheless, the hack needs to die. Does anyone (ottxor?) know why the
> nesting was reversed? This is pretty much what broke it...

This seems to be broken again. :(
Comment 8 Christoph Junghans (RETIRED) gentoo-dev 2014-08-06 14:57:54 UTC
*** Bug 519094 has been marked as a duplicate of this bug. ***
Comment 9 Deepak Shandilya 2014-08-06 20:10:50 UTC
So, is this an upstream issue ?
Comment 10 Christoph Junghans (RETIRED) gentoo-dev 2014-08-06 22:12:48 UTC
See bug#519094#c6 for details

+  06 Aug 2014; Christoph Junghans <ottxor@gentoo.org> -fftw-3.3.3-r3.ebuild,
+  fftw-3.3.4.ebuild:
+  disable header wrapping (bug #519094)
+
Comment 11 Deepak Shandilya 2014-08-07 01:00:32 UTC
After an emerge --sync, I can confirm that it works and the package compiles successfully.