Hi, Daobing I have got a powerpc box with sid[1]. I'm more than happy to test patches to fix the problem.
Here is the complete build log. r...@p4080:~/opencc-0.1.0# debuild dpkg-buildpackage -rfakeroot -D -us -uc dpkg-buildpackage: warning: using a gain-root-command while being root dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): dpkg-buildpackage: source package opencc dpkg-buildpackage: source version 0.1.0-1 dpkg-buildpackage: source changed by LI Daobing <lidaob...@debian.org> dpkg-source --before-build opencc-0.1.0 dpkg-buildpackage: host architecture powerpc fakeroot debian/rules clean dh clean dh_testdir dh_auto_clean make[1]: Entering directory `/root/opencc-0.1.0' Making distclean in po make[2]: Entering directory `/root/opencc-0.1.0/po' rm -f *.insert-header rm -f remove-potcdate.sed rm -f stamp-poT rm -f core core.* opencc.po opencc.1po opencc.2po *.new.po rm -fr *.o rm -f Makefile Makefile.in POTFILES *.mo make[2]: Leaving directory `/root/opencc-0.1.0/po' Making distclean in m4 make[2]: Entering directory `/root/opencc-0.1.0/m4' rm -rf .libs _libs rm -f *.lo test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f Makefile make[2]: Leaving directory `/root/opencc-0.1.0/m4' Making distclean in src make[2]: Entering directory `/root/opencc-0.1.0/src' rm -f opencc opencc_dict test -z "simp_to_trad.ocd trad_to_simp.ocd " || rm -f simp_to_trad.ocd trad_to_simp.ocd test -z "libopencc.la" || rm -f libopencc.la rm -f "./so_locations" rm -rf .libs _libs rm -f *.o rm -f *.lo rm -f *.tab.c test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -rf ./.deps rm -f Makefile make[2]: Leaving directory `/root/opencc-0.1.0/src' Making distclean in doc make[2]: Entering directory `/root/opencc-0.1.0/doc' rm -rf .libs _libs rm -f *.lo test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f Makefile make[2]: Leaving directory `/root/opencc-0.1.0/doc' Making distclean in data make[2]: Entering directory `/root/opencc-0.1.0/data' rm -rf .libs _libs rm -f *.lo test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f Makefile make[2]: Leaving directory `/root/opencc-0.1.0/data' Making distclean in . make[2]: Entering directory `/root/opencc-0.1.0' rm -rf .libs _libs rm -f *.lo test -z "opencc.pc opencc.spec" || rm -f opencc.pc opencc.spec test . = "." || test -z "" || rm -f test -z "po/stamp-it " || rm -f po/stamp-it rm -f config.h stamp-h1 rm -f libtool config.lt rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags make[2]: Leaving directory `/root/opencc-0.1.0' rm -f config.status config.cache config.log configure.lineno config.status.lineno rm -f Makefile make[1]: Leaving directory `/root/opencc-0.1.0' dh_clean dpkg-source -b opencc-0.1.0 dpkg-source: info: using source format `3.0 (quilt)' dpkg-source: info: building opencc using existing ./opencc_0.1.0.orig.tar.gz dpkg-source: info: building opencc in opencc_0.1.0-1.debian.tar.gz dpkg-source: info: building opencc in opencc_0.1.0-1.dsc debian/rules build dh build dh_testdir debian/rules override_dh_auto_configure make[1]: Entering directory `/root/opencc-0.1.0' dh_auto_configure -- --enable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking nano version... 0 (release) checking whether build environment is sane... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) none checking whether gcc and cc understand -c and -o together... yes checking for ranlib... ranlib checking for library containing strerror... none required checking for ANSI C header files... (cached) yes checking build system type... powerpc-unknown-linux-gnu checking host system type... powerpc-unknown-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for fgrep... /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... 805306365 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok 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... yes 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) 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... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc configure: creating ./config.status config.status: creating po/Makefile.in config.status: creating Makefile config.status: creating opencc.pc config.status: creating opencc.spec config.status: creating data/Makefile config.status: creating doc/Makefile config.status: creating m4/Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile Open Chinese Convert (OpenCC) Version 0.1.0 Library Version libopencc.1.0.0 Build options: C Build Flags -g -O2 Install prefix /usr make[1]: Leaving directory `/root/opencc-0.1.0' dh_auto_build make[1]: Entering directory `/root/opencc-0.1.0' make all-recursive make[2]: Entering directory `/root/opencc-0.1.0' Making all in data make[3]: Entering directory `/root/opencc-0.1.0/data' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/root/opencc-0.1.0/data' Making all in doc make[3]: Entering directory `/root/opencc-0.1.0/doc' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/root/opencc-0.1.0/doc' Making all in src make[3]: Entering directory `/root/opencc-0.1.0/src' CC libopencc_la-opencc_config.lo /bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DPKGDATADIR=\"/usr/share/opencc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o libopencc_la-opencc_config.lo `test -f 'opencc_config.c' || echo './'`opencc_config.c CC libopencc_la-opencc_converter.lo /bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DPKGDATADIR=\"/usr/share/opencc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o libopencc_la-opencc_converter.lo `test -f 'opencc_converter.c' || echo './'`opencc_converter.c CC libopencc_la-opencc_dictionary.lo /bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DPKGDATADIR=\"/usr/share/opencc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o libopencc_la-opencc_dictionary.lo `test -f 'opencc_dictionary.c' || echo './'`opencc_dictionary.c CC libopencc_la-opencc_encoding.lo /bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DPKGDATADIR=\"/usr/share/opencc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o libopencc_la-opencc_encoding.lo `test -f 'opencc_encoding.c' || echo './'`opencc_encoding.c CC libopencc_la-opencc_utils.lo /bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DPKGDATADIR=\"/usr/share/opencc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o libopencc_la-opencc_utils.lo `test -f 'opencc_utils.c' || echo './'`opencc_utils.c CC libopencc_la-opencc.lo /bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DPKGDATADIR=\"/usr/share/opencc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o libopencc_la-opencc.lo `test -f 'opencc.c' || echo './'`opencc.c CC libopencc_la-opencc_dictionary_abstract.lo /bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DPKGDATADIR=\"/usr/share/opencc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o libopencc_la-opencc_dictionary_abstract.lo `test -f 'dictionary/opencc_dictionary_abstract.c' || echo './'`dictionary/opencc_dictionary_abstract.c CC libopencc_la-opencc_dictionary_datrie.lo /bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DPKGDATADIR=\"/usr/share/opencc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o libopencc_la-opencc_dictionary_datrie.lo `test -f 'dictionary/opencc_dictionary_datrie.c' || echo './'`dictionary/opencc_dictionary_datrie.c CC libopencc_la-opencc_dictionary_text.lo /bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DPKGDATADIR=\"/usr/share/opencc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o libopencc_la-opencc_dictionary_text.lo `test -f 'dictionary/opencc_dictionary_text.c' || echo './'`dictionary/opencc_dictionary_text.c CCLD libopencc.la CC opencc-opencc.o gcc -DHAVE_CONFIG_H -I. -I.. -DPKGDATADIR=\"/usr/share/opencc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o opencc-opencc.o `test -f 'tools/opencc.c' || echo './'`tools/opencc.c CC opencc-opencc_utils.o gcc -DHAVE_CONFIG_H -I. -I.. -DPKGDATADIR=\"/usr/share/opencc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o opencc-opencc_utils.o `test -f 'opencc_utils.c' || echo './'`opencc_utils.c CCLD opencc CC opencc_dict-opencc_dict.o gcc -DHAVE_CONFIG_H -I. -I.. -DPKGDATADIR=\"/usr/share/opencc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o opencc_dict-opencc_dict.o `test -f 'tools/opencc_dict.c' || echo './'`tools/opencc_dict.c CC opencc_dict-opencc_dictionary.o gcc -DHAVE_CONFIG_H -I. -I.. -DPKGDATADIR=\"/usr/share/opencc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o opencc_dict-opencc_dictionary.o `test -f 'opencc_dictionary.c' || echo './'`opencc_dictionary.c CC opencc_dict-opencc_encoding.o gcc -DHAVE_CONFIG_H -I. -I.. -DPKGDATADIR=\"/usr/share/opencc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o opencc_dict-opencc_encoding.o `test -f 'opencc_encoding.c' || echo './'`opencc_encoding.c CC opencc_dict-opencc_utils.o gcc -DHAVE_CONFIG_H -I. -I.. -DPKGDATADIR=\"/usr/share/opencc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o opencc_dict-opencc_utils.o `test -f 'opencc_utils.c' || echo './'`opencc_utils.c CC opencc_dict-opencc_dictionary_abstract.o gcc -DHAVE_CONFIG_H -I. -I.. -DPKGDATADIR=\"/usr/share/opencc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o opencc_dict-opencc_dictionary_abstract.o `test -f 'dictionary/opencc_dictionary_abstract.c' || echo './'`dictionary/opencc_dictionary_abstract.c CC opencc_dict-opencc_dictionary_datrie.o gcc -DHAVE_CONFIG_H -I. -I.. -DPKGDATADIR=\"/usr/share/opencc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o opencc_dict-opencc_dictionary_datrie.o `test -f 'dictionary/opencc_dictionary_datrie.c' || echo './'`dictionary/opencc_dictionary_datrie.c CC opencc_dict-opencc_dictionary_text.o gcc -DHAVE_CONFIG_H -I. -I.. -DPKGDATADIR=\"/usr/share/opencc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o opencc_dict-opencc_dictionary_text.o `test -f 'dictionary/opencc_dictionary_text.c' || echo './'`dictionary/opencc_dictionary_text.c CCLD opencc_dict GEN simp_to_trad.ocd /bin/bash: line 1: 9589 Segmentation fault ./opencc_dict -i ../data/simp_to_trad.txt -o simp_to_trad.ocd make[3]: *** [simp_to_trad.ocd] Error 139 make[3]: Leaving directory `/root/opencc-0.1.0/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/opencc-0.1.0' make[1]: *** [all] Error 2 make[1]: Leaving directory `/root/opencc-0.1.0' dh_auto_build: make -j1 returned exit code 2 make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 debuild: fatal error at line 1327: dpkg-buildpackage -rfakeroot -D -us -uc failed [1] r...@p4080:~/opencc-0.1.0# uname -a Linux p4080 2.6.30 #1 SMP PREEMPT Wed Mar 31 22:45:36 CST 2010 ppc GNU/Linux -- Best Regards Asias He -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org