[Debian-science-sagemath] Help needed to backport jupyter-notebook (Was: Help needed for backporting node-esprima (Was: Backporting sagemath))
Tobias Hansen
thansen at debian.org
Fri Mar 24 00:37:58 UTC 2017
Hi,
maybe try jquery from stretch? It's one of the few unversioned
Build-Depends and it seems to be an important dependency. And the
version is quite different.
That orig tarballs are different from what's in pristine-tar branches
may be related to the fact that gbp does not use existing pristine-tar
branches by default but creates a new tarball from the upstream branch
unless specified otherwise in a gbp.conf file.
Best,
Tobias
On 03/23/2017 12:05 PM, Andreas Tille wrote:
> Hi,
>
> On Fri, Mar 17, 2017 at 02:34:59PM +0000, Tobias Hansen wrote:
>> I guess that means it requires nodejs >= 4. At least it's something you
>> could try.
>
> I confirm that using nodejs >=4 solved the issue in node-esprima.
>
>> On 03/08/2017 02:49 PM, Andreas Tille wrote:
>>> in my sagemath backporting effort im struck with one leaf of the
>>> dependency tree which is
>>>
>>> python-sagenb-export
>>> -> jupyter-notebook
>
> Now I'm down here. The build fails with:
>
> ...
> running jsdeps
> bower dependencies up to date
>> lessc --source-map --source-map-basepath=/build/jupyter-notebook-4.2.3 --include-path=/build/jupyter-notebook-4.2.3/notebook/static /build/jupyter-notebook-4.2.3/notebook/static/style/ipython.less notebook/static/style/ipython.min.css
> FileError: '../../components/codemirror/lib/codemirror.css' wasn't found in /build/jupyter-notebook-4.2.3/notebook/static/notebook/less/highlight-refs.less on line 5, column 1:
> 4 */
> 5 @import (less) "../../components/codemirror/lib/codemirror.css";
> 6
>
> rebuilding js and css failed. The following required files are missing: ['notebook/static/notebook/js/main.min.js', 'notebook/static/tree/js/main.min.js', 'notebook/static/edit/js/main.min.js', 'notebook/static/terminal/js/main.min.js', 'notebook/static/auth/js/main.min.js', 'notebook/static/style/ipython.min.css', 'notebook/static/style/style.min.css']
> Traceback (most recent call last):
> File "setup.py", line 200, in <module>
> main()
> File "setup.py", line 197, in main
> setup(**setup_args)
> File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
> dist.run_commands()
> File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
> self.run_command(cmd)
> File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
> cmd_obj.run()
> File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
> self.run_command(cmd_name)
> File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
> self.distribution.run_command(command)
> File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
> cmd_obj.run()
> File "/build/jupyter-notebook-4.2.3/setupbase.py", line 549, in run
> raise e
> subprocess.CalledProcessError: Command '['lessc', '--source-map', '--source-map-basepath=/build/jupyter-notebook-4.2.3', '--include-path=/build/jupyter-notebook-4.2.3/notebook/static', '/build/jupyter-notebook-4.2.3/notebook/static/style/ipython.less', 'notebook/static/style/ipython.min.css']' returned non-zero exit status 1
> E: pybuild pybuild:283: build: plugin distutils failed with: exit code=1: /usr/bin/python setup.py build
> dh_auto_build: pybuild --build --test-nose -i python{version} -p 2.7 returned exit code 13
>
>
>>> I admit I do not have the slightest idea how to fix this and thus any
>>> help is welcome.
>
> Same as before. Any idea how to get the minimized versions of the
> existing files ... or rather why it builds in stretch but not in Jessie.
>
> Most of its Build-Depends are just in backports. prompt-toolkit is
> missing yet since I was trapped by finding a wrong pristine-tar inside
> the Git archive. Since this was happening from time to time I really
> wonder how that can happen more frequently than I expected ...
>
> Kind regards
>
> Andreas.
>
More information about the Debian-science-sagemath
mailing list