Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 871351

Summary: app-shells/esh-0.8.5-r2 - read-rl.c: error: call to undeclared function completion_matches; ISO
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/27920
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
app-shells:esh-0.8.5-r2:20220918-105818.log
emerge-history.txt
environment
etc.portage.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-09-18 13:11:43 UTC
clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/readline -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600   -c -o format.o format.c
1 warning generated.
clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/readline -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600   -c -o gc.o gc.c
clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/readline -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600   -c -o read-rl.o read-rl.c
read-rl.c:102:12: error: call to undeclared function 'completion_matches'; 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 242cd1a84f2a8e702a79f513d0ae26ce7648d849
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 18 09:46:48 2022 +0000

    2022-09-18 09:46:48 UTC

emerge -qpvO app-shells/esh
[ebuild  N    ] app-shells/esh-0.8.5-r2  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2022-09-18 13:11:44 UTC
Created attachment 811114 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-18 13:11:45 UTC
Created attachment 811117 [details]
app-shells:esh-0.8.5-r2:20220918-105818.log
Comment 3 Toralf Förster gentoo-dev 2022-09-18 13:11:47 UTC
Created attachment 811120 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-18 13:11:48 UTC
Created attachment 811123 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-18 13:11:50 UTC
Created attachment 811126 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-18 13:11:51 UTC
Created attachment 811129 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-10-31 17:43:33 UTC
The bug has been closed via the following commit(s):

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

commit 8b77ee848a2e52f0c7dbfc8cdb17b18212c3f230
Author:     Pascal Jäger <pascal.jaeger@leimstift.de>
AuthorDate: 2022-10-23 20:42:08 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-31 17:39:48 +0000

    app-shells/esh: revbump, fix build to work with clang16
    
    Closes: https://bugs.gentoo.org/871351
    Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
    Closes: https://github.com/gentoo/gentoo/pull/27920
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{esh-0.8.5-r2.ebuild => esh-0.8.5-r3.ebuild}   | 11 +++++--
 .../files/esh-0.8.5-fix-build-for-clang16.patch    | 38 ++++++++++++++++++++++
 2 files changed, 46 insertions(+), 3 deletions(-)