From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Sep 20 16:10:07 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 14CAA1065672 for ; Mon, 20 Sep 2010 16:10:07 +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 0262F8FC12 for ; Mon, 20 Sep 2010 16:10:07 +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 o8KGA67X028953 for ; Mon, 20 Sep 2010 16:10:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o8KGA6Ui028952; Mon, 20 Sep 2010 16:10:06 GMT (envelope-from gnats) Date: Mon, 20 Sep 2010 16:10:06 GMT Message-Id: <201009201610.o8KGA6Ui028952@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Bernhard Froehlich 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: Bernhard Froehlich List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2010 16:10:07 -0000 The following reply was made to PR ports/150376; it has been noted by GNATS. From: Bernhard Froehlich To: 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 =?UTF-8?Q?=60backtrace=5Fsymbols=27?= Date: Mon, 20 Sep 2010 15:19:40 +0000 On Tue, 21 Sep 2010 01:05:24 +1000, Some Body wrote: > On 20/09/2010, at 7:41 PM, Bernhard Froehlich wrote: > >> 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. >>> >>> On 14/09/2010, at 10:54 PM, Bernhard Froehlich wrote: >>> >>>> Could you please check if the patch from Jim Riggs works for you? >> >> It's like this: >> >> cd ~ >> fetch >> "http://www.freebsd.org/cgi/query-pr.cgi?prp=150376-1-txt&n=/zabbix-server-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 >> >> and then build the port as usual. >> >> -- >> Bernhard Froehlich >> http://www.bluelife.at/ > > root@firewall: ~ Tue Sep 21 00:58:11 $ fetch > "http://www.freebsd.org/cgi/query-pr.cgi?prp=150376-1-txt&n=/zabbix-server-1.8.3,2.patch" > fetch: > http://www.freebsd.org/cgi/query-pr.cgi?prp=150376-1-txt&n=/zabbix-server-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 > > 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=CVS > /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 > > ../../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 > > Stop in > /usr/ports/net-mgmt/zabbix-server/work/zabbix-1.8.3/src/zabbix_server. > *** Error code 1 > > Stop in > /usr/ports/net-mgmt/zabbix-server/work/zabbix-1.8.3/src/zabbix_server. > *** Error code 1 > > Stop in /usr/ports/net-mgmt/zabbix-server/work/zabbix-1.8.3/src. > *** Error code 1 > > Stop in /usr/ports/net-mgmt/zabbix-server/work/zabbix-1.8.3. > *** Error code 1 > > Stop in /usr/ports/net-mgmt/zabbix-server. > *** Error code 1 > > Stop in /usr/ports/net-mgmt/zabbix-server. > > ===> The following configuration options are available for > zabbix-server-1.8.3,2: > MYSQL=on "Use MySQL backend" > PGSQL=off "Use PostgreSQL backend" > SQLITE=off "Use SQLite backend" > IPV6=on "Support for IPv6" > FPING=on "Use fping for pinging hosts" > JABBER=on "Support for jabber media type" > CURL=on "Support web monitoring with cURL" > LDAP=on "Support for checking LDAP servers" > IPMI=off "Support for IPMI" > SSH=on "Support for SSH-based checks" > IODBC=off "Support for iODBC" > UNIXODBC=off "Support for unixODBC" > ===> Use 'make config' to modify these settings Have you done "make clean" first so that the port is really build from scratch? Please keep bug-followup@FreeBSD.org CC'd. -- Bernhard Froehlich http://www.bluelife.at/