Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 762670 - sci-libs/openblas-0.3.13 static lib missing
Summary: sci-libs/openblas-0.3.13 static lib missing
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-30 18:43 UTC by Florian D.
Modified: 2023-07-06 19:36 UTC (History)
4 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 Florian D. 2020-12-30 18:43:07 UTC
with sci-libs/openblas-0.3.9-r1 you got the libopenblas.a file in /usr/lib64
with sci-libs/openblas-0.3.13 there are only the .so files/symlinks

(regardless if you set eselect-ldso or not)
some programs demand the static lib, e.g. GAMESS

please provide the static lib again.
current workaround is to compile the source manually.
Thanks!

Reproducible: Always
Comment 1 Florian D. 2020-12-30 18:47:30 UTC
brain /usr/lib64 # emerge --info
Portage 3.0.12 (python 3.6.12-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-10.2.0, glibc-2.32-r6, 5.10.3 x86_64)
=================================================================
System uname: Linux-5.10.3-x86_64-AMD_Ryzen_Threadripper_1950X_16-Core_Processor-with-gentoo-2.7
KiB Mem:   131924732 total,  98666448 free
KiB Swap:  177763312 total, 177763312 free
Timestamp of repository gentoo: Tue, 29 Dec 2020 23:00:01 +0000
Head commit of repository gentoo: fc0511314704a082054ae050cbf5f958c477a440
sh bash 5.1_p4
ld GNU ld (Gentoo 2.35.1 p2) 2.35.1
app-shells/bash:          5.1_p4::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3-r1::gentoo
dev-lang/python:          2.7.18-r5::gentoo, 3.7.9-r1::gentoo, 3.8.7::gentoo, 3.9.1::gentoo
dev-util/cmake:           3.19.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.1-r1::gentoo
sys-devel/gcc:            9.3.0-r2::gentoo, 10.2.0-r5::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r6::gentoo
Repositories:

kde
    location: /var/gentoo/repositories/layman/kde
    masters: gentoo
    priority: 0

steam-overlay
    location: /var/gentoo/repositories/layman/steam-overlay
    masters: gentoo
    priority: 1

mozilla
    location: /var/gentoo/repositories/layman/mozilla
    masters: gentoo
    priority: 2

x11
    location: /var/gentoo/repositories/layman/x11
    masters: gentoo
    priority: 3

science
    location: /var/gentoo/repositories/layman/science
    masters: gentoo
    priority: 4

riru
    location: /var/gentoo/repositories/layman/riru
    masters: gentoo
    priority: 5

florian-overlay
    location: /etc/portage/florian-overlay
    masters: gentoo
    priority: 6

gentoo
    location: /var/gentoo/repositories/portage
    sync-type: rsync
    sync-uri: rsync://stimpy/stimpy-portage
    priority: 9999
    sync-rsync-extra-opts:
    sync-rsync-vcs-ignore: true
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

