bump'em all to 1.4 (also maybe migrate to a single package with USE flags for agent, frontend and server).
Zabbix 1.4 introduces jabber-support (zabbix-server can send notifications via jabber). Jabber support requires "jabber? (dev-libs/iksemel)" in DEPEND and "$(use_with jabber)" in the econf call.
*** Bug 181232 has been marked as a duplicate of this bug. ***
1.4: Fails to configure with postgreSQL Support http://www.zabbix.com/forum/showthread.php?t=6190
i'm not sure if this is the correct bug, because zabbix-1.4 is in the tree already, but here is the problem: zabbix-1.4-ebuild wants to install webapp-config and fping, if no use-flags are set (or only the agent-use-flag) - so in order to install the zabbix-agent, i have to install fping and webapp-config, which shouldn't be necessary (only for server-use-flag, especially webapps-config, I'm not sure about fping) i'm not so familiar with writing ebuilds, but i guess fping RDEPEND="${RDEPEND} net-analyzer/fping" should be replaced with server? ( net-analyzer/fping ) about webapp-config... seems to be related to inherit [..] webapp i have no clue how to solve this
I guess the PostgreSQL-bug is fixed in 1.4.1
What about ebuild for 1.4.1 version? May be split it back to 3 ebuilds? Migration ebuils to a single package with USE flags make some problems with binaries (.tbz2) packages. System administrator should have 3 binary packages with the same name! As result 3 binary repositories. It's real problem for maintain a lot of gentoo servers.
(In reply to comment #4) > i'm not sure if this is the correct bug, because zabbix-1.4 is in the tree > already, but here is the problem: > > zabbix-1.4-ebuild wants to install webapp-config and fping, if no use-flags are > set (or only the agent-use-flag) - so in order to install the zabbix-agent, i > have to install fping and webapp-config, which shouldn't be necessary (only for > server-use-flag, especially webapps-config, I'm not sure about fping) > > i'm not so familiar with writing ebuilds, but i guess fping > RDEPEND="${RDEPEND} net-analyzer/fping" > should be replaced with > server? ( net-analyzer/fping ) > > about webapp-config... seems to be related to > inherit [..] webapp > i have no clue how to solve this fping thingy fixed. regarding webapp-config, the problem is indeed the eclass inheritance, because conditional inheritance (e.g. only "inherit webapp" with USE="server vhosts") is forbidden and impossible :-/
(In reply to comment #6) > What about ebuild for 1.4.1 version? > May be split it back to 3 ebuilds? > > Migration ebuils to a single package with USE flags make some problems with > binaries (.tbz2) packages. System administrator should have 3 binary packages > with the same name! As result 3 binary repositories. It's real problem for > maintain a lot of gentoo servers. Well, you have the same problem with virtually any other package that features USE-dependant building of server or client side binaries, like dev-db/mysql with USE="minimal", so that's an issue that you have to solve in the role of the administrator -- I guess you have to rethink your current system of distributing binary packages.
The only reason to switch back to independent ebuilds for monitoring client, monitoring server and webfrontend server I see is the webapp eclass inheritance issue. Any thoughts or ideas on that one?
@Wolfram: This is the very same problem we have with PostgreSQL. We also have to decide whether to follow upstream and release a monolithic ebuild or if we want to give the user (in that case "Administrator of more than a handful of machines") the possibility to really use the package in his environment (where binary packages are being deployed) and thus workaround the deficiency of our packager/system in the case of binaries. I'd recommend to split the package again. Also because it seems not to make things more complicate (by looking the old versions ebuild) and it solves the webapp-config dependency problem...
in zabbix-1.4.1.ebuild: ---------------------- DEPEND="virtual/libc ... curl? ( net-misc/curl )" ---------------------- but # USE="curl" emerge zabbix output: checking for the version of libcurl... 7.13.1 checking for libcurl >= version 7.15.1... no configure: error: Not found Curl library !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/net-analyzer/zabbix-1.4.1/work/zabbix-1.4.1/config.log !!! ERROR: net-analyzer/zabbix-1.4.1 failed. Call stack: ebuild.sh, line 1621: Called dyn_compile ebuild.sh, line 973: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile zabbix-1.4.1.ebuild, line 166: Called econf '--enable-server' '--enable-agent' '--without-ldap' '--with-net-snmp' '--without-mysql' '--with-pgsql' '--without-oracle' '--without-sqlite3' '--with-jabber' '--with-libcurl' ebuild.sh, line 578: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/net-analyzer/zabbix-1.4.1/temp/build.log'.
Thank you for the ebuild. Not sure if this should go here but ... 1.4.2 install fails while population the PostgreSQL (8.0.13) database: ERROR: syntax error at or near "`" at character 13 LINE 1: INSERT INTO `graphs` VALUES (2,'CPU Loads',900,200,0,0.0000,... This is a bug in zabbix: http://www.zabbix.com/forum/showthread.php?t=7511 Apparently fixed in 1.4.3
I'm doing a fresh instalation a a couple of machines that will be zabbix monitoring servers. !!! ERROR: net-analyzer/zabbix-1.4.2 failed. Call stack: ebuild.sh, line 1630: Called dyn_setup ebuild.sh, line 702: Called qa_call 'pkg_setup' ebuild.sh, line 38: Called pkg_setup zabbix-1.4.2.ebuild, line 71: Called require_gd depend.php.eclass, line 566: Called has_php depend.php.eclass, line 187: Called die !!! Unable to find an installed dev-lang/php package !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/net-analyzer/zabbix-1.4.2/temp/build.log'. probably needs fronted? ( dev-lang/php ) in depend.
1.4.1 is already in portage (and even outdated already). Someone, close this bug please.
please reopen or file a new bug if any unresolved issues are left. bug #238151 tracks zabbix-1.6.1 version bump. thanks