ports/120824: net/ekiga doesn't build with threaded perl.

Bernd Strauß no_bs at web.de
Mon Feb 18 18:40:02 UTC 2008

>Number:         120824
>Category:       ports
>Synopsis:       net/ekiga doesn't build with threaded perl.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 18 18:40:01 UTC 2008
>Originator:     Bernd Strauß
>Release:        FreeBSD 7.0-PRERELEASE #26
7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #26: Sun Feb 10 18:00:52 CET 2008
The build process of the net/ekiga port stops with a segmentation fault.

file=`echo zh_TW | sed 's,.*/,,'`.gmo \
	  && rm -f $file && /usr/local/bin/msgfmt -o $file zh_TW.po
gmake[2]: Leaving directory `/usr/ports/net/ekiga/work/ekiga-2.0.11/po'
gmake[2]: Entering directory `/usr/ports/net/ekiga/work/ekiga-2.0.11'
LC_ALL=C ./intltool-merge -d -u -c ./po/.intltool-merge-cache ./po ekiga.desktop.in ekiga.desktop
Generating and caching the translation database
Segmentation fault (core dumped)
gmake[2]: *** [ekiga.desktop] Error 139
gmake[2]: Leaving directory `/usr/ports/net/ekiga/work/ekiga-2.0.11'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/net/ekiga/work/ekiga-2.0.11'
gmake: *** [all] Error 2
*** Error code 2

Some analysis shows that the program that causes the segfault is
the perl script "intltool-merge" which is part of the net/ekiga
distribution. Specifically, the fault occurs within the
"create_translation_database" subroutine when the program
processes the *.po files in the po/ subdirectory. It turns out
that the perl script chokes on the "dz" language (dz.po).
All others work fine.

Note: Using non-threaded perl is not an option because some
ports (e.g. p5-sdl-1.20.3_6) require threads.
(Re-)build perl with the threaded option turned on. Then type:

cd /usr/ports/net/ekiga

Workaround: Skip building the "dz" language.

cd /usr/ports/net/ekiga
make patch
rm work/ekiga-2.0.11/po/dz.po
sed -i '.old' -e '/^dz$/d' work/ekiga-2.0.11/po/LINGUAS


More information about the freebsd-ports-bugs mailing list