Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 803350 - sci-libs/cfitsio-3.490 - f77_wrap.h: error: _ declared as function returning a function
Summary: sci-libs/cfitsio-3.490 - f77_wrap.h: error: _ declared as function returning ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Astronomy project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-22 08:49 UTC by Toralf Förster
Modified: 2022-06-03 12:13 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.87 KB, text/plain)
2021-07-22 08:49 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,29.04 KB, text/plain)
2021-07-22 08:49 UTC, Toralf Förster
Details
environment (environment,74.66 KB, text/plain)
2021-07-22 08:49 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,12.66 KB, application/x-bzip)
2021-07-22 08:49 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.31 KB, application/x-bzip)
2021-07-22 08:49 UTC, Toralf Förster
Details
sci-libs:cfitsio-3.490:20210722-032856.log (sci-libs:cfitsio-3.490:20210722-032856.log,330.41 KB, text/plain)
2021-07-22 08:49 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.40 KB, application/x-bzip)
2021-07-22 08:49 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 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 (RETIRED) 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(-)