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

Bug 662432

Summary: sci-libs/atlas-3.10.2 : * configure in /var/tmp/portage/sci-libs/atlas-3.10.2/work/ATLAS_shared failed
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: CONFIRMED ---    
Severity: normal CC: leonchik1976
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
sci-libs:atlas-3.10.2:20180729-141837.log
temp.tbz2

Description Toralf Förster gentoo-dev 2018-07-29 15:09:33 UTC
xconfig exited with 1
 * ERROR: sci-libs/atlas-3.10.2::gentoo failed (configure phase):
 *   configure in /var/tmp/portage/sci-libs/atlas-3.10.2/work/ATLAS_shared failed
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_configure

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-developer_20180727-195601

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.8.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv sci-libs/atlas
[ebuild  N    ] sci-libs/atlas-3.10.2  USE="fortran -doc -generic -lapack -static-libs -threads"
Comment 1 Toralf Förster gentoo-dev 2018-07-29 15:09:36 UTC
Created attachment 541700 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-07-29 15:09:39 UTC
Created attachment 541702 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-07-29 15:09:42 UTC
Created attachment 541704 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-07-29 15:09:45 UTC
Created attachment 541706 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-07-29 15:09:48 UTC
Created attachment 541708 [details]
sci-libs:atlas-3.10.2:20180729-141837.log
Comment 6 Toralf Förster gentoo-dev 2018-07-29 15:09:50 UTC
Created attachment 541710 [details]
temp.tbz2
Comment 7 Ross Charles C. 2019-05-01 11:41:37 UTC
From the looks of it, it seems atlas failed at detecting CPU throttling. atlas will detect if the CPU on the building environment has a dynamic frequency (i.e CPU throttling), if the config system detects that your CPU freq is not constant, it will simply fail.
The simplest workaround for this issue is `echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor`, which will force CPU to run in a constant freq. A slightly complicated workaround is to change the configuration code so it will skip the detection for CPU throttling entirely.
Comment 8 Ross Charles C. 2019-05-01 13:03:54 UTC
Here's the detailed explanation:
http://math-atlas.sourceforge.net/atlas_install/node5.html
Comment 9 FanD 2023-12-28 11:30:19 UTC
Same bug:

xconfig exited with 1
 * ERROR: sci-libs/atlas-3.10.2::gentoo failed (configure phase):
 *   configure in /var/tmp/portage/sci-libs/atlas-3.10.2/work/ATLAS_shared failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 1541:  Called atlas_configure 'shared' '-Fa alg -fPIC'
 *   environment, line 1539:  Called die
 * The specific snippet of code:
 *           "${S}"/configure ${myconf[@]} || die "configure in ${confdir} failed"
 *