pycryptodome: Baseline violation on i386 and test FTBFS on !x86

Bug #2039968 reported by Benjamin Drung
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pycryptodome (Debian)
Fix Released
Unknown
pycryptodome (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

pycryptodome 3.18.0+dfsg1-1 fails to build on non-x86 architectures:

```
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/test'
[ 1%] Building C object CMakeFiles/mont.dir/<<PKGBUILDDIR>>/src/mont.c.o
cc: error: unrecognized command-line option ‘-mssse3’
cc: error: unrecognized command-line option ‘-mpclmul’
cc: error: unrecognized command-line option ‘-maes’
make[4]: *** [CMakeFiles/mont.dir/build.make:76: CMakeFiles/mont.dir/<<PKGBUILDDIR>>/src/mont.c.o] Error 1
```

Full log: https://launchpadlibrarian.net/683921965/buildlog_ubuntu-mantic-arm64.pycryptodome_3.18.0+dfsg1-1_BUILDING.txt.gz

Changed in pycryptodome (Debian):
status: Unknown → New
Revision history for this message
Benjamin Drung (bdrung) wrote :

The ssse3 and aes build options can be disabled by calling cmake with `-DSSE=OFF -DAESNI=OFF`, but `-mstackrealign` is hardcoded.

Revision history for this message
Benjamin Drung (bdrung) wrote :
Changed in pycryptodome (Debian):
status: New → Confirmed
Revision history for this message
Benjamin Drung (bdrung) wrote :

https://github.com/Legrandin/pycryptodome/issues/774 was fixed upstream in the master branch (it's not fixed in 3.19.1).

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pycryptodome - 3.20.0+dfsg-1

---------------
pycryptodome (3.20.0+dfsg-1) unstable; urgency=medium

  * Team upload.
  * New upstream release (Closes: #1056436)
    - C unit tests also run on non-x86 architectures
      (Closes: #1053328, LP: #2039968)
  * Drop patches applied upstream

 -- Benjamin Drung <email address hidden> Thu, 11 Jan 2024 14:32:40 +0100

Changed in pycryptodome (Ubuntu):
status: New → Fix Released
Benjamin Drung (bdrung)
tags: removed: update-excuse
Changed in pycryptodome (Debian):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.