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

Bug 871603

Summary: app-i18n/freewnn-1.1.1_alpha23-r1 - rk_bltinfn.c: error: call to undeclared library function strncpy with
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: CJK Team <cjk>
Status: CONFIRMED ---    
Severity: normal CC: ionen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=874114
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
app-i18n:freewnn-1.1.1_alpha23-r1:20220918-201216.log
clang.tar.bz2
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-09-18 20:16:20 UTC
      deprecated in all versions of C and is not supported in C2x
      [-Wdeprecated-non-prototype]
romkan_set_lang (lang)
^
rk_bltinfn.c:89:3: error: call to undeclared library function 'strncpy' with
      type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do
      not support implicit function declarations

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

  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 f1a6e501a42e73f4e392c8fc6952d781ce4beb5d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 18 19:16:50 2022 +0000

    2022-09-18 19:16:49 UTC

emerge -qpvO app-i18n/freewnn
[ebuild  N    ] app-i18n/freewnn-1.1.1_alpha23-r1  USE="ipv6 -uum"
Comment 1 Toralf Förster gentoo-dev 2022-09-18 20:16:21 UTC
Created attachment 812536 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-18 20:16:22 UTC
Created attachment 812539 [details]
app-i18n:freewnn-1.1.1_alpha23-r1:20220918-201216.log
Comment 3 Toralf Förster gentoo-dev 2022-09-18 20:16:23 UTC
Created attachment 812542 [details]
clang.tar.bz2
Comment 4 Toralf Förster gentoo-dev 2022-09-18 20:16:25 UTC
Created attachment 812545 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-09-18 20:16:26 UTC
Created attachment 812548 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-09-18 20:16:27 UTC
Created attachment 812551 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-18 20:16:28 UTC
Created attachment 812554 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-09-18 20:16:29 UTC
Created attachment 812557 [details]
temp.tar.bz2
Comment 9 Ionen Wolkens gentoo-dev 2022-10-14 10:21:46 UTC
The problems run deep here, eautoreconf fixes the strncpy issues but there's tons of incompatible pointer types (one also seem to use the wrong function altogether). Considered a bad -Wno-error=incompatible but then also hit some nonsense function usage wrt bug #874114, and probably keeps going. ofc C2x deprecations too.

Not many distro left still packaging it, may be worth looking into last riting along with its few revdeps where it's not optional.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-20 21:30:24 UTC
*** Bug 882189 has been marked as a duplicate of this bug. ***