[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [pkg-curry-maintainers] Bug#871194: pakcs: FTBFS: mv: cannot stat 'swi.state': No such file or directory



On Sun, Aug 06, 2017 at 11:22:16PM +0000, Mike Gabriel wrote:
> Hi Lucas,
> 
> On Sunday, August 6, 2017, Lucas Nussbaum wrote:
> > Source: pakcs
> > Version: 1.14.2-1
> > Severity: serious
> > Tags: buster sid
> > User: debian-qa@lists.debian.org
> > Usertags: qa-ftbfs-20170805 qa-ftbfs
> > Justification: FTBFS on amd64
> > 
> > Hi,
> > 
> > During a rebuild of all packages in sid, your package failed to build on
> > amd64.
> > 
> > Relevant part (hopefully):
> > > make[5]: Entering directory '/<<PKGBUILDDIR>>/curry2prolog'
> > > echo "compile(c2p). c2p('/<<PKGBUILDDIR>>/lib/Prelude'), compile('/<<PKGBUILDDIR>>/lib/.curry/pakcs/Prelude'),loader:loadAndCompile('/<<PKGBUILDDIR>>/lib/.curry/pakcs/Prelude.pl',[],create). saveprog_entry('swi.state',user:pakcsMain)." | "/<<PKGBUILDDIR>>/bin/swiprolog" --traditional -q -L0 -G0 -T0 -O
> > > 
> > > Warning: /<<PKGBUILDDIR>>/curry2prolog/compiler.pl:2421:
> > > 	Singleton variable in branch: Arity
> > > true.
> > > 
> > > 
> > > true.
> > > 
> > > ERROR: /usr/lib/swi-prolog/library/qsave.pl:459:7: Syntax error: Operator expected
> > > ERROR: /usr/lib/swi-prolog/library/shell.pl:342:18: Syntax error: Operator expected
> > > ERROR: Type error: `text' expected, found `[126,119,61]' (a list)
> > > ERROR: In:
> > > ERROR:   [11] atomics_to_string([[126|...],...|...],_108028)
> > > ERROR:   [10] qsave:save_options(429300,runtime,[init_file(none),...]) at /usr/lib/swi-prolog/library/qsave.pl:213
> > > ERROR:    [9] qsave:qsave_program('swi.state',prologbasics:[...]) at /usr/lib/swi-prolog/library/qsave.pl:103
> > > ERROR:    [8] prologbasics:saveprog_entry('swi.state',user:pakcsMain) at /<<PKGBUILDDIR>>/curry2prolog/prologbasics.pl:534
> > > ERROR:    [7] <user>
> 
> The above really looks like this is an issue with some Perl scripts in the swi-prolog package, right? Side-effect of the latest Perl transition?

I'm pretty sure those files do not contain Perl, so I don't think
the error is related to the Perl transition. They *may* contain prolog,
given the context? :)

Cheers,
Dominic
who know nothing about prolog, unfortunately


Reply to: