[Debian-science-sagemath] Help needed for backporting node-esprima (Was: Backporting sagemath)

Tobias Hansen thansen at debian.org
Fri Mar 17 14:34:59 UTC 2017


Hi,

In [1] it says

"engines": {
    "node": ">=4"
  },

I guess that means it requires nodejs >= 4. At least it's something you
could try.

[1] https://github.com/jquery/esprima/blob/master/package.json

Best,
Tobias

On 03/08/2017 02:49 PM, Andreas Tille wrote:
> Hi,
> 
> in my sagemath backporting effort im struck with one leaf of the
> dependency tree which is
> 
>    python-sagenb-export
>     -> jupyter-notebook
>       -> node-es6-promise
>         -> node-esprima
> 
> (also other chains of dependencies lead to this leaf).
> 
> When trying to build node-esprima in a Jessie chroot I get
> 
> 
> ...
>    debian/rules override_dh_auto_build
> make[1]: Entering directory '/build/node-esprima-3.1.3+ds'
> tsc -p src
> src/parser.ts(3028,17): error TS2322: Type '{ ... }' is not assignable to type 'string'.
> debian/rules:7: recipe for target 'override_dh_auto_build' failed
> make[1]: *** [override_dh_auto_build] Error 2
> make[1]: Leaving directory '/build/node-esprima-3.1.3+ds'
> debian/rules:4: recipe for target 'build' failed
> ...
> 
> 
> I admit I do not have the slightest idea how to fix this and thus any
> help is welcome.  I have commited a branch debian/jessie-backports which
> is basically a changelog entry.
> 
> Kind regards
> 
>     Andreas.
> 
> PS: Besides this the backport of needed packages to build sagemath goes
> slowly but steadily forward.  I have not met any other stumbling stones
> besides the above one if deactivating some build time tests which can
> only done with more recent nodejs is not considered a stumbling stone.
> 
> On Mon, Mar 06, 2017 at 08:49:05PM +0400, Jerome BENOIT wrote:
> Hi Sage enthusiasts,
> 
> please let the Sage Team follows your effort on its list (see CC).
> 
> Bon courage,
> Jerome
> 
> On 06/03/17 20:00, Andreas Tille wrote:
>>>> Hi Sandro,
>>>>
>>>> On Mon, Mar 06, 2017 at 10:46:52AM -0500, Sandro Tosi wrote:
>>>>> please post a (even partial) list of the packages you intend to
>>>>> backport as this email tells nothing to the maintainers about which
>>>>> pkgs you plan to backport
>>>>
>>>> The currently missing Build-Depends of sagemath are
>>>>
>>>>       python-numpy (>= 1:1.12.0~rc2) 
>>>>       python-pexpect (>= 4.1) 
>>>>       python-ptyprocess 
>>>>       python-sagenb (>= 0.13) 
>>>>       python-sagenb-export 
>>>>       python-snowballstemmer 
>>>>       python-terminado 
>>>>       rubiks 
>>>>       sympow (>= 1.023-8) 
>>>>       jupyter-client 
>>>>       jupyter-core 
>>>>       jupyter-nbextension-jupyter-js-widgets 
>>>>       python-ipykernel 
>>>>       python-ipywidgets 
>>>>       python-nbconvert 
>>>>       python-nbformat 
>>>>       python-notebook (>= 4.2.3-3) 
>>>>       dh-python (>= 2.20170125) 
>>>>       libgap-sage-dev (>= 4.8.6) 
>>>>       libbrial-dev (>= 0.8.5-4) 
>>>>       libbrial-groebner-dev (>= 0.8.5-4) 
>>>>       libflint-arb-dev (>= 2.8.1-2) 
>>>>       libflint-dev (>= 2.5.2-5+b2) 
>>>>       libfplll-dev (>= 5.0.3) 
>>>>       libgsl-dev 
>>>>       liblinboxsage-dev (>= 1.4) 
>>>>       liblrcalc-dev (>= 1.2-2) 
>>>>       libntl-dev (>= 9.9.1-2) 
>>>>       libopenblas-dev (>= 0.2.19) 
>>>>       libplanarity-dev 
>>>>       librw-dev 
>>>>
>>>> This is actually a partial list since these packages might need further
>>>> dependencies not yet available in Jessie.  Do you think it is necessary
>>>> to pick single Maintainers / Uploaders?  Most of the packages are
>>>> maintained by teams which I'm a member of and when I did this kind of
>>>> team backports (well not that large scale ones) this never caused any
>>>> trouble.
>>>>
>>>> Kind regards
>>>>
>>>>       Andreas.
>>>>
>>>>> On Mon, Mar 6, 2017 at 7:19 AM, Andreas Tille <andreas at an3as.eu> wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I just like to announce that I started backporting several scientific
>>>>>> packages and Python dependencies with the goal to backport sagemath.
>>>>>> This is on one hand a warning for the brave backporters team and on the
>>>>>> other hand a request to join this for other Debian Science members in
>>>>>> case you find some spare cycles.  I did not yet dived into the whole
>>>>>> dependency tree for backporting but I expect that there are about 50
>>>>>> missing dependencies (which are not in Jessie or not in the needed
>>>>>> version).
>>>>>>
>>>>>> Kind regards
>>>>>>
>>>>>>       Andreas.
>>>>>>
>>>>>> --
>>>>>> http://fam-tille.de
>>>>>>
>>>>>
>>>>> -- 
>>>>> Sandro "morph" Tosi
>>>>> My website: http://sandrotosi.me/
>>>>> Me at Debian: http://wiki.debian.org/SandroTosi
>>>>> G+: https://plus.google.com/u/0/+SandroTosi
>>>>>
>>>>>
>>>>
> 
>>
>>
> 




More information about the Debian-science-sagemath mailing list