Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871258 - app-crypt/shash-0.2.6-r3 - extra.c: error: call to undeclared library function malloc with type
Summary: app-crypt/shash-0.2.6-r3 - extra.c: error: call to undeclared library functio...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: clang-16-porting
  Show dependency tree
 
Reported: 2022-09-18 10:21 UTC by Toralf Förster
Modified: 2022-10-31 17:55 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.39 KB, text/plain)
2022-09-18 10:21 UTC, Toralf Förster
Details
app-crypt:shash-0.2.6-r3:20220918-100432.log (app-crypt:shash-0.2.6-r3:20220918-100432.log,16.30 KB, text/plain)
2022-09-18 10:21 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,1.70 KB, application/x-bzip)
2022-09-18 10:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,212.26 KB, text/plain)
2022-09-18 10:21 UTC, Toralf Förster
Details
environment (environment,59.62 KB, text/plain)
2022-09-18 10:21 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,14.19 KB, application/x-bzip)
2022-09-18 10:21 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.41 KB, application/x-bzip)
2022-09-18 10:21 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,19.13 KB, application/x-bzip)
2022-09-18 10:21 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-18 10:21:34 UTC
too long lines were shrinked:

clang -DHAVE_CONFIG_H -I. -I. -I..     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -Wpointer-arith -c `test -f 'shash.c' || echo './'`shash.c
clang -DHAVE_CONFIG_H -I. -I. -I..     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -Wpointer-arith -c `test -f 'errors.c' || echo './'`errors.c
clang -DHAVE_CONFIG_H -I. -I. -I..     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -Wpointer-arith -c `test -f 'extra.c' || echo './'`extra.c
clang -DHAVE_CONFIG_H -I. -I. -I..     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -Wpointer-arith -c `test -f 'functions.c' || echo './'`functions.c
extra.c:29:9: 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 4737e48d935a07ae10cdeb0bcba4f17c85f93223
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 18 08:46:57 2022 +0000

    2022-09-18 08:46:56 UTC

emerge -qpvO app-crypt/shash
[ebuild  N    ] app-crypt/shash-0.2.6-r3  USE="-static"
Comment 1 Toralf Förster gentoo-dev 2022-09-18 10:21:35 UTC
Created attachment 810826 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-18 10:21:36 UTC
Created attachment 810829 [details]
app-crypt:shash-0.2.6-r3:20220918-100432.log
Comment 3 Toralf Förster gentoo-dev 2022-09-18 10:21:37 UTC
Created attachment 810832 [details]
clang.tar.bz2
Comment 4 Toralf Förster gentoo-dev 2022-09-18 10:21:38 UTC
Created attachment 810835 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-09-18 10:21:39 UTC
Created attachment 810838 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-09-18 10:21:40 UTC
Created attachment 810841 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-18 10:21:41 UTC
Created attachment 810844 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-09-18 10:21:42 UTC
Created attachment 810847 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-10-31 17:55:22 UTC
The bug has been closed via the following commit(s):

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

commit a457ca66361ff3b68cd39b0ed38e770077de0db0
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2022-10-31 17:54:15 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2022-10-31 17:54:15 +0000

    app-crypt/shash: update EAPI 6 -> 8
    
    Closes: https://bugs.gentoo.org/871258
    Closes: https://bugs.gentoo.org/874942
    Signed-off-by: David Seifert <soap@gentoo.org>

 app-crypt/shash/files/0.2.6-manpage-fixes.patch    |   5 +-
 app-crypt/shash/files/shash-0.2.6-C99-decls.patch  | 195 +++++++++++++++++++++
 .../shash/files/shash-0.2.6-binary-files.patch     |   4 +-
 .../shash/files/shash-0.2.6-format-security.patch  |   4 +-
 ...shash-0.2.6-r3.ebuild => shash-0.2.6-r4.ebuild} |  17 +-
 5 files changed, 213 insertions(+), 12 deletions(-)