ports/150376: port net-mgmt/zabbix-server 1.8.3 fails to build on 8.1 Release undefined reference to `backtrace_symbols'
Bernhard Froehlich
decke at FreeBSD.org
Mon Sep 20 16:10:07 UTC 2010
The following reply was made to PR ports/150376; it has been noted by GNATS.
From: Bernhard Froehlich <decke at FreeBSD.org>
To: Some Body <psychotic.anomaly at gmail.com>
Cc: <bug-followup at FreeBSD.org>
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
<psychotic.anomaly at gmail.com> wrote:
> On 20/09/2010, at 7:41 PM, Bernhard Froehlich wrote:
>
>> On Wed, 15 Sep 2010 07:07:30 +1000, Some Body
>> <psychotic.anomaly at gmail.com> 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 at 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 at firewall: ~ Tue Sep 21 00:58:24 $ clear
>
> root at firewall: ~ Tue Sep 21 00:58:33 $ cd /usr/ports/
> root at 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 at firewall: /usr/ports Tue Sep 21 00:58:49 $ rm
> net-mgmt/zabbix-server/files/patch-configure.orig
> root at firewall: /usr/ports Tue Sep 21 00:59:07 $ cd
> net-mgmt/zabbix-server/
> root at 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 at FreeBSD.org CC'd.
--
Bernhard Froehlich
http://www.bluelife.at/
More information about the freebsd-ports-bugs
mailing list