Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180524 - net-analyzer/zabbix-{agent,frontend,server} version bump to 1.4.1
Summary: net-analyzer/zabbix-{agent,frontend,server} version bump to 1.4.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Wolfram Schlich (RETIRED)
URL: http://www.zabbix.com/rn1.4.php
Whiteboard:
Keywords:
: 181232 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-06-01 09:08 UTC by Wolfram Schlich (RETIRED)
Modified: 2009-04-04 21:14 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfram Schlich (RETIRED) gentoo-dev 2007-06-01 09:08:27 UTC
bump'em all to 1.4 (also maybe migrate to a single
package with USE flags for agent, frontend and server).
Comment 1 andy 2007-06-07 16:59:48 UTC
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.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-06-07 19:16:47 UTC
*** Bug 181232 has been marked as a duplicate of this bug. ***
Comment 3 Ernst Herzberg 2007-06-08 17:48:23 UTC
1.4: Fails to configure with postgreSQL Support

http://www.zabbix.com/forum/showthread.php?t=6190
Comment 4 Roman Pertl 2007-06-10 17:22:42 UTC
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
Comment 5 Tiziano Müller (RETIRED) gentoo-dev 2007-07-11 07:38:59 UTC
I guess the PostgreSQL-bug is fixed in 1.4.1
Comment 6 Vitaly 2007-07-23 13:48:32 UTC
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.
Comment 7 Wolfram Schlich (RETIRED) gentoo-dev 2007-07-24 10:51:35 UTC
(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 :-/
Comment 8 Wolfram Schlich (RETIRED) gentoo-dev 2007-07-24 10:55:10 UTC
(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.
Comment 9 Wolfram Schlich (RETIRED) gentoo-dev 2007-07-24 10:58:51 UTC
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?
Comment 10 Tiziano Müller (RETIRED) gentoo-dev 2007-07-24 12:06:32 UTC
@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...
Comment 11 tonich 2007-08-23 12:38:32 UTC
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'.
Comment 12 giulio 2007-09-27 12:57:28 UTC
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 
Comment 13 Gustavo Felisberto (RETIRED) gentoo-dev 2007-11-06 10:15:03 UTC
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.
Comment 14 Vladimir Rusinov 2009-01-26 14:20:15 UTC
1.4.1 is already in portage (and even outdated already).
Someone, close this bug please.
Comment 15 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-04-04 21:14:22 UTC
please reopen or file a new bug if any unresolved issues are left.
bug #238151 tracks zabbix-1.6.1 version bump.
thanks