Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870928 - sci-misc/fitscut-1.4.4 - colormap.c: error: call to undeclared library function malloc with type
Summary: sci-misc/fitscut-1.4.4 - colormap.c: error: call to undeclared library functi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Astronomy project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-17 17:37 UTC by Toralf Förster
Modified: 2022-10-06 01:46 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.17 KB, text/plain)
2022-09-17 17:37 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,2.21 KB, application/x-bzip)
2022-09-17 17:37 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,165.38 KB, text/plain)
2022-09-17 17:37 UTC, Toralf Förster
Details
environment (environment,101.14 KB, text/plain)
2022-09-17 17:37 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,8.67 KB, application/x-bzip)
2022-09-17 17:37 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.12 KB, application/x-bzip)
2022-09-17 17:37 UTC, Toralf Förster
Details
sci-misc:fitscut-1.4.4:20220917-165639.log (sci-misc:fitscut-1.4.4:20220917-165639.log,6.58 KB, text/plain)
2022-09-17 17:37 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,28.19 KB, application/x-bzip)
2022-09-17 17:37 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-17 17:37:03 UTC
clang -DHAVE_CONFIG_H -I.     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -Wmissing-prototypes  -c -o colormap.o colormap.c
clang -DHAVE_CONFIG_H -I.     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -Wmissing-prototypes  -c -o draw.o draw.c
clang -DHAVE_CONFIG_H -I.     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -Wmissing-prototypes  -c -o extract.o extract.c
clang -DHAVE_CONFIG_H -I.     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -Wmissing-prototypes  -c -o file_check.o file_check.c
colormap.c:132:27: error: call to undeclared library function 'malloc' with type
      'void *(unsigned long)'; ISO C99 and later do not support implicit
      function declarations [-Werror,-Wimplicit-function-declaration]

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
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)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

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

  HEAD of ::gentoo
commit 752b2865f9e19ca4280730410cfaec446f15f897
Merge: 27e349751fc0 db1f1763bde4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 16:31:48 2022 +0000

    Merge updates from master

emerge -qpvO sci-misc/fitscut
[ebuild  N    ] sci-misc/fitscut-1.4.4
Comment 1 Toralf Förster gentoo-dev 2022-09-17 17:37:04 UTC
Created attachment 808654 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 17:37:05 UTC
Created attachment 808657 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-17 17:37:07 UTC
Created attachment 808660 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-17 17:37:09 UTC
Created attachment 808663 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-17 17:37:10 UTC
Created attachment 808666 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-17 17:37:11 UTC
Created attachment 808669 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-17 17:37:12 UTC
Created attachment 808672 [details]
sci-misc:fitscut-1.4.4:20220917-165639.log
Comment 8 Toralf Förster gentoo-dev 2022-09-17 17:37:13 UTC
Created attachment 808675 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-10-06 01:46:34 UTC
The bug has been closed via the following commit(s):

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

commit bb33a26118846931987d910439507dc012f7ad58
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-06 01:20:27 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-06 01:45:43 +0000

    sci-misc/fitscut: fix build with upcoming clang16
    
    (revbumped at same time previous commit for other compilers)
    
    Closes: https://bugs.gentoo.org/870928
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 sci-misc/fitscut/files/fitscut-1.4.4-clang16.patch | 7 +++++++
 sci-misc/fitscut/fitscut-1.4.4-r1.ebuild           | 1 +
 2 files changed, 8 insertions(+)