You receive this bug because this package does not respect my system's AR/RANLIB ( x86_64-pc-linux-gnu-ar - /usr/bin/x86_64-pc-linux-gnu-ar | x86_64-pc-linux-gnu-ranlib - /usr/bin/x86_64-pc-linux-gnu-ranlib ) and calls directly ar - /usr/bin/ar | ranlib - /usr/bin/ranlib The possible solutions to fix this issue are: 1)Fix the buildsystem, if you can 2)inherit toolchain-funcs and use tc-export AR RANLIB 3)inherit toolchain-funcs and use emake AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" ar cru libzbxcrypto.a md5.o base64.o ar cru libzbxcommon.a misc.o regexp.o xml.o comms.o str.o time.o zbxgetopt.o alias.o file.o ar cru libzbxlog.a log.o ar cru libzbxalgo.a algodefs.o binaryheap.o hashmap.o hashset.o vector.o ar cru libzbxnix.a daemon.o pid.o ipc.o fatal.o ar cru libzbxconf.a cfg.o ar cru libagentsysinfo.a agent.o ar cru libcommonsysinfo.a common.o file.o http.o net.o system.o ar cru libsimplesysinfo.a simple.o ntp.o ar cru libspecsysinfo.a libspecsysinfo_a-boottime.o libspecsysinfo_a-cpu.o libspecsysinfo_a-diskio.o libspecsysinfo_a-diskspace.o libspecsysinfo_a-hardware.o libspecsysinfo_a-inodes.o libspecsysinfo_a-kernel.o libspecsysinfo_a-memory.o libspecsysinfo_a-net.o libspecsysinfo_a-proc.o libspecsysinfo_a-sensors.o libspecsysinfo_a-software.o libspecsysinfo_a-swap.o libspecsysinfo_a-uptime.o ar cru libzbxagentsysinfo.a libzbxagentsysinfo_a-sysinfo.o libzbxagentsysinfo_a-linux.o ar cru libzbxserversysinfo.a libzbxserversysinfo_a-sysinfo.o ar cru libzbxsys.a threads.o mutexs.o ar cru libzbxcomms.a comms.o telnet.o ar cru libzbxjson.a json.o ar cru libzbxexec.a execute.o ranlib libzbxcrypto.a ranlib libzbxcommon.a ranlib libzbxlog.a ranlib libzbxalgo.a ranlib libzbxnix.a ranlib libzbxconf.a ranlib libagentsysinfo.a ranlib libcommonsysinfo.a ranlib libsimplesysinfo.a ranlib libspecsysinfo.a ranlib libzbxagentsysinfo.a ranlib libzbxserversysinfo.a ranlib libzbxsys.a ranlib libzbxcomms.a ranlib libzbxjson.a ranlib libzbxexec.a
Created attachment 349994 [details, diff] zabbix-2.0.6-ar.patch This patch fixes the configure/Makefiles and should fix this ar/ranlib issue. I've made this one for version 2.0.6 which is still masked. Maybe it works for 2.0.5 too, but i didn't tried. On a side note: I saw in the /files directory that we still have patches/initscript/configs for older versions of zabbix separated in directories. files/1.4.6/ files/1.6.5/ files/1.6.6/ files/zabbix-1.8.9-as-needed.patch However, oldest version in tree is 2.0.4-r1, which makes those patches useless. (i've checked all ebuilds, no one use those patches/initscript/configs) I guess we could delete them, it would save ~43 KB
Sorry, just saw files in files/1.6.6/ where still used, but couldn't find the others in the ebuilds
I went with the provided solution #3: inherit toolchain-funcs and use emake AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" Committed to cvs in 2.0.6-r4