On Sun, 17 Jul 2022 at 00:03, Lucas Nussbaum <lu...@debian.org> wrote:

> > ERROR: global config file ../testsuite/global-conf.exp not found.
> > ERROR: global config file ../testsuite/global-conf.exp not found.
> > ERROR: global config file ../testsuite/global-conf.exp not found.
>

This bug is curious for a few reasons.

Why, after 10 years, has the mass-rebuild triggered it? I first thought
there was something wrong with the rebuilder; surely something that has
built fine since it was put in 2012  can't be at fault? I can't say why
this particular build triggered it, but there is a bug in psmisc.

I was comparing the psmisc and procps build systems to see why one is fine,
and one is not; which brought to my attention a commit in procps in
2013[1], which removed global-conf.exp from the distribution and replaced
it with /dev/null. This showed me that you either need to a) distribute the
referenced file or b) use something always there, such as /dev/null.
psmisc does neither of these as the configure.ac references
global-conf.exp[2]

It's a pretty simple change, don't use global-conf.exp but use /dev/null
instead. I've got that for upstream[3] so next is the Debian package.

 - Craig

1:
https://gitlab.com/procps-ng/procps/-/commit/f0b7271810bc7ad7c7cb15cd590d954907c8c4f4
2:
https://gitlab.com/psmisc/psmisc/-/blob/c51c6fafeb01a95d1e01e5c3a3369ee8063b7384/configure.ac#L207
3:
https://gitlab.com/psmisc/psmisc/-/commit/3fac667430341bdcec733da6eacd88b03813467a

Reply via email to