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

Andreas Tille andreas at an3as.eu
Sat Mar 25 21:02:24 UTC 2017


Hi Gordon,

On Sat, Mar 25, 2017 at 03:07:18PM +0100, Gordon Ball wrote:
> 
> Have you backported libjs-codemirror? There is a big version mismatch
> between jessie and stretch (2.3 vs 5.4).

Good hint which enabled me two further steps.
 
> The dependency in this case isn't versioned because the version
> available in stretch is any case not technically new enough for the
> package (5.4 available vs 5.8 requested), but it *appears* to work.

I've added a versioned Depends to the backported package.
 
The next stumbling stone is ipywidgets:

...
module 23: nodejs ../../fakewebpack-postprocess.js ./node_modules/jupyter-js-widgets/node_modules/jquery-ui/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png ../../fakewebpack/docs.modules
module 24: nodejs ../../fakewebpack-postprocess.js ./node_modules/style-loader/addStyles.js ../../fakewebpack/docs.modules
module 25: nodejs ../../fakewebpack-postprocess.js './node_modules/font-awesome/css/font-awesome.css?9b7c' ../../fakewebpack/docs.modules
module 26: nodejs ../../fakewebpack-postprocess.js ./node_modules/font-awesome/css/font-awesome.css ../../fakewebpack/docs.modules
Traceback (most recent call last):
  File "./fakewebpack-generate.py", line 80, in <module>
    sys.exit(main(*sys.argv[1:]))
  File "./fakewebpack-generate.py", line 61, in main
    cwd=srcdir).decode("utf-8")
  File "/usr/lib/python3.4/subprocess.py", line 620, in check_output
    raise CalledProcessError(retcode, process.args, output=output)
subprocess.CalledProcessError: Command '['nodejs', '../../fakewebpack-postprocess.js', './node_modules/font-awesome/css/font-awesome.css', '../../fakewebpack/docs.modules']' returned non-zero exit status 1
fakewebpack.mk:55: recipe for target 'fakewebpack-build/docs.stamp' failed


Is there any hint for this one?

Kind regards

       Andreas.

-- 
http://fam-tille.de



More information about the Debian-science-sagemath mailing list