Your message dated Thu, 29 Dec 2016 05:03:46 +0000
with message-id <e1cmssu-000egc...@fasolo.debian.org>
and subject line Bug#849499: fixed in llvmlite 0.15.0+git20161228.95d8c7c-1
has caused the Debian Bug report #849499,
regarding llvmlite: ERROR: test_get_host_cpu_features
(llvmlite.tests.test_binding.TestMisc)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
849499: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849499
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: llvmlite
Version: 0.14.0-2
Severity: serious
File: llvmlite
Justification: fails to build from source
llvmlite [1] (currently in experimental) has a test failure on some archs
(mips, ppc64el, s390x etc.) [2]:
<cut>
======================================================================
ERROR: test_get_host_cpu_features (llvmlite.tests.test_binding.TestMisc)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/«PKGBUILDDIR»/llvmlite/tests/test_binding.py", line 237, in
test_get_host_cpu_features
features = llvm.get_host_cpu_features()
File "/«PKGBUILDDIR»/llvmlite/binding/targets.py", line 61, in
get_host_cpu_features
outdict[feat[1:]] = flag_map[feat[0]]
IndexError: string index out of range
</cut>
get_host_cpu_features() is defined in llvmlite/binding/targets.py:
<cut>
def get_host_cpu_features():
"""
Returns a dictionary-like object indicating the CPU features for current
architecture and whether they are enabled for this CPU. The key-value pairs
are the feature name as string and a boolean indicating whether the feature
is available. The returned value is an instance of ``FeatureMap`` class,
which adds a new method ``.flatten()`` for returning a string suitable for
use as the "features" argument to ``Target.create_target_machine()``.
"""
with ffi.OutputString() as out:
ffi.lib.LLVMPY_GetHostCPUFeatures(out)
outdict = FeatureMap()
flag_map = {'+': True, '-': False}
for feat in str(out).split(','):
outdict[feat[1:]] = flag_map[feat[0]]
return outdict
</cut>
It appears ffi.lib.LLVMPY_GetHostCPUFeatures() doesn't return anything (e.g. on
s390x):
<cut>
Python 2.7.13 (default, Dec 18 2016, 20:19:42)
[GCC 6.2.1 20161215] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from llvmlite.binding import ffi
>>> with ffi.OutputString() as out:
... ffi.lib.LLVMPY_GetHostCPUFeatures(out)
... print(out)
...
0
</cut>
Could this be a regression from LLVM?
DS
[1] https://packages.qa.debian.org/l/llvmlite.html
[2] https://buildd.debian.org/status/package.php?p=llvmlite&suite=experimental
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.8.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python-llvmlite depends on:
ii libc6 2.24-8
ii libgcc1 1:6.2.1-5
ii libtinfo5 6.0+20161126-1
ii llvm-3.8 1:3.8.1-16
ii python 2.7.11-2
ii python-enum34 1.1.6-1
ii python-six 1.10.0-3
pn python:any <none>
ii zlib1g 1:1.2.8.dfsg-4
Versions of packages python-llvmlite recommends:
ii llvmlite-doc 0.14.0-2
python-llvmlite suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: llvmlite
Source-Version: 0.15.0+git20161228.95d8c7c-1
We believe that the bug you reported is fixed in the latest version of
llvmlite, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 849...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Daniel Stender <sten...@debian.org> (supplier of updated llvmlite package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 29 Dec 2016 05:37:34 +0100
Source: llvmlite
Binary: python-llvmlite python3-llvmlite llvmlite-doc
Architecture: source all amd64
Version: 0.15.0+git20161228.95d8c7c-1
Distribution: experimental
Urgency: medium
Maintainer: LLVM Packaging Team <pkg-llvm-t...@lists.alioth.debian.org>
Changed-By: Daniel Stender <sten...@debian.org>
Description:
llvmlite-doc - LLVM Python binding for writing JIT compilers (docs)
python-llvmlite - LLVM Python binding for writing JIT compilers
python3-llvmlite - LLVM Python 3 binding for writing JIT compilers
Closes: 849499
Changes:
llvmlite (0.15.0+git20161228.95d8c7c-1) experimental; urgency=medium
.
* build with latest development snapshot (Closes: #849499).
Checksums-Sha1:
3ddcb01ae0c103bf8127dee70163f10036dc3991 2450
llvmlite_0.15.0+git20161228.95d8c7c-1.dsc
985ed0d9bad6e6f35c7d01842d4dd29944ebe32a 114096
llvmlite_0.15.0+git20161228.95d8c7c.orig.tar.xz
53a0107b303d6bc05554d3b513b0e5caf6a5c1e5 7024
llvmlite_0.15.0+git20161228.95d8c7c-1.debian.tar.xz
5f9538169dc85689d27d98135c228dad2a5121d9 87704
llvmlite-doc_0.15.0+git20161228.95d8c7c-1_all.deb
5baff2ec3ce0b622645bd38067103ff1fee22734 8145
llvmlite_0.15.0+git20161228.95d8c7c-1_amd64.buildinfo
f687dbbfa238f94f1005a2d5d274db4d825c7c7e 602520
python-llvmlite-dbgsym_0.15.0+git20161228.95d8c7c-1_amd64.deb
081b141116a0dbdb2ef9119ed4f273ee336b0d03 8861632
python-llvmlite_0.15.0+git20161228.95d8c7c-1_amd64.deb
ec5eda69819969f4b4a252596a1d2bad19ec35bc 602522
python3-llvmlite-dbgsym_0.15.0+git20161228.95d8c7c-1_amd64.deb
32444ac120386280bde662584bc7a8c4dc365a3e 8859820
python3-llvmlite_0.15.0+git20161228.95d8c7c-1_amd64.deb
Checksums-Sha256:
b81e8bc2bad52a0d323b478602356da0c0cebc344ee5f3ee2ecf94d20508c990 2450
llvmlite_0.15.0+git20161228.95d8c7c-1.dsc
d2de8530c1463e1df30754f17200a05e85ab0de71d6a0bc9b0f3e6cf027d4754 114096
llvmlite_0.15.0+git20161228.95d8c7c.orig.tar.xz
9bbd5991960817c4e34dc97eb6662f7dd9a46c4b2cb5a6dfb7e6b56c2a4b27e2 7024
llvmlite_0.15.0+git20161228.95d8c7c-1.debian.tar.xz
755f22f9a3d1dfa6cf64174111f00ba5af2b40d27fc5dd8426db0ff407ac7a94 87704
llvmlite-doc_0.15.0+git20161228.95d8c7c-1_all.deb
5a1f0f0bd8874d70579ce51b59006cba4a5023d112c1e49e787894b340083984 8145
llvmlite_0.15.0+git20161228.95d8c7c-1_amd64.buildinfo
efae308df47f28e60cbb9de352d22f590b94ed6234137833d180851167791c1a 602520
python-llvmlite-dbgsym_0.15.0+git20161228.95d8c7c-1_amd64.deb
b171621df139184ebacfe5944b0265f3e22ae999e8915e0dbfc5546a4f0b2883 8861632
python-llvmlite_0.15.0+git20161228.95d8c7c-1_amd64.deb
09332e279fb0ca6d3c5391c92ec5f0fc986793152e7edc046b93cb0cb21af4e2 602522
python3-llvmlite-dbgsym_0.15.0+git20161228.95d8c7c-1_amd64.deb
1c7239ca9e4542069f9cc97b5a26953f6d46fffe0be71bfdc92f90e773e78e8b 8859820
python3-llvmlite_0.15.0+git20161228.95d8c7c-1_amd64.deb
Files:
f022b3872c26ebf30cf57d439bee198c 2450 python optional
llvmlite_0.15.0+git20161228.95d8c7c-1.dsc
3cb8bd807881472997d499876cd3c19b 114096 python optional
llvmlite_0.15.0+git20161228.95d8c7c.orig.tar.xz
bf816a6fddd4b9a77e203143539623d3 7024 python optional
llvmlite_0.15.0+git20161228.95d8c7c-1.debian.tar.xz
fdda3e3a4eba8343893753e2f84691f9 87704 doc optional
llvmlite-doc_0.15.0+git20161228.95d8c7c-1_all.deb
43ac208bf081ce70522c8a9fd04f8d77 8145 python optional
llvmlite_0.15.0+git20161228.95d8c7c-1_amd64.buildinfo
6cd5a403db8bcae40572af9eaccf3ebd 602520 debug extra
python-llvmlite-dbgsym_0.15.0+git20161228.95d8c7c-1_amd64.deb
79397ebb5adcb9d534ac1a8e8460b873 8861632 python optional
python-llvmlite_0.15.0+git20161228.95d8c7c-1_amd64.deb
1b80a7c67514f2b35f11ec2f0298699a 602522 debug extra
python3-llvmlite-dbgsym_0.15.0+git20161228.95d8c7c-1_amd64.deb
07c557826132c16cc9f1314d71e90fa9 8859820 python optional
python3-llvmlite_0.15.0+git20161228.95d8c7c-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEERsscqJ6jt0N2dh25FeCa9N9RgsgFAlhkljoACgkQFeCa9N9R
gsi3+g/9GraeCgow/FqUWQ2V0iGYWQpgKObL7zJqmYKwfX+VuadD//PNvw7vn6te
vPLIOtloGbfuDu2hA3w2/FcPfIqT+SDvkOn8klmJ1hNHAjJSVbm0y0FePzbS6/kB
a+J99Z3XtvETpd3vetV+Q7H2V8sVPeOGxZxRXrQbZu5Q+VrdgVCEIGrPP+puUrtz
+XKAM8b3w8Mc1uo4mktE1VvApmLPxiNX+1+04YdQSDI/pHevDRNAvMS4bS+U0Fcp
d7tP3AzyFmxned7jNzXpLWotYlNrzD2011lLcCseYdDmGMNEKF8LbX9kF4NNZrXy
meMzCALS4thlqxts3dc7ao/r25Oo5wzlf+8rtwumVwt0JsmQy0HkXbw2YX9ss+Wi
UHBECUchpLqP66kawAgraIGkx3yB0mjL/jJu93YJc+Tyk8+YoVSi/OjqWLHE712D
EgY34b18TF12dvR23hkzgd0r3bfHvx7UtH7M+0lI/EsQ3OdWYC/WFImA9rpnztWo
djHgv0oSC/430MMaXMaM4q1Lf4nZ5stNv7QH8CTB5N4R7W96w/HIglfhzACo4n87
EUs6f1sq08Zn8l8HCa0PLj2gS5EIQT6AT3F5LW+j6MgzP4v9kRD+WwIzhqzzS1JK
1d3FG1egIgXStiyn5EahOft5VdYQlh0KX1OrKtSE9gsEJdlFk/w=
=1zhZ
-----END PGP SIGNATURE-----
--- End Message ---