libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sci-libs/cholmod-2.1.2/work/cholmod-2.1.2/Partition -I.. -I../Include -I/var/tmp/portage/sci-libs/cholmod-2.1.2/work/cholmod-2.1.2/Include -I/usr/include/metis -O2 -pipe -march=native -c /var/tmp/portage/sci-libs/cholmod-2.1.2/work/cholmod-2.1.2/Partition/cholmod_metis.c -fPIC -DPIC -o .libs/cholmod_metis.o /var/tmp/portage/sci-libs/cholmod-2.1.2/work/cholmod-2.1.2/Partition/cholmod_metis.c: In function 'metis_memory_ok': /var/tmp/portage/sci-libs/cholmod-2.1.2/work/cholmod-2.1.2/Partition/cholmod_metis.c:164:21: error: 'idxtype' undeclared (first use in this function) if (s * sizeof (idxtype) >= ((double) Size_max)) ^~~~~~~ /var/tmp/portage/sci-libs/cholmod-2.1.2/work/cholmod-2.1.2/Partition/cholmod_metis.c:164:21: note: each undeclared identifier is reported only once for each function it appears in ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-systemd_test_20181118-211824 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-8.2.0 * Available Python interpreters, in order of preference: [1] python3.7 [2] python3.6 [3] python2.7 (fallback) [4] pypy3 (fallback) Available Ruby profiles: [1] ruby23 (with Rubygems) [2] ruby24 (with Rubygems) [3] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.30.1 [2] rust-bin-1.30.1 * java-config: The following VMs are available for generation-2: emerge -qpvO sci-libs/cholmod [ebuild R ] sci-libs/cholmod-2.1.2 USE="metis -cuda -doc -lapack -minimal -static-libs"
Created attachment 556354 [details] emerge-info.txt
Created attachment 556356 [details] emerge-history.txt
Created attachment 556358 [details] environment
Created attachment 556360 [details] etc.portage.tbz2
Created attachment 556362 [details] logs.tbz2
Created attachment 556364 [details] sci-libs:cholmod-2.1.2:20181126-034555.log
Created attachment 556366 [details] temp.tbz2
Created attachment 556450 [details, diff] Possibly nonsense patch which fixes the compilation. Hi! I am having no idea of what I'm doing. But I found this report https://github.com/jlblancoc/suitesparse-metis-for-windows/issues/6 it seems to be a similar problem and the suggested fix applies and fixes the compilation. If someone with the background knowledge could confirm that it does what it should … also semantically and not only syntactically. :-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b5bae412263f24a9842f3dc148820eb7e722ef8 commit 9b5bae412263f24a9842f3dc148820eb7e722ef8 Author: Justin Lecher <jlec@gentoo.org> AuthorDate: 2019-01-02 10:31:21 +0000 Commit: Justin Lecher <jlec@gentoo.org> CommitDate: 2019-01-02 10:31:42 +0000 sci-libs/cholmod: fix metis dep Closes: https://bugs.gentoo.org/672000 Package-Manager: Portage-2.3.53, Repoman-2.3.12 Signed-off-by: Justin Lecher <jlec@gentoo.org> sci-libs/cholmod/cholmod-2.1.2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90a43dd12576f5a7c2f2472f3c537956d891ede4 commit 90a43dd12576f5a7c2f2472f3c537956d891ede4 Author: Justin Lecher <jlec@gentoo.org> AuthorDate: 2019-01-02 10:47:44 +0000 Commit: Justin Lecher <jlec@gentoo.org> CommitDate: 2019-01-02 11:39:23 +0000 sci-libs/cholmod: fix metis dep Closes: https://bugs.gentoo.org/672000 Package-Manager: Portage-2.3.53, Repoman-2.3.12 Signed-off-by: Justin Lecher <jlec@gentoo.org> sci-libs/cholmod/cholmod-2.1.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)