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

Bug 878585

Summary: app-misc/wcd-6.0.3-r2 - display.c: error: call to undeclared function mvwaddwstr; ISO C99 and
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Shell Tools project <shell-tools>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/28201
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
app-misc:wcd-6.0.3-r2:20221028-203700.log
emerge-history.txt
environment
etc.portage.tar.bz2

Description Toralf Förster gentoo-dev 2022-10-28 21:07:55 UTC
too long lines were shrinked:

clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -O2 -Wall -Wextra -Wno-unused-parameter -Wconversion    -Ic3po -DVERSION=\"6.0.3\" -DVERSION_DATE=\"2019-08-14\"  -std=gnu99  -DWCD_UNICODE -DWCD_UNINORM -DENABLE_NLS -DLOCALEDIR=\"/usr/sh
clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -O2 -Wall -Wextra -Wno-unused-parameter -Wconversion    -Ic3po -DVERSION=\"6.0.3\" -DVERSION_DATE=\"2019-08-14\"  -std=gnu99  -DWCD_UNICODE -DWCD_UNINORM -DENABLE_NLS -DLOCALEDIR=\"/usr/sh
clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -O2 -Wall -Wextra -Wno-unused-parameter -Wconversion    -Ic3po -DVERSION=\"6.0.3\" -DVERSION_DATE=\"2019-08-14\"  -std=gnu99  -DWCD_UNICODE -DWCD_UNINORM -DENABLE_NLS -DLOCALEDIR=\"/usr/sh
clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -O2 -Wall -Wextra -Wno-unused-parameter -Wconversion    -Ic3po -DVERSION=\"6.0.3\" -DVERSION_DATE=\"2019-08-14\"  -std=gnu99  -DWCD_UNICODE -DWCD_UNINORM -DENABLE_NLS -DLOCALEDIR=\"/usr/sh
display.c:915:7: error: call to undeclared function 'mvwaddwstr'; 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_systemd-j4-20221028-160004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.3
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.3
Python 3.10.8
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 

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

  HEAD of ::gentoo
commit e52422124f6874f9a36ffae4d25284e8485d004f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Oct 28 20:02:03 2022 +0000

    2022-10-28 20:02:03 UTC

emerge -qpvO app-misc/wcd
[ebuild  N    ] app-misc/wcd-6.0.3-r2  USE="nls unicode"
Comment 1 Toralf Förster gentoo-dev 2022-10-28 21:07:56 UTC
Created attachment 825743 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-28 21:07:57 UTC
Created attachment 825745 [details]
app-misc:wcd-6.0.3-r2:20221028-203700.log
Comment 3 Toralf Förster gentoo-dev 2022-10-28 21:07:59 UTC
Created attachment 825747 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-28 21:08:00 UTC
Created attachment 825749 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-28 21:08:01 UTC
Created attachment 825751 [details]
etc.portage.tar.bz2
Comment 6 Larry the Git Cow gentoo-dev 2022-11-15 02:22:22 UTC
The bug has been closed via the following commit(s):

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

commit e135b5b7d6f3ad004ad9bf98a34924ac91f99f4d
Author:     Pascal Jäger <pascal.jaeger@leimstift.de>
AuthorDate: 2022-11-09 14:05:17 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-15 01:46:08 +0000

    app-misc/wcd: version bump to 6.0.4, fix clang16 build
    
    Closes: https://bugs.gentoo.org/878585
    Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
    Closes: https://github.com/gentoo/gentoo/pull/28201
    Signed-off-by: Sam James <sam@gentoo.org>

 app-misc/wcd/Manifest                     |   1 +
 app-misc/wcd/files/wcd-6.0.4-gentoo.patch | 103 ++++++++++++++++++++++++++++++
 app-misc/wcd/wcd-6.0.4.ebuild             |  49 ++++++++++++++
 3 files changed, 153 insertions(+)