[Pkg-javascript-devel] Bug#850506: Unreproducible FTBFS of acorn

2017-03-08 Thread Santiago Vila
> > (But this is 4.0.11, not 4.0.4, in theory what Release Managers will
> > allow in stretch is a version 4.0.4-2 fixing this bug).
> 
> Hmmm... would it be enough to tinker with the changelog's declared
> version to fall back?
> 
> > (If don't find a sponsor, I could sponsor this).
> 
> "who-permits-upload acorn" says I should be able to do that. Will I have
> to poke the Release Managers about it or will the fact it closes a big
> bug be enough?

The problem is that we are in a freeze and we are not supposed to
upload new upstream releases.

So, what you can do to be sure is to ask for permission first.

File a bug against release.debian.org containing the debdiff between
4.0.4 and 4.0.11 and explain why you think this will be better than
just 4.0.4 with the fix for this bug.

Thanks.

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel


[Pkg-javascript-devel] Bug#850506: Unreproducible FTBFS of acorn

2017-03-08 Thread Julien Puydt
Hi,

Le 08/03/2017 à 20:42, Santiago Vila a écrit :
>> https://mentors.debian.net/debian/pool/main/a/acorn/acorn_4.0.11-1.dsc
> 
> Yes, it works (in the same machine where it always failed). Congratulations!
> 
> (But this is 4.0.11, not 4.0.4, in theory what Release Managers will
> allow in stretch is a version 4.0.4-2 fixing this bug).

Hmmm... would it be enough to tinker with the changelog's declared
version to fall back?

> (If don't find a sponsor, I could sponsor this).

"who-permits-upload acorn" says I should be able to do that. Will I have
to poke the Release Managers about it or will the fact it closes a big
bug be enough?

> (btw: Is there a particular reason this is private?
> I'm replying in private just in case)

Uh... no -- hence adding back the CC on the bug.

Snark on #debian-js

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] Bug#850506: Unreproducible FTBFS of acorn

2017-02-21 Thread Santiago Vila
Hi.

I don't know anything about Javascript (sorry), but I'd like to suggest a
general way to deal with this, which is not language-specific:

Instead of trying to reproduce the bug yourself (by trying many times),
look at the build logs and look at the code, and try to guess how it
could happen:

Error: missing module import from src/bin/acorn.js for path: acorn
at Container.getModule
(/usr/lib/nodejs/es6-module-transpiler/lib/container.js:94:9)
at Module.getModule
(/usr/lib/nodejs/es6-module-transpiler/lib/module.js:189:25)
at ImportDeclaration.
(/usr/lib/nodejs/es6-module-transpiler/lib/module_binding_declaration.js:106:40)
at ImportDeclaration.Object.defineProperty.get
(/usr/lib/nodejs/es6-module-transpiler/lib/utils.js:15:31)
at CommonJSFormatter.importedReference
(/usr/lib/nodejs/es6-module-transpiler/lib/formatters/commonjs_formatter.js:319:46)
at Context.Rewriter.getExportReferenceForReference
(/usr/lib/nodejs/es6-module-transpiler/lib/rewriter.js:363:20)
at Context.Rewriter.visitIdentifier
(/usr/lib/nodejs/es6-module-transpiler/lib/rewriter.js:106:32)
at Context.invokeVisitorMethod
(/usr/lib/nodejs/ast-types/lib/path-visitor.js:344:49)
at Rewriter.PVp.visitWithoutReset
(/usr/lib/nodejs/ast-types/lib/path-visitor.js:196:32)
at visitChildren
(/usr/lib/nodejs/ast-types/lib/path-visitor.js:246:25)


For example: Is it true that the above functions call the other
functions in cascade and the first one (or the last one) tries to load
a module which is missing? How could that happen? That sort of thing.

If you can guess how it may happen by looking at the code and the
build log, you would not even need to reproduce it, but of course this
would be all Knuth style:

"Beware of bugs in the above code; I have only proved it correct, not tried it"

In this case, if you try to prove that the code is correct, you should
surely fail, because we get those build failures which seem to
indicate that it's not.

And if this does not help you in any way, well, I'm really sorry.
I would try to forward the bug upstream anyway. The bug seems real,
as it happens on completely different environments (my autobuilders,
using sbuild, and the ones from reproducible builds, using pbuilder).

Thanks.

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel


[Pkg-javascript-devel] Bug#850506: Unreproducible FTBFS of acorn

2017-02-13 Thread Julien Puydt
Hi,

I built the package dozens of time without any problem : can you tell me
more about your setup?

Thanks,

Snark on #debian-js

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel