Bug#983815: marked as done (python-crc32c: Baseline violation on amd64/arm64/i386 and FTBFS on armhf if built on 64bit hardware)

2022-11-22 Thread Debian Bug Tracking System
Your message dated Tue, 22 Nov 2022 09:51:39 +
with message-id 
and subject line Bug#983815: fixed in python-crc32c 2.3-1.1
has caused the Debian Bug report #983815,
regarding python-crc32c: Baseline violation on amd64/arm64/i386 and FTBFS on 
armhf if built on 64bit hardware
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.)


-- 
983815: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983815
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-crc32c
Version: 2.2-1
Severity: serious
Tags: ftbfs patch

For the FTBFS:
https://buildd.debian.org/status/logs.php?pkg=python-crc32c=armhf

Fix is attached.
Description: Fix baseline violations on x86 and arm
 These extensions are not part of the baseline of any port.
Author: Adrian Bunk 

--- python-crc32c-2.2.orig/setup.py
+++ python-crc32c-2.2/setup.py
@@ -39,10 +39,6 @@ def get_extra_compile_args(is_intel, is_
 comp = distutils.ccompiler.get_default_compiler()
 if comp == 'msvc':
 return ['/O2']
-elif is_intel:
-return ['-O3', '-msse4.2', '-mpclmul']
-elif is_arm:
-return ['-O3', '-march=armv8-a+crc+crypto']
 else:
 return ['-O3']
 
@@ -63,10 +59,6 @@ class _build_ext(build_ext):
 is_arm = platform in ['aarch64_be', 'aarch64', 'armv8b', 'armv8l']
 distutils.log.info("platform: %s, is_intel: %d, is_arm: %d", platform, 
is_intel, is_arm)
 self.distribution.ext_modules[0].extra_compile_args = 
get_extra_compile_args(is_intel, is_arm)
-if is_intel:
-self.distribution.ext_modules[0].define_macros += [('IS_INTEL', 
None)]
-elif is_arm:
-self.distribution.ext_modules[0].define_macros += [('IS_ARM', 
None)]
 build_ext.run(self)
 
 
--- End Message ---
--- Begin Message ---
Source: python-crc32c
Source-Version: 2.3-1.1
Done: Adrian Bunk 

We believe that the bug you reported is fixed in the latest version of
python-crc32c, 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 983...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adrian Bunk  (supplier of updated python-crc32c 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: Sat, 19 Nov 2022 00:42:32 +0200
Source: python-crc32c
Architecture: source
Version: 2.3-1.1
Distribution: unstable
Urgency: medium
Maintainer: Jonas Smedegaard 
Changed-By: Adrian Bunk 
Closes: 983815
Changes:
 python-crc32c (2.3-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Fix baseline violation on x86 and arm. (Closes: #983815)
Checksums-Sha1:
 8d383cfa2d2e0aff2ec6b7599b5d622c9650c039 1957 python-crc32c_2.3-1.1.dsc
 4f67204400be47dadbe898f2fb505c919fa12c11 4980 
python-crc32c_2.3-1.1.debian.tar.xz
Checksums-Sha256:
 74a5a31f38a0147cd3c70839f11ce6d3804ad8995bb5fe3d2916a5e234821d33 1957 
python-crc32c_2.3-1.1.dsc
 3928ae2af6b61a5929336eddb413caddd0450489a28efc16d4b1a9cf190d67fa 4980 
python-crc32c_2.3-1.1.debian.tar.xz
Files:
 bfe4d864673ff992e63fbd3fe6002540 1957 python optional python-crc32c_2.3-1.1.dsc
 9bfa7a1be2ceb51ae709a0be2a42b97b 4980 python optional 
python-crc32c_2.3-1.1.debian.tar.xz

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmN4DEQACgkQiNJCh6LY
mLHoRxAAmAMcOslxfZvtNSUYYsmIXsYKZjJkU1JHkeODXnyVl00nYlj8DCWWqbzI
OHKbhI48vx3YK8J8reOaz60mSxnXvIv5Svc3Fb4rbegO8WFRGEBEv4mDf+fG6o/k
sWmVUgNAAcKc8II9+F84yPfK/rz3doERtn+OUT5CR+3Kpkv+SwTmSct4C1YmdhK7
mqDp72R3sFXizxqyRzW0LsWkfXt2Bu0dmsR5pVbNLB6ij8/c2f/RQr3XiQjX+l2D
fsTUMpQ3XI/d2V7pFYa5+eCxlRrjooJp6oHq+tCYNt1tjL5U+Z/gZ+LET0Jt+zit
Q10vtYQT+TJ6nmhGwuXmb/cfSCbGXW6jjsvM3AytROlN7ziumsnKviefIg4NHNWj
uiLWDtsHUE91+lwsMcMHjHJC+eIq8xlDs8xcBsmJtH2twxN7n+ilaH+1hxRzRV4M
WZo/YGpvYQXAWUOBcXC4XYK6aGMjdYPsut6YqVbLxALCSzga4V8KrimtZQY9w4h6
A58I2BOZm/1aC9bIMtnPICdr/A5+FFH55oo8JsHfoYZa5WVNkMsflKeAMvSYsehj
I3UUh4Ao39urgSKPktDEcLel+SL2t8wHJMtsJ1JPK3HYUCU8GajG2GbNCKjHIAb5
tXeBde/sRs6xaZJPHiQo/nKiLQWRl3IHZvOEwbFMUqlEQsRSuck=
=tclf
-END PGP SIGNATURE End Message ---


Bug#983815: marked as done (python-crc32c: Baseline violation on amd64/arm64/i386 and FTBFS on armhf if built on 64bit hardware)

2021-04-25 Thread Debian Bug Tracking System
Your message dated Mon, 26 Apr 2021 02:19:01 +
with message-id 
and subject line Bug#983815: fixed in python-crc32c 2.2-1.1
has caused the Debian Bug report #983815,
regarding python-crc32c: Baseline violation on amd64/arm64/i386 and FTBFS on 
armhf if built on 64bit hardware
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.)


-- 
983815: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983815
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-crc32c
Version: 2.2-1
Severity: serious
Tags: ftbfs patch

For the FTBFS:
https://buildd.debian.org/status/logs.php?pkg=python-crc32c=armhf

Fix is attached.
Description: Fix baseline violations on x86 and arm
 These extensions are not part of the baseline of any port.
Author: Adrian Bunk 

--- python-crc32c-2.2.orig/setup.py
+++ python-crc32c-2.2/setup.py
@@ -39,10 +39,6 @@ def get_extra_compile_args(is_intel, is_
 comp = distutils.ccompiler.get_default_compiler()
 if comp == 'msvc':
 return ['/O2']
-elif is_intel:
-return ['-O3', '-msse4.2', '-mpclmul']
-elif is_arm:
-return ['-O3', '-march=armv8-a+crc+crypto']
 else:
 return ['-O3']
 
@@ -63,10 +59,6 @@ class _build_ext(build_ext):
 is_arm = platform in ['aarch64_be', 'aarch64', 'armv8b', 'armv8l']
 distutils.log.info("platform: %s, is_intel: %d, is_arm: %d", platform, 
is_intel, is_arm)
 self.distribution.ext_modules[0].extra_compile_args = 
get_extra_compile_args(is_intel, is_arm)
-if is_intel:
-self.distribution.ext_modules[0].define_macros += [('IS_INTEL', 
None)]
-elif is_arm:
-self.distribution.ext_modules[0].define_macros += [('IS_ARM', 
None)]
 build_ext.run(self)
 
 
--- End Message ---
--- Begin Message ---
Source: python-crc32c
Source-Version: 2.2-1.1
Done: Adrian Bunk 

We believe that the bug you reported is fixed in the latest version of
python-crc32c, 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 983...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adrian Bunk  (supplier of updated python-crc32c 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: Sat, 24 Apr 2021 10:56:22 +0300
Source: python-crc32c
Architecture: source
Version: 2.2-1.1
Distribution: unstable
Urgency: medium
Maintainer: Jonas Smedegaard 
Changed-By: Adrian Bunk 
Closes: 983815
Changes:
 python-crc32c (2.2-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Fix baseline violation on amd64/arm64/i386 and FTBFS on armhf
 if built on 64bit hardware. (Closes: #983815)
Checksums-Sha1:
 c7a1f810b59c40871078bb50e21311731e3f6441 1957 python-crc32c_2.2-1.1.dsc
 e8cadc8c2ad7f8851b3d791a97e737fc75db9443 4668 
python-crc32c_2.2-1.1.debian.tar.xz
Checksums-Sha256:
 c79e05fa2727d99a7c961f91037ae046e140c55511ff93a27d7113e143e5b010 1957 
python-crc32c_2.2-1.1.dsc
 1265ba96efdfeceecf930e539124d811f5b58978ddb6e04887d1b20e92d59437 4668 
python-crc32c_2.2-1.1.debian.tar.xz
Files:
 981dd591139216f5d4c6f557b74403b9 1957 python optional python-crc32c_2.2-1.1.dsc
 0707389f083a32559b9eca755a8c2784 4668 python optional 
python-crc32c_2.2-1.1.debian.tar.xz

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmCD0xkACgkQiNJCh6LY
mLEiTQ/6Av41YDZUo87tHWkqxzEO8sqdwWaqGrXwGQRfQj5VULW3c9u3DrjjUm91
2oHTsSDSqrjy/UOR0S+yLz2MhEvPu2rpvjoY8Pt7dIQq591Zg3QETguaKPCrGWmU
N/5/zmQ3QvSGpD7L3L84wSTlYbmFozNp2nqXRCOsbSApKQGambZiFO+e9jbDV/uR
rSEgkvNdAW1ZiMrF1kga8rfiK0cPrcp9I/n0YSN1JvCzD4wnxwi0qk0SzFUlwZFO
zZiZ2X0ifZtryeAvqh3TAKsaCnwca1maHgwP+0OySCGySXLyFyAhtTQ1cVr/uNKd
qQ0DWeZtSHtcMzE5gpkJuIkkeqlzMmqY9LOcfmyWYdHjJL6OuY1dvp2yZIqGV4wR
t3X2yFx7Snx0wKo50+PSoO8JzfuLd9K7u0DqNpSJd48B+olyIuk32WYukSKWygcq
eSUU+DETrBm7oRZBudzFBd/4Eklk6qGah8ASnafDFzNJeT1OXso4wan2/kPkq7eh
YsI4YVq71Z/C3uKzOjwEKPvmWFrXAubJW1e05M6sZ3mtX3lJwzxy/D+HhhR5tPIk
4eD7sL8wPZeVLaAuvF99U9eYmhL8AO7Wk7nFoGKDllqN+H1q7jr003IKvKrbgQyY
AV9M33LNDKORx27WkkTH+0rXgJ9nHbskAWnKgsZ+qjJziPyi+iI=
=ekFR
-END PGP SIGNATURE End Message ---