Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871036 - app-text/sgrep-1.94a - index_main.c: error: call to undeclared library function strcmp with type
Summary: app-text/sgrep-1.94a - index_main.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: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-17 19:44 UTC by Toralf Förster
Modified: 2022-10-07 05:41 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.61 KB, text/plain)
2022-09-17 19:44 UTC, Toralf Förster
Details
app-text:sgrep-1.94a:20220917-185804.log (app-text:sgrep-1.94a:20220917-185804.log,11.16 KB, text/plain)
2022-09-17 19:44 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,10.67 KB, application/x-bzip)
2022-09-17 19:44 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,77.92 KB, text/plain)
2022-09-17 19:44 UTC, Toralf Förster
Details
environment (environment,22.31 KB, text/plain)
2022-09-17 19:44 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,14.05 KB, application/x-bzip)
2022-09-17 19:44 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.56 KB, application/x-bzip)
2022-09-17 19:44 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,19.85 KB, application/x-bzip)
2022-09-17 19:44 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 19:44:35 UTC
                              ~~                                  ^~~~~~~~~~~
                              %zu
2 warnings generated.
clang -DHAVE_CONFIG_H -I. -I. -I. -DDATADIR="\"/etc\""    -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c `test -f 'index_main.c' || echo './'`index_main.c
index_main.c:84:7: error: call to undeclared library function 'strcmp' with type
      'int (const char *, const char *)'; 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_no_multilib_hardened-j4-20220916-220004

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

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

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3.90

  HEAD of ::gentoo
commit b52426ab59140c6df4176918b769845ddbc714c4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 17:46:47 2022 +0000

    2022-09-17 17:46:47 UTC

emerge -qpvO app-text/sgrep
[ebuild  N    ] app-text/sgrep-1.94a
Comment 1 Toralf Förster gentoo-dev 2022-09-17 19:44:37 UTC
Created attachment 809374 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 19:44:38 UTC
Created attachment 809377 [details]
app-text:sgrep-1.94a:20220917-185804.log
Comment 3 Toralf Förster gentoo-dev 2022-09-17 19:44:39 UTC
Created attachment 809380 [details]
clang.tar.bz2
Comment 4 Toralf Förster gentoo-dev 2022-09-17 19:44:40 UTC
Created attachment 809383 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-09-17 19:44:41 UTC
Created attachment 809386 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-09-17 19:44:42 UTC
Created attachment 809389 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-17 19:44:43 UTC
Created attachment 809392 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-09-17 19:44:44 UTC
Created attachment 809395 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-10-07 05:41:28 UTC
The bug has been closed via the following commit(s):

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

commit 3fb9bc966ae822d16939f2fa0d5179946c8f484b
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-07 05:24:19 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-07 05:41:09 +0000

    app-text/sgrep: fix build with upcoming clang16
    
    Closes: https://bugs.gentoo.org/871036
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 app-text/sgrep/files/sgrep-1.94a-clang16.patch               | 11 +++++++++++
 app-text/sgrep/{sgrep-1.94a.ebuild => sgrep-1.94a-r1.ebuild} |  4 ++++
 2 files changed, 15 insertions(+)