From nobody@FreeBSD.org  Mon Feb 18 18:36:44 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id ED59916A468
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 18 Feb 2008 18:36:44 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id E13FF13C465
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 18 Feb 2008 18:36:44 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m1IIYGEi055952
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 18 Feb 2008 18:34:16 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m1IIYGOT055951;
	Mon, 18 Feb 2008 18:34:16 GMT
	(envelope-from nobody)
Message-Id: <200802181834.m1IIYGOT055951@www.freebsd.org>
Date: Mon, 18 Feb 2008 18:34:16 GMT
From: Bernd Strau <no_bs@web.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: net/ekiga doesn't build with threaded perl.
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: mi@aldan.algebra.com

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 18 18:40:01 UTC 2008
>Closed-Date:    Mon Apr 14 14:56:10 UTC 2008
>Last-Modified:  Mon Apr 14 14:56:10 UTC 2008
>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:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Mon Feb 18 18:40:07 UTC 2008 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120824 

From: Thunderbird <thunderbird60@mail.ru>
To: bug-followup@FreeBSD.org,  no_bs@web.de
Cc:  
Subject: Re: ports/120824: net/ekiga doesn't build with threaded perl.
Date: Tue, 04 Mar 2008 01:19:10 +0700

 Hi.
 Sorry, but this workaround doesn't work at all on my system. I tried to 
 rebuid perl - with and without threads. I tried to build ekiga with and 
 without the patch.
 I still get this error:
 devices/fakevideoinput.cpp:336: error: 'frameTimeError' was not declared 
 in this scope
 devices/fakevideoinput.cpp:338: error: 'msBetweenFrames' was not 
 declared in this scope
 devices/fakevideoinput.cpp:343: error: 'previousFrameTime' was not 
 declared in this scope
 devices/fakevideoinput.cpp:344: error: 'frameTimeError' was not declared 
 in this scope
 devices/fakevideoinput.cpp:344: error: 'msBetweenFrames' was not 
 declared in this scope
 gmake[3]: *** [fakevideoinput.o] Error 1
 gmake[3]: Leaving directory `/work/a/ports/net/ekiga/work/ekiga-2.0.11/src'
 gmake[2]: *** [all] Error 2
 gmake[2]: Leaving directory `/work/a/ports/net/ekiga/work/ekiga-2.0.11/src'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory `/work/a/ports/net/ekiga/work/ekiga-2.0.11'
 gmake: *** [all] Error 2
 *** Error code 2
 
 Stop in /a/ports/net/ekiga.
 
 My system:
 Sempron 2600+, FreeBSD 6.2.
 
 Alexei.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/120824: commit references a PR
Date: Thu,  6 Mar 2008 23:00:07 +0000 (UTC)

 mi          2008-03-06 22:59:52 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net/ekiga            Makefile 
   Added files:
     net/ekiga/files      patch-src-devices-fakevideoinput 
                          patch-ubuntu 
   Log:
   Attempt to fix the PRs below caused by PWLib getting upgraded under our
   feet. While here, add a small patch found in Ubuntu and Debian ports.
   
   PR:     ports/121346
   PR:     ports/120824
   PR:     ports/121401
   
   Revision  Changes    Path
   1.75      +1 -1      ports/net/ekiga/Makefile
   1.1       +39 -0     ports/net/ekiga/files/patch-src-devices-fakevideoinput (new)
   1.1       +15 -0     ports/net/ekiga/files/patch-ubuntu (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: feedback->closed 
State-Changed-By: gahr 
State-Changed-When: Mon Apr 14 14:56:09 UTC 2008 
State-Changed-Why:  
It can be built now. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120824 
>Unformatted:
