Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706026 - sci-mathematics/slepc-3.12.1 : /.../slepcconf.h:1: error: unterminated #if
Summary: sci-mathematics/slepc-3.12.1 : /.../slepcconf.h:1: error: unterminated #if
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-21 19:49 UTC by Toralf Förster
Modified: 2022-05-26 00:44 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.94 KB, text/plain)
2020-01-21 19:49 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,255.12 KB, text/plain)
2020-01-21 19:49 UTC, Toralf Förster
Details
environment (environment,101.19 KB, text/plain)
2020-01-21 19:49 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.08 KB, application/x-bzip)
2020-01-21 19:50 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.90 KB, application/x-bzip)
2020-01-21 19:50 UTC, Toralf Förster
Details
sci-mathematics:slepc-3.12.1:20200121-062633.log (sci-mathematics:slepc-3.12.1:20200121-062633.log,19.74 KB, text/plain)
2020-01-21 19:50 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.95 KB, application/x-bzip)
2020-01-21 19:50 UTC, Toralf Förster
Details
patch configure.py to generate proper slepcconf.h (slepcconf_h.patch,465 bytes, patch)
2020-03-30 11:33 UTC, Zhichu Chen
Details | Diff
patch for the current version (slepcconf_h.patch,455 bytes, patch)
2020-05-05 09:05 UTC, Zhichu Chen
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 2020-01-21 19:49:51 UTC
                 from /var/tmp/portage/sci-mathematics/slepc-3.12.1/work/slepc-3.12.1/include/slepc/private/slepcimpl.h:14,
                 from /var/tmp/portage/sci-mathematics/slepc-3.12.1/work/slepc-3.12.1/src/sys/slepcinit.c:11:
/var/tmp/portage/sci-mathematics/slepc-3.12.1/work/slepc-3.12.1/installed-arch-linux2-c++-opt/include/slepcconf.h:1: error: unterminated #if
    1 | #if !defined(SLEPCCONF_H)
      | 
gmake[2]: *** [gmakefile:167: installed-arch-linux2-c++-opt/obj/sys/slepcinit.o] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20200115-231608

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 21 Jan 2020 04:06:21 +0000

emerge -qpvO sci-mathematics/slepc
[ebuild  N    ] sci-mathematics/slepc-3.12.1  USE="mpi -complex-scalars -doc"
Comment 1 Toralf Förster gentoo-dev 2020-01-21 19:49:54 UTC
Created attachment 603886 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-21 19:49:56 UTC
Created attachment 603888 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-21 19:49:59 UTC
Created attachment 603890 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-21 19:50:02 UTC
Created attachment 603892 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-21 19:50:05 UTC
Created attachment 603894 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-21 19:50:08 UTC
Created attachment 603896 [details]
sci-mathematics:slepc-3.12.1:20200121-062633.log
Comment 7 Toralf Förster gentoo-dev 2020-01-21 19:50:11 UTC
Created attachment 603898 [details]
temp.tbz2
Comment 8 Zhichu Chen 2020-03-30 11:33:03 UTC
Created attachment 627254 [details, diff]
patch configure.py to generate proper slepcconf.h

You can always make a patch. Put the attached file in the directory:

/etc/portage/patches/sci-mathematics/slepc-3.12.1
Comment 9 Zhichu Chen 2020-05-05 09:05:57 UTC
Created attachment 636180 [details, diff]
patch for the current version

sci-mathematics/slepc-3.13.1 has the exact same problem. Put this patch file under "/etc/portage/patches/sci-mathematics/slepc-3.13.1" to fix it.