Package: gettext
Version: 0.19.8.1-1
Severity: serious
Justification: Policy 4.13

--- Please enter the report below this line. ---
Hi,

while investigating [1], I noticed that this package contains a copy of
parts of glib and exports its symbols. For example, the following says
that libgettextlib exports g_hash_table_new

$ nm --dynamic /usr/lib/libgettextlib-0.19.8.1.so | grep g_hash_table_new
000000000002be50 T g_hash_table_new
000000000002bde0 T g_hash_table_new_full

Attached is the full list of exported symbols, generated with

$ nm --dynamic /usr/lib/libgettextlib-0.19.8.1.so | grep -vE ' U | w '

This list contains many symbols with quite generic names (e.g. quote,
gcd, xmalloc, ...)

Please do something about this.

Cheers,
Uli

[1]: https://github.com/pavouk/lgi/issues/145

--- System information. ---
Architecture: amd64
Kernel:       Linux 4.7.0-1-amd64

Debian Release: stretch/sid
  500 testing         ftp.de.debian.org   500 stable          dl.google.com
--- Package information. ---
Depends              (Version) | Installed
==============================-+-=============
libc6                (>= 2.17) | 2.24-5
libcroco3           (>= 0.6.2) | 0.6.11-2
libglib2.0-0       (>= 2.12.0) | 2.50.1-1
libgomp1              (>= 4.9) | 6.2.0-9
libncurses5             (>= 6) | 6.0+20160917-1
libtinfo5               (>= 6) | 6.0+20160917-1
libunistring0                  | 0.9.6+really0.9.3-0.1
libxml2             (>= 2.9.1) | 2.9.4+dfsg1-2
gettext-base                   | 0.19.8.1-1
dpkg              (>= 1.15.4)  | 1.18.10
 OR install-info               | 6.3.0.dfsg.1-1+b1


Recommends      (Version) | Installed
=========================-+-===========
curl                      | 7.50.1-1
 OR wget                  | 1.18-4
 OR lynx-cur              |

Suggests              (Version) | Installed
===============================-+-===========
gettext-doc                     | autopoint                       |
0.19.8.1-1
libasprintf-dev                 | libgettextpo-dev                |
-- 
“Some people are worth melting for.” - Olaf
000000000000acb0 T acl_errno_valid
000000000000be30 T addext
000000000000ad70 T areadlink
000000000000adb0 T argmatch
00000000002cd9e8 D argmatch_die
000000000000aee0 T argmatch_invalid
000000000000b0e0 T argmatch_to_argument
000000000000af60 T argmatch_valid
00000000000291b0 T asnprintf
0000000000010a10 T at_fatal_signal
0000000000010bc0 T block_fatal_signals
00000000002cdb30 B __bss_start
000000000000cb30 T careadlinkat
000000000000ad00 T chmod_or_fchmod
000000000000bf20 T c_isalnum
000000000000bf50 T c_isalpha
000000000000bf80 T c_isascii
000000000000bf90 T c_isblank
000000000000bfa0 T c_iscntrl
000000000000bfc0 T c_isdigit
000000000000bfd0 T c_isgraph
000000000000bfe0 T c_islower
000000000000bff0 T c_isprint
000000000000c000 T c_ispunct
000000000000c030 T c_isspace
000000000000c060 T c_isupper
000000000000c070 T c_isxdigit
000000000000daf0 T cleanup_temp_dir
000000000000d8d0 T cleanup_temp_dir_contents
000000000000d850 T cleanup_temp_file
000000000000d8a0 T cleanup_temp_subdir
000000000001e580 T clone_quoting_options
000000000000de50 T close_stdout
000000000000dcf0 T close_temp
000000000000f7a0 T compile_csharp_class
0000000000014210 T compile_java_class
000000000000df10 T concatenated_filename
000000000000abd0 T copy_acl
000000000000e280 T copy_file_preserving
000000000001f4e0 T create_pipe_bidi
000000000001f520 T create_pipe_in
000000000001f590 T create_pipe_out
000000000000d3f0 T create_temp_dir
000000000000c0c0 T c_strcasecmp
000000000000c720 T c_strcasestr
000000000000c110 T c_strncasecmp
000000000000cb20 T c_strstr
000000000000c0a0 T c_tolower
000000000000c0b0 T c_toupper
000000000000de40 T dup_cloexec
0000000000027c80 T dup_safer
0000000000011090 T dup_safer_flag
00000000002cdb30 D _edata
00000000002d1908 B _end
                 v _environ
00000000002cd9f8 D error_with_progname
0000000000010500 T execute
0000000000010390 T execute_csharp_program
0000000000016bc0 T execute_java_class
00000000002cd9fc D exit_failure
000000000000dd40 T fclose_temp
0000000000010fc0 T fd_ostream_create
00000000002cc730 D fd_ostream_typeinfo
00000000002cc700 D fd_ostream_vtable
0000000000027c90 T fd_safer
0000000000011050 T fd_safer_flag
0000000000011100 T file_ostream_create
00000000002cc770 D file_ostream_typeinfo
00000000002cc740 D file_ostream_vtable
000000000000bb90 T find_backup_file_name
0000000000011120 T find_in_path
000000000002d0cc T _fini
000000000000dc90 T fopen_temp
0000000000019590 T freea
000000000000ace0 T free_permission_context
0000000000011790 T fstrcmp_bounded
0000000000011b60 T full_write
0000000000011d20 T fwriteerror
0000000000011d30 T fwriteerror_no_ebadf
000000000000dd90 T fwriteerror_temp
000000000002c820 T g_ascii_strup
00000000002ccae8 D g_ascii_table
000000000002c800 T g_ascii_toupper
0000000000011d40 T gcd
0000000000022280 T gen_tempname
000000000001ef20 T get_handler
000000000000acf0 T get_permissions
000000000001e5c0 T get_quoting_style
000000000000bdb0 T get_version
000000000002bef0 T g_hash_table_insert
000000000002be60 T g_hash_table_lookup
000000000002be50 T g_hash_table_new
000000000002bde0 T g_hash_table_new_full
00000000002cc5a0 D gl_array_list_implementation
000000000002c1d0 T g_list_append
000000000002c140 T g_list_delete_link
000000000002c0b0 T g_list_free
000000000002c1a0 T g_list_last
000000000002c0e0 T g_list_prepend
00000000002cc840 D gl_linkedhash_list_implementation
0000000000028c60 T gl_list_add_after
0000000000028c80 T gl_list_add_at
0000000000028c40 T gl_list_add_before
0000000000028c00 T gl_list_add_first
0000000000028c20 T gl_list_add_last
0000000000028ba0 T gl_list_create
0000000000028b80 T gl_list_create_empty
0000000000018c80 T gl_list_free
0000000000018b00 T gl_list_get_at
0000000000018b90 T gl_list_indexof
0000000000018bc0 T gl_list_indexof_from
0000000000018bf0 T gl_list_indexof_from_to
0000000000018c90 T gl_list_iterator
0000000000018d20 T gl_list_iterator_free
0000000000018cd0 T gl_list_iterator_from_to
0000000000018d10 T gl_list_iterator_next
0000000000018ae0 T gl_list_next_node
0000000000018ad0 T gl_list_node_nx_set_value
0000000000028bc0 T gl_list_node_set_value
0000000000018ac0 T gl_list_node_value
0000000000018c30 T gl_list_nx_add_after
0000000000018c40 T gl_list_nx_add_at
0000000000018c20 T gl_list_nx_add_before
0000000000018c00 T gl_list_nx_add_first
0000000000018c10 T gl_list_nx_add_last
0000000000018aa0 T gl_list_nx_create
0000000000018a90 T gl_list_nx_create_empty
0000000000018b10 T gl_list_nx_set_at
0000000000018af0 T gl_list_previous_node
0000000000018c70 T gl_list_remove
0000000000018c60 T gl_list_remove_at
0000000000018c50 T gl_list_remove_node
0000000000018b20 T gl_list_search
0000000000018b50 T gl_list_search_from
0000000000018b80 T gl_list_search_from_to
0000000000028be0 T gl_list_set_at
0000000000018ab0 T gl_list_size
0000000000019410 T gl_locale_name
0000000000019400 T gl_locale_name_default
00000000000193b0 T gl_locale_name_environ
00000000000193a0 T gl_locale_name_posix
00000000000191c0 T gl_locale_name_thread
000000000002c3d0 T g_log
0000000000028ca0 T gl_sortedlist_add
0000000000018d50 T gl_sortedlist_indexof
0000000000018d60 T gl_sortedlist_indexof_from_to
0000000000018d70 T gl_sortedlist_nx_add
0000000000018d80 T gl_sortedlist_remove
0000000000018d30 T gl_sortedlist_search
0000000000018d40 T gl_sortedlist_search_from_to
000000000001b9c0 T gnu_mbswidth
000000000002c220 T g_printerr
000000000002c490 T g_spaced_primes_closest
000000000002c580 T g_stpcpy
000000000002c6b0 T g_strconcat
000000000002c4e0 T g_strdup
000000000002c5f0 T g_strdup_printf
000000000002c5a0 T g_strdup_vprintf
000000000002c970 T g_str_equal
000000000002c990 T g_str_hash
000000000002cc50 T g_string_append
000000000002cdd0 T g_string_append_c
000000000002cc80 T g_string_append_len
000000000002cfb0 T g_string_append_printf
000000000002cf90 T g_string_append_unichar
000000000002ca20 T g_string_free
000000000002cd40 T g_string_insert_c
000000000002ca70 T g_string_insert_len
000000000002cdf0 T g_string_insert_unichar
000000000002ccb0 T g_string_new
000000000002cd00 T g_string_new_len
000000000002c9c0 T g_string_sized_new
000000000002c530 T g_strndup
000000000002c880 T g_strstr_len
000000000002c2f0 T g_warning
0000000000011da0 T hard_locale
0000000000012100 T hash_destroy
0000000000012120 T hash_find_entry
00000000000120b0 T hash_init
00000000000121b0 T hash_insert_entry
0000000000012580 T hash_iterate
00000000000125c0 T hash_iterate_modify
00000000000123a0 T hash_set_value
0000000000012be0 T html_ostream_create
00000000002cc7c0 D html_ostream_typeinfo
00000000002cc780 D html_ostream_vtable
0000000000012cd0 T html_styled_ostream_create
00000000002cc820 D html_styled_ostream_typeinfo
00000000002cc7e0 D html_styled_ostream_vtable
0000000000021350 T iconveh_close
0000000000021200 T iconveh_open
0000000000009710 T _init
00000000000196b0 T is_basic
000000000002e2e0 R is_basic_table
0000000000017520 T javaexec_version
00000000000194f0 T libintl_once_singlethreaded
0000000000019450 T libintl_recursive_lock_init_multithreaded
0000000000018d90 T locale_charset
00000000000104c0 T maybe_print_progname
0000000000019650 T mb_copy
0000000000019850 T mbiter_multi_copy
00000000000196d0 T mbiter_multi_next
0000000000019840 T mbiter_multi_reloc
00000000000198e0 T mbslen
000000000001b7d0 T mbsnwidth
000000000001a720 T mbsstr
000000000001bb80 T mbuiter_multi_copy
000000000001b9f0 T mbuiter_multi_next
000000000001bb70 T mbuiter_multi_reloc
0000000000019620 T mb_width_aux
000000000001f600 T mem_cd_iconv
00000000000213e0 T mem_cd_iconveh
00000000000214e0 T mem_iconveh
0000000000021bc0 T mem_iconveha
0000000000019510 T mmalloca
0000000000028b60 T multiline_error
0000000000028a10 T multiline_warning
000000000000cd30 T new_classpath
000000000000ff80 T new_clixpath
000000000000fb60 T new_monopath
0000000000011ef0 T next_prime
000000000001c240 T nonintr_close
000000000001c270 T nonintr_read
000000000001c2c0 T nonintr_write
0000000000029cd0 T _obstack_allocated_p
00000000002cdb28 D obstack_alloc_failed_handler
0000000000029b90 T _obstack_begin
0000000000029bb0 T _obstack_begin_1
0000000000029d00 T _obstack_free
0000000000029d70 T _obstack_memory_used
0000000000029bd0 T _obstack_newchunk
000000000000dc40 T open_temp
000000000001bc20 T ostream__flush
000000000001bc10 T ostream__free
00000000002cc930 D ostream_typeinfo
00000000002ccba0 D ostream_vtable
000000000001bc00 T ostream__write_mem
0000000000025d20 T path_search
000000000001c4c0 T pipe2_safer
000000000001bc30 T pipe_filter_ii_execute
0000000000027cd0 T pipe_safer
0000000000029da0 T printf_fetchargs
0000000000029fc0 T printf_parse
00000000002d1590 B program_name
000000000001cfd0 T proper_name
000000000001d060 T proper_name_utf8
000000000001d360 T qcopy_acl
000000000000e0a0 T qcopy_file_preserving
000000000001d3c0 T qset_acl
000000000001ecb0 T quote
000000000001e8f0 T quotearg
000000000001e810 T quotearg_alloc
000000000001e720 T quotearg_alloc_mem
000000000001e6a0 T quotearg_buffer
000000000001eaa0 T quotearg_char
000000000001e9f0 T quotearg_char_mem
000000000001eab0 T quotearg_colon
000000000001eac0 T quotearg_colon_mem
000000000001ec50 T quotearg_custom
000000000001ec60 T quotearg_custom_mem
000000000001e820 T quotearg_free
000000000001e900 T quotearg_mem
000000000001e8c0 T quotearg_n
000000000001ec40 T quotearg_n_custom
000000000001eb90 T quotearg_n_custom_mem
000000000001e8e0 T quotearg_n_mem
000000000001e910 T quotearg_n_style
000000000001ead0 T quotearg_n_style_colon
000000000001e970 T quotearg_n_style_mem
000000000001e9d0 T quotearg_style
000000000001e9e0 T quotearg_style_mem
000000000001ec90 T quote_mem
000000000001eca0 T quote_n
000000000001ec80 T quote_n_mem
00000000002cda40 D quote_quoting_options
00000000002cc940 D quoting_style_args
000000000002e7a0 R quoting_style_vals
0000000000028510 T register_slave_subprocess
000000000000d6b0 T register_temp_file
000000000000d780 T register_temp_subdir
000000000000cf20 T reset_classpath
0000000000010170 T reset_clixpath
000000000000fd50 T reset_monopath
0000000000029840 T rpl_canonicalize_file_name
0000000000029850 T rpl_fcntl
00000000000299b0 T rpl_mbrtowc
000000000001c310 T rpl_pipe2
0000000000029260 T rpl_realpath
000000000001ecc0 T safe_read
000000000001ed20 T safe_write
000000000000ac60 T set_acl
000000000000bf10 T set_binary_mode
000000000001e600 T set_char_quoting
000000000000ce90 T set_classpath
00000000000100e0 T set_clixpath
000000000000dde0 T set_cloexec_flag
000000000001e660 T set_custom_quoting
000000000000fcc0 T set_monopath
000000000000ad20 T set_permissions
000000000001c550 T set_program_name
000000000001e640 T set_quoting_flags
000000000001e5e0 T set_quoting_style
000000000001ee50 T shell_quote
000000000001eea0 T shell_quote_argv
000000000001ee00 T shell_quote_copy
000000000001edb0 T shell_quote_length
00000000002cd9f0 D simple_backup_suffix
00000000002ccb00 D stdlib_allocator
000000000001f8b0 T str_cd_iconv
0000000000021410 T str_cd_iconveh
000000000001faf0 T str_iconv
00000000000216d0 T str_iconveh
0000000000021d30 T str_iconveha
0000000000021e90 T strnlen1
0000000000021f10 T styled_ostream__begin_use_class
0000000000021f00 T styled_ostream__end_use_class
0000000000021ee0 T styled_ostream__flush
0000000000021ef0 T styled_ostream__free
00000000002cc9f8 D styled_ostream_typeinfo
00000000002ccbe0 D styled_ostream_vtable
0000000000021ed0 T styled_ostream__write_mem
0000000000024b00 T term_ostream_create
00000000002cca88 D term_ostream_typeinfo
00000000002cca00 D term_ostream_vtable
0000000000025bc0 T term_styled_ostream_create
00000000002ccae0 D term_styled_ostream_typeinfo
00000000002ccaa0 D term_styled_ostream_vtable
0000000000025ec0 T trim2
0000000000021fd0 T try_tempname
0000000000027d50 T u8_mbtouc_aux
0000000000027f00 T u8_mbtouc_unsafe_aux
0000000000026550 T u8_possible_linebreaks
0000000000026ac0 T u8_width_linebreaks
0000000000026480 T uc_is_space
00000000000280c0 T uc_width
0000000000026d00 T ulc_width_linebreaks
0000000000010bf0 T unblock_fatal_signals
0000000000027000 T unicode_character_name
0000000000027490 T unicode_name_character
0000000000021a80 T uniconv_register_autodetect
0000000000026cb0 T unilbrk_is_all_ascii
0000000000026c70 T unilbrk_is_utf8_encoding
000000000002f9e0 R unilbrkprop
000000000002f700 R unilbrk_table
000000000000d710 T unregister_temp_file
000000000000d7e0 T unregister_temp_subdir
000000000002ad40 T vasnprintf
0000000000028660 T wait_subprocess
0000000000028850 T xalloc_die
000000000000b070 T __xargmatch_internal
00000000000290f0 T xasprintf
0000000000028950 T xcalloc
00000000000289f0 T xconcatenated_filename
000000000000be00 T xget_version
00000000000288c0 T xmalloc
00000000002cdb20 D xmalloc_exit_failure
0000000000028db0 T xmax
0000000000028dc0 T xmem_cd_iconv
0000000000028e40 T xmem_cd_iconveh
00000000000289a0 T xmemdup
000000000002bdb0 T xmemdup0
0000000000028ea0 T xmem_iconveh
0000000000028cc0 T xmmalloca
00000000000288e0 T xnmalloc
0000000000028ce0 T xreadlink
0000000000028970 T xrealloc
0000000000028d10 T xsetenv
0000000000028de0 T xstr_cd_iconv
0000000000028e70 T xstr_cd_iconveh
00000000000289d0 T xstrdup
0000000000028e10 T xstr_iconv
0000000000028ed0 T xstr_iconveh
0000000000028d50 T xsum
0000000000028d60 T xsum3
0000000000028d80 T xsum4
0000000000029050 T xvasprintf
0000000000028920 T xzalloc

Reply via email to