Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#25390 - [root] missing two python->python2 changes

Attached to Project: Community Packages
Opened by Sebastien Binet (bins) - Wednesday, 03 August 2011, 15:49 GMT
Last edited by Thomas Dziedzic (tomd123) - Saturday, 06 August 2011, 13:33 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Thomas Dziedzic (tomd123)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
there are 2 scripts (genreflex and genreflex-rootcint) which still use a bare 'python' instead of 'python2' to invoke the python interpreter.

the attached PKGBUILD fixes that.

-s
   PKGBUILD (2.4 KiB)
This task depends upon

Closed by  Thomas Dziedzic (tomd123)
Saturday, 06 August 2011, 13:33 GMT
Reason for closing:  Fixed
Additional comments about closing:  pkgrel 5
Comment by Thomas Dziedzic (tomd123) - Wednesday, 03 August 2011, 16:19 GMT
Thanks for the fixes.

Just something to note in the future; it would be better if you provided a diff, since it seems you accidentally included another change which removed the --enable-soversion flag, no worries though.
Comment by Sebastien Binet (bins) - Wednesday, 03 August 2011, 16:26 GMT
oops!
diffs it shall be.

-s
Comment by Sebastien Binet (bins) - Saturday, 06 August 2011, 06:54 GMT
  • Field changed: Percent Complete (100% → 0%)
actually, my previous attempt wasn't so effective at fixing this bug.

the following diff *really* fixes it:

diff -urN root-orig/PKGBUILD root/PKGBUILD
--- root-orig/PKGBUILD 2011-08-05 06:11:39.000000000 +0200
+++ root/PKGBUILD 2011-08-05 11:29:27.000000000 +0200
@@ -87,4 +87,8 @@
${pkgdir}/usr/share/mime/packages/root.xml

rm -rf ${pkgdir}/etc/root/daemons
+
+ # python->python2
+ sed -i 's/python /python2 /g' ${pkgdir}/usr/bin/genreflex
+ sed -i 's/python /python2 /g' ${pkgdir}/usr/bin/genreflex-rootcint
}
Comment by Thomas Dziedzic (tomd123) - Saturday, 06 August 2011, 13:32 GMT
thanks, I patched the original .in files instead of patching after building. Should *really* be fixed in pkgrel 5 :P

Loading...