Package Details: icinga2 2.14.5-1

Git Clone URL: https://aur.archlinux.org/icinga2.git (read-only, click to copy)
Package Base: icinga2
Description: An open source host, service and network monitoring program
Upstream URL: https://icinga.com/
Licenses: GPL
Replaces: icinga2-common
Submitter: bebehei
Maintainer: julianbrost
Last Packager: julianbrost
Votes: 40
Popularity: 0.45
First Submitted: 2014-06-23 01:10 (UTC)
Last Updated: 2025-02-09 19:56 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 15 Next › Last »

Ich875 commented on 2019-10-08 05:33 (UTC) (edited on 2019-10-08 05:54 (UTC) by Ich875)

Update: with the comment of freaknils it works. Thank you!

The solution with boost1.69 does not work on my system because I am not able to remove the old boost from the system.

:: Zu installierendes AUR-Paket:
 icinga2                               2.11.0-1             -> 2.11.0-2

:: Mit der Installation fortfahren? [J/n] 
:: [P]aketdetails anzeigen, Pakete [m]anuell auswählen
>> 
Suche nach in Konflikt stehenden AUR-Paketen...
:: Warnung: Diff für Paket icinga2 wird nicht angezeigt (already reviewed)
Editiere PKGBUILD für Paket icinga2? [j/N] j
Editiere icinga2.install für Paket icinga2? [j/N] n

:: Starte vollständige Systemaktualisierung...
 Es gibt nichts zu tun
Lese lokale Paketdatenbank...
:: Installiere Repository-Abhängigkeiten für icinga2:
Löse Abhängigkeiten auf...
Suche nach in Konflikt stehenden Paketen...
:: boost1.69 und boost stehen miteinander in Konflikt. boost entfernen? [j/N] j

Pakete (3) boost-1.71.0-2 [Entferne]  boost1.69-1.69.0-2  boost1.69-libs-1.69.0-2

Gesamtgröße der installierten Pakete:  178,29 MiB
Größendifferenz der Aktualisierung:    3,65 MiB

:: Installation fortsetzen? [J/n] J
(2/2) Prüfe Schlüssel im Schlüsselring                                                                       [################################################################] 100%(2/2) Überprüfe Paket-Integrität                                                                             [################################################################] 100%(2/2) Lade Paket-Dateien                                                                                     [################################################################] 100%(2/2) Prüfe auf Dateikonflikte                                                                               [################################################################] 100%Fehler: Konnte den Vorgang nicht durchführen (In Konflikt stehende Dateien)
boost1.69: /usr/lib/libboost_atomic.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_chrono.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_container.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_context.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_contract.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_coroutine.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_date_time.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_fiber.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_filesystem.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_graph.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_graph_parallel.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_iostreams.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_locale.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_log.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_log_setup.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_math_c99.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_math_c99f.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_math_c99l.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_math_tr1.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_math_tr1f.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_math_tr1l.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_mpi.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_numpy27.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_prg_exec_monitor.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_program_options.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_python27.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_random.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_regex.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_serialization.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_stacktrace_addr2line.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_stacktrace_basic.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_stacktrace_noop.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_system.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_thread.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_timer.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_type_erasure.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_unit_test_framework.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_wave.so existiert im Dateisystem (gehört zu boost-libs)
boost1.69: /usr/lib/libboost_wserialization.so existiert im Dateisystem (gehört zu boost-libs)
Fehler sind aufgetreten, keine Pakete wurden aktualisiert.

freaknils commented on 2019-10-06 14:56 (UTC) (edited on 2019-10-07 10:54 (UTC) by freaknils)

Current icinga version does not build with latest boost Update (1.71.0-2). CMake Error at third-party/cmake/BoostTestTargets.cmake:56 (message):
NOTE: boost::test-based targets and tests cannot be added: boost >= 1.34.0
required but not found. (found: '1.71.0' want >=103400) You may disable
BUILD_TESTING to continue without the tests.
Call Stack (most recent call first):
test/CMakeLists.txt:3 (include)

You should set extra/boost1.69 as dependencie.

diff --git a/PKGBUILD b/PKGBUILD
index 8be9478..5e41c99 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,16 +4,16 @@

 pkgname='icinga2'
 pkgver=2.11.0
-pkgrel=1
+pkgrel=2
 pkgdesc="An open source host, service and network monitoring program"
 license=('GPL')
 arch=('i686' 'x86_64')
 url="http://www.icinga.org"
-depends=('boost-libs' 'libedit' 'libsystemd' 'openssl' 'yajl')
+depends=('boost1.69-libs' 'libedit' 'libsystemd' 'openssl' 'yajl')
 optdepends=('monitoring-plugins: plugins needed for icinga checks'
             'libmariadbclient: for MySQL support'
             'postgresql-libs: for PostgreSQL support')
-makedepends=('boost' 'cmake' 'libmariadbclient' 'postgresql-libs' 'systemd')
+makedepends=('boost1.69' 'cmake' 'libmariadbclient' 'postgresql-libs' 'systemd')
 replaces=('icinga2-common')
 backup=(etc/default/icinga2
         etc/icinga2/features-available/api.conf

julianbrost commented on 2019-08-14 18:52 (UTC)

@zork bison and flex are members of the base-devel package group. As per https://wiki.archlinux.org/index.php/PKGBUILD#makedepends these should not be added to makedepends.

zork commented on 2019-08-14 18:48 (UTC)

Missing build dependencies: bison, flex

julianbrost commented on 2019-06-07 18:19 (UTC)

I think you'd have to find a trusted user willing to maintain it in community. I'm not one of them.

kbabioch commented on 2019-06-07 17:54 (UTC)

Any chance this can be moved to community, so all of this compilation pain goes away for most of us?

zork commented on 2019-05-08 11:46 (UTC)

I had to add additional swapfile on machine with 4GB ram and no services running. Compilation used about 400MB of swap.

wuestengecko commented on 2019-03-14 17:41 (UTC)

I just set up a small VM according to your specs (2GB RAM + 2GB swap, but without any other services running in the background), and I could see some pretty large memory usage spikes of well over 1.5GB. Depending on your average memory load, this might be enough pressure to SIGKILL something, however it did build fine for me.

There's no functional difference between this PKGBUILD and the git version, so if you built the git package with the release commit, that should work just as well. Regardless, I suggest you setup a chroot for building on your main machine (or somewhere else with sufficient RAM) and then just upload the built package to your server.

malina commented on 2019-03-13 20:21 (UTC) (edited on 2019-03-13 20:24 (UTC) by malina)

@wuestengecko Thank you for the advices!

I would like to compile on a virtual machine with 2 processors and 2GB of memory, for which I have set a 2 GB swap. This is a simple Arch Linux server that I installed: powerdns, mysql55, apache, php, redmine, zabbix, postgresql.

Later (after icinga2 package), I tried to install the icinga2-git package, but it is also failed (on the same, 90%).

Answering your question: I just used the yaourt and I modified the PKGBUILD file as the yaourt offered.

I had an idea: Icinga latest version is 2.10.3 and Icinga developers use tags for versioning, but the last commit of 2.10.3 was not the same (in icinga2-git package is adf1549c2d6ce3ace0490122779290f6cf72071c), so I modified the source:

git + https: //github.com/Icinga/icinga2.git#commit=101783d7efe3050d68d2370db7b14a088bc1f413

The important thing: #commit=101783d7efe3050d68d2370db7b14a088bc1f413 , this is the last commit of version 2.10.3 (now)

The icinga2-git package uses the master branch, commit: adf1549c2d6ce3ace0490122779290f6cf72071c

101783d7efe3050d68d2370db7b14a088bc1f413 commit has worked, it was compiled. I haven't tried it yet, so I'm hoping it will work.

By the way, I don't understand the reason, I'm doing a diff between the two commit.