[Debian-med-packaging] Bug#812626: libfreecontact-perl: FTBFS - Parse errors: Bad plan. You planned 10 tests but ran 6.

Andreas Tille andreas at an3as.eu
Wed Mar 9 09:30:29 UTC 2016


Hi Michael,

On Mon, Feb 22, 2016 at 09:50:41AM +0100, Michael Tautschnig wrote:
> Control: severity -1 wishlist
> Control: retitle -1 libfreecontact-perl: FTBFS when optimisation is disabled
> 
> On Wed, Jan 27, 2016 at  8:21:22 +0100, Andreas Tille wrote:
> > tags 812626 unreproducible
> > thanks
> > 
> > On Wed, 27 Jan 2016 gregor herrmann wrote:
> > > 
> > > On Tue, 26 Jan 2016 21:14:35 +0100, Andreas Tille wrote:
> > > 
> > > > > I cloned the git repo (very handy :)) and had a look, but I can't
> > > > > reproduce the test failure, not even when running them manually under
> > > > > high load.
> > > > Hmmmm, I should have mentioned this: I also can not reproduce the
> > > > problem.
> > > 
> > > Ok, maybe the submitter can shed some light on this issue.
> > 
> > Michael, could you please be more verbose about the build conditions
> > since two people can not reproduce this independently.
> >    
> [...]
> 
> Apologies for taking so long to get back to this one. I have now been able to
> reproduce both the failing and the non-failing case. The key is to compile
> with/without optimisation. Thus:
> 
> Clean environment -> build succeeds
> export DEB_BUILD_OPTIONS="noopt" -> build fails
> 
> There may be reasons that optimisation is required, in which case it would be
> nice if the build failed early.

Thanks for the clarification.  I wonder whether inside the Perl team
some experiences exist regarding failures when doing no optimisation.

Would you suggest adding a check like this

ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
	echo "This package needs to be build with optimisation."
	false
endif

to debian/rules to comply with your request?

Kind regards

     Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list