Installed sets: @kde-baseapps, @kde-frameworks
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=znver1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/lan                                      guage.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=znver1"
DISTDIR="/var/gentoo/distfiles/"
EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build=n"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch paral                                      lel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://gentoo.mirror.web4u.cz/ http://mirror.netcologne.de/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://ftp.fi.muni.cz/pub/linux/gentoo/ h                                      ttp://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://de-mirror.org/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,now,--as-needed,-O1,--hash-style=gnu,--sort-common"
LINGUAS="en_GB en de"
MAKEOPTS="-j32"
PKGDIR="/var/gentoo/packages/amd64/"
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 --exclu                                      de=/packages --exclude=/.git"
PORTAGE_TMPDIR="/tmp"
USE="3dnow 3dnowext X \ a52 aac aalib acl acpi activities aes alsa amd64 apache2 atlas audiofile authdaemond avi avx bash-completion berkdb blas branding bzip2 bzlib cairo calendar cdda cddb cdparanoia cdr clear                                      type cli corefonts crypt cups dbus declarative dga divx4linux dri dts dvb dvd dvdr dvdread egl elogind emboss encode eselect-ldso exif f77 fam fbcon ffmpeg fftw firefox flac fma3 fma4 fortran ftp gallium gdbm gi                                      f ginac glamor gles1 gles2 gphoto2 gpm gps grub gtk gtk3 gui i-doc iconv icq icu imap ipv6 iwd java6 javascript jpeg jpeg2k junit kde kipi kwallet lapack latex lcms libglvnd libinput libnotify libtirpc libwww lm                                      _sensors mad maildir mercurial mime mmap mmx mmxext mng mozilla mozsvg mp3 mp4 mpeg msn multilib mysqli ncurses network networkmanager nls nptl nsplugin obcd objc ogg openexr opengl openmp pam pam_timestamp pang                                      o pch pcre pda pdf pdflib phonon pic pie plasma plotutils png policykit popcnt postgres postscript ppds private-headers python qml qt5 quicktime readline samba sasl scanner sdl seccomp semantic-desktop skey slp                                       smp sndfile snmp sox speex spell split-usr sse sse2 sse3 sse4_1 sse4_2 sse4a ssl ssse3 startup-notification svg sysfs system-cairo system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-sqli                                      te tbb tcpd theora threads tiff truetype udev udisks unicode upnp upnp-av upower usb v4l2 vcd vdpau vorbis vulkan wayland widgets wifi win32codecs wmf wxwidgets x264 xanim xattr xcb xine xinerama xml xop xprint                                       xulrunner xv xvid zlib zvbi" ABI_X86="64 32" ADA_TARGET="gnat_2018" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_core authz_core authn_dbd authn_dbm authn_default authn_file authz_dbm a                                      uthz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_conf                                      ig logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif slotmem_shm so socache_shmcb speling status unique_id userdir usertrack vhost_alias" CALLIG                                      RA_FEATURES="braindump flow karbon kexi krita stage tables words sheets plan" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="sse3 fpu vme de pse tsc msr pae mce cx8 apic sep m                                      trr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid amd_dcm aperfmperf pni pclmulqdq monitor ssse3 fma cx                                      16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_l2 mwaitx h                                      w_pstate vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausef                                      ilter pfthreshold avic v_vmsave_vmload overflow_recov succor smca" ELIBC="glibc" ENLIGHTENMENT_MODULES="backlight clock comp conf-applications conf-dialogs conf-display conf-edgebindings conf-interaction conf-in                                      tl conf-keybindings conf-menus conf-paths conf-performance conf-randr conf-shelves conf-theme conf-window-manipulation conf-window-remembers connman cpufreq dropshadow everything fileman fileman-opinfo gadman ib                                      ar ibox illume2 mixer msgbus notification pager quickaccess shot start syscon systray tasks temperature tiling winlist wizard xkbswitch" GPSD_PROTOCOLS="aivdm ashtech earthmate evermore fury fv18 garmin garmintx                                      t geostar gpsclock greis itrax mtk3301 navcom nmea0183 nmea2000 ntrip oceanserver oncore passthrough rtcm104v2 rtcm104v3 sirf skytraq superstar2 tnt tripmate tsip" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="libin                                      put evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer nlpsolver pdfimport" LLVM_TARGETS="X86                                       amdgpu" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TAR                                      GETS="python3_8 python3_7 pypy3" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby26 ruby25 ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock                                       lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-30 19:02:32 UTC
Is there a reason you need it?
Comment 3 Ionen Wolkens gentoo-dev 2020-12-30 19:24:10 UTC
(In reply to Florian D. from comment #0)
> some programs demand the static lib, e.g. GAMESS
Are you sure? I don't see anything about static libs in
https://cgit.gentoo.org/proj/sci.git/tree/sci-chemistry/gamess

Not that I've tried to build given the fetch restrictions.

Either way, static-libs support doesn't get added to ebuilds without a very good reason (typically only for rescue tools, or if no shared version exists).
Comment 4 Florian D. 2020-12-30 19:43:39 UTC
(In reply to Ionen Wolkens from comment #3)
I compile GAMESS from source, the gentoo version is a bit outdated (upstream is changing the file without version number, so quite a mess for distribution packagers, file size/checksum will fail frequently, but this is off topic here)

the GAMESS install script demands the static lib... (perhaps a "static" USE flag would be favourable?)

thanks.
Comment 5 David Seifert gentoo-dev 2020-12-30 19:51:14 UTC
(In reply to Florian D. from comment #4)
> (In reply to Ionen Wolkens from comment #3)
> I compile GAMESS from source, the gentoo version is a bit outdated (upstream
> is changing the file without version number, so quite a mess for
> distribution packagers, file size/checksum will fail frequently, but this is
> off topic here)
> 
> the GAMESS install script demands the static lib... (perhaps a "static" USE
> flag would be favourable?)
> 
> thanks.

Then we should fix the install script. I don't see a rationale for installing static-libs here.
Comment 6 Florian D. 2020-12-31 17:00:26 UTC
(In reply to David Seifert from comment #5)
Indeed, I've found another install method, wich accepts the dynamic libs. 

my use-case is solved, the bug can be closed :)

but the initial idea from upstream was to faciliate the use of render-farms, so you can provide one executable and distribute it to the nodes without having to install openblas to each node. 

I think there is a reason why other math-libs have a "static-libs" USE flag, too, e.g. sci-libs/mkl, sci-libs/atlas
Comment 7 Michael Orlitzky gentoo-dev 2023-07-06 19:36:42 UTC
(In reply to Florian D. from comment #6)
> (In reply to David Seifert from comment #5)
> Indeed, I've found another install method, wich accepts the dynamic libs. 
> 
> my use-case is solved, the bug can be closed :)

Ok, thanks for letting us know.


> I think there is a reason why other math-libs have a "static-libs" USE flag,
> too, e.g. sci-libs/mkl, sci-libs/atlas

I can only guess, but static linking being faster is an old meme. The actual performance impact is not a black and white issue, and static linking has many other downsides.

As far as Gentoo goes, we were less aggressive about the USE flag in the past, so many of them crept in for no good reason.