Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 590674 - sci-mathematics/octave-4.0.2-r1[sparse] with sci-libs/cxsparse-2.2.1 - configure: WARNING: CXSparse library not found.
Summary: sci-mathematics/octave-4.0.2-r1[sparse] with sci-libs/cxsparse-2.2.1 - config...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-07 07:57 UTC by Bernd
Modified: 2017-06-11 21:46 UTC (History)
0 users

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 Bernd 2016-08-07 07:57:27 UTC
When I wanted to upgrade octave it failed compiling and I checked the build.log for errors. I found several points that came to my attention.

The configure script doesn't find the sci-libs/cxsparse package, although it is installed:
waebbl@artus ~/code $ eix -n cxsparse
[I] sci-libs/cxsparse
     Available versions:  2.2.1 ~2.2.6 ~3.1.1 ~3.1.2 {static-libs}
     Installed versions:  2.2.1(04:16:02 AM 12/21/2015)
     Homepage:            http://www.cise.ufl.edu/research/sparse/CXSparse/
     Description:         Extended sparse matrix package

The build log says:
checking suitesparse/cs.h usability... no
checking suitesparse/cs.h presence... no
checking for suitesparse/cs.h... no
checking ufsparse/cs.h usability... no
checking ufsparse/cs.h presence... no
checking for ufsparse/cs.h... no
checking cxsparse/cs.h usability... no
checking cxsparse/cs.h presence... no
checking for cxsparse/cs.h... no
checking cs.h usability... no
checking cs.h presence... no
checking for cs.h... no
configure: WARNING: CXSparse library not found.  This will result in some lack of functionality for sparse matrices.

And in the configuration summary:
  CXSPARSE CPPFLAGS:           
  CXSPARSE LDFLAGS:            
  CXSPARSE libraries:          

I haven't yet checked how configure tests for cxsparse include file, but it's there and configure doesn't find it:
waebbl@artus ~/code $ equery files cxsparse | grep cs.h
/usr/include/cs.h
waebbl@artus ~/code $ ls -l /usr/include/cs.h
-rw-r--r-- 1 root root 30768 Dec 21  2015 /usr/include/cs.h

The installed cxsparse package doesn't install a pkgconfig file. I upgraded cxsparse to the latest unstable release =sci-libs/cxsparse-3.1.2 which does install a pkgconfig file and the configuration then finds the package.

Maybe we should update the dependency on sci-libs/cxsparse for octave, when using the sparse use-flag to depend on a release which installs a pkgconfig file, like cxsparse-3.1.2. I haven't tested whether other releases of cxsparse will install this file.

My emerge info:
waebbl@artus ~/code $ emerge -pqv =octave-4.0.2-r1
[ebuild     U ] sci-mathematics/octave-4.0.2-r1 [3.8.2] USE="X curl doc fftw glpk gnuplot gui hdf5 imagemagick java opengl postscript qhull qrupdate readline sparse zlib -graphicsmagick% -jit% -static-libs" 

