ports/150376: port net-mgmt/zabbix-server 1.8.3 fails to build on 8.1 Release undefined reference to `backtrace_symbols'
Some Body
psychotic.anomaly at gmail.com
Tue Sep 21 00:10:04 UTC 2010
The following reply was made to PR ports/150376; it has been noted by GNATS.
From: Some Body <psychotic.anomaly at gmail.com>
To: Bernhard Froehlich <decke at FreeBSD.org>
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 `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
> <psychotic.anomaly at gmail.com> wrote:
>> On 20/09/2010, at 7:41 PM, Bernhard Froehlich wrote:
>>=20
>>> 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.
>>>>=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 at 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 at firewall: ~ Tue Sep 21 00:58:24 $ clear
>>=20
>> 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=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 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
>>=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 at FreeBSD.org CC'd.
>=20
> --=20
> Bernhard Froehlich
> http://www.bluelife.at/
Yes I did make clean before make install clean.=20
More information about the freebsd-ports-bugs
mailing list