<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>215269</bug_id>
          
          <creation_ts>2008-03-28 23:35 0000</creation_ts>
          <short_desc>sci-libs/fftw-3.1.2 fails to compile</short_desc>
          <delta_ts>2008-04-02 21:37:38 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Library</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>dev@bruckmeier.org</reporter>
          <assigned_to>sci@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>dev@bruckmeier.org</who>
            <bug_when>2008-03-28 23:35:27 0000</bug_when>
            <thetext>&gt;&gt; libdft_standard.a(n1_11.o) in archive is not an object

build.log
-----------------------------------
make[2]: Entering directory `/var/tmp/portage/sci-libs/fftw-3.1.2/work/fftw-3.1.2-single&apos;
/bin/sh ./libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -std=gnu99  -march=prescott -O2 -pipe -fomit-frame-pointer -pthread   -o libfftw3f.la -rpath /usr/lib -no-undefined -version-info 4:2:1  kernel/libkernel.la dft/libdft.la dft/codelets/libdft_codelets.la dft/codelets/standard/libdft_standard.la rdft/librdft.la rdft/codelets/librdft_codelets.la rdft/codelets/r2hc/librdft_codelets_r2hc.la rdft/codelets/hc2r/librdft_codelets_hc2r.la rdft/codelets/r2r/librdft_codelets_r2r.la reodft/libreodft.la api/libapi.la simd/libsimd.la simd/nonportable/libsimd_nonportable.la dft/simd/libdft_simd.la dft/simd/codelets/libdft_codelets_simd.la         -lm
mkdir .libs
i686-pc-linux-gnu-gcc -std=gnu99 -shared  -Wl,--whole-archive kernel/.libs/libkernel.a dft/.libs/libdft.a dft/codelets/.libs/libdft_codelets.a dft/codelets/standard/.libs/libdft_standard.a rdft/.libs/librdft.a rdft/codelets/.libs/librdft_codelets.a rdft/codelets/r2hc/.libs/librdft_codelets_r2hc.a rdft/codelets/hc2r/.libs/librdft_codelets_hc2r.a rdft/codelets/r2r/.libs/librdft_codelets_r2r.a reodft/.libs/libreodft.a api/.libs/libapi.a simd/.libs/libsimd.a simd/nonportable/.libs/libsimd_nonportable.a dft/simd/.libs/libdft_simd.a dft/simd/codelets/.libs/libdft_codelets_simd.a -Wl,--no-whole-archive  -lm  -march=prescott -pthread -Wl,-soname -Wl,libfftw3f.so.3 -o .libs/libfftw3f.so.3.1.2
dft/codelets/standard/.libs/libdft_standard.a: member dft/codelets/standard/.libs/libdft_standard.a(n1_11.o) in archive is not an object
collect2: ld returned 1 exit status
make[2]: *** [libfftw3f.la] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/sci-libs/fftw-3.1.2/work/fftw-3.1.2-single&apos;
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/sci-libs/fftw-3.1.2/work/fftw-3.1.2-single&apos;
make: *** [all] Fehler 2
 *
 * ERROR: sci-libs/fftw-3.1.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2813:  Called die
 * The specific snippet of code:
 *       emake || die;
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at &apos;/var/tmp/portage/sci-libs/fftw-3.1.2/temp/build.log&apos;.
 * The ebuild environment file is located at &apos;/var/tmp/portage/sci-libs/fftw-3.1.2/temp/environment&apos;.
 *

emerge --info
------------------------------
Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r3 i686)
=================================================================
System uname: 2.6.24-gentoo-r3 i686 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Fri, 28 Mar 2008 11:15:04 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS=&quot;x86&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-march=prescott -O2 -pipe -fomit-frame-pointer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d&quot;
CXXFLAGS=&quot;-march=prescott -O2 -pipe -fomit-frame-pointer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch&quot;
GENTOO_MIRRORS=&quot;http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://de-mirror.org/distro/gentoo/ &quot;
LANG=&quot;de_DE.utf8&quot;
LC_ALL=&quot;de_DE.utf8&quot;
LINGUAS=&quot;de&quot;
MAKEOPTS=&quot;-j4&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
SYNC=&quot;rsync://rsync.europe.gentoo.org/gentoo-portage&quot;
USE=&quot;X aac acl alsa arts berkdb cli cracklib crypt cups dbus dri dvd encode fortran gdbm gpm hal iconv ieee1394 ipv6 isdnlog kde midi mmx mp3 mudflap ncurses nls nptl nptlonly nvidia openmp pam pcre perl pni pppd python qt3 qt4 readline reflection session spl sse sse2 ssl ssse3 tcpd unicode vorbis win32codecs x264 x86 xinerama xorg xvid zlib&quot; ALSA_CARDS=&quot;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&quot; ALSA_PCM_PLUGINS=&quot;adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol&quot; APACHE2_MODULES=&quot;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&quot; APACHE2_MPMS=&quot;worker&quot; ELIBC=&quot;glibc&quot; INPUT_DEVICES=&quot;keyboard mouse&quot; KERNEL=&quot;linux&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; LINGUAS=&quot;de&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;nvidia&quot;
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Reproducible: Always

Steps to Reproduce:
1. emerge sci-libs/fftw
2. wait until failure
3.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>markusle@gentoo.org</who>
            <bug_when>2008-03-29 10:39:08 0000</bug_when>
            <thetext>Hi Andreas,

Thanks for you bug report. Could you please re-emerge
fftw with MAKEOPTS=&quot;-j1&quot; and post the complete emerge
log? Otherwise it is difficult to pinpoint the source
of the problem.

Thanks,
Markus</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dev@bruckmeier.org</who>
            <bug_when>2008-03-29 13:16:19 0000</bug_when>
            <thetext>Hi Markus,

this was also my first suspicion but i could reproduce it again with -j1.

The build.log, emerge --info, and environment are here: http://dev.bruckmeier.org/bug_215269

Best regards, Andi</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>markusle@gentoo.org</who>
            <bug_when>2008-03-30 14:34:34 0000</bug_when>
            <thetext>Thanks! Unfortunately, I can&apos;t find anything in the logs
that would indicate what the problem could be. Have you had
a look at n1_11.o in libdft_standard.a and checked if
it looks all right? 

Thanks,
Markus</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bicatali@gentoo.org</who>
            <bug_when>2008-04-01 22:14:29 0000</bug_when>
            <thetext>Hi Andreas,

I also could not reproduce your failure even with your environment.
I don&apos;t see how the wrong linking option &quot;-Wl,libfftw3f.so.3&quot; got generated.
Anyway, I just updated the fftw ebuilds for other issues, and one of them is the configure script. So you might want to re-emerge it again once it hits the mirrors to see if it helps.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>markusle@gentoo.org</who>
            <bug_when>2008-04-02 10:01:49 0000</bug_when>
            <thetext>Maybe it is a problem with libtool, even though
I don&apos;t quite see how at the moment.

Best,
Markus</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dev@bruckmeier.org</who>
            <bug_when>2008-04-02 21:37:38 0000</bug_when>
            <thetext>Hi Sébastien,

i just gave it a try and it worked ;-)
Good work, thank you.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>