Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 179146

Summary: sci-libs/blas-atlas-3.7.3* fails to compile on PIII
Product: Gentoo Linux Reporter: Martin Capitanio <gentoo-bug>
Component: [OLD] LibraryAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: proposed patch for fix make problems when lacking ARCH defaults

Description Martin Capitanio 2007-05-19 20:43:19 UTC
On this CPU in V3.7.30 and 3.7.31 the ebuild stops at compile time.
3.7.11 is the last known working release.

----
>>> Unpacking atlas3.7.31.tar.bz2 to /var/tmp/portage/sci-libs/blas-atlas-3.7.31/work
>>> Unpacking atlas-3.7.23-shared-libs.patch.bz2 to /var/tmp/portage/sci-libs/blas-atlas-3.7.31/work
 * Applying atlas-3.7.23-shared-libs.patch.bz2 ...                                                                                                    [ ok ]
 * Applying atlas-asm-gentoo.patch ...                                                                                                                [ ok ]
gcc -I/var/tmp/portage/sci-libs/blas-atlas-3.7.31/work/ATLAS/gentoo-build/..//CONFIG/include  -g -w -c /var/tmp/portage/sci-libs/blas-atlas-3.7.31/work/ATLAS/gentoo-build/..//CONFIG/src/atlconf_misc.c
gcc -I/var/tmp/portage/sci-libs/blas-atlas-3.7.31/work/ATLAS/gentoo-build/..//CONFIG/include  -g -w -o xconfig /var/tmp/portage/sci-libs/blas-atlas-3.7.31/work/ATLAS/gentoo-build/..//CONFIG/src/config.c atlconf_misc.o
atlconf_misc.o: In function `CmndResults':
/var/tmp/portage/sci-libs/blas-atlas-3.7.31/work/ATLAS/gentoo-build/..//CONFIG/src/atlconf_misc.c:306: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
./xconfig -d s /var/tmp/portage/sci-libs/blas-atlas-3.7.31/work/ATLAS/gentoo-build/../ -d b /var/tmp/portage/sci-libs/blas-atlas-3.7.31/work/ATLAS/gentoo-build  -C xc 'i686-pc-linux-gnu-gcc' -F xc '-O3 -mtune=pentium3 -march=i686 -ggdb' -C ic 'i686-pc-linux-gnu-gcc' -F ic '-O3 -mtune=pentium3 -march=i686 -ggdb' -C sk 'i686-pc-linux-gnu-gcc' -F sk '-O3 -mtune=pentium3 -march=i686 -ggdb' -C dk 'i686-pc-linux-gnu-gcc' -F dk '-O3 -mtune=pentium3 -march=i686 -ggdb' -C sm 'i686-pc-linux-gnu-gcc' -F sm '-O3 -mtune=pentium3 -march=i686 -ggdb' -C dm 'i686-pc-linux-gnu-gcc' -F dm '-O3 -mtune=pentium3 -march=i686 -ggdb' -C if 'gfortran' -F if '' -Ss pmake '$(MAKE) -j2' -Si cputhrchk 0 -b 32
atlconf_misc.o: In function `CmndResults':
/var/tmp/portage/sci-libs/blas-atlas-3.7.31/work/ATLAS/gentoo-build/..//CONFIG/src/atlconf_misc.c:306: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
[...]
make[1]: Leaving directory `/var/tmp/portage/sci-libs/blas-atlas-3.7.31/work/ATLAS/gentoo-build'
DONE configure
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sci-libs/blas-atlas-3.7.31/work/ATLAS ...
atlas_install.o: In function `GoToTown':
/var/tmp/portage/sci-libs/blas-atlas-3.7.31/work/ATLAS/gentoo-build/..//bin/atlas_install.c:418: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
make[2]: *** No rule to make target `/var/tmp/portage/sci-libs/blas-atlas-3.7.31/work/ATLAS/gentoo-build/..//CONFIG/ARCHS/PIII32SSE1.tgz', needed by `/var/tmp/portage/sci-libs/blas-atlas-3.7.31/work/ATLAS/gentoo-build/ARCHS/PIII32SSE1'.  Stop.
Comment 1 Markus Dittrich (RETIRED) gentoo-dev 2007-05-20 14:56:20 UTC
Hi Martin,

I am not quite sure why your install is failing. The error message
you are getting is "normal" since there are no architectural defaults
for PIII and the installation should simply continue. Could you
please post you emerge --info.

Also, below I've posted a patch that might help you get over
this hurdle. Please give it a spin and report back.

Thanks,
Markus
Comment 2 Markus Dittrich (RETIRED) gentoo-dev 2007-05-20 14:57:35 UTC
Created attachment 119806 [details, diff]
proposed patch for fix make problems when lacking ARCH defaults
Comment 3 Martin Capitanio 2007-05-21 21:01:04 UTC
Hi Markus,
it is in the end not necessary, sorry for the false alarm.

I suppose my ~x86 was yesterday in some skewed state.
Today, after a resync, I can't reproduce this bug any more.
Thanks for -k gentoo ;-) Martin