Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870637 - app-i18n/uim-1.8.9:0 - bsd-snprintf.c: error: array type va_list (aka _builtin_va_list) is
Summary: app-i18n/uim-1.8.9:0 - bsd-snprintf.c: error: array type va_list (aka _builti...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-17 09:39 UTC by Toralf Förster
Modified: 2023-10-26 14:27 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.05 KB, text/plain)
2022-09-17 09:39 UTC, Toralf Förster
Details
app-i18n:uim-1.8.9:20220917-093032.log (app-i18n:uim-1.8.9:20220917-093032.log,51.46 KB, text/plain)
2022-09-17 09:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,144.79 KB, text/plain)
2022-09-17 09:39 UTC, Toralf Förster
Details
environment (environment,118.57 KB, text/plain)
2022-09-17 09:39 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,8.11 KB, application/x-bzip)
2022-09-17 09:39 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,35.44 KB, application/x-bzip)
2022-09-17 09:39 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,55.54 KB, application/x-bzip)
2022-09-17 09:39 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 09:39:51 UTC
too long lines were shrinked:

libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../uim -I../replace -I../uim -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpoi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../uim -I../replace -I../uim -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpoi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../uim -I../replace -I../uim -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpoi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../uim -I../replace -I../uim -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpoi
bsd-snprintf.c:186:2: error: array type 'va_list' (aka '__builtin_va_list') is
      not assignable
        VA_COPY(args, args_in);

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

  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 89668235a99a5dca7df62d19c0f9e953a6eed91d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 08:31:53 2022 +0000

    2022-09-17 08:31:53 UTC

emerge -qpvO app-i18n/uim
[ebuild  N    ] app-i18n/uim-1.8.9  USE="anthy ncurses nls ssl -X -curl -eb -emacs -expat -gtk -gtk2 -kde -libedit -libffi -libnotify -m17n-lib -qt5 -skk -sqlite -static-libs -xft" L10N="-ja -ko -zh-CN -zh-TW"
Comment 1 Toralf Förster gentoo-dev 2022-09-17 09:39:52 UTC
Created attachment 806854 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 09:39:53 UTC
Created attachment 806857 [details]
app-i18n:uim-1.8.9:20220917-093032.log
Comment 3 Toralf Förster gentoo-dev 2022-09-17 09:39:55 UTC
Created attachment 806860 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-17 09:39:56 UTC
Created attachment 806863 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-17 09:39:57 UTC
Created attachment 806866 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-17 09:39:58 UTC
Created attachment 806869 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-17 09:39:59 UTC
Created attachment 806872 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-09-24 13:32:15 UTC
The bug has been closed via the following commit(s):

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

commit 472fd64b5f966e862c8b97add0330753b3668703
Author:     Akinori Hattori <hattya@gentoo.org>
AuthorDate: 2022-09-24 13:29:35 +0000
Commit:     Akinori Hattori <hattya@gentoo.org>
CommitDate: 2022-09-24 13:31:52 +0000

    app-i18n/uim: fix build with Clang 16+
    
    Closes: https://bugs.gentoo.org/870520
    Closes: https://bugs.gentoo.org/870637
    Signed-off-by: Akinori Hattori <hattya@gentoo.org>

 app-i18n/uim/files/uim-gentoo.patch | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-10-25 03:30:32 UTC
Please send the patch upstream.
Comment 10 Akinori Hattori gentoo-dev 2023-10-26 14:27:58 UTC
The fundamental fix for this bug seems to be https://github.com/uim/uim/commit/99fd890fa601b81ff99e5e0f1977fe309f56b90e.