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

Bug 803350

Summary: sci-libs/cfitsio-3.490 - f77_wrap.h: error: _ declared as function returning a function
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Astronomy project <sci-astronomy>
Status: RESOLVED FIXED    
Severity: normal CC: zeekec
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=817647
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
sci-libs:cfitsio-3.490:20210722-032856.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-07-22 08:49:23 UTC
      | ^~~~~~~~~~~
In file included from f77_wrap1.c:43:
f77_wrap.h:276:12: error: ‘_’ declared as function returning a function
  276 |   CFextern _(T0,_cfF)(UN,LN)                                                   \
      |            ^
cfortran.h:2295:9: note: in expansion of macro ‘FCALLSCFUN14’
 2295 |         FCALLSCFUN14(T0,CN,UN,LN,T1,T2,T3,T4,T5,T6,T7,T8,T9,TA,CF_0,CF_0,CF_0,CF_0)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-j3-20210721-234825

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
Python 3.9.6
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *
  HEAD of ::gentoo
commit a54cbd334e20eb3d3402d5294fb0a5e25764d77f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Jul 22 02:36:30 2021 +0000

    2021-07-22 02:36:29 UTC

emerge -qpvO sci-libs/cfitsio
[ebuild  N    ] sci-libs/cfitsio-3.490  USE="bzip2 -curl" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2 ssse3"
Comment 1 Toralf Förster gentoo-dev 2021-07-22 08:49:24 UTC
Created attachment 725671 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-07-22 08:49:26 UTC
Created attachment 725674 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-07-22 08:49:27 UTC
Created attachment 725677 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-07-22 08:49:28 UTC
Created attachment 725680 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-07-22 08:49:29 UTC
Created attachment 725683 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-07-22 08:49:31 UTC
Created attachment 725686 [details]
sci-libs:cfitsio-3.490:20210722-032856.log
Comment 7 Toralf Förster gentoo-dev 2021-07-22 08:49:33 UTC
Created attachment 725689 [details]
temp.tar.bz2
Comment 8 Marek Szuba archtester gentoo-dev 2021-08-14 22:38:15 UTC
I've just seen this while attempting to keyword cfitsio on riscv, the problem is that it is not compatible with newer versions of dev-lang/cfortran.
Comment 9 Larry the Git Cow gentoo-dev 2021-08-14 23:15:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68c40ff82bdf6b131f613d176798b1134aa8a60f

commit 68c40ff82bdf6b131f613d176798b1134aa8a60f
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2021-08-14 22:29:37 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2021-08-14 23:15:12 +0000

    sci-libs/cfitsio: set version cap on dev-lang/cfortran
    
    Closes: https://bugs.gentoo.org/803350
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 sci-libs/cfitsio/cfitsio-3.490.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)