From oli@a999.de  Thu Jan 14 01:01:23 2010
Return-Path: <oli@a999.de>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 40476106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 14 Jan 2010 01:01:23 +0000 (UTC)
	(envelope-from oli@a999.de)
Received: from mail.a999.de (a999.de [88.198.15.7])
	by mx1.freebsd.org (Postfix) with ESMTP id 0886A8FC15
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 14 Jan 2010 01:01:23 +0000 (UTC)
Received: by mail.a999.de (Postfix, from userid 1001)
	id E810B372E6; Thu, 14 Jan 2010 01:46:01 +0100 (CET)
Message-Id: <20100114004601.E810B372E6@mail.a999.de>
Date: Thu, 14 Jan 2010 01:46:01 +0100 (CET)
From: Oliver Adler <bug_reporter@a999.de>
Reply-To: Oliver Adler <bug_reporter@a999.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] ports print/scribus (scribus-1.3.3.13_1) dumps core during import of text
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         142801
>Category:       ports
>Synopsis:       [patch] ports print/scribus (scribus-1.3.3.13_1) dumps core during import of text
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sylvio
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 14 01:10:03 UTC 2010
>Closed-Date:    Tue Feb 02 23:38:35 UTC 2010
>Last-Modified:  Tue Feb  2 23:40:01 UTC 2010
>Originator:     Oliver Adler
>Release:        FreeBSD 8.0-RC1 i386
>Organization:
>Environment:
System: FreeBSD fbsd8_rc1_extern.a999.de 8.0-RC1 FreeBSD 8.0-RC1 #0: Thu Sep 17 20:45:19 UTC 2009     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386


	
>Description:
	Due to wrong arguments to the linker during compilation of port,
	references of plugins are not satisfied.
	Errors look like this and eventually scribus dumps core:
	Cannot find plugin: /usr/local/lib/scribus/plugins//libsvgimplugin.so: Undefined symbol "_ZN8ScPlugin19newPrefsPanelWidgetEP7QWidgetRP10PrefsPanelR7QStringR7QPixmap"
>How-To-Repeat:
	1. start scribus from xterm
	2. select Single Page in New Document dialog
	3. Activate Automatic Text Frames in New Document dialog
	4. Press OK in New Document dialog
	5. Click in middle of text area 
	6. Select File->Import->Get Text
	7. In Open dialog choose some small ASCII file
	8. During text import scribus crashes with core dump
	   
>Fix:

	I searched the internet and found the following link: 
	http://bugs.scribus.net/print_bug_page.php?bug_id=6897 which
	tells us to add the Linkerflag "-E" during compile.
	I tried this and attached a patch which fixes the problem


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->sylvio 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Jan 14 01:10:13 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

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

From: Sylvio Cesar Teixeira <sylvio@FreeBSD.org>
To: bug-followup@FreeBSD.org,
 bug_reporter@a999.de
Cc:  
Subject: Re: ports/142801: [patch] ports print/scribus (scribus-1.3.3.13_1) dumps core during import of text
Date: Sun, 17 Jan 2010 12:53:11 -0200

 --Apple-Mail-1--182533392
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=us-ascii
 
 Hi,
 
 Prepare a patch and send it to me
 
 Regards,
 
 Sylvio Cesar
 --Apple-Mail-1--182533392
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/html;
 	charset=us-ascii
 
 <html><head></head><body style=3D"word-wrap: break-word; =
 -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
 ">Hi,<div><br></div><div><span class=3D"Apple-style-span" =
 style=3D"font-family: Arial, sans-serif; font-size: 13px; line-height: =
 22px; ">Prepare a patch and send it to me</span></div><div><font =
 class=3D"Apple-style-span" face=3D"Arial, sans-serif" size=3D"3"><span =
 class=3D"Apple-style-span" style=3D"font-size: 13px; line-height: =
 22px;"><br></span></font></div><div><font class=3D"Apple-style-span" =
 face=3D"Arial, sans-serif" size=3D"3"><span class=3D"Apple-style-span" =
 style=3D"font-size: 13px; line-height: =
 22px;">Regards,</span></font></div><div><font class=3D"Apple-style-span" =
 face=3D"Arial, sans-serif" size=3D"3"><span class=3D"Apple-style-span" =
 style=3D"font-size: 13px; line-height: =
 22px;"><br></span></font></div><div><font class=3D"Apple-style-span" =
 face=3D"Arial, sans-serif" size=3D"3"><span class=3D"Apple-style-span" =
 style=3D"font-size: 13px; line-height: 22px;">Sylvio =
 Cesar</span></font></div></body></html>=
 
 --Apple-Mail-1--182533392--
State-Changed-From-To: open->feedback 
State-Changed-By: sylvio 
State-Changed-When: Sun Jan 17 18:38:30 UTC 2010 
State-Changed-Why:  
Waiting a path of submitter. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=142801 
State-Changed-From-To: feedback->closed 
State-Changed-By: sylvio 
State-Changed-When: Tue Feb 2 23:38:33 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/142801: commit references a PR
Date: Tue,  2 Feb 2010 23:37:53 +0000 (UTC)

 sylvio      2010-02-02 23:37:46 UTC
 
   FreeBSD ports repository
 
   Modified files:
     print/scribus        Makefile 
     print/scribus/files  patch-CMakeLists 
   Log:
   - Fix problem with can not find plugin "libsvgimplugin.so: Undefined symbol"
   - BUMP PORTREVISION
   
   PR:             ports/142801
   Submitted by:   Oliver Adler <bug_reporter@a999.de>
   Approved by:    miwi (mentor)
   
   Revision  Changes    Path
   1.56      +6 -7      ports/print/scribus/Makefile
   1.2       +8 -2      ports/print/scribus/files/patch-CMakeLists
 _______________________________________________
 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"
 
>Unformatted:
