Solved [SOLVED] Zabbix 2.0 Agent Upgrade Fails

The port upgrade from zabbix2-agent-2.0.8 to zabbix2-agent-2.0.10 is failing on my FreeBSD 9.2 host with the following output:

Code:
===>  Building for zabbix2-agent-2.0.10
make: don't know how to make ARCH. Stop
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.

The upgrade still fails after setting the aforementioned flag. It appears that ARCH is being set as "freebsd", as seen in the configuration settings output before the actual upgrade:

Code:
Configuration:

  Detected OS:           freebsd9.2
  Install path:          /usr/local
  Compilation arch:      freebsd

  Compiler:              cc
  Compiler flags:        -O2 -pipe -funroll-loops -march=nocona -fno-strict-aliasing  -I/usr/local/include

  Enable server:         no

  Enable proxy:          no

  Enable agent:          yes
  Agent details:
    Linker flags:           -L/usr/local/lib
    Libraries:             -lkvm -lm -ldevstat   -liconv

  Enable Java gateway:   no

  LDAP support:          no
  IPv6 support:          yes

I just successfully performed this upgrade on another FreeBSD 9.2 host several weeks ago. Has anyone else come across this issue?
 
Re: Zabbix 2.0 Agent Upgrade Fails

Tried first removing net-mgmt/zabbix2-agent-2.0.8 and then installing net-mgmt/zabbix2-agent-2.0.10 to no avail. I also commented out the CPUTYPE flag in my /etc/make.conf to no avail:

Code:
root@bou-nix-backup:/usr/ports/net-mgmt/zabbix2-agent # cat /etc/make.conf
WITHOUT_X11=yes
#CPUTYPE=nocona
CFLAGS= -O2 -pipe -funroll-loops
COPTFLAGS= -O2 -pipe -funroll-loops
 
Back
Top