Closed tchaikov closed 3 months ago
@syuu1228 hi Takuya, could you please help review this change? it should help to silence the warning like
11:19:35 dpkg-gencontrol: warning: Depends field of package scylla-jmx: substitution variable ${shlibs:Depends} used, but is not defined
see https://jenkins.scylladb.com/job/scylla-master/job/scylla-ci/5564/console
@syuu1228 ping?
@syuu1228 ping?
@syuu1228 ping?
@syuu1228 ping?
@tchaikov this repo has its hours counted: it is on the way out. I don't think there is any point trying to improve it further.
@denesb hi Botond, thank you for your insights. partially agreed. because it's still used by old branches. and it takes human cycles to parse the warnings -- i check every single warning in the build logging messages actually when the build fails. so it is still relevant to the supported branches, i think.
Thanks for the explanation @tchaikov, good point.
this subvar is exposed by
dpkg-shlibdeps
, which checks executables for their shared library dependencies, and expose them asshlib:Depends
substitution variable.but in the case of jmx, in place of executables, we package scylla-jmx-1.0.jar, which is a java jar archive. so we don't need to add dependencies for it.
also, we don't run
dpkg-shlibdeps
at all. that's why dpkg-gencontrol complains like:so, let's just drop this subst var.