Hi Vagrant, On Fri, Aug 20, 2021 at 12:04:57AM -0700, Vagrant Cascadian wrote: > On 2021-07-14, Vagrant Cascadian wrote: > > The attached patch modifies debian/rules to remove the exmaple > > Makefiles. > > Unfortunately, I only tested this with arch:all+arch:any builds, not > arch:any builds without arch:all builds, and so the arch:any builds on > buildd.debian.org are failing... > > It needs some special-casing to only run when the specified examples > directory is actually present. > > > > diff --git a/debian/rules b/debian/rules > > index 77396e35..c1e9921c 100755 > > --- a/debian/rules > > +++ b/debian/rules > > @@ -46,6 +46,8 @@ override_dh_installdocs: > > override_dh_installexamples: > > dh_installexamples > > find debian/antlr-doc/usr/share/doc/antlr/examples -type f -print | > > xargs -r chmod 0644 > > + # Remove example Makefiles containing build paths and binary paths > > + find debian/antlr-doc/usr/share/doc/antlr/examples -name Makefile > > -print -delete > > rm -rf debian/antlr-doc/usr/share/doc/antlr/examples/csharp > > > > override_dh_auto_clean: > > -- > > 2.32.0 > > Probably prefixing with something like: > > test ! -d debian/antlr-doc/usr/share/doc/antlr/examples || find ... -print > -delete > > (using "test -d ... && find ..." will error out when the directory isn't > there, e.g. arch:any builds) > > This way the arch:any builds will just skip this step...
Thanks for catching this and the pointer on the fix. I will get an update uploaded soon. Cheers, tony
signature.asc
Description: PGP signature