[Bug 2259617] New: Build error in gettext
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2259617
Bug ID: 2259617
Summary: Build error in gettext
Product: Fedora
Version: rawhide
Hardware: All
OS: Linux
Status: NEW
Component: gettext
Severity: low
Assignee: petersen(a)redhat.com
Reporter: matiwari(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: dueno(a)redhat.com, i18n-bugs(a)lists.fedoraproject.org,
nphilipp(a)redhat.com, petersen(a)redhat.com,
suanand(a)redhat.com
Target Milestone: ---
Classification: Fedora
1.RPM build warnings:
line 153: Possible unexpanded macro in: Requires: emacs(bin) >=
%{_emacs_version}
2.logs:
./libgettextpo/textstyle.h:144:3: warning: use of possibly-NULL 'string_3(D)'
where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument]
144 | ostream_write_mem (stream, string, strlen (string));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'msgdomain_list_print_stringtable': events 1-2
|
|write-stringtable.c:312:1:
| 312 | msgdomain_list_print_stringtable (msgdomain_list_ty *mdlp,
ostream_t stream,
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | (1) entry to 'msgdomain_list_print_stringtable'
|......
| 321 | write_stringtable (stream, mlp, mdlp->encoding, page_width,
debug);
| |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | (2) calling 'write_stringtable' from
'msgdomain_list_print_stringtable'
|
+--> 'write_stringtable': events 3-10
|
| 279 | write_stringtable (ostream_t stream, message_list_ty *mlp,
| | ^~~~~~~~~~~~~~~~~
| | |
| | (3) entry to 'write_stringtable'
|......
| 294 | for (j = 0; j < mlp->nitems; ++j)
| | ~~~~~~~~~~~~~~~
| | |
| | (4) following 'true' branch...
| 295 | {
| 296 | const message_ty *mp = mlp->item[j];
| | ~~~~~
| | |
| | (5) ...to here
| 297 |
| 298 | if (mp->msgid_plural == NULL)
| | ~
| | |
| | (6) following 'true' branch...
| 299 | {
| 300 | if (blank_line)
| | ~~ ~
| | | |
| | | (8) following 'false' branch (when
'blank_line_10 == 0')...
| | (7) ...to here
|......
| 303 | write_message (stream, mp, page_width, debug);
| | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | (9) ...to here
| | (10) calling 'write_message' from
'write_stringtable'
|
+--> 'write_message': events 11-12
|
| 97 | write_message (ostream_t stream, const message_ty
*mp,
| | ^~~~~~~~~~~~~
| | |
| | (11) entry to 'write_message'
|......
| 191 | if (mp->filepos_count != 0)
| | ~
| | |
| | (12) following 'true' branch...
|
'write_message': event 13
|
|cc1:
| (13): ...to here
|
'write_message': events 14-17
|
| 195 | for (j = 0; j < mp->filepos_count; ++j)
| | ~~^~~~~~~~~~~~~~~~~~~
| | |
| | (14) following 'true' branch...
| 196 | {
| 197 | lex_pos_ty *pp = &mp->filepos[j];
| | ~~~~~~~~~~
| | |
| | (15) ...to here
|......
| 203 | str = xasprintf ("/* File: %s:%ld */\n",
cp, (long) pp->line_number);
| |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | (16) this call could return NULL
| 204 | ostream_write_str (stream, str);
| | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | (17) calling 'ostream_write_str' from
'write_message'
|
+--> 'ostream_write_str': events 18-19
|
|../libgettextpo/textstyle.h:142:1:
| 142 | ostream_write_str (ostream_t stream, const
char *string)
| | ^~~~~~~~~~~~~~~~~
| | |
| | (18) entry to 'ostream_write_str'
| 143 | {
| 144 | ostream_write_mem (stream, string, strlen
(string));
| |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | (19) argument 1 ('string_3(D)') from (16)
could be NULL where non-null expected
|
In file included from ../libgettextpo/string.h:31,
from ../gnulib-lib/string.h:41,
from ../libgettextpo/textstyle.h:44:
/usr/include/string.h:407:15: note: argument 1 of 'strlen' must be non-null
407 | extern size_t strlen (const char *__s)
| ^~~~~~
make[5]: Entering directory
'/builddir/build/BUILD/gettext-0.22/gettext-tools/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc
-DLOCALEDIR=\"/usr/share/locale\" -DBISON_LOCALEDIR=\"/usr/share/locale\"
-DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DUSEJAVA=0
-DGETTEXTJAR=\"/usr/share/gettext/gettext.jar\" -DLIBDIR=\"/usr/lib64\"
-DGETTEXTDATADIR=\"/usr/share/gettext\"
-DPROJECTSDIR=\"/usr/share/gettext/projects\" -DEXEEXT=\"\" -DHAVE_CONFIG_H -I.
-I.. -I. -I. -I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib
-I../../gettext-runtime/intl -I../../gettext-runtime/intl -I../libgettextpo
-I../libgettextpo -I/usr/include/libxml2 -fanalyzer -fstrict-flex-arrays
-Wall -Warith-conversion -Wcast-align=strict -Wdate-time
-Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches
-Wduplicated-cond -Wextra -Wformat-signedness -Winit-self -Winvalid-pch
-Wlogical-op -Wmissing-include-dirs -Wnested-externs -Wnull-dereference
-Wopenmp-simd -Woverlength-strings -Wpacked -Wpointer-arith -Wstack-protector
-Wstrict-flex-arrays -Wstrict-overflow -Wsuggest-attribute=format
-Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wsystem-headers
-Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunsafe-loop-optimizations
-Wvariadic-macros -Wvector-operation-performance -Wwrite-strings
-Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2
-Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2
-Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031
-Wno-analyzer-malloc-leak -Wno-empty-body -Wno-analyzer-double-fclose
-Wno-analyzer-double-free -Wno-analyzer-fd-double-close
-Wno-analyzer-null-argument -Wno-analyzer-null-dereference
-Wno-analyzer-use-of-uninitialized-value -Wno-cast-align -Wno-format-nonliteral
-Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-clobbered
-Wshadow=local -O2 -flto=auto -ffat-lto-objects -fexceptions -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o
libgettextsrc_la-write-po.lo `test -f 'write-po.c' || echo './'`write-po.c
Reproducible: Always
Steps to Reproduce:
1.clone gettext
2.mockbuild
3.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2259617
Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-...
1 month, 2 weeks
[Bug 2183905] New: replace gettext hostname helper with
/usr/bin/hostname
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2183905
Bug ID: 2183905
Summary: replace gettext hostname helper with /usr/bin/hostname
Product: Fedora
Version: rawhide
Status: NEW
Component: gettext
Assignee: suanand(a)redhat.com
Reporter: petersen(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: dueno(a)redhat.com, i18n-bugs(a)lists.fedoraproject.org,
nphilipp(a)redhat.com, petersen(a)redhat.com,
praiskup(a)redhat.com, suanand(a)redhat.com
Target Milestone: ---
Classification: Fedora
Description of problem:
gettext includes its own hostname helper program
(presumably for systems that do not provide the hostname tool)
which uses deprecated gethostbyname() function...
If /usr/bin/hostname is a drop in replacement then it seems
better just to use that in place of it - this would avoid
the rpminspect warnings/errors about gethostbyname() usage.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2183905
1 month, 2 weeks
[Bug 2270515] New: [abrt] ibus: xcursor_image_destroy():
ibus-extension-gtk3 killed by SIGABRT
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2270515
Bug ID: 2270515
Summary: [abrt] ibus: xcursor_image_destroy():
ibus-extension-gtk3 killed by SIGABRT
Product: Fedora
Version: 38
Hardware: x86_64
Status: NEW
Whiteboard: abrt_hash:e72e9691630d7c01e36738d801a68ea241ed86a6;VAR
IANT_ID=workstation;
Component: ibus
Assignee: tfujiwar(a)redhat.com
Reporter: sgala(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: i18n-bugs(a)lists.fedoraproject.org,
shawn.p.huang(a)gmail.com, tfujiwar(a)redhat.com
Target Milestone: ---
Classification: Fedora
Version-Release number of selected component:
ibus-1.5.28-6.fc38
Additional info:
reporter: libreport-2.17.11
type: CCpp
reason: ibus-extension-gtk3 killed by SIGABRT
journald_cursor:
s=d18848b6d8a74c2c8ade29a672a22c65;i=e0424ad;b=c14e7736a5604f81af5a98eb443ec264;m=23fbf6f;t=6141ab42a2fd9;x=62a997cc15ff287d
executable: /usr/libexec/ibus-extension-gtk3
cmdline: /usr/libexec/ibus-extension-gtk3
cgroup:
0::/user.slice/user-1000.slice/user@1000.service/session.slice/org.freedesktop.IBus.session.GNOME.service
rootdir: /
uid: 1000
kernel: 6.7.9-100.fc38.x86_64
package: ibus-1.5.28-6.fc38
runlevel: N 5
backtrace_rating: 4
crash_function: xcursor_image_destroy
Truncated backtrace:
Thread no. 1 (17 frames)
#9 xcursor_image_destroy at ../cursor/xcursor.c:167
#10 xcursor_images_destroy at ../cursor/xcursor.c:194
#12 load_callback at ../cursor/wayland-cursor.c:344
#13 load_all_cursors_from_dir at ../cursor/xcursor.c:714
#14 xcursor_load_theme at ../cursor/xcursor.c:765
#15 wl_cursor_theme_load at ../cursor/wayland-cursor.c:398
#16 gdk_wayland_display_set_cursor_theme at
../gdk/wayland/gdkdisplay-wayland.c:1145
#17 _gdk_wayland_display_load_cursor_theme at
../gdk/wayland/gdkdisplay-wayland.c:1220
#18 load_cursor_theme_closure_run at ../gdk/wayland/gdkdisplay-wayland.c:580
#19 process_on_globals_closures at ../gdk/wayland/gdkdisplay-wayland.c:218
#20 _gdk_wayland_display_open at ../gdk/wayland/gdkdisplay-wayland.c:642
#21 gdk_display_manager_open_display at ../gdk/gdkdisplaymanager.c:462
#22 gtk_init_check at ../gtk/gtkmain.c:1110
#24 gtk_init at ../gtk/gtkmain.c:1167
#25 extension_gtk_construct at
/usr/src/debug/ibus-1.5.28-6.fc38.x86_64/ui/gtk3/extension.vala:34
#26 extension_gtk_new at
/usr/src/debug/ibus-1.5.28-6.fc38.x86_64/ui/gtk3/extension.vala:28
#27 extension_gtk_main at
/usr/src/debug/ibus-1.5.28-6.fc38.x86_64/ui/gtk3/extension.vala:129
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2270515
Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-...
1 month, 2 weeks
[Bug 2264128] New: gettext fails to build without the
disable-libtextstyle patch
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2264128
Bug ID: 2264128
Summary: gettext fails to build without the
disable-libtextstyle patch
Product: Fedora
Version: rawhide
OS: Linux
Status: NEW
Component: gettext
Severity: medium
Assignee: petersen(a)redhat.com
Reporter: petersen(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: dueno(a)redhat.com, i18n-bugs(a)lists.fedoraproject.org,
nphilipp(a)redhat.com, petersen(a)redhat.com,
suanand(a)redhat.com
Target Milestone: ---
Classification: Fedora
Disabling gettext-0.22-disable-libtextstyle.patch gives:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -Iglib
-DIN_LIBTEXTSTYLE -I./libcroco -DDEPENDS_ON_LIBICONV=1 -I/usr/include/libxml2
-fanalyzer -fstrict-flex-arrays -Wall -Warith-conversion -Wcast-align=strict
-Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches
-Wduplicated-cond -Wextra -Wformat-signedness -Winit-self -Winvalid-pch
-Wlogical-op -Wmissing-include-dirs -Wnested-externs -Wnull-dereference
-Wopenmp-simd -Woverlength-strings -Wpacked -Wpointer-arith -Wstack-protector
-Wstrict-flex-arrays -Wstrict-overflow -Wsuggest-attribute=format
-Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wsystem-headers
-Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunsafe-loop-optimizations
-Wvariadic-macros -Wvector-operation-performance -Wwrite-strings
-Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2
-Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2
-Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031
-Wno-analyzer-malloc-leak -Wno-empty-body -Wno-analyzer-double-fclose
-Wno-analyzer-double-free -Wno-analyzer-fd-double-close
-Wno-analyzer-null-argument -Wno-analyzer-null-dereference
-Wno-analyzer-use-of-uninitialized-value -Wno-cast-align -Wno-format-nonliteral
-Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-clobbered
-Wshadow=local -Wno-cast-function-type -Wno-duplicated-cond -Wno-format
-Wno-implicit-fallthrough -Wno-null-dereference -Wno-suggest-attribute=format
-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe
-Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
-Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64
-march=x86-64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer -c libcroco/cr-additional-sel.c -fPIC -DPIC -o
libcroco/.libs/rpl_la-cr-additional-sel.o
cc1: error: '-Wformat-security' ignored without '-Wformat'
[-Werror=format-security]
cc1: some warnings being treated as errors
make[5]: *** [Makefile:2833: libcroco/rpl_la-cr-additional-sel.lo] Error 1
make[5]: Leaving directory
'/var/home/petersen/fedora/gettext/BUILD/gettext-0.22.4/libtextstyle/lib'
make[4]: *** [Makefile:2537: all] Error 2
make[4]: Leaving directory
'/var/home/petersen/fedora/gettext/BUILD/gettext-0.22.4/libtextstyle/lib'
make[3]: *** [Makefile:1994: all-recursive] Error 1
make[3]: Leaving directory
'/var/home/petersen/fedora/gettext/BUILD/gettext-0.22.4/libtextstyle'
make[2]: *** [Makefile:1922: all] Error 2
make[2]: Leaving directory
'/var/home/petersen/fedora/gettext/BUILD/gettext-0.22.4/libtextstyle'
make[1]: *** [Makefile:408: all-recursive] Error 1
make[1]: Leaving directory
'/var/home/petersen/fedora/gettext/BUILD/gettext-0.22.4'
make: *** [Makefile:364: all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.YkneHB (%build)
Reproducible: Always
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2264128
Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-...
1 month, 3 weeks