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

Bug 825514

Summary: sci-libs/spqr-2.0.9-r1 - spqr_parallel.cpp: fatal error: tbb/task_scheduler_init.h: No such file or directory
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: ---
Bug Depends on:    
Bug Blocks: 820851    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
sci-libs:spqr-2.0.9-r1:20211121-030144.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-11-21 11:46:59 UTC
too long lines were shrinked:

libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../Include -DHAVE_TBB=1 -I/usr/include/metis -pipe -march=native -fno-diagnostics-color -O2 -c spqr_rmap.cpp  -fPIC -DPIC -o .libs/spqr_rmap.o
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../Include -DHAVE_TBB=1 -I/usr/include/metis -pipe -march=native -fno-diagnostics-color -O2 -c SuiteSparseQR_expert.cpp  -fPIC -DPIC -o .libs/SuiteSparseQR_expert.o
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../Include -DHAVE_TBB=1 -I/usr/include/metis -pipe -march=native -fno-diagnostics-color -O2 -c SuiteSparseQR_C.cpp  -fPIC -DPIC -o .libs/SuiteSparseQR_C.o
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../Include -DHAVE_TBB=1 -I/usr/include/metis -pipe -march=native -fno-diagnostics-color -O2 -c spqr_parallel.cpp  -fPIC -DPIC -o .libs/spqr_parallel.o
spqr_parallel.cpp:10:10: fatal error: tbb/task_scheduler_init.h: No such file or directory
   10 | #include <tbb/task_scheduler_init.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:575: spqr_parallel.lo] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j4-20211119-175559

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.56.1 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit e00fa1a696083fab62087598308507de6aaf89f7
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Nov 21 01:49:55 2021 +0000

    2021-11-21 01:49:53 UTC

emerge -qpvO sci-libs/spqr
[ebuild  N    ] sci-libs/spqr-2.0.9-r1  USE="partition tbb -doc"
Comment 1 Toralf Förster gentoo-dev 2021-11-21 11:47:00 UTC
Created attachment 754218 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-11-21 11:47:02 UTC
Created attachment 754222 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-11-21 11:47:03 UTC
Created attachment 754226 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-11-21 11:47:04 UTC
Created attachment 754230 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-11-21 11:47:05 UTC
Created attachment 754234 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-11-21 11:47:07 UTC
Created attachment 754238 [details]
sci-libs:spqr-2.0.9-r1:20211121-030144.log
Comment 7 Toralf Förster gentoo-dev 2021-11-21 11:47:08 UTC
Created attachment 754242 [details]
temp.tar.bz2
Comment 8 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2021-11-30 16:49:30 UTC
Looks like latest available version of spqr is incompatible with >=dev-cpp/tbb-2021.4.0.

At first I found that currently SPQR's upstream is at
https://github.com/DrTimothyAldenDavis/SuiteSparse/tree/master/SPQR
and not some semi-random host available only over plain HTTP (no "s") and only over IP address, that posted in SRC_URI...
 
But there is anyway the same 2yrs-old code, so curently there is no point even in bumping SRC_URI and rewriting ebuild to utilize it.


So, it seems like the only way is to replace tbb's atom in spqr's DEPEND...
Comment 9 Larry the Git Cow gentoo-dev 2021-12-02 01:25:05 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5363a303b439d2936e55e95137efdff0b45888db

commit 5363a303b439d2936e55e95137efdff0b45888db
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-02 01:24:49 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-02 01:24:49 +0000

    sci-libs/spqr: pin to older TBB
    
    Bug: https://bugs.gentoo.org/825514
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-libs/spqr/{spqr-2.0.9-r1.ebuild => spqr-2.0.9-r2.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)