From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jan 14 01:10:04 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06C93106566C for ; Thu, 14 Jan 2010 01:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A59D88FC0A for ; Thu, 14 Jan 2010 01:10:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0E1A3Yp045072 for ; Thu, 14 Jan 2010 01:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0E1A3Nf045071; Thu, 14 Jan 2010 01:10:03 GMT (envelope-from gnats) Resent-Date: Thu, 14 Jan 2010 01:10:03 GMT Resent-Message-Id: <201001140110.o0E1A3Nf045071@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Oliver Adler Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40476106566B for ; 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 ; 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/142801: [patch] ports print/scribus (scribus-1.3.3.13_1) dumps core during import of text X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Oliver Adler List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jan 2010 01:10:04 -0000 >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: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 14 01:10:03 UTC 2010 >Closed-Date: >Last-Modified: >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: >Unformatted: