Your message dated Fri, 16 Aug 2024 15:33:47 +0000
with message-id <[email protected]>
and subject line Bug#1073251: fixed in rpy2 3.5.16-3
has caused the Debian Bug report #1073251,
regarding rpy2: please add support for loong64
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 [email protected]
immediately.)
--
1073251: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1073251
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: rpy2
Version: 3.5.16-2
Severity: normal
Tags: patch
X-Debbugs-Cc: [email protected]
User: [email protected]
Usertags: loong64
Dear Maintainer,
rpy2 compiled incorrectly on loongarch, the attachment has resolved the issue.
Please merge patches.
wuruilong
-- System Information:
Debian Release: trixie/sid
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: loong64 (loongarch64)
Kernel: Linux 5.10.0-60.96.0.126.oe2203.loongarch64 (SMP w/32 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
Description: <short summary of the patch>
TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.
.
rpy2 (3.5.16-2) unstable; urgency=medium
.
[Bo Yu]
* debian/patches/skip_complex_tests_on_mips64el_and_riscv64: Extended
mips64el patch to also skip tests on riscv64
.
[Dirk Eddelbuettel]
* Applied patch to address build issue on riskv64 (Closes: #1071362)
* debian/patches/skip_r_embedding_tests: Skip embedding tests which now
seg.fault under R 4.4.0 while we await a response from upstream
Author: Dirk Eddelbuettel <[email protected]>
Bug-Debian: https://bugs.debian.org/1071362
---
The information above should follow the Patch Tagging Guidelines, please
checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:
Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
Bug: <upstream-bugtracker-url>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: (no|not-needed|<patch-forwarded-url>)
Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
Reviewed-By: <name and email of someone who approved/reviewed the patch>
Last-Update: 2024-06-14
--- rpy2-3.5.16.orig/rpy2/tests/rinterface/test_na.py
+++ rpy2-3.5.16/rpy2/tests/rinterface/test_na.py
@@ -149,8 +149,8 @@ def test_NACharacter_in_vector():
assert x.get_charsxp(1).rid == na_str.rid
assert x[2] == 'cd'
[email protected]((platform.machine() == 'mips64' or platform.machine() ==
'riscv64') and sys.byteorder == 'little',
- reason="Complex tests fail for 'mips64el' or 'riscv64'.")
[email protected]((platform.machine() == 'mips64' or platform.machine() ==
'riscv64' or platform.machine() == 'loongarch64') and sys.byteorder == 'little',
+ reason="Complex tests fail for 'mips64el' or 'riscv64' or
'loongarch64'.")
def test_R_to_NAComplex():
r_na_complex = ri.evalr('NA_complex_')[0]
assert math.isnan(r_na_complex.real)
--- rpy2-3.5.16.orig/rpy2/tests/rinterface/test_vector_complex.py
+++ rpy2-3.5.16/rpy2/tests/rinterface/test_vector_complex.py
@@ -6,8 +6,8 @@ import platform
ri.initr()
[email protected]((platform.machine() == 'mips64' or platform.machine() ==
'riscv64') and sys.byteorder == 'little',
- reason="Complex tests fail for 'mips64el' or 'riscv64'.")
[email protected]((platform.machine() == 'mips64' or platform.machine() ==
'riscv64' or platform.machine() == 'loongarch64') and sys.byteorder == 'little',
+ reason="Complex tests fail for 'mips64el' or 'riscv64' or
'loongarch64'.")
def test_init_from_seqr():
seq = [1+2j, 5+7j, 0+1j]
v = ri.ComplexSexpVector(seq)
@@ -22,23 +22,23 @@ def test_init_from_seq_invalid_item():
ri.ComplexSexpVector(seq)
[email protected]((platform.machine() == 'mips64' or platform.machine() ==
'riscv64') and sys.byteorder == 'little',
- reason="Complex tests fail for 'mips64el' or 'riscv64'.")
[email protected]((platform.machine() == 'mips64' or platform.machine() ==
'riscv64' or platform.machine() == 'loongarch64') and sys.byteorder == 'little',
+ reason="Complex tests fail for 'mips64el' or 'riscv64' or
'loongarch64'.")
def test_getitem():
vec = ri.ComplexSexpVector([1+2j, 5+7j, 0+1j])
assert vec[1] == 5+7j
[email protected]((platform.machine() == 'mips64' or platform.machine() ==
'riscv64') and sys.byteorder == 'little',
- reason="Complex tests fail for 'mips64el' or 'riscv64'.")
[email protected]((platform.machine() == 'mips64' or platform.machine() ==
'riscv64' or platform.machine() == 'loongarch64') and sys.byteorder == 'little',
+ reason="Complex tests fail for 'mips64el' or 'riscv64' or
'loongarch64'.")
def test_setitem():
vec = ri.ComplexSexpVector([1+2j, 5+7j, 0+1j])
vec[1] = 100+3j
assert vec[1] == 100+3j
[email protected]((platform.machine() == 'mips64' or platform.machine() ==
'riscv64') and sys.byteorder == 'little',
- reason="Complex tests fail for 'mips64el' or 'riscv64'.")
[email protected]((platform.machine() == 'mips64' or platform.machine() ==
'riscv64' or platform.machine() == 'loongarch64') and sys.byteorder == 'little',
+ reason="Complex tests fail for 'mips64el' or 'riscv64' or
'loongarch64'.")
def test_getslice():
vec = ri.ComplexSexpVector([1+2j, 5+7j, 0+1j])
vec_s = vec[0:2]
@@ -47,8 +47,8 @@ def test_getslice():
assert vec_s[1] == 5+7j
[email protected]((platform.machine() == 'mips64' or platform.machine() ==
'riscv64') and sys.byteorder == 'little',
- reason="Complex tests fail for 'mips64el' or 'riscv64'.")
[email protected]((platform.machine() == 'mips64' or platform.machine() ==
'riscv64' or platform.machine() == 'loongarch64') and sys.byteorder == 'little',
+ reason="Complex tests fail for 'mips64el' or 'riscv64' or
'loongarch64'.")
def test_getslice_negative():
vec = ri.ComplexSexpVector([1+2j, 5+7j, 0+1j])
vec_s = vec[-2:-1]
@@ -56,8 +56,8 @@ def test_getslice_negative():
assert vec_s[0] == 5+7j
[email protected]((platform.machine() == 'mips64' or platform.machine() ==
'riscv64') and sys.byteorder == 'little',
- reason="Complex tests fail for 'mips64el' or 'riscv64'.")
[email protected]((platform.machine() == 'mips64' or platform.machine() ==
'riscv64' or platform.machine() == 'loongarch64') and sys.byteorder == 'little',
+ reason="Complex tests fail for 'mips64el' or 'riscv64' or
'loongarch64'.")
def test_setslice():
vec = ri.ComplexSexpVector([1+2j, 5+7j, 0+1j])
vec[0:2] = ri.ComplexSexpVector([100+3j, 5-5j])
@@ -66,8 +66,8 @@ def test_setslice():
assert vec[1] == 5-5j
[email protected]((platform.machine() == 'mips64' or platform.machine() ==
'riscv64') and sys.byteorder == 'little',
- reason="Complex tests fail for 'mips64el' or 'riscv64'.")
[email protected]((platform.machine() == 'mips64' or platform.machine() ==
'riscv64' or platform.machine() == 'loongarch64') and sys.byteorder == 'little',
+ reason="Complex tests fail for 'mips64el' or 'riscv64' or
'loongarch64'.")
def test_setslice_negative():
vec = ri.ComplexSexpVector([1+2j, 5+7j, 0+1j])
vec[-2:-1] = ri.ComplexSexpVector([100+3j, ])
@@ -75,8 +75,8 @@ def test_setslice_negative():
assert vec[1] == 100+3j
[email protected]((platform.machine() == 'mips64' or platform.machine() ==
'riscv64') and sys.byteorder == 'little',
- reason="Complex tests fail for 'mips64el' or 'riscv64'.")
[email protected]((platform.machine() == 'mips64' or platform.machine() ==
'riscv64' or platform.machine() == 'loongarch64') and sys.byteorder == 'little',
+ reason="Complex tests fail for 'mips64el' or 'riscv64' or
'loongarch64'.")
def test_index():
vec = ri.ComplexSexpVector([1+2j, 5+7j, 0+1j])
assert vec.index(5+7j) == 1
--- rpy2-3.5.16.orig/rpy2/tests/robjects/test_conversion_numpy.py
+++ rpy2-3.5.16/rpy2/tests/robjects/test_conversion_numpy.py
@@ -71,8 +71,8 @@ class TestNumpyConversions(object):
for orig, conv in zip(l, f_r):
assert abs(orig-conv) < 0.000001
- @pytest.mark.skipif((platform.machine() == 'mips64' or platform.machine()
== 'riscv64') and sys.byteorder == 'little',
- reason="Complex tests fail for 'mips64el' or
'riscv64'.")
+ @pytest.mark.skipif((platform.machine() == 'mips64' or platform.machine()
== 'riscv64' or platform.machine() == 'loongarch64') and sys.byteorder ==
'little',
+ reason="Complex tests fail for 'mips64el' or 'riscv64'
or 'loongarch64'.")
def test_vector_complex(self):
l = [1j, 2j, 3j]
c = numpy.array(l, dtype=numpy.complex_)
--- End Message ---
--- Begin Message ---
Source: rpy2
Source-Version: 3.5.16-3
Done: Dirk Eddelbuettel <[email protected]>
We believe that the bug you reported is fixed in the latest version of
rpy2, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Dirk Eddelbuettel <[email protected]> (supplier of updated rpy2 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 16 Jun 2024 07:37:12 -0500
Source: rpy2
Architecture: source
Version: 3.5.16-3
Distribution: unstable
Urgency: medium
Maintainer: Dirk Eddelbuettel <[email protected]>
Changed-By: Dirk Eddelbuettel <[email protected]>
Closes: 1073251
Changes:
rpy2 (3.5.16-3) unstable; urgency=medium
.
[ wuruilong ]
* debian/patches/skip_complex_tests_on_mips64el_and_riscv64_and_loon64:
Extended patch to also skip tests on loong64
.
[Dirk Eddelbuettel]
* Applied patch to address build issue on loong64 (Closes: #1073251)
Checksums-Sha1:
5aea5fb2ff513edf0a785eff7340403b71947668 1934 rpy2_3.5.16-3.dsc
8fb49cb9e3c94444c220df6bce7a30ecedaba3be 20312 rpy2_3.5.16-3.debian.tar.xz
eb9b13fbfb6c141454a84a4018b4ca347e61584a 10864 rpy2_3.5.16-3_amd64.buildinfo
Checksums-Sha256:
a3eda26999aed59f456257b7b5383134092cbddc1e46e6b6328f343d5ade2645 1934
rpy2_3.5.16-3.dsc
f47c634d99ff18a9b343ec7f82ff7fcf3cae4a482dbe73ea035093022dcae018 20312
rpy2_3.5.16-3.debian.tar.xz
f240524e81f2aac025aefebb10f8aeb187848eb6ce11828ff2467de1eca9a9f8 10864
rpy2_3.5.16-3_amd64.buildinfo
Files:
c7eba0d6a2e66c736f8e7148d86aafcb 1934 python optional rpy2_3.5.16-3.dsc
e33ef1083a1209f9e7abe22fc6d7b9ec 20312 python optional
rpy2_3.5.16-3.debian.tar.xz
79d27d44582bf12a7880d2429cd2bdd6 10864 python optional
rpy2_3.5.16-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIVAwUBZr9oSKFIn+KrmaIaAQgSQw//bBc4Dqa1TRk0xV07X4VqticrlYiw06A6
wDBw8Ieoovmmko+J5D7hstNhAxwlgBqhBJ3b+ugUXbER4cIvxIwNi88UQ18NfsWt
0i9kGDadXAGH8ROJjONxco2afzUla6WQvnZzds+x+1lBr0/lPceQA6n3voLbxwEe
B61VvJeUvj8B8BKMLgBkPwwMvU3zsF3T221yYtzEic9lxFRtli5VN4ULcUKu3wtM
ujQztebVcEixYkR5jppD8w+ncUJR4it+834xIhD90neM7WUu8c9fO9BazIkkShrz
rMPRzONizfPMxLipz1ZUCVIFTfDXm3ESwFDeX8Wgs8PYv/KoSpwMK+5ehz23rCQ0
eOQAIncXb/ztdrP9K1w8MGraYHm4xSOknaozqExq9J9QkcK0iLdETFrHXnVX83TA
RsJDLLlx1TjbslUGZehe3sLat3G2xw8Aq3Lnrtyx/sby0HcFh9nSf8yFH37pcGKb
QgjdFDNftgwEioaBFW6tWkF7yr+m+iRKNBGBtVYyQKsmcz1FfKPU03Rqj3oCwDpp
UrmOJ+7cRF10jJe5wFEjOSQ0hm4ZKydP6yBVVWYGqqVxACBUyLd6e+trqHL9PJz+
DsZxmbG2CbmE2nU1ZSZlDsMWwlkgmhzBWUen1UupoSx4F56cqM7kHGoD2BoxK/Ho
rO+KFVqflH4=
=eNVz
-----END PGP SIGNATURE-----
pgpWv8TtEJf0g.pgp
Description: PGP signature
--- End Message ---