Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 553344 - =dev-python/ipython-3.2.0[notebook] mathjax double prefix
Summary: =dev-python/ipython-3.2.0[notebook] mathjax double prefix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-26 17:16 UTC by Michael Schubert
Modified: 2015-06-29 12:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Sandbox violation log (sandbox-violation.log,1.03 KB, text/x-log)
2015-06-29 12:16 UTC, Jeremi Piotrowski
Details
Patch to the ebuild that fixes the bug (ipython-3.2.0-ebuild.patch,521 bytes, patch)
2015-06-29 12:24 UTC, Jeremi Piotrowski
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Schubert 2015-06-26 17:16:06 UTC
in ipython-3.2.0.ebuild, python_install():

use notebook && dosym /usr/share/mathjax $(python_get_sitedir)/IPython/html/static/mathjax

`$(python_get_sitedir)` adds the prefix path, and `dosym` adds it again.

Reproducible: Always
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2015-06-28 18:27:41 UTC
+  28 Jun 2015; Justin Lecher <jlec@gentoo.org> ipython-3.2.0.ebuild:
+  Prevent double PREFIX on PREFIX, bug #553344
+
Comment 2 Jeremi Piotrowski 2015-06-29 12:15:16 UTC
(In reply to Justin Lecher from comment #1)
> +  28 Jun 2015; Justin Lecher <jlec@gentoo.org> ipython-3.2.0.ebuild:
> +  Prevent double PREFIX on PREFIX, bug #553344
> +

This breaks the merge with a sandbox violation by attempting to make a symlink directly in the live filesystem.
Comment 3 Jeremi Piotrowski 2015-06-29 12:16:24 UTC
Created attachment 405942 [details]
Sandbox violation log
Comment 4 Jeremi Piotrowski 2015-06-29 12:24:53 UTC
Created attachment 405944 [details, diff]
Patch to the ebuild that fixes the bug

Prepend the image directory `${D}` to the symlink destination.
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2015-06-29 12:38:06 UTC
+  29 Jun 2015; Justin Lecher <jlec@gentoo.org> ipython-3.2.0.ebuild:
+  Fix sandbox violation
+