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

Gordon Ball gordon at chronitis.net
Mon Mar 27 18:37:42 UTC 2017


On 25/03/17 22:02, Andreas Tille wrote:
> 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?

The d/control file for this one doesn't have any versioned
build-depends, and probably should have. infinity0's fake webpack script
is pretty amazing but has implicit tight build-depends.

In this case, I'm guessing fonts-font-awesome (4.2 in jessie, 4.7 in
stretch).

> 
> Kind regards
> 
>        Andreas.
> 




More information about the Debian-science-sagemath mailing list