waebbl@artus ~/code $ emerge --info =octave-4.0.2-r1
Portage 2.3.0_rc1 (python 3.4.5-final-0, default/linux/amd64/13.0/systemd, gcc-4.9.3, glibc-2.22-r4, 4.4.6-gentoo-2 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.4.6-gentoo-2-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-gentoo-2.2
KiB Mem:    16397792 total,   4613016 free
KiB Swap:    4194300 total,   4193344 free
Timestamp of repository gentoo: Sat, 06 Aug 2016 12:00:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo, 3.5.2::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

local
    location: /mnt/data/code/gentoo-overlay
    masters: gentoo
    priority: 10

bar
    location: /var/lib/layman/bar
    sync-type: laymansync
    sync-uri: git://github.com/tokiclover/bar-overlay.git
    masters: gentoo
    priority: 50

dracwyrm
    location: /mnt/data/code/dracwyrm-gentoo-ebuilds/gentoo-ebuilds
    sync-type: laymansync
    sync-uri: git://github.com/drawcyrm/gentoo-ebuilds.git
    masters: gentoo
    priority: 50

enlightenment
    location: /var/lib/layman/enlightenment
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/enlightenment.git
    masters: gentoo
    priority: 50

gamerlay
    location: /var/lib/layman/gamerlay
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/gamerlay.git
    masters: gentoo
    priority: 50

games-overlay
    location: /var/lib/layman/games-overlay
    sync-type: laymansync
    sync-uri: git://github.com/hasufell/games-overlay.git
    masters: gentoo
    priority: 50

haskell
    location: /var/lib/layman/haskell
    sync-type: laymansync
    sync-uri: git://github.com/gentoo-haskell/gentoo-haskell.git
    masters: gentoo
    priority: 50

multimedia
    location: /var/lib/layman/multimedia
    sync-type: laymansync
    sync-uri: https://github.com/gentoo/multimedia.git
    masters: gentoo
    priority: 50

octave
    location: /var/lib/layman/octave
    sync-type: laymansync
    sync-uri: git://github.com/rafaelmartins/octave-overlay.git
    masters: gentoo
    priority: 50

prism-overlay
    location: /var/lib/layman/prism-overlay
    sync-type: laymansync
    sync-uri: git://github.com/hasufell/prism-overlay.git
    masters: gentoo
    priority: 50

science
    location: /var/lib/layman/science
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/sci.git
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: laymansync
    sync-uri: git://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

sunrise
    location: /var/lib/layman/sunrise
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/sunrise-reviewed.git
    masters: gentoo
    priority: 50

toolchain
    location: /var/lib/layman/toolchain
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/toolchain.git
    masters: gentoo
    priority: 50

wine-a-holics
    location: /var/lib/layman/wine-a-holics
    sync-type: laymansync
    sync-uri: git://github.com/NP-Hardass/wine-a-holics.git
    masters: gentoo
    priority: 50

Installed sets: @3D, @adm-tools, @android, @base, @desktop, @dev-tools, @doc-tools, @docs, @fonts, @games, @haskell, @haskell-platform, @langs, @media, @my_latex, @netz, @nvidia, @office, @qt, @sci, @sec, @server, @steam, @vcs, @virt, @web, @xfce, @zip
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=bdver2 -mprefer-avx128 -mvzeroupper"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/grs/systems.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=bdver2 -mprefer-avx128 -mvzeroupper"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps n --complete-graph --jobs=1 --keep-going"
FCFLAGS="-O2 -pipe -march=bdver2 -mprefer-avx128 -mvzeroupper"
FEATURES="assume-digests binpkg-logs buildpkg candy cgroup clean-logs config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=bdver2 -mprefer-avx128 -mvzeroupper"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.halifax.rwth-aachen.de/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
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 --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl alsa amd64 bindist bzip2 cli cracklib crypt cxx dri fortran gdbm gif gnome-keyring iconv ipv6 jpeg mmx mmxext modules multilib ncurses nls nptl offensive opengl openmp pam pcre pic png policykit pulseaudio python readline seccomp session sse sse2 ssl svg systemd tcpd threads tiff udev unicode xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" L10N="de de-DE en en-GB en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" LINGUAS="de de_DE en en_GB en_US" NGINX_MODULES_HTTP="access addition auth_basic auth_pam autoindex browser cache_purge charset dav dav_ext echo empty_gif fancyindex fastcgi flv geo geoip gunzip gzip headers_more image_filter limit_conn limit_req map memc memcached metrics mp4 naxsi proxy push_stream realip referer rewrite scgi secure_link slowfs_cache split_clients ssi sticky stub_status sub upload_progress upstream_check upstream_ip_hash userid uwsgi xslt" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4 python3_5" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm armeb i386 x86_64" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="dummy fbdev nvidia vesa" 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_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Coacher 2016-08-08 11:13:00 UTC
Please also attach a complete 'build.log'.
Comment 2 Bernd 2016-08-08 16:07:29 UTC
Please see bug #590686 for a complete build.log. Both bug-reports are from the same build.
Comment 3 David Seifert gentoo-dev 2017-06-11 21:46:31 UTC
Removed from tree, reopen if issue persists.

commit 8fc2192f2c98e1de3f9667d4d968141c6df8d55c
Author: David Seifert <soap@gentoo.org>
Date:   Sun Jun 11 23:02:50 2017 +0200

    sci-mathematics/octave: Remove old