From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jul 15 23:00:22 2011 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 C47231065678 for ; Fri, 15 Jul 2011 23:00:22 +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 3BE4A8FC15 for ; Fri, 15 Jul 2011 23:00:22 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p6FN0Mic091256 for ; Fri, 15 Jul 2011 23:00:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p6FN0MQH091255; Fri, 15 Jul 2011 23:00:22 GMT (envelope-from gnats) Resent-Date: Fri, 15 Jul 2011 23:00:22 GMT Resent-Message-Id: <201107152300.p6FN0MQH091255@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, Barbara Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86C451065670 for ; Fri, 15 Jul 2011 22:50:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 5D8D38FC14 for ; Fri, 15 Jul 2011 22:50:42 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p6FMofDV026165 for ; Fri, 15 Jul 2011 22:50:41 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p6FMofJI026164; Fri, 15 Jul 2011 22:50:41 GMT (envelope-from nobody) Message-Id: <201107152250.p6FMofJI026164@red.freebsd.org> Date: Fri, 15 Jul 2011 22:50:41 GMT From: Barbara To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/158958: print/ghostscript9: build failure with default knobs (again) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2011 23:00:23 -0000 >Number: 158958 >Category: ports >Synopsis: print/ghostscript9: build failure with default knobs (again) >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 15 23:00:21 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Barbara >Release: RELENG_8 >Organization: >Environment: FreeBSD satanasso.local.net 8.2-STABLE FreeBSD 8.2-STABLE #0: Fri Jul 1 10:09:20 CEST 2011 root@satanasso.local.net:/usr/obj/usr/src/sys/SATANASSO i386 >Description: Running this command portupgrade -p -o print/ghostscript9 print/ghostscript8 I've got this error during the build: /bin/sh <./obj/../soobj/ldt.tr ./obj/../soobj/gdevl256.o(.text+0x73a): In function `gs_shared_init': ./base/gdevl256.c:310: multiple definition of `gs_shared_init' ./obj/../soobj/gdevxalt.o(.text+0x1759):./base/gdevxalt.c:851: first defined here /usr/bin/ld: Warning: size of symbol `gs_shared_init' changed from 150 in ./obj/../soobj/gdevxalt.o to 38 in ./obj/../soobj/gdevl256.o ./obj/../soobj/gdevvglb.o(.text+0x995): In function `gs_shared_init': ./base/gdevvglb.c:375: multiple definition of `gs_shared_init' ./obj/../soobj/gdevxalt.o(.text+0x1759):./base/gdevxalt.c:851: first defined here gmake[1]: *** [bin/../sobin/libgs.so.9.02] Error 1 gmake[1]: Leaving directory `/usr/ports/print/ghostscript9/work/ghostscript-9.02' gmake: *** [so] Error 2 *** Error code 1 Stop in /usr/ports/print/ghostscript9. *** Error code 1 Stop in /usr/ports/print/ghostscript9. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20110716-49093-1hg0ara-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=ghostscript8-8.71_8 UPGRADE_PORT_VER=8.71_8 make WITH_A4SIZE=1 WITH_SVGALIB=1 WITH_ICONV=1 WITH_FONTCONFIG=1 DEPENDS_TARGET=package ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! print/ghostscript9 (ghostscript8-8.71_8) (new compiler error) So, googling for "multiple definition of `gs_shared_init'" I've found a PR I've posted 4 years ago as 1st result: ports/115593. Unfortunately, unlike with ghostscript-gpl, it is failing also with just one knob (GS_lvga256 and GS_vgalib) selected and also unchecking GS_display, like in the patch for the old PR (?). So I finally had it built unchecking both GS*vga* knobs. >How-To-Repeat: # cd /usr/ports/print/ghostscript9 # make with a "clean" config or with one or both GS_lvga256 and GS_vgalib knob checked or maybe passing WITH_SVGALIB to make >Fix: >Release-Note: >Audit-Trail: >Unformatted: