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

Bug 932509

Summary: mail-client/bower-1.0 - curs.m: error: implicit declaration of function get_wch
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: CONFIRMED ---    
Severity: normal CC: jy6x2b32pie9
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/wangp/bower/issues/119
https://github.com/wangp/bower/pull/120
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
mail-client:bower-1.0:20240522-202801.log.xz
qlist-info.txt
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-05-22 20:32:15 UTC
too long lines were shrinked:

Making Mercury/os/curs.o
% Compiling `Mercury/cs/curs.c':
%s Invoking system command `x86_64-pc-linux-gnu-gcc -I. -I. -I./Mercury/mihs -I/usr/lib64/mercury/lib/asm_fast.gc/inc -I/usr/lib64/mercury/conf -I/usr/lib64/mercury/inc   -O2 -fomit-frame-pointer -fno-strict-aliasing -DMR_USE_GCC_GLOBAL_REGISTERS -DMR_USE_GCC_NONLOCAL_GOTOS -DMR_USE_ASM_LABELS -DMR_
% done.
% done.
curs.m: In function curs_module25:
curs.m:772:10: error: implicit declaration of function get_wch; did you mean getwc? [-Wimplicit-function-declaration]
Mercury/cs/curs.c: At top level:
** Error making `Mercury/os/curs.o'.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome-20240521-041748

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 18.1.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.6
Python 3.11.9
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
2)	Eclipse Temurin JDK 8.412_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.3 linux/amd64

  HEAD of ::gentoo
commit dbe43fabd84863881a104e65c294cac4e0d7a515
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed May 22 18:19:55 2024 +0000

    2024-05-22 18:19:55 UTC

emerge -qpvO mail-client/bower
[ebuild  N    ] mail-client/bower-1.0
Comment 1 Toralf Förster gentoo-dev 2024-05-22 20:32:16 UTC
Created attachment 893929 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-05-22 20:32:17 UTC
Created attachment 893930 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-05-22 20:32:18 UTC
Created attachment 893931 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-05-22 20:32:19 UTC
Created attachment 893932 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-05-22 20:32:20 UTC
Created attachment 893933 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-05-22 20:32:25 UTC
Created attachment 893934 [details]
mail-client:bower-1.0:20240522-202801.log.xz
Comment 7 Toralf Förster gentoo-dev 2024-05-22 20:32:27 UTC
Created attachment 893935 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-05-22 20:32:28 UTC
Created attachment 893936 [details]
temp.tar.xz
Comment 9 NHO 2024-06-05 00:49:30 UTC
Actually, that's dev-lang/mercury bug
we need to bump compiler version.
Comment 10 NHO 2024-06-05 01:30:44 UTC
No, previous assertion is incorrect.
Upstream bug report:
https://github.com/wangp/bower/issues/119
Comment 11 NHO 2024-06-23 18:35:26 UTC
Fixed in https://github.com/wangp/bower/commit/fa1b06a9fa0508abe8c81a6b534ab5fa5d85d2b9

According to https://github.com/wangp/bower/pull/120#issuecomment-2155765454 needs to be called as make WITH_NCURSESW_DIR=1