Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 336746 - sci-mathematics/pari-2.3.5[-emacs] hangs in src_install
Summary: sci-mathematics/pari-2.3.5[-emacs] hangs in src_install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 335898
  Show dependency tree
 
Reported: 2010-09-10 17:07 UTC by Ulrich Müller
Modified: 2010-09-14 17:27 UTC (History)
1 user (show)

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


Attachments
proposed fix for ebuild (pari-2.3.5.ebuild.diff,351 bytes, patch)
2010-09-11 16:57 UTC, Ulrich Müller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2010-09-10 17:07:46 UTC
With USE="-emacs" and /usr/bin/emacs symlinked to zile, src_install will hang:

../config/install -m 644 ../examples/rho.gp      "/var/tmp/portage/sci-mathematics/pari-2.3.5/image//usr/share/pari"/examples
../config/install -m 644 ../examples/squfof.gp   "/var/tmp/portage/sci-mathematics/pari-2.3.5/image//usr/share/pari"/examples
../config/install -m 644 ../examples/taylor.gp   "/var/tmp/portage/sci-mathematics/pari-2.3.5/image//usr/share/pari"/examples

Further investigation shows that it's trying to execute the following command, which will work only for GNU Emacs (and shouldn't be called with USE="-emacs" anyway):
/usr/bin/emacs -batch --eval (setq load-path (append (list ".") load-path)) -f batch-byte-compile pari-completion.el pari-conf.el pari-fontification.el pari-help.el pari-messages.el pari.el sli-tools.el

Patch will follow.
Comment 1 Ulrich Müller gentoo-dev 2010-09-11 16:57:05 UTC
Created attachment 246873 [details, diff]
proposed fix for ebuild
Comment 2 Sébastien Fabbro (RETIRED) gentoo-dev 2010-09-14 17:27:34 UTC
in cvs. thanks.