Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 671998 - sci-libs/mumps-5.1.2 : mumps_metis_int.c:35:24: error: IDXTYPEWIDTH undeclared (first use in this function)
Summary: sci-libs/mumps-5.1.2 : mumps_metis_int.c:35:24: error: IDXTYPEWIDTH undeclare...
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:
Depends on:
Blocks:
 
Reported: 2018-11-26 17:28 UTC by Toralf Förster
Modified: 2020-09-18 23:27 UTC (History)
5 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.08 KB, text/plain)
2018-11-26 17:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,323.71 KB, text/plain)
2018-11-26 17:28 UTC, Toralf Förster
Details
environment (environment,107.31 KB, text/plain)
2018-11-26 17:28 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,24.53 KB, application/x-bzip)
2018-11-26 17:28 UTC, Toralf Förster
Details
sci-libs:mumps-5.1.2:20181126-034139.log (sci-libs:mumps-5.1.2:20181126-034139.log,12.72 KB, text/plain)
2018-11-26 17:28 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.99 KB, application/x-bzip)
2018-11-26 17:28 UTC, Toralf Förster
Details

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:22 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -I../libseq -I../include -DAdd_ -I/usr/include/metis -I../PORD/include/ -I/usr/include/scotch -Dpord -Dmetis -Dscotch -c mumps_metis_int.c -o mumps_metis_int.o
mumps_metis_int.c: In function ‘mumps_metis_idxsize_’:
mumps_metis_int.c:35:24: error: ‘IDXTYPEWIDTH’ undeclared (first use in this function)
        *metis_idx_size=IDXTYPEWIDTH;
                        ^~~~~~~~~~~~
mumps_metis_int.c:35:24: 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/mumps
[ebuild  N    ] sci-libs/mumps-5.1.2  USE="metis scotch -doc -examples -mpi -static-libs"
Comment 1 Toralf Förster gentoo-dev 2018-11-26 17:28:25 UTC
Created attachment 556342 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-11-26 17:28:27 UTC
Created attachment 556344 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-11-26 17:28:30 UTC
Created attachment 556346 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-11-26 17:28:33 UTC
Created attachment 556348 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-11-26 17:28:36 UTC
Created attachment 556350 [details]
sci-libs:mumps-5.1.2:20181126-034139.log
Comment 6 Toralf Förster gentoo-dev 2018-11-26 17:28:38 UTC
Created attachment 556352 [details]
temp.tbz2
Comment 7 Bernd 2019-09-15 16:06:22 UTC
I can confirm this with gcc-8.3.0
Comment 8 kevinmbecause 2019-12-31 04:42:03 UTC
I have this same problem. I found that /usr/include/scotch/metis.h (from scotch- 5.1.12b) was preferred by gcc over the correct file in /usr/include/metis.h. scotch-6.0.4-r2 moves metis.h into /usr/include/scotch/metis/ so this problem does not occur. This would be fixed by https://bugs.gentoo.org/670759 if that pull request is ever approved. Alternatively, just removing the offending header file (and /usr/include/scotch/parmetis.h if parmetis is installed) will serve as a workaround.
Comment 9 Larry the Git Cow gentoo-dev 2020-09-18 22:27:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=833678ddd4d9ef7dfcabacc5fcc77b4f647aca91

commit 833678ddd4d9ef7dfcabacc5fcc77b4f647aca91
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2020-09-18 22:02:41 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-09-18 22:27:40 +0000

    sci-libs/mumps: bump to 5.3.3
    
    Closes: https://bugs.gentoo.org/727356
    Closes: https://bugs.gentoo.org/721992
    Closes: https://bugs.gentoo.org/711034
    Closes: https://bugs.gentoo.org/671998
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-libs/mumps/Manifest           |   1 +
 sci-libs/mumps/mumps-5.3.3.ebuild | 201 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 202 insertions(+)