Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 313669 - sci-libs/lapack-atlas has undefined symbols
Summary: sci-libs/lapack-atlas has undefined symbols
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 372323
  Show dependency tree
 
Reported: 2010-04-07 11:45 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2013-01-31 11:07 UTC (History)
1 user (show)

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


Attachments
Build log (ccp4-apps-6.1.3-r2:20100407-044311.log,110.48 KB, text/plain)
2010-04-07 11:45 UTC, Diego Elio Pettenò (RETIRED)
Details
Build log (lapack-atlas-3.9.23:20100408-221855.log,1.16 MB, text/plain)
2010-04-09 13:07 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2010-04-07 11:45:13 UTC
See attached build log… not sure if it's caused by --as-needed or it's something that lives around.

Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.4.3-asneeded, glibc-2.11-r1, 2.6.33.2 i686)
=================================================================
System uname: Linux-2.6.33.2-i686-Quad-Core_AMD_Opteron-tm-_Processor_2350-with-gentoo-2.0.1
Timestamp of tree: Sun, 04 Apr 2010 19:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p2-r1
dev-java/java-config: 1.3.7-r1, 2.1.10
dev-lang/python:     2.6.5-r1, 3.1.2-r1
dev-python/pycrypto: 2.1.0
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /opt/openjms/config /usr/lib/tomoyo/conf /usr/share/X11/xkb /usr/share/bufrtables /usr/share/config /usr/share/qpsmtpd/plugins /var/bind /var/lib/hsqldb /var/phxd /var/spool/torque /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms split-log strict test test-fail-continue unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
INSTALL_MASK="  /usr/share/doc  /usr/share/info"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j14"
PKGDIR="/var/spool/portage/packages"
PORTAGE_COMPRESS=""
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/cache/portage/tree-tinderbox"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 java5 java6 modules mudflap ncurses nls nostatic nptl nptlonly openmp pam pcre perl pppd python qt3support readline reflection ruby session spl ssl sysfs tcpd unicode vhosts x86 xorg zlib" ALSA_CARDS="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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 auth_digest" ELIBC="glibc" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18 jruby ruby19" USERLAND="GNU"
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-04-07 11:45:29 UTC
Created attachment 226871 [details]
Build log
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2010-04-07 12:38:27 UTC
Which atlas versions are you using?
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-04-07 12:41:20 UTC
sci-libs/blas-atlas-3.9.21-r1
sci-libs/lapack-atlas-3.9.21-r1
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2010-04-07 12:46:43 UTC
(In reply to comment #3)
> sci-libs/blas-atlas-3.9.21-r1
> sci-libs/lapack-atlas-3.9.21-r1
> 

Those versions hard hardmasked for that reason. Sadly I don't know whats wrong with them, because it is just the move from EAPI 0 -> 3
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2010-04-07 12:47:34 UTC

*** This bug has been marked as a duplicate of bug 308581 ***
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-04-09 13:06:43 UTC
Different failure, the same happens within the tests for 3.9.23 (-r0).
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-04-09 13:07:37 UTC
Created attachment 227117 [details]
Build log
Comment 8 Justin Lecher (RETIRED) gentoo-dev 2010-04-14 20:16:56 UTC
Could you do me a favour and set at least FFLAGS="-O2" and tretry?
Comment 9 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-04-15 10:04:05 UTC
Doesn't seem to change even with FFLAGS="-O2 -pipe" :(
Comment 10 Justin Lecher (RETIRED) gentoo-dev 2010-04-15 10:07:04 UTC
(In reply to comment #9)
> Doesn't seem to change even with FFLAGS="-O2 -pipe" :(
> 

okay thanks anyways. I will look into that, once I have fixed -r1.

Do you emerge it with CPU freq scaling enabled and/or parallel emerges. The package is very fragile towards this.
Comment 11 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-04-15 10:17:35 UTC
It's the tinderbox, so it's a -j14 over an 8-way system :)
Comment 12 Justin Lecher (RETIRED) gentoo-dev 2010-04-15 10:53:11 UTC
perhaps you could try it with --jobs=1. the makeopts are okay, as the buildsystem itself reduces it when needed.
Comment 13 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-04-15 10:55:53 UTC
--jobs=1 for make? Because the tinderbox is serial, Portage is not running anything else but a fetch during build (and last build, not even that).

A build system is either parallel safe or not, there is no middle ground, there.
Comment 14 Justin Lecher (RETIRED) gentoo-dev 2010-04-15 11:00:38 UTC
It is safe in it self, but I recognized strange effects, when there was other load in background. But if that wasn't the case for you I will dig deeper and find what's going wrong. Thanks for your efforts.
Comment 15 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-04-15 11:09:21 UTC
Load in the background can only cause problems when the build system is parallel-unsafe. As I said there is no middle ground. What you could perceive as a middle-ground is “it works as long as the files are built in the expected order” which often gets kicked out by *high* parallel jobs values, or by variable load in the machine.

At the next tinderbox pause I'll try with MAKEOPTS=-j1; if it works, the build system *is* parallel-unsafe.
Comment 16 Justin Lecher (RETIRED) gentoo-dev 2010-04-15 11:31:20 UTC
(In reply to comment #15)
> Load in the background can only cause problems when the build system is
> parallel-unsafe. As I said there is no middle ground. What you could perceive
> as a middle-ground is “it works as long as the files are built in the
> expected order” which often gets kicked out by *high* parallel jobs values,
> or by variable load in the machine.

So far so good for plain builds, but the atlas buildsystem creates customized headers for each platform during build by running a some kind of benchmark suite. And at least this is extremely sensitive to system load. Perhaps resulting from bad things in this, the complete build has problems. But you are right, missing symbols shouldn't be an issue.

> 
> At the next tinderbox pause I'll try with MAKEOPTS=-j1; if it works, the build
> system *is* parallel-unsafe.

Thanks, that really would help

Comment 17 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-04-16 15:11:59 UTC
Still a problem, both with the new ebuild, and with serial make :(
Comment 18 Justin Lecher (RETIRED) gentoo-dev 2010-04-16 21:03:09 UTC
Are you sure that you eselected atlas as blas implementation?
Comment 19 Justin Lecher (RETIRED) gentoo-dev 2013-01-31 11:07:31 UTC
Dropped all atlas packages from tree.
Please use sci-libs/atlas from sci overlay.
If problem still exist with that package, please reopen the bug or file a new one.