Bug#616033: xutils-dev: circular build-dep
On Sat, Mar 5, 2011 at 22:22:44 +0100, Cyril Brulebois wrote:
> Hi Steve,
>
> Steve Langasek <vorlon@debian.org> (01/03/2011):
> > The xutils-dev package recently had a Build-Depends: xutils-dev added with
> > the explanation:
> >
> > * Add build-dep on xutils-dev for lndir.
> >
> > I haven't been able to figure out why this is, as nothing in the build
> > system appears to invoke lndir. Hopefully there's a better way to
> > accomplish the goal here, since circular build-deps are a problem for port
> > bootstrapping.
>
> I added that because of the following part in the lndir/configure.ac diff:
> | +AC_USE_SYSTEM_EXTENSIONS
> | +
> | +# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
> | +m4_ifndef([XORG_MACROS_VERSION],
> | + [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
> | +XORG_MACROS_VERSION(1.8)
> | +XORG_DEFAULT_OPTIONS
>
> (BTW, it's needed for:
> $ grep -l xorg-macros */configure.ac
> imake/configure.ac
> lndir/configure.ac
> makedepend/configure.ac
> util-macros/configure.ac
> xorg-cf-files/configure.ac
> but I tend to look more closely on upstream diffs.)
>
That only requires the macros when running aclocal/autoconf, not when
running configure.
Cheers,
Julien
Reply to: