Bug 255564 - net-mgmt/librenms fails to build after update to 21.3.0
Summary: net-mgmt/librenms fails to build after update to 21.3.0
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Dan Langille
Depends on:
Reported: 2021-05-03 07:27 UTC by itwrx
Modified: 2021-07-14 13:09 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (dvl)


Note You need to log in before you can comment on or make changes to this bug.
Description itwrx 2021-05-03 07:27:27 UTC

after updating two installations to librenms-21.3.0 in FreeBSD 12.2p6 Jails ./validate.php was failing for me:

[2021-05-01 15:28:43] production.ERROR: Class 'LibreNMS\Validations\Config' not found {"userId":1,"exception":"[object] (Error(code: 0): Class 'LibreNMS\\Validations\\Config' not found at /usr/local/www/librenms/LibreNMS/Validations/System.php:42

I cloud workaround this problem by adding:

use LibreNMS\Config;

to /usr/local/www/librenms/LibreNMS/Validations/System.php


Comment 1 Dan Langille freebsd_committer 2021-05-03 12:22:00 UTC
Do you have the same problem with 21.4.0_1 which is in the tree now?

I ask because that file contains 'use LibreNMS\Config'
Comment 2 itwrx 2021-05-03 12:37:44 UTC
Sorry, I should have mentioned that I am running on the quarterly branch not on latest ;-) (first bug report ever... shame on me).
Comment 3 Dan Langille freebsd_committer 2021-05-07 15:25:54 UTC
That means I should backport a fix
Comment 4 Dan Langille freebsd_committer 2021-07-12 22:30:07 UTC
I'm sorry.

There is a new quarterly branch now.  Have you upgraded?
Comment 5 itwrx 2021-07-14 11:00:04 UTC
(In reply to Dan Langille from comment #4)
Hi Dan, 

nothing to be sorry about :-). I test the update an it run fine for me. Thanks