Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870520 - app-i18n/uim-1.8.9:0 - bsd-snprintf.c: error: assignment to expression with array type
Summary: app-i18n/uim-1.8.9:0 - bsd-snprintf.c: error: assignment to expression with a...
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-16 19:37 UTC by Toralf Förster
Modified: 2022-09-24 13:32 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.53 KB, text/plain)
2022-09-16 19:37 UTC, Toralf Förster
Details
app-i18n:uim-1.8.9:20220916-185454.log (app-i18n:uim-1.8.9:20220916-185454.log,54.60 KB, text/plain)
2022-09-16 19:37 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,214.20 KB, text/plain)
2022-09-16 19:37 UTC, Toralf Förster
Details
environment (environment,118.94 KB, text/plain)
2022-09-16 19:37 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,20.50 KB, application/x-bzip)
2022-09-16 19:37 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,36.00 KB, application/x-bzip)
2022-09-16 19:37 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,42.88 KB, application/x-bzip)
2022-09-16 19:37 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-16 19:37:23 UTC
too long lines were shrinked:

libtool: compile:  x86_64-pc-linux-gnu-gcc -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 -Wne
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -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-d
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -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-d
bsd-snprintf.c: In function 'dopr':
bsd-snprintf.c:104:38: error: assignment to expression with array type
  104 | #   define VA_COPY(dest, src) (dest) = (src)
      |                                      ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-j4-20220913-230005

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.1 *
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:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3.90

  HEAD of ::gentoo
commit 0d22bb6c1d6dd9122872e6479a56f3fee85ea69a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Sep 16 18:02:06 2022 +0000

    2022-09-16 18:02:06 UTC

emerge -qpvO app-i18n/uim
[ebuild  N    ] app-i18n/uim-1.8.9  USE="X anthy curl ncurses nls ssl -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-16 19:37:24 UTC
Created attachment 806377 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-16 19:37:25 UTC
Created attachment 806380 [details]
app-i18n:uim-1.8.9:20220916-185454.log
Comment 3 Toralf Förster gentoo-dev 2022-09-16 19:37:27 UTC
Created attachment 806383 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-16 19:37:29 UTC
Created attachment 806386 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-16 19:37:30 UTC
Created attachment 806389 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-16 19:37:31 UTC
Created attachment 806392 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-16 19:37:32 UTC
Created attachment 806395 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-09-24 13:32:13 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(-)