Date: Mon, 18 Feb 2008 18:34:16 GMT From: Bernd Strauß <no_bs@web.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/120824: net/ekiga doesn't build with threaded perl. Message-ID: <200802181834.m1IIYGOT055951@www.freebsd.org> Resent-Message-ID: <200802181840.m1IIe1wx089305@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 18 18:40:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Bernd Strauß >Release: FreeBSD 7.0-PRERELEASE #26 >Organization: >Environment: 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #26: Sun Feb 10 18:00:52 CET 2008 i386 >Description: 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. >How-To-Repeat: (Re-)build perl with the threaded option turned on. Then type: cd /usr/ports/net/ekiga make >Fix: 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 make >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802181834.m1IIYGOT055951>