Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672000 - sci-libs/cholmod-2.1.2 : /.../cholmod_metis.c:164:21: error: idxtype undeclared (first use in this function)
Summary: sci-libs/cholmod-2.1.2 : /.../cholmod_metis.c:164:21: error: idxtype undeclar...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PATCH, UPSTREAM
Depends on:
Blocks:
 
Reported: 2018-11-26 17:28 UTC by Toralf Förster
Modified: 2019-01-02 11:39 UTC (History)
6 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.38 KB, text/plain)
2018-11-26 17:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,323.80 KB, text/plain)
2018-11-26 17:28 UTC, Toralf Förster
Details
environment (environment,92.56 KB, text/plain)
2018-11-26 17:28 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,24.52 KB, application/x-bzip)
2018-11-26 17:28 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.63 KB, application/x-bzip)
2018-11-26 17:28 UTC, Toralf Förster
Details
sci-libs:cholmod-2.1.2:20181126-034555.log (sci-libs:cholmod-2.1.2:20181126-034555.log,96.89 KB, text/plain)
2018-11-26 17:29 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,28.12 KB, application/x-bzip)
2018-11-26 17:29 UTC, Toralf Förster
Details
Possibly nonsense patch which fixes the compilation. (use_idx_t_for_metis.patch,9.09 KB, patch)
2018-11-27 12:54 UTC, Jan-Matthias Braun
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-11-26 17:28:44 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2018-11-26 17:28:47 UTC
Created attachment 556354 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-11-26 17:28:50 UTC
Created attachment 556356 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-11-26 17:28:52 UTC
Created attachment 556358 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-11-26 17:28:55 UTC
Created attachment 556360 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-11-26 17:28:58 UTC
Created attachment 556362 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-11-26 17:29:00 UTC
Created attachment 556364 [details]
sci-libs:cholmod-2.1.2:20181126-034555.log
Comment 7 Toralf Förster gentoo-dev 2018-11-26 17:29:03 UTC
Created attachment 556366 [details]
temp.tbz2
Comment 8 Jan-Matthias Braun 2018-11-27 12:54:37 UTC
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. :-)
Comment 9 Larry the Git Cow gentoo-dev 2019-01-02 10:31:46 UTC
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(-)
Comment 10 Larry the Git Cow gentoo-dev 2019-01-02 11:39:30 UTC
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(-)