Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908976 - net-irc/weechat-3.8 - /.../cs.po:141: msgstr is not a valid C format string, unlike msgid. Reason: In the directive number 2, the
Summary: net-irc/weechat-3.8 - /.../cs.po:141: msgstr is not a valid C format string, ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Georgy Yakovlev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 908875
  Show dependency tree
 
Reported: 2023-06-21 21:07 UTC by Toralf Förster
Modified: 2023-06-26 14:36 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.69 KB, text/plain)
2023-06-21 21:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,193.02 KB, text/plain)
2023-06-21 21:07 UTC, Toralf Förster
Details
environment (environment,152.90 KB, text/plain)
2023-06-21 21:07 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,784 bytes, application/x-xz)
2023-06-21 21:07 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,13.36 KB, application/x-xz)
2023-06-21 21:07 UTC, Toralf Förster
Details
net-irc:weechat-3.8:20230621-210450.log (net-irc:weechat-3.8:20230621-210450.log,25.86 KB, text/plain)
2023-06-21 21:07 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,43.32 KB, application/x-xz)
2023-06-21 21:07 UTC, Toralf Förster
Details
weechat patch - marks breaking translation as fuzzy (weechat-fuzzy-translations.patch,672 bytes, patch)
2023-06-22 05:33 UTC, James McGeehan IV
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-06-21 21:07:34 UTC
too long lines were shrinked:

Creating file config-git.h with git version: ""
[2/264] cd /var/tmp/portage/net-irc/weechat-3.8/work/weechat-3.8_build/po && /usr/bin/xgettext -o /var/tmp/portage/net-irc/weechat-3.8/work/weechat-3.8_build/po/weechat.pot --add-comments='TRANSLATORS:' --keyword='_' --keyword='weechat_gettext' --keyword='N_' --keyword='NG_:1,2' --keyword='weechat_n
[3/264] /usr/bin/x86_64-pc-linux-gnu-gcc -DENABLE_NLS -DHAVE_CONFIG_H -DHAVE_GCRYPT -DHAVE_ICONV -DWEECHAT_LICENSE=\"GPL3\" -DWEECHAT_VERSION=\"3.8\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/var/tmp/portage/net-irc/weechat-3.8/work/weechat-3.8_build  -O2 -pi
[4/264] cd /var/tmp/portage/net-irc/weechat-3.8/work/weechat-3.8_build/po && /usr/bin/msgmerge --quiet -o /var/tmp/portage/net-irc/weechat-3.8/work/weechat-3.8_build/po/cs.po /var/tmp/portage/net-irc/weechat-3.8/work/weechat-3.8/po/cs.po /var/tmp/portage/net-irc/weechat-3.8/work/weechat-3.8_build/po
FAILED: po/cs.gmo /var/tmp/portage/net-irc/weechat-3.8/work/weechat-3.8_build/po/cs.gmo 
cd /var/tmp/portage/net-irc/weechat-3.8/work/weechat-3.8_build/po && /usr/bin/msgmerge --quiet -o /var/tmp/portage/net-irc/weechat-3.8/work/weechat-3.8_build/po/cs.po /var/tmp/portage/net-irc/weechat-3.8/work/weechat-3.8/po/cs.po /var/tmp/portage/net-irc/weechat-3.8/work/weechat-3.8_build/po/weechat
/var/tmp/portage/net-irc/weechat-3.8/work/weechat-3.8_build/po/cs.po:141: 'msgstr' is not a valid C format string, unlike 'msgid'. Reason: In the directive number 2, the argument size specifier is invalid.
/usr/bin/msgfmt: found 1 fatal error
/var/tmp/portage/net-irc/weechat-3.8/work/weechat-3.8_build/po/cs.po: 1274 translated messages, 781 fuzzy translations, 363 untranslated messages.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma_systemd-20230619-011930

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.4
Available Rust versions:
  [1]   rust-bin-1.69.0
  [2]   rust-1.69.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli (if any):
go version go1.20.5 linux/amd64

  HEAD of ::gentoo
commit bf54ce67434bcc21347dfbac41ab7e8c7c7dce9d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Jun 21 20:02:41 2023 +0000

    2023-06-21 20:02:41 UTC

emerge -qpvO net-irc/weechat
[ebuild  N    ] net-irc/weechat-3.8  USE="alias buflist charset exec fifo fset irc logger lua nls perl python relay scripts spell trigger typing xfer -doc -enchant -guile -man -ruby (-selinux) -tcl -test -verify-sig" LUA_SINGLE_TARGET="lua5-1 -lua5-3 -lua5-4" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2023-06-21 21:07:35 UTC
Created attachment 864372 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-06-21 21:07:36 UTC
Created attachment 864373 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-06-21 21:07:38 UTC
Created attachment 864374 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-06-21 21:07:39 UTC
Created attachment 864375 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-06-21 21:07:39 UTC
Created attachment 864376 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-06-21 21:07:40 UTC
Created attachment 864377 [details]
net-irc:weechat-3.8:20230621-210450.log
Comment 7 Toralf Förster gentoo-dev 2023-06-21 21:07:41 UTC
Created attachment 864378 [details]
temp.tar.xz
Comment 8 James McGeehan IV 2023-06-22 05:33:09 UTC
Created attachment 864387 [details, diff]
weechat patch - marks breaking translation as fuzzy

The attached patch enables weechat to build successfully until translations in cs.po are fixed by upstream translators.
Comment 9 Larry the Git Cow gentoo-dev 2023-06-23 22:42:15 UTC
The bug has been closed via the following commit(s):

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

commit 5f5e32b47cfc2b2bdb5d32e451c2a7b5050b1e0e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-06-23 22:40:58 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-06-23 22:42:04 +0000

    net-irc/weechat: workaround build failure w/ gettext-0.22
    
    Closes: https://bugs.gentoo.org/908976
    Thanks-to: James McGeehan IV <jfmfour22@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../weechat-3.8-workaround-broken-translations.patch | 20 ++++++++++++++++++++
 net-irc/weechat/weechat-3.8.ebuild                   |  1 +
 2 files changed, 21 insertions(+)
Comment 10 Larry the Git Cow gentoo-dev 2023-06-26 14:27:43 UTC
The bug has been closed via the following commit(s):

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

commit 5932fa56c1d3133cd1ac45e1c6bbddd370e20c3f
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2023-06-26 14:27:33 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2023-06-26 14:27:33 +0000

    net-irc/weechat: fix gettext 0.22 breakage correctly
    
    Closes: https://bugs.gentoo.org/908976
    Signed-off-by: David Seifert <soap@gentoo.org>

 ...n-translations.patch => weechat-3.8-gettext-0.22.patch} | 14 ++++++--------
 net-irc/weechat/weechat-3.8.ebuild                         |  2 +-
 2 files changed, 7 insertions(+), 9 deletions(-)
Comment 11 Larry the Git Cow gentoo-dev 2023-06-26 14:36:19 UTC
The bug has been closed via the following commit(s):

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

commit 1422086f6da89100e51a68bab0a9d8a5567a4061
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2023-06-26 14:36:13 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2023-06-26 14:36:13 +0000

    net-irc/weechat: update patch info
    
    Closes: https://bugs.gentoo.org/908976
    Signed-off-by: David Seifert <soap@gentoo.org>

 net-irc/weechat/files/weechat-3.8-gettext-0.22.patch | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)