Created attachment 173217 [details] Disambiguate `RRDs::graph @graph` as a function call Building smokeping against perl-5.22.2 fails with a syntax error in lib/Smokeping/Graph.pm and lib/Smokeping.pm ``` (00:00:12) Array found where operator expected at ../lib/Smokeping/Graphs.pm line 266, near "RRDs::graph @task" (00:00:12) (Do you need to predeclare RRDs::graph?) (00:00:12) syntax error at ../lib/Smokeping/Graphs.pm line 266, near "RRDs::graph @task" (00:00:12) Compilation failed in require at ../lib/Smokeping.pm line 22. (00:00:12) BEGIN failed--compilation aborted at ../lib/Smokeping.pm line 22. (00:00:12) Compilation failed in require. (00:00:12) BEGIN failed--compilation aborted. (00:00:12) Array found where operator expected at ../lib/Smokeping/Graphs.pm line 266, near "RRDs::graph @task" (00:00:12) (Do you need to predeclare RRDs::graph?) (00:00:12) Array found where operator expected at ../lib/Smokeping/Graphs.pm line 266, near "RRDs::graph @task" ``` Seems recent perl doesn't recognise `RRDs::graph @graph` as a function call. Add some braces to disambiguate. New file: patch-lib_Smokeping_Graphs.pm Patches (re)generated by 'make makepatch'
I'll submit this upstream too.
Sorry. This was PEBKAC. smokeping needs rrdtool to be compiled with the GRAPHS option enabled.