Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870514 - sci-calculators/hcalc-1.2-r1:0 - /.../hcalc.c: error: implicit declaration of function setup_x [-Werror=implicit-function-declarat
Summary: sci-calculators/hcalc-1.2-r1:0 - /.../hcalc.c: error: implicit declaration of...
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:
: 870862 (view as bug list)
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-16 19:36 UTC by Toralf Förster
Modified: 2022-09-28 22:36 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.88 KB, text/plain)
2022-09-16 19:36 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,63.46 KB, application/x-bzip)
2022-09-16 19:36 UTC, Toralf Förster
Details
environment (environment,100.85 KB, text/plain)
2022-09-16 19:36 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,12.67 KB, application/x-bzip)
2022-09-16 19:36 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.14 KB, application/x-bzip)
2022-09-16 19:36 UTC, Toralf Förster
Details
sci-calculators:hcalc-1.2-r1:20220916-183520.log (sci-calculators:hcalc-1.2-r1:20220916-183520.log,11.08 KB, text/plain)
2022-09-16 19:36 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,26.46 KB, application/x-bzip)
2022-09-16 19:36 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 2022-09-16 19:36:39 UTC
[2/6] /usr/bin/x86_64-pc-linux-gnu-gcc    -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include -MD -MT CMakeFiles/hcalc.dir/hcalc.c.o -MF CMakeFiles/hcalc.dir/hcalc.c.o.d -o CMakeFiles/hcalc.dir/hcalc.c.o -c /var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2/hcalc.c
FAILED: CMakeFiles/hcalc.dir/hcalc.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc    -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include -MD -MT CMakeFiles/hcalc.dir/hcalc.c.o -MF CMakeFiles/hcalc.dir/hcalc.c.o.d -o CMakeFiles/hcalc.dir/hcalc.c.o -c /var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2/hcalc.c
/var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2/hcalc.c: In function main:
/var/tmp/portage/sci-calculators/hcalc-1.2-r1/work/hcalc-1.2/hcalc.c:13:3: error: implicit declaration of function setup_x [-Werror=implicit-function-declaration]
   13 |   setup_x(argc, argv);
      |   ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-j4-20220913-010022

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.3.1
 [2] x86_64-pc-linux-gnu-11.3.1
 [3] x86_64-pc-linux-gnu-12.2.1 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	OpenJDK 11.0.16.1_p1 [openjdk-11]
2)	OpenJDK 17.0.5_p5 [openjdk-17]
3)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
5)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
6)	Eclipse Temurin JRE 17.0.4.1_p1 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-11 
  [2]   openjdk-17 
  [3]   openjdk-bin-8 
  [4]   openjdk-bin-11 
  [5]   openjdk-bin-17  system-vm
  [6]   openjdk-jre-bin-17 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
GNU Make 4.3

  HEAD of ::gentoo
commit 0d22bb6c1d6dd9122872e6479a56f3fee85ea69a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Sep 16 18:02:06 2022 +0000

    2022-09-16 18:02:06 UTC

emerge -qpvO sci-calculators/hcalc
[ebuild  N    ] sci-calculators/hcalc-1.2-r1
Comment 1 Toralf Förster gentoo-dev 2022-09-16 19:36:40 UTC
Created attachment 806338 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-16 19:36:41 UTC
Created attachment 806341 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-16 19:36:43 UTC
Created attachment 806344 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-09-16 19:36:43 UTC
Created attachment 806347 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-09-16 19:36:44 UTC
Created attachment 806350 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-16 19:36:45 UTC
Created attachment 806353 [details]
sci-calculators:hcalc-1.2-r1:20220916-183520.log
Comment 7 Toralf Förster gentoo-dev 2022-09-16 19:36:46 UTC
Created attachment 806356 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-09-28 20:44:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53e9cc2a47d42da13d71f5f6e40431d705ca95f5

commit 53e9cc2a47d42da13d71f5f6e40431d705ca95f5
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-09-28 18:46:45 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-09-28 20:43:18 +0000

    sci-calculators/hcalc: fix build with clang16
    
    Closes: https://bugs.gentoo.org/870514
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../hcalc/files/hcalc-1.2-clang16.patch            | 26 ++++++++++++++++++++++
 sci-calculators/hcalc/hcalc-1.2-r1.ebuild          |  7 ++++--
 2 files changed, 31 insertions(+), 2 deletions(-)
Comment 9 Ionen Wolkens gentoo-dev 2022-09-28 22:36:42 UTC
*** Bug 870862 has been marked as a duplicate of this bug. ***