Subject: pkg/36880: inputmethod/anthy build failed on NetBSD/amd64
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <ishit@oak.dti.ne.jp>
List: pkgsrc-bugs
Date: 09/01/2007 19:00:01
>Number:         36880
>Category:       pkg
>Synopsis:       inputmethod/anthy build failed on NetBSD/amd64
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 01 19:00:00 +0000 2007
>Originator:     ISIHARA Takanori
>Release:        NetBSD/amd64
>Organization:
Nagoya *BSD Users' Group :-)
>Environment:
NetBSD ishitPc6.home 4.99.9 NetBSD 4.99.9 (ISHITPC6) #3: Sun Feb  4 08:59:11 JST 2007  sysbuild@ishitPc6.home:/opt/sysbuild/current/obj/amd64/sys/arch/amd64/compile/ISHITPC6 amd64

>Description:
inputmethod/anthy (anthy-9100) build failed on NetBSD/amd64.

mkworddic can't run. core dumped.



% cd /usr/pkgsrc/inputmethod/anthy
% make
<snip>
Making all in mkworddic
gmake[2]: Entering directory `/opt/pkgsrc/inputmethod/anthy/work.x86_64/anthy-9100/mkworddic'
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../    -O2 -pipe -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -MT mkdic.o -MD -MP -MF ".deps/mkdic.Tpo" -c -o mkdic.o mkdic.c; \
then mv -f ".deps/mkdic.Tpo" ".deps/mkdic.Po"; else rm -f ".deps/mkdic.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../    -O2 -pipe -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -MT writewords.o -MD -MP -MF ".deps/writewords.Tpo" -c -o writewords.o writewords.c; \
then mv -f ".deps/writewords.Tpo" ".deps/writewords.Po"; else rm -f ".deps/writewords.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../    -O2 -pipe -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -MT mkudic.o -MD -MP -MF ".deps/mkudic.Tpo" -c -o mkudic.o mkudic.c; \
then mv -f ".deps/mkudic.Tpo" ".deps/mkudic.Po"; else rm -f ".deps/mkudic.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../    -O2 -pipe -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -MT calcfreq.o -MD -MP -MF ".deps/calcfreq.Tpo" -c -o calcfreq.o calcfreq.c; \
then mv -f ".deps/calcfreq.Tpo" ".deps/calcfreq.Po"; else rm -f ".deps/calcfreq.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link cc  -O2 -pipe -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long  -Wl,-R/usr/pkg/lib -o mkworddic  mkdic.o writewords.o mkudic.o calcfreq.o ../src-worddic/libanthydic.la
mkdir .libs
cc -O2 -pipe -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wl,-R/usr/pkg/lib -o .libs/mkworddic mkdic.o writewords.o mkudic.o calcfreq.o  ../src-worddic/.libs/libanthydic.so -L/opt/pkgsrc/inputmethod/anthy/work.x86_64/.buildlink/lib -Wl,--rpath -Wl,/usr/pkg/lib
creating mkworddic
./mkworddic -f ./dict.args
gmake[2]: *** [anthy.wdic] Segmentation fault (core dumped)
gmake[2]: Leaving directory `/opt/pkgsrc/inputmethod/anthy/work.x86_64/anthy-9100/mkworddic'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/opt/pkgsrc/inputmethod/anthy/work.x86_64/anthy-9100'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /opt/pkgsrc/inputmethod/anthy
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/inputmethod/anthy


>How-To-Repeat:
cd /usr/pkgsrc/inputmethod/anthy
make

>Fix: