From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Sep 21 00: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 07BE21065672 for ; Tue, 21 Sep 2010 00:10:04 +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 CF0068FC1F for ; Tue, 21 Sep 2010 00:10:03 +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 o8L0A3Fh023352 for ; Tue, 21 Sep 2010 00:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o8L0A3V8023351; Tue, 21 Sep 2010 00:10:03 GMT (envelope-from gnats) Date: Tue, 21 Sep 2010 00:10:03 GMT Message-Id: <201009210010.o8L0A3V8023351@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Some Body Cc: Subject: Re: ports/150376: port net-mgmt/zabbix-server 1.8.3 fails to build on 8.1 Release undefined reference to `backtrace_symbols' X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Some Body List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Sep 2010 00:10:04 -0000 The following reply was made to PR ports/150376; it has been noted by GNATS. From: Some Body To: Bernhard Froehlich Cc: bug-followup@FreeBSD.org Subject: Re: ports/150376: port net-mgmt/zabbix-server 1.8.3 fails to build on 8.1 Release undefined reference to `backtrace_symbols' Date: Tue, 21 Sep 2010 09:38:59 +1000 On 21/09/2010, at 1:19 AM, Bernhard Froehlich wrote: > On Tue, 21 Sep 2010 01:05:24 +1000, Some Body > wrote: >> On 20/09/2010, at 7:41 PM, Bernhard Froehlich wrote: >>=20 >>> On Wed, 15 Sep 2010 07:07:30 +1000, Some Body >>> wrote: >>>> i'm reading through the porters handbook but it is a little = confusing >>>> at this stage. I don't actually know how to apply the patch so i = can't >>>> test it. >>>>=20 >>>> On 14/09/2010, at 10:54 PM, Bernhard Froehlich wrote: >>>>=20 >>>>> Could you please check if the patch from Jim Riggs works for you? >>>=20 >>> It's like this: >>>=20 >>> cd ~ >>> fetch >>> = "http://www.freebsd.org/cgi/query-pr.cgi?prp=3D150376-1-txt&n=3D/zabbix-se= rver-1.8.3,2.patch" >>> cd /usr/ports/ >>> patch -p3 < ~/zabbix-server-1.8.3,2.patch >>> rm net-mgmt/zabbix-server/files/patch-configure.orig >>>=20 >>> and then build the port as usual. >>>=20 >>> -- >>> Bernhard Froehlich >>> http://www.bluelife.at/ >>=20 >> root@firewall: ~ Tue Sep 21 00:58:11 $ fetch >> = "http://www.freebsd.org/cgi/query-pr.cgi?prp=3D150376-1-txt&n=3D/zabbix-se= rver-1.8.3,2.patch" >> fetch: >> = http://www.freebsd.org/cgi/query-pr.cgi?prp=3D150376-1-txt&n=3D/zabbix-ser= ver-1.8.3,2.patch: >> size of remote file is not known >> zabbix-server-1.8.3,2.patch 1091 B 1015 = Bps >> root@firewall: ~ Tue Sep 21 00:58:24 $ clear >>=20 >> root@firewall: ~ Tue Sep 21 00:58:33 $ cd /usr/ports/ >> root@firewall: /usr/ports Tue Sep 21 00:58:36 $ patch -p3 < >> ~/zabbix-server-1.8.3,2.patch >> Hmm... Looks like a unified diff to me... >> The text leading up to this was: >> -------------------------- >> |diff -ruN --exclude=3DCVS >> /usr/ports/net-mgmt/zabbix-server/files/patch-configure >> /root/portwork/zabbix/net-mgmt/zabbix-server/files/patch-configure >> |--- >> /usr/ports/net-mgmt/zabbix-server/files/patch-configure = 1969-12-31 >> 18:00:00.000000000 -0600 >> |+++ >> /root/portwork/zabbix/net-mgmt/zabbix-server/files/patch-configure = 2010-09-13 >> 07:33:07.000000000 -0500 >> -------------------------- >> (Creating file net-mgmt/zabbix-server/files/patch-configure...) >> Patching file net-mgmt/zabbix-server/files/patch-configure using Plan = A... >> Hunk #1 succeeded at 1. >> done >> root@firewall: /usr/ports Tue Sep 21 00:58:49 $ rm >> net-mgmt/zabbix-server/files/patch-configure.orig >> root@firewall: /usr/ports Tue Sep 21 00:59:07 $ cd >> net-mgmt/zabbix-server/ >> root@firewall: /usr/ports/net-mgmt/zabbix-server Tue Sep 21 00:59:21 >> $ make config >>=20 >> ../../src/libs/zbxnix/libzbxnix.a(fatal.o)(.text+0xe2): In function >> `print_fatal_info': >> : undefined reference to `backtrace' >> ../../src/libs/zbxnix/libzbxnix.a(fatal.o)(.text+0xf6): In function >> `print_fatal_info': >> : undefined reference to `backtrace_symbols' >> *** Error code 1 >>=20 >> Stop in >> = /usr/ports/net-mgmt/zabbix-server/work/zabbix-1.8.3/src/zabbix_server. >> *** Error code 1 >>=20 >> Stop in >> = /usr/ports/net-mgmt/zabbix-server/work/zabbix-1.8.3/src/zabbix_server. >> *** Error code 1 >>=20 >> Stop in /usr/ports/net-mgmt/zabbix-server/work/zabbix-1.8.3/src. >> *** Error code 1 >>=20 >> Stop in /usr/ports/net-mgmt/zabbix-server/work/zabbix-1.8.3. >> *** Error code 1 >>=20 >> Stop in /usr/ports/net-mgmt/zabbix-server. >> *** Error code 1 >>=20 >> Stop in /usr/ports/net-mgmt/zabbix-server. >>=20 >> =3D=3D=3D> The following configuration options are available for >> zabbix-server-1.8.3,2: >> MYSQL=3Don "Use MySQL backend" >> PGSQL=3Doff "Use PostgreSQL backend" >> SQLITE=3Doff "Use SQLite backend" >> IPV6=3Don "Support for IPv6" >> FPING=3Don "Use fping for pinging hosts" >> JABBER=3Don "Support for jabber media type" >> CURL=3Don "Support web monitoring with cURL" >> LDAP=3Don "Support for checking LDAP servers" >> IPMI=3Doff "Support for IPMI" >> SSH=3Don "Support for SSH-based checks" >> IODBC=3Doff "Support for iODBC" >> UNIXODBC=3Doff "Support for unixODBC" >> =3D=3D=3D> Use 'make config' to modify these settings >=20 > Have you done "make clean" first so that the port is really build from > scratch? Please keep bug-followup@FreeBSD.org CC'd. >=20 > --=20 > Bernhard Froehlich > http://www.bluelife.at/ Yes I did make clean before make install clean.=20