[Bug 470073] New: fonttools dependency problem: ttx needs `numpy' python module
https://bugzilla.novell.com/show_bug.cgi?id=470073 Summary: fonttools dependency problem: ttx needs `numpy' python module Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: i586 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: wl@gnu.org QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.0.5) Gecko/2008121300 SUSE/3.0.5-2.5 Firefox/3.0.5 The summary says all. This is a packaging error: fonttools must depend on python-numpy. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470073 Philipp Thomas <pth@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pth@novell.com AssignedTo|pth@novell.com |mfabian@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470073 Mike Fabian <mfabian@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470073 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=470073#c1 Mike Fabian <mfabian@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |wl@gnu.org --- Comment #1 from Mike Fabian <mfabian@novell.com> 2009-01-30 07:22:46 MST --- There is a requires for python-numeric: mfabian@magellan:[...]/fonttools$ grep Requires: fonttools.spec BuildRequires: python-devel python-numeric pyxml Requires: python-numeric pyxml python-xml python >= %pyver, python < %{pyver}.99 mfabian@magellan:[...]/fonttools$ rpm -ql python-numeric | grep numpy /usr/lib64/python2.6/site-packages/Numeric/_numpy.so mfabian@magellan:[...]/fonttools$ mfabian@magellan:~$ rpm -q -requires fonttools python-numeric pyxml python-xml python >= 2.6 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 /usr/bin/python libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libpthread.so.0()(64bit) libpython2.6.so.1.0()(64bit) rpmlib(PayloadIsLzma) <= 4.4.2-1 mfabian@magellan:~$ That should be enough, shouldn’t it? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470073 User wl@gnu.org added comment https://bugzilla.novell.com/show_bug.cgi?id=470073#c2 Werner Lemberg <wl@gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|wl@gnu.org | --- Comment #2 from Werner Lemberg <wl@gnu.org> 2009-01-30 15:42:59 MST --- Apparently not. I had installed the fonttools package via yast2, and all dependencies were OK. Running ttx then, however, produced a message which shows something about `numpy' missing (I forgot the details). After installing python-numpy, ttx worked fine. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470073 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=470073#c3 --- Comment #3 from Mike Fabian <mfabian@novell.com> 2009-01-31 09:34:12 MST --- There is no package "python-numpy" in openSUSE, only a "python-numeric" package and fonttools depends on it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470073 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=470073#c4 --- Comment #4 from Mike Fabian <mfabian@novell.com> 2009-01-31 09:37:52 MST --- I can reproduce the error message though: mfabian@magellan:/tmp/ttt$ ttx -d . /usr/share/fonts/truetype/DejaVuSans.ttf Dumping "/usr/share/fonts/truetype/DejaVuSans.ttf" to "./DejaVuSans.ttx"... Traceback (most recent call last): File "/usr/bin/ttx", line 11, in <module> ttx.main(sys.argv[1:]) File "/usr/lib64/python2.6/site-packages/FontTools/fontTools/ttx.py", line 289, in main process(jobs, options) File "/usr/lib64/python2.6/site-packages/FontTools/fontTools/ttx.py", line 274, in process action(input, output, options) File "/usr/lib64/python2.6/site-packages/FontTools/fontTools/ttx.py", line 166, in ttDump ignoreDecompileErrors=options.ignoreDecompileErrors) File "/usr/lib64/python2.6/site-packages/FontTools/fontTools/ttLib/__init__.py", line 122, in __init__ import sfnt File "/usr/lib64/python2.6/site-packages/FontTools/fontTools/ttLib/sfnt.py", line 17, in <module> import numpy ImportError: No module named numpy mfabian@magellan:/tmp/ttt$ rpm -q python-numeric python-numeric-24.2-196.7 mfabian@magellan:/tmp/ttt$ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470073 User wl@gnu.org added comment https://bugzilla.novell.com/show_bug.cgi?id=470073#c5 --- Comment #5 from Werner Lemberg <wl@gnu.org> 2009-01-31 10:11:50 MST --- Hmm. I got my python-numpy package from the games/openSUSE_11.1 repository (openSUSE Build Service). It should perhaps be added to the standard openSuSE distribution. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470073 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=470073#c6 --- Comment #6 from Mike Fabian <mfabian@novell.com> 2009-02-02 07:08:04 MST --- I added Pavol Rusnak <prusnak@novell.com> to the CC:. Pavol maintains the python-numpy package in the games: repository. Pavol, would you be willing to maintain the python-numpy package in the standard openSUSE distribution? I’ll add it because it is needed for fonttools. If you don’t want to maintain it I have to maintain it myself but you probably know it better. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470073 User prusnak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=470073#c7 Pavol Rusnak <prusnak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |crrodriguez@novell.com, | |jmatejek@novell.com --- Comment #7 from Pavol Rusnak <prusnak@novell.com> 2009-02-02 07:18:11 MST --- Well, the package in games repo is only link to devel:languages:python repo, where it is maintained by Cristian Rodriguez. However, our python maintainer is Jan Matejek. We should ask them if they want to maintain the package in distro -> adding both to CC. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470073 User crrodriguez@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=470073#c8 Cristian Rodríguez <crrodriguez@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mfabian@novell.com |jmatejek@novell.com --- Comment #8 from Cristian Rodríguez <crrodriguez@novell.com> 2009-02-02 07:37:10 MST --- Jan: can you check this out please ? ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470073 User jmatejek@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=470073#c9 Jan Matejek <jmatejek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium --- Comment #9 from Jan Matejek <jmatejek@novell.com> 2009-02-02 08:30:35 MST --- python-numeric is basically an obsolete variant of python-numpy. i plan to drop the former and include the latter in 11.2 so i'm taking the bug but next time please leave the bug as new when you reassign ;e) or is this a misfeature of the new bugzilla? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470073 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=470073#c10 --- Comment #10 from Mike Fabian <mfabian@novell.com> 2009-02-04 04:46:41 MST --- Thank you very much Jan. I think it is OK then if I change the dependency of fonttools to python-numpy now, yes? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470073 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=470073#c11 --- Comment #11 from Mike Fabian <mfabian@novell.com> 2009-02-04 04:52:47 MST --- Fixed "fonttools" package submitted to Factory and the M17N project in the openSUSE build service. Changes: -BuildRequires: python-devel python-numeric pyxml +BuildRequires: python-devel python-numpy pyxml -Requires: python-numeric pyxml python-xml python >= %pyver, python < %{pyver}.99 +Requires: pyxml python-numpy python-xml python >= %pyver, python < %{pyver}.99 %changelog +* Wed Feb 04 2009 mfabian@suse.de +- bnc#470073: fonttools 2.2 must require python-numpy now, not the + obsolete python-numeric. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470073 User jmatejek@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=470073#c12 --- Comment #12 from Jan Matejek <jmatejek@novell.com> 2009-02-04 09:13:09 MST --- okay, package python-numpy submitted to stable -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470073 User lrupp@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=470073#c13 Lars Vogdt <lrupp@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lrupp@novell.com --- Comment #13 from Lars Vogdt <lrupp@novell.com> 2009-03-31 06:08:21 MDT --- Jan, please have a look at http://bugs.python.org/issue4720 I suggest the following patch for python-numpy in STABLE: Index: numpy/f2py/rules.py =================================================================== --- numpy/f2py/rules.py.orig +++ numpy/f2py/rules.py @@ -246,5 +246,5 @@ #endif \tif (!PyArg_ParseTupleAndKeywords(capi_args,capi_keywds,\\ -\t\t\"#argformat#|#keyformat##xaformat#:#pyname#\",\\ +\t\t\"#argformat##keyformat##xaformat#:#pyname#\",\\ \t\tcapi_kwlist#args_capi##keys_capi##keys_xa#))\n\t\treturn NULL; #frompyobj# @@ -1356,4 +1356,14 @@ ['\\begin{description}']+rd[k][1:]+\ ['\\end{description}'] + + # Workaround for Python 2.6, 2.6.1 bug: http://bugs.python.org/issue4720 + if rd['keyformat'] or rd['xaformat']: + argformat = rd['argformat'] + if isinstance(argformat, list): + argformat.append('|') + else: + assert isinstance(argformat, str),repr((argformat, type(argformat))) + rd['argformat'] += '|' + ar=applyrules(routine_rules,rd) if ismoduleroutine(rout): -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470073 User jmatejek@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=470073#c14 --- Comment #14 from Jan Matejek <jmatejek@novell.com> 2009-03-31 07:43:42 MDT --- any reason why fix python-numpy instead of the original python bug? if the fix will only be in STABLE? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470073 User lrupp@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=470073#c15 --- Comment #15 from Lars Vogdt <lrupp@novell.com> 2009-03-31 07:49:26 MDT --- I've the fix in the Education repository for all older distributions. But yes: fixing python instead is much better ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com