D: [iurt_root_command] chroot warning: line 46: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64anthy0-devel Installing /home/pterjan/rpmbuild/SRPMS/anthy-9100h-25.20110409.17.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.CGCJ8j + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf anthy-9100h-20110409ut + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/anthy-9100h-20110409ut.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd anthy-9100h-20110409ut + rm -rf /home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/anthy-fix-elisp.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/anthy-9100h-bdo#777689.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/anthy-grep-binary.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/anthy-9100h-fix-invalid-unicode-comment.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/anthy-autoconf.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.IO0x7d + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd anthy-9100h-20110409ut + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' libtoolize: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I m4 autoreconf: running: /usr/bin/autoconf --force configure.ac:93: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:93: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:93: the top level configure.ac:110: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.ac:110: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.ac:110: the top level configure.ac:112: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.ac:112: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.ac:112: the top level configure.ac:141: warning: The macro 'AC_C_LONG_DOUBLE' is obsolete. configure.ac:141: You should run autoupdate. ./lib/autoconf/types.m4:478: AC_C_LONG_DOUBLE is expanded from... configure.ac:141: the top level configure.ac:280: warning: The macro 'AC_LANG_CPLUSPLUS' is obsolete. configure.ac:280: You should run autoupdate. ./lib/autoconf/c.m4:270: AC_LANG_CPLUSPLUS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/ac_cxx_bool.m4:29: AC_CXX_BOOL is expanded from... configure.ac:280: the top level configure.ac:280: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:280: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/ac_cxx_bool.m4:29: AC_CXX_BOOL is expanded from... configure.ac:280: the top level configure.ac:281: warning: The macro 'AC_LANG_CPLUSPLUS' is obsolete. configure.ac:281: You should run autoupdate. ./lib/autoconf/c.m4:270: AC_LANG_CPLUSPLUS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/ac_cxx_static_cast.m4:26: AC_CXX_STATIC_CAST is expanded from... configure.ac:281: the top level configure.ac:281: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:281: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/ac_cxx_static_cast.m4:26: AC_CXX_STATIC_CAST is expanded from... configure.ac:281: the top level configure.ac:282: warning: The macro 'AC_LANG_CPLUSPLUS' is obsolete. configure.ac:282: You should run autoupdate. ./lib/autoconf/c.m4:270: AC_LANG_CPLUSPLUS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/ac_cxx_const_cast.m4:26: AC_CXX_CONST_CAST is expanded from... configure.ac:282: the top level configure.ac:282: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:282: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/ac_cxx_const_cast.m4:26: AC_CXX_CONST_CAST is expanded from... configure.ac:282: the top level configure.ac:283: warning: The macro 'AC_LANG_CPLUSPLUS' is obsolete. configure.ac:283: You should run autoupdate. ./lib/autoconf/c.m4:270: AC_LANG_CPLUSPLUS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/ac_cxx_reinterpret_cast.m4:27: AC_CXX_REINTERPRET_CAST is expanded from... configure.ac:283: the top level configure.ac:283: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:283: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/ac_cxx_reinterpret_cast.m4:27: AC_CXX_REINTERPRET_CAST is expanded from... configure.ac:283: the top level configure.ac:284: warning: The macro 'AC_LANG_CPLUSPLUS' is obsolete. configure.ac:284: You should run autoupdate. ./lib/autoconf/c.m4:270: AC_LANG_CPLUSPLUS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/ac_cxx_dynamic_cast.m4:26: AC_CXX_DYNAMIC_CAST is expanded from... configure.ac:284: the top level configure.ac:284: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:284: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/ac_cxx_dynamic_cast.m4:26: AC_CXX_DYNAMIC_CAST is expanded from... configure.ac:284: the top level configure.ac:285: warning: The macro 'AC_LANG_CPLUSPLUS' is obsolete. configure.ac:285: You should run autoupdate. ./lib/autoconf/c.m4:270: AC_LANG_CPLUSPLUS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/ac_cxx_namespaces.m4:27: AC_CXX_NAMESPACES is expanded from... configure.ac:285: the top level configure.ac:285: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:285: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/ac_cxx_namespaces.m4:27: AC_CXX_NAMESPACES is expanded from... configure.ac:285: the top level configure.ac:286: warning: The macro 'AC_LANG_CPLUSPLUS' is obsolete. configure.ac:286: You should run autoupdate. ./lib/autoconf/c.m4:270: AC_LANG_CPLUSPLUS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/ac_cxx_have_std.m4:27: AC_CXX_HAVE_STD is expanded from... configure.ac:286: the top level configure.ac:286: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:286: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/ac_cxx_have_std.m4:27: AC_CXX_HAVE_STD is expanded from... configure.ac:286: the top level configure.ac:287: warning: The macro 'AC_LANG_CPLUSPLUS' is obsolete. configure.ac:287: You should run autoupdate. ./lib/autoconf/c.m4:270: AC_LANG_CPLUSPLUS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/ac_cxx_member_constants.m4:26: AC_CXX_MEMBER_CONSTANTS is expanded from... configure.ac:287: the top level configure.ac:287: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:287: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/ac_cxx_member_constants.m4:26: AC_CXX_MEMBER_CONSTANTS is expanded from... configure.ac:287: the top level configure.ac:993: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:993: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:993: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:89: installing './compile' configure.ac:9: installing './missing' calctrans/Makefile.am:15: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') calctrans/Makefile.am: installing './depcomp' depgraph/Makefile.am:59: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') mkanthydic/Makefile.am:4: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') mkworddic/Makefile.am:13: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src-diclib/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src-main/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src-ordering/Makefile.am:4: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src-splitter/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src-util/Makefile.am:19: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src-worddic/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') test/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') autoreconf: './install-sh' is updated autoreconf: Leaving directory '.' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking whether to enable debug/NDEBUG code... no debug/yes NDEBUG, disable assert() checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking how to run the C preprocessor... gcc -E checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-mageia-linux-gnu-file... no checking for file... file checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for x86_64-mageia-linux-gnu-ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether make sets $(MAKE)... (cached) yes checking for emacs... no checking for xemacs... no checking where .elc files should go... ${datadir}/emacs/site-lisp checking for egrep... (cached) /usr/bin/grep -E checking for _Bool... yes checking for stdbool.h that conforms to C99 or later... yes checking for stdlib.h... (cached) yes checking for stdio.h... (cached) yes checking for math.h... yes checking for errno.h... yes checking for stdint.h... (cached) yes checking for malloc.h... yes checking for fcntl.h... yes checking for poll.h... yes checking for stddef.h... yes checking for stdarg.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for unistd.h... (cached) yes checking for ctype.h... yes checking for assert.h... yes checking for signal.h... yes checking for syslog.h... yes checking for limits.h... yes checking for inttypes.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/limits.h... no checking for sys/param.h... yes checking for arpa/inet.h... yes checking for netinet/in.h... yes checking for pwd.h... yes checking for sys/mman.h... yes checking for time.h... yes checking for sys/time.h... (cached) yes checking for sys/times.h... yes checking for sys/stat.h... (cached) yes checking for new... yes checking for exception... yes checking for asm/param.h... yes checking for sys/event.h... no checking for windows.h... no checking for md2.h... no checking for md4.h... no checking for md5.h... no checking for ripemd.h... no checking for sha.h... no checking for sha256.h... no checking for md4.h... (cached) no checking for md5.h... (cached) no checking for rmd160.h... no checking for sha1.h... no checking for sha2.h... no checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking for working volatile... yes checking for C/C++ restrict keyword... __restrict__ checking for inline... inline checking whether char is unsigned... no checking for long double with more range or precision than double... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking size of char... 1 checking size of short... 2 checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking size of float... 4 checking size of double... 8 checking size of long double... 16 checking size of void*... 8 checking size of size_t... 8 checking size of ssize_t... 8 checking size of time_t... 8 checking size of int8_t... 1 checking size of uint8_t... 1 checking size of int16_t... 2 checking size of uint16_t... 2 checking size of int32_t... 4 checking size of uint32_t... 4 checking size of int64_t... 8 checking size of uint64_t... 8 checking size of intmax_t... 8 checking size of uintmax_t... 8 checking for a size of long double is differ from other floating variable types... yes checking for a size of double is differ from other floating variable types... yes checking for a size of float is differ from other floating variable types... yes checking for a size of int64_t is differ from other integer variable types... yes checking for a size of int32_t is differ from other integer variable types... yes checking for a size of int16_t is differ from other integer variable types... yes checking for a size of int8_t is differ from other integer variable types... yes checking for __attribute__... yes checking whether the compiler recognizes bool as a built-in type... yes checking whether the compiler supports static_cast<>... yes checking whether the compiler supports const_cast<>... yes checking whether the compiler supports reinterpret_cast<>... yes checking whether the compiler supports dynamic_cast<>... yes checking whether the compiler implements namespaces... yes checking whether the compiler supports ISO C++ standard library... yes checking whether the compiler supports member constants... yes checking for __alignof__... yes checking for O_EXLOCK... no checking for SSIZE_MAX... yes checking for log10 in -lm... yes checking for MD2Init in -lmd... no checking for MD4Init in -lmd... no checking for MD5Init in -lmd... no checking for RIPEMD160_Init in -lmd... no checking for SHA_Init in -lmd... no checking for SHA1_Init in -lmd... no checking for SHA256_Init in -lmd... no checking for MD2Init... no checking for MD4Init... no checking for MD5Init... no checking for RIPEMD160_Init... no checking for SHA_Init... no checking for SHA1_Init... no checking for SHA256_Init... no checking for MD4Init... (cached) no checking for MD5Init... (cached) no checking for RMD160Init... no checking for SHA1Init... no checking for SHA256_Init... (cached) no checking for SHA384_Init... no checking for SHA512_Init... no checking for rint... yes checking for sqrt... yes checking for gcc options needed to detect all undeclared functions... none needed checking whether signbit is declared... yes checking for snprintf... yes checking for _snprintf... no checking for _snprintf_s... no checking for memset... yes checking for strdup... yes checking for strtol... yes checking for strtoll... yes checking for strtoimax... yes checking for strtod... yes checking for strtold... yes checking for stricmp... no checking for strnicmp... no checking for strlcpy... yes checking for strlcat... yes checking for g_strlcpy... no checking for g_strlcat... no checking for heapsort... no checking for mergesort... no checking for fdopen... yes checking for _fdopen... no checking for htons... yes checking for ntohs... yes checking for htonl... yes checking for ntohl... yes checking for htonll... no checking for ntohll... no checking Checking char[] is composed by continuous 8bit values or not... yes checking Checking xchar[] is composed by continuous 32bit values or not... yes checking for iconv.h... yes checking for libiconv_open("","") in ... no checking for iconv_open("","") in ... yes checking for libiconv_open("","") in -liconv... no checking for iconv_open("","") in -liconv... no /bin/ls: cannot access '/usr/local/lib/libiconv.so*': No such file or directory /bin/ls: cannot access '/usr/lib/libiconv.so*': No such file or directory checking for libiconv_open... no checking for iconv_open... yes checking for libiconv... no checking for iconv... yes checking for libiconv_close... no checking for iconv_close... yes checking Checking iconv encoding names for UCS-4BE... UCS-4BE checking Checking iconv encoding names for UTF-8... UTF-8 checking Checking iconv encoding names for UCS-4 Host Endian... Encoding name for UCS-4 Host Endian was not found. checking Checking iconv encoding names for UCS-4LE... UCS-4LE checking Checking iconv encoding names for ISO-2022-JP... ISO-2022-JP-2 checking Checking iconv encoding names for UCS-2BE... UCS-2BE checking Checking iconv encoding names for UCS-2 Host Endian... Encoding name for UCS-2 Host Endian was not found. checking Checking iconv encoding names for UCS-2LE... UCS-2LE checking Checking iconv encoding names for EUC-JP... EUC-JP checking Checking iconv encoding names for JIS X 0213 EUC-JP... EUC-JISX0213 checking Checking iconv encoding names for EUC-JP-MS... EUC-JP-MS checking Checking iconv encoding names for ShiftJIS... SHIFT-JIS checking Checking iconv encoding names for JIS X 0213 ShiftJIS... SHIFT_JISX0213 checking Checking iconv encoding names for ShiftJIS-MS... CP932 Use iconv. checking Checking encoding name of sourcecode... EUCJP checking Corpus analysis mode... H+ID,ID+I,IwD+T mode is used. checking A size of section.corpus_bucket... Default:16384 is used. checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src-diclib/Makefile config.status: creating src-worddic/Makefile config.status: creating src-splitter/Makefile config.status: creating src-ordering/Makefile config.status: creating src-main/Makefile config.status: creating src-util/Makefile config.status: creating anthy/Makefile config.status: creating m4/Makefile config.status: creating depgraph/Makefile config.status: creating mkanthydic/Makefile config.status: creating mkworddic/Makefile config.status: creating mkworddic/dict.args config.status: creating test/Makefile config.status: creating alt-cannadic/Makefile config.status: creating alt-cannadic/extra/Makefile config.status: creating doc/Makefile config.status: creating calctrans/Makefile config.status: creating sample/Makefile config.status: creating anthy-conf config.status: WARNING: 'anthy-conf.in' seems to ignore the --datarootdir setting config.status: creating anthy-test-conf config.status: creating anthy.spec config.status: creating anthy.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j16 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src-diclib make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut/src-diclib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../ -DCONF_DIR=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -c -o strlcat.lo strlcat.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../ -DCONF_DIR=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -c strlcat.c -fPIC -DPIC -o .libs/strlcat.o strlcat.c:59: warning: ISO C forbids an empty translation unit [-Wpedantic] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut/src-diclib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut/src-diclib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../ -DCONF_DIR=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -c -o strlcpy.lo strlcpy.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../ -DCONF_DIR=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -c strlcpy.c -fPIC -DPIC -o .libs/strlcpy.o strlcpy.c:55: warning: ISO C forbids an empty translation unit [-Wpedantic] make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut/src-diclib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut/src-diclib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../ -DCONF_DIR=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -c -o settings.lo settings.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../ -DCONF_DIR=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -c settings.c -fPIC -DPIC -o .libs/settings.o In file included from ../anthy/settings.h:57, from settings.c:51: ../anthy/xstr.h:96:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 96 | extern xstr* const anthy_xstr_hira_to_kata_without_vu( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:97:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 97 | extern xstr* const anthy_xstr_kata_to_hira( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:98:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 98 | extern xstr* const anthy_xstr_vu_to_uddot( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:99:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 99 | extern xstr* const anthy_xstr_vu_to_hirauddot( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:220:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 220 | extern char* const anthy_conv_euc_to_utf8( const char* const s ); | ^~~~~~~~~~~~~~~~~~~~~~ ../anthy/xstr.h:221:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 221 | extern char* const anthy_conv_utf8_to_euc( const char* const s ); | ^~~~~~~~~~~~~~~~~~~~~~ ../anthy/xstr.h:222:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 222 | extern xstr* const anthy_cstr_to_xstr( const char* const c, enum ANTHY_ENCODING from_encoding ); | ^~~~ ../anthy/xstr.h:223:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 223 | extern char* const anthy_xstr_to_cstr( const xstr* const s, enum ANTHY_ENCODING to_encoding ); | ^~~~~~~~~~~~~~~~~~ In file included from ../anthy/segment.h:11, from settings.c:53: ../anthy/segclass.h:85:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 85 | extern const char* const anthy_dep_class_sym( enum dep_class dc ); /* Patched by G-HAL, Fri,01 May,2009 */ | ^~~~~ In file included from settings.c:54: ../anthy/splitter.h:170:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 170 | extern const int* const anthy_convert_hint_border( const xstr* const in_xs, xstr* const out_xs ); | ^~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut/src-diclib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut/src-diclib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../ -DCONF_DIR=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -c -o diclib.lo diclib.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../ -DCONF_DIR=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -c diclib.c -fPIC -DPIC -o .libs/diclib.o In file included from ../anthy/settings.h:57, from diclib.c:9: ../anthy/xstr.h:96:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 96 | extern xstr* const anthy_xstr_hira_to_kata_without_vu( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:97:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 97 | extern xstr* const anthy_xstr_kata_to_hira( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:98:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 98 | extern xstr* const anthy_xstr_vu_to_uddot( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:99:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 99 | extern xstr* const anthy_xstr_vu_to_hirauddot( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:220:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 220 | extern char* const anthy_conv_euc_to_utf8( const char* const s ); | ^~~~~~~~~~~~~~~~~~~~~~ ../anthy/xstr.h:221:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 221 | extern char* const anthy_conv_utf8_to_euc( const char* const s ); | ^~~~~~~~~~~~~~~~~~~~~~ ../anthy/xstr.h:222:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 222 | extern xstr* const anthy_cstr_to_xstr( const char* const c, enum ANTHY_ENCODING from_encoding ); | ^~~~ ../anthy/xstr.h:223:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 223 | extern char* const anthy_xstr_to_cstr( const xstr* const s, enum ANTHY_ENCODING to_encoding ); | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut/src-diclib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut/src-diclib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../ -DCONF_DIR=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -c -o anthy_iconv.lo anthy_iconv.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../ -DCONF_DIR=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -c anthy_iconv.c -fPIC -DPIC -o .libs/anthy_iconv.o In file included from ../anthy/settings.h:57, from anthy_iconv.c:42: ../anthy/xstr.h:96:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 96 | extern xstr* const anthy_xstr_hira_to_kata_without_vu( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:97:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 97 | extern xstr* const anthy_xstr_kata_to_hira( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:98:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 98 | extern xstr* const anthy_xstr_vu_to_uddot( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:99:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 99 | extern xstr* const anthy_xstr_vu_to_hirauddot( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:220:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 220 | extern char* const anthy_conv_euc_to_utf8( const char* const s ); | ^~~~~~~~~~~~~~~~~~~~~~ ../anthy/xstr.h:221:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 221 | extern char* const anthy_conv_utf8_to_euc( const char* const s ); | ^~~~~~~~~~~~~~~~~~~~~~ ../anthy/xstr.h:222:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 222 | extern xstr* const anthy_cstr_to_xstr( const char* const c, enum ANTHY_ENCODING from_encoding ); | ^~~~ ../anthy/xstr.h:223:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 223 | extern char* const anthy_xstr_to_cstr( const xstr* const s, enum ANTHY_ENCODING to_encoding ); | ^~~~~~~~~~~~~~~~~~ anthy_iconv.c:342:13: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 342 | char* const anthy_conv_euc_to_utf8( const char* const s ) | ^~~~~~~~~~~~~~~~~~~~~~ anthy_iconv.c: In function 'anthy_conv_euc_to_utf8': anthy_iconv.c:358:63: error: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] 358 | const ssize_t result = libiconv( *cd, &in_ptr, &in_left, &out_ptr, &out_left ); | ^~~~~~~ | | | const char ** In file included from anthy_iconv.c:48: /usr/include/iconv.h:49:54: note: expected 'char ** restrict' but argument is of type 'const char **' 49 | extern size_t iconv (iconv_t __cd, char **__restrict __inbuf, | ~~~~~~~~~~~~~~~~~~^~~~~~~ anthy_iconv.c: At top level: anthy_iconv.c:403:13: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 403 | char* const anthy_conv_utf8_to_euc( const char* const s ) | ^~~~~~~~~~~~~~~~~~~~~~ anthy_iconv.c: In function 'anthy_conv_utf8_to_euc': anthy_iconv.c:419:63: error: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] 419 | const ssize_t result = libiconv( *cd, &in_ptr, &in_left, &out_ptr, &out_left ); | ^~~~~~~ | | | const char ** /usr/include/iconv.h:49:54: note: expected 'char ** restrict' but argument is of type 'const char **' 49 | extern size_t iconv (iconv_t __cd, char **__restrict __inbuf, | ~~~~~~~~~~~~~~~~~~^~~~~~~ anthy_iconv.c:425:48: error: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] 425 | libiconv( *cd, &geta_ptr, &geta_left, &out_ptr, &out_left ); | ^~~~~~~~~ | | | const char ** /usr/include/iconv.h:49:54: note: expected 'char ** restrict' but argument is of type 'const char **' 49 | extern size_t iconv (iconv_t __cd, char **__restrict __inbuf, | ~~~~~~~~~~~~~~~~~~^~~~~~~ anthy_iconv.c: In function 'anthy_snputcstr': anthy_iconv.c:497:71: error: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] 497 | const ssize_t result = libiconv( *cd, &in_ptr, &in_left, &out_ptr, &out_left ); | ^~~~~~~ | | | const char ** /usr/include/iconv.h:49:54: note: expected 'char ** restrict' but argument is of type 'const char **' 49 | extern size_t iconv (iconv_t __cd, char **__restrict __inbuf, | ~~~~~~~~~~~~~~~~~~^~~~~~~ anthy_iconv.c:521:58: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 521 | for (i = 0, out_ptr = out_buf; i < xs->len; ++i, out_ptr += UCS4_LEN) { | ^ anthy_iconv.c: In function 'anthy_snputxstr': anthy_iconv.c:592:56: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 592 | for (i = 0, in_ptr = in_buf; i < xs->len; ++i, in_ptr += UCS4_LEN) { | ^ anthy_iconv.c:628:71: error: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] 628 | const ssize_t result = libiconv( *cd, (const char**)&in_ptr, &in_left, &out_ptr, &out_left ); | ^~~~~~~~~~~~~~~~~~~~~ | | | const char ** /usr/include/iconv.h:49:54: note: expected 'char ** restrict' but argument is of type 'const char **' 49 | extern size_t iconv (iconv_t __cd, char **__restrict __inbuf, | ~~~~~~~~~~~~~~~~~~^~~~~~~ anthy_iconv.c:634:56: error: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] 634 | libiconv( *cd, &geta_ptr, &geta_left, &out_ptr, &out_left ); | ^~~~~~~~~ | | | const char ** /usr/include/iconv.h:49:54: note: expected 'char ** restrict' but argument is of type 'const char **' 49 | extern size_t iconv (iconv_t __cd, char **__restrict __inbuf, | ~~~~~~~~~~~~~~~~~~^~~~~~~ anthy_iconv.c: At top level: anthy_iconv.c:667:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 667 | xstr* const anthy_cstr_to_xstr( const char* const c, enum ANTHY_ENCODING from_encoding ) | ^~~~ anthy_iconv.c:707:13: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 707 | char* const anthy_xstr_to_cstr( const xstr* const xs, enum ANTHY_ENCODING to_encoding ) | ^~~~~~~~~~~~~~~~~~ anthy_iconv.c: In function 'anthy_open_iconv_userdefineencoding': anthy_iconv.c:819:26: warning: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 819 | free( cvt->encoding_name ); | ~~~^~~~~~~~~~~~~~~ In file included from anthy_iconv.c:14: /usr/include/stdlib.h:687:25: note: expected 'void *' but argument is of type 'const char *' 687 | extern void free (void *__ptr) __THROW; | ~~~~~~^~~~~ make[2]: *** [Makefile:437: anthy_iconv.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut/src-diclib' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut/src-diclib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../ -DCONF_DIR=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -c -o file_dic.lo file_dic.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../ -DCONF_DIR=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -c file_dic.c -fPIC -DPIC -o .libs/file_dic.o In file included from diclib_inner.h:10, from file_dic.c:13: ../anthy/xstr.h:96:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 96 | extern xstr* const anthy_xstr_hira_to_kata_without_vu( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:97:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 97 | extern xstr* const anthy_xstr_kata_to_hira( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:98:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 98 | extern xstr* const anthy_xstr_vu_to_uddot( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:99:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 99 | extern xstr* const anthy_xstr_vu_to_hirauddot( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:220:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 220 | extern char* const anthy_conv_euc_to_utf8( const char* const s ); | ^~~~~~~~~~~~~~~~~~~~~~ ../anthy/xstr.h:221:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 221 | extern char* const anthy_conv_utf8_to_euc( const char* const s ); | ^~~~~~~~~~~~~~~~~~~~~~ ../anthy/xstr.h:222:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 222 | extern xstr* const anthy_cstr_to_xstr( const char* const c, enum ANTHY_ENCODING from_encoding ); | ^~~~ ../anthy/xstr.h:223:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 223 | extern char* const anthy_xstr_to_cstr( const xstr* const s, enum ANTHY_ENCODING to_encoding ); | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut/src-diclib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut/src-diclib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../ -DCONF_DIR=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -c -o init_settings.lo init_settings.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../ -DCONF_DIR=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -c init_settings.c -fPIC -DPIC -o .libs/init_settings.o In file included from ../anthy/settings.h:57, from init_settings.c:65: ../anthy/xstr.h:96:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 96 | extern xstr* const anthy_xstr_hira_to_kata_without_vu( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:97:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 97 | extern xstr* const anthy_xstr_kata_to_hira( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:98:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 98 | extern xstr* const anthy_xstr_vu_to_uddot( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:99:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 99 | extern xstr* const anthy_xstr_vu_to_hirauddot( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:220:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 220 | extern char* const anthy_conv_euc_to_utf8( const char* const s ); | ^~~~~~~~~~~~~~~~~~~~~~ ../anthy/xstr.h:221:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 221 | extern char* const anthy_conv_utf8_to_euc( const char* const s ); | ^~~~~~~~~~~~~~~~~~~~~~ ../anthy/xstr.h:222:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 222 | extern xstr* const anthy_cstr_to_xstr( const char* const c, enum ANTHY_ENCODING from_encoding ); | ^~~~ ../anthy/xstr.h:223:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 223 | extern char* const anthy_xstr_to_cstr( const xstr* const s, enum ANTHY_ENCODING to_encoding ); | ^~~~~~~~~~~~~~~~~~ In file included from init_settings.c:67: ../anthy/ruleparser.h:22:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 22 | extern FILE* const anthy_get_fp( void ); /* Patched by G-HAL, Thu,16 Oct,2008 */ | ^~~~ In file included from ../anthy/segment.h:11, from init_settings.c:68: ../anthy/segclass.h:85:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 85 | extern const char* const anthy_dep_class_sym( enum dep_class dc ); /* Patched by G-HAL, Fri,01 May,2009 */ | ^~~~~ init_settings.c: In function 'parse_get_string_entry': init_settings.c:542:23: warning: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 542 | free( *ptr ); | ^~~~ In file included from init_settings.c:44: /usr/include/stdlib.h:687:25: note: expected 'void *' but argument is of type 'const char *' 687 | extern void free (void *__ptr) __THROW; | ~~~~~~^~~~~ init_settings.c: In function 'parse_tunescore_entry': init_settings.c:551:17: warning: variable 'sign' set but not used [-Wunused-but-set-variable] 551 | int sign = 0; | ^~~~ init_settings.c: At top level: init_settings.c:647:6: warning: no previous prototype for 'parse_packed_flag' [-Wmissing-prototypes] 647 | void parse_packed_flag( void ) | ^~~~~~~~~~~~~~~~~ init_settings.c: In function 'anthy_load_settings': init_settings.c:730:86: error: passing argument 2 of '(void (*)(const struct parser_entry_t * const, const char * const* const, int))parser_entry[i].func' from incompatible pointer type [-Wincompatible-pointer-types] 730 | (*parser_entry[i].func)( &(parser_entry[i]), tokens, nr ); | ^~~~~~ | | | char ** init_settings.c:730:86: note: expected 'const char * const* const' but argument is of type 'char **' init_settings.c: In function 'anthy_load_settings_from_systemconf': init_settings.c:757:35: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 757 | tokens[1] = anthy_conf_get_str( parser_entry[i].tag ); | ^ init_settings.c:760:43: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 760 | tokens[0] = parser_entry[i].tag; | ^ init_settings.c:761:78: error: passing argument 2 of '(void (*)(const struct parser_entry_t * const, const char * const* const, int))parser_entry[i].func' from incompatible pointer type [-Wincompatible-pointer-types] 761 | (*parser_entry[i].func)( &(parser_entry[i]), tokens, nr ); | ^~~~~~ | | | char ** init_settings.c:761:78: note: expected 'const char * const* const' but argument is of type 'char **' make[2]: *** [Makefile:437: init_settings.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut/src-diclib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut/src-diclib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../ -DCONF_DIR=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -c -o filemap.lo filemap.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../ -DCONF_DIR=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -c filemap.c -fPIC -DPIC -o .libs/filemap.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut/src-diclib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut/src-diclib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../ -DCONF_DIR=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -c -o logger.lo logger.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../ -DCONF_DIR=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -c logger.c -fPIC -DPIC -o .libs/logger.o In file included from ../anthy/settings.h:57, from logger.c:21: ../anthy/xstr.h:96:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 96 | extern xstr* const anthy_xstr_hira_to_kata_without_vu( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:97:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 97 | extern xstr* const anthy_xstr_kata_to_hira( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:98:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 98 | extern xstr* const anthy_xstr_vu_to_uddot( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:99:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 99 | extern xstr* const anthy_xstr_vu_to_hirauddot( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:220:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 220 | extern char* const anthy_conv_euc_to_utf8( const char* const s ); | ^~~~~~~~~~~~~~~~~~~~~~ ../anthy/xstr.h:221:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 221 | extern char* const anthy_conv_utf8_to_euc( const char* const s ); | ^~~~~~~~~~~~~~~~~~~~~~ ../anthy/xstr.h:222:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 222 | extern xstr* const anthy_cstr_to_xstr( const char* const c, enum ANTHY_ENCODING from_encoding ); | ^~~~ ../anthy/xstr.h:223:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 223 | extern char* const anthy_xstr_to_cstr( const xstr* const s, enum ANTHY_ENCODING to_encoding ); | ^~~~~~~~~~~~~~~~~~ logger.c: In function 'do_log': logger.c:36:12: warning: unused parameter 'lv' [-Wunused-parameter] 36 | do_log(int lv, const char *str, va_list arg) | ~~~~^~ logger.c: In function 'do_log.isra': logger.c:53:19: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 53 | "%s%s%s%s%s%s", | ^~ ...... 56 | anthy_settings.filename.user_dir, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from logger.c:9: In function 'snprintf', inlined from 'do_log.isra' at logger.c:52:5: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 1 or more bytes (assuming 16381) into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut/src-diclib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut/src-diclib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../ -DCONF_DIR=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -c -o alloc.lo alloc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../ -DCONF_DIR=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -c alloc.c -fPIC -DPIC -o .libs/alloc.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut/src-diclib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut/src-diclib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../ -DCONF_DIR=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -c -o conf.lo conf.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../ -DCONF_DIR=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -c conf.c -fPIC -DPIC -o .libs/conf.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut/src-diclib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut/src-diclib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../ -DCONF_DIR=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -c -o ruleparser.lo ruleparser.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../ -DCONF_DIR=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -c ruleparser.c -fPIC -DPIC -o .libs/ruleparser.o In file included from ruleparser.c:33: ../anthy/ruleparser.h:22:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 22 | extern FILE* const anthy_get_fp( void ); /* Patched by G-HAL, Thu,16 Oct,2008 */ | ^~~~ ruleparser.c:357:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 357 | FILE* const anthy_get_fp( void ) | ^~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut/src-diclib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut/src-diclib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../ -DCONF_DIR=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -c -o xchar.lo xchar.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../ -DCONF_DIR=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -c xchar.c -fPIC -DPIC -o .libs/xchar.o In file included from ../anthy/settings.h:57, from xchar.c:709: ../anthy/xstr.h:96:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 96 | extern xstr* const anthy_xstr_hira_to_kata_without_vu( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:97:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 97 | extern xstr* const anthy_xstr_kata_to_hira( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:98:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 98 | extern xstr* const anthy_xstr_vu_to_uddot( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:99:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 99 | extern xstr* const anthy_xstr_vu_to_hirauddot( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:220:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 220 | extern char* const anthy_conv_euc_to_utf8( const char* const s ); | ^~~~~~~~~~~~~~~~~~~~~~ ../anthy/xstr.h:221:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 221 | extern char* const anthy_conv_utf8_to_euc( const char* const s ); | ^~~~~~~~~~~~~~~~~~~~~~ ../anthy/xstr.h:222:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 222 | extern xstr* const anthy_cstr_to_xstr( const char* const c, enum ANTHY_ENCODING from_encoding ); | ^~~~ ../anthy/xstr.h:223:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 223 | extern char* const anthy_xstr_to_cstr( const xstr* const s, enum ANTHY_ENCODING to_encoding ); | ^~~~~~~~~~~~~~~~~~ xchar.c:1405:39: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 1405 | static struct UCS_char_cache_t* const add_UCS_char_cache( xchar xc ) | ^~~~~~~~~~~~~~~~~~ xchar.c: In function 'add_UCS_char_cache': xchar.c:1410:10: warning: comparison of integer expressions of different signedness: 'xchar' {aka 'int'} and 'long unsigned int' [-Wsign-compare] 1410 | if (xc <= 0xFFFFUL) { | ^~ xchar.c: At top level: xchar.c:1485:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 1485 | static const struct UCS_char_cache_t* const get_UCS_char_cache_ptr( xchar xc ) | ^~~~~ xchar.c: In function 'get_UCS_char_cache_ptr': xchar.c:1487:10: warning: comparison of integer expressions of different signedness: 'xchar' {aka 'int'} and 'long unsigned int' [-Wsign-compare] 1487 | if (xc <= 0xFFFFUL) { | ^~ xchar.c: In function 'anthy_euc_to_ucs': xchar.c:1630:23: warning: operand of '?:' changes signedness from 'xchar' {aka 'int'} to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 1630 | return (1 == len) ? xc[0] : 0x00000000UL; | ^~~~~ xchar.c: At top level: xchar.c:1645:17: warning: 'anthy_ucs_to_euc' defined but not used [-Wunused-function] 1645 | static uint32_t anthy_ucs_to_euc( xchar xc ) | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut/src-diclib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut/src-diclib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../ -DCONF_DIR=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -c -o mergesort.lo mergesort.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../ -DCONF_DIR=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -c mergesort.c -fPIC -DPIC -o .libs/mergesort.o mergesort.c:56:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 56 | static void setup(u_char *, u_char *, size_t, size_t, int (*)()); | ^~~~~~ mergesort.c:57:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 57 | static void insertionsort(u_char *, size_t, size_t, int (*)()); | ^~~~~~ mergesort.c: In function 'mergesort': mergesort.c:158:55: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 158 | if (i == size) | ^~ mergesort.c:171:42: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 171 | FASTCASE: while (i > size) | ^ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut/src-diclib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut/src-diclib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../ -DCONF_DIR=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -c -o xstr.lo xstr.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../ -DCONF_DIR=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -c xstr.c -fPIC -DPIC -o .libs/xstr.o In file included from xstr.c:52: ../anthy/xstr.h:96:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 96 | extern xstr* const anthy_xstr_hira_to_kata_without_vu( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:97:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 97 | extern xstr* const anthy_xstr_kata_to_hira( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:98:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 98 | extern xstr* const anthy_xstr_vu_to_uddot( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:99:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 99 | extern xstr* const anthy_xstr_vu_to_hirauddot( const xstr* const src_xs ); | ^~~~ ../anthy/xstr.h:220:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 220 | extern char* const anthy_conv_euc_to_utf8( const char* const s ); | ^~~~~~~~~~~~~~~~~~~~~~ ../anthy/xstr.h:221:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 221 | extern char* const anthy_conv_utf8_to_euc( const char* const s ); | ^~~~~~~~~~~~~~~~~~~~~~ ../anthy/xstr.h:222:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 222 | extern xstr* const anthy_cstr_to_xstr( const char* const c, enum ANTHY_ENCODING from_encoding ); | ^~~~ ../anthy/xstr.h:223:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 223 | extern char* const anthy_xstr_to_cstr( const xstr* const s, enum ANTHY_ENCODING to_encoding ); | ^~~~~~~~~~~~~~~~~~ xstr.c: In function 'anthy_putxchar': xstr.c:406:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 406 | const xstr xs = { .len = 1, .str = xc_tmp }; | ^~~~~~ xstr.c: In function 'anthy_xstr_is_ucs2': xstr.c:559:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 559 | for (i = 0, ptr = xs->str; i < xs->len; i++, ptr++) { | ^ xstr.c: In function 'anthy_xstrtoll': xstr.c:599:7: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 599 | if (!anthy_get_xstr_type(x) & (XCT_NUM | XCT_WIDENUM)) { | ^~~~~~~~~~~~~~~~~~~~~~~ xstr.c: At top level: xstr.c:668:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 668 | xstr* const anthy_xstr_hira_to_kata_without_vu( const xstr* const src_xs ) | ^~~~ xstr.c: In function 'anthy_xstr_hira_to_kata_without_vu': xstr.c:677:38: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 677 | || ((SIZE_MAX / sizeof(xchar)) < src_xs->len) | ^ xstr.c: At top level: xstr.c:706:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 706 | xstr* const anthy_xstr_kata_to_hira( const xstr* const src_xs ) | ^~~~ xstr.c: In function 'anthy_xstr_kata_to_hira': xstr.c:715:42: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 715 | || ((SIZE_MAX / sizeof(xchar) / 2) < src_xs->len) | ^ xstr.c: At top level: xstr.c:757:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 757 | xstr* const anthy_xstr_vu_to_uddot( const xstr* const src_xs ) | ^~~~ xstr.c: In function 'anthy_xstr_vu_to_uddot': xstr.c:766:42: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 766 | || ((SIZE_MAX / sizeof(xchar) / 2) < src_xs->len) | ^ xstr.c: At top level: xstr.c:808:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 808 | xstr* const anthy_xstr_vu_to_hirauddot( const xstr* const src_xs ) | ^~~~ xstr.c: In function 'anthy_xstr_vu_to_hirauddot': xstr.c:817:42: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 817 | || ((SIZE_MAX / sizeof(xchar) / 2) < src_xs->len) | ^ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/anthy-9100h-20110409ut/src-diclib' make[1]: *** [Makefile:536: all-recursive] Error 1 make: *** [Makefile:397: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.IO0x7d (%build) RPM build warnings: line 46: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64anthy0-devel RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.IO0x7d (%build) I: [iurt_root_command] ERROR: chroot