FS#17350 - [mercurial] wrongly packaged
Attached to Project:
Arch Linux
Opened by Frederic Bezies (fredbezies) - Wednesday, 02 December 2009, 17:43 GMT
Last edited by Giovanni Scafora (giovanni) - Thursday, 11 February 2010, 23:14 GMT
Opened by Frederic Bezies (fredbezies) - Wednesday, 02 December 2009, 17:43 GMT
Last edited by Giovanni Scafora (giovanni) - Thursday, 11 February 2010, 23:14 GMT
|
Details
Description: As I follow trunk source code for mozilla
software, I have to use mercurial.
Today, version 1.4.1-1 appeared, and when I tried to update my current source code, I got this error message : abort: couldn't find mercurial libraries in [/usr/bin /usr/lib/python26.zip /usr/lib/python2.6 /usr/lib/python2.6/plat-linux2 /usr/lib/python2.6/lib-tk /usr/lib/python2.6/lib-old /usr/lib/python2.6/lib-dynload /usr/lib/python2.6/site-packages /usr/lib/python2.6/site-packages/PIL /usr/lib/python2.6/site-packages/gst-0.10 /usr/lib/python2.6/site-packages/gtk-2.0] (check your install and PYTHONPATH) Previous version was working without problem. Downgrading to version 1.4-2 is the only answer. Additional info: pacman -Qi mercurial Nom : mercurial Version : 1.4.1-1 URL : http://www.selenic.com/mercurial Licences : GPL Groupes : -- Fournit : -- Dépend de : python>=2.6 Dépendances opt. : tk: for the hgk GUI Requis par : -- Est en conflit avec : -- Remplace : -- Taille (installé) : 5557,00 K Paqueteur : Giovanni Scafora <giovanni@archlinux.org> Architecture : x86_64 Compilé le : jeu. 03 déc. 2009 01:26:57 CET Installé le : mer. 02 déc. 2009 18:35:35 CET Motif d'installation : Explicitement installé Script d'installation : Non Description : A scalable distributed SCM tool Steps to reproduce: Just upgrade mercurial and see... Looks like there is some missing libraries... |
This task depends upon
Closed by Giovanni Scafora (giovanni)
Thursday, 11 February 2010, 23:14 GMT
Reason for closing: Not a bug
Thursday, 11 February 2010, 23:14 GMT
Reason for closing: Not a bug
rm -rf ${pkgdir}/usr/lib/python2.6/site-packages/mercurial/*.py
Removing that line fixes the PKGBUILD
Please, let me know if now it is OK.
rm -rf ${pkgdir}/usr/lib/python2.6/site-packages/mercurial/*.py
which removes the byte-compiled *.pyc files. It will work with *.py files only, but is faster with the byte-compiled ones.
rm -rf ${pkgdir}/usr/lib/python2.6/site-packages/mercurial/*.pyc
Can I close this bug report?
Optimized versions (.pyo) of the compiled python modules should be created as well, for tracking purposes (according to [1], [2]).
The two `python setup.py' lines can be replaced by the single line in [1]. If they will be kept separate, I think the --optimize=1 option goes to the second line (which does the installation).
Cheers.
----
[1] http://wiki.archlinux.org/index.php/Python_Package_Guidelines
[2] http://wiki.archlinux.org/index.php/User:Allan/Python_Packaging_Policy
Fixed in mercurial-1.4.1-4
Now, can I close this bug report?
Or do you use hg view?
Yet I cannot find a solution for hgk.
Error in startup script: no such variable
(read trace on "env(HG)")
invoked from within
"exec $env(HG) debug-config"
(procedure "getconfig" line 4)
invoked from within
"getconfig"
invoked from within
"array set config [getconfig]"
(file "/usr/bin/hgk" line 3994)
Do you have any solution?
I close this bug report.
Can you provide a solution?
If not, I close again this bug report.