Package: python-bcrypt Version: 3.1.7-4 Severity: important Tags: patch User: debian-h...@lists.debian.org User-tags: hurd
Hello, python-bcrypt is currently disabled on hurd-any, thus making other reverse-depends non-buildable. The attach patch fixes the build, and patch2 re-enables the build. Samuel -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'proposed-updates'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.9.0-3-amd64 (SMP w/8 CPU threads) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages python-bcrypt depends on: ii libc6 2.31-5 pn python <none> pn python-cffi-backend-api-max <none> pn python-cffi-backend-api-min <none> pn python-six <none> python-bcrypt recommends no packages. python-bcrypt suggests no packages. -- Samuel <c> xlnt comme sujet de stage je peux essayer de donner une description formelle de automake -+- #ens-mim -+-
Index: python-bcrypt-3.1.7/src/_csrc/portable_endian.h =================================================================== --- python-bcrypt-3.1.7.orig/src/_csrc/portable_endian.h +++ python-bcrypt-3.1.7/src/_csrc/portable_endian.h @@ -13,7 +13,7 @@ #endif -#if defined(__linux__) || defined(__CYGWIN__) +#if defined(__linux__) || defined(__CYGWIN__) || defined (__GNU__) /* Define necessary macros for the header to expose all fields. */ # if !defined(_BSD_SOURCE) # define _BSD_SOURCE
--- debian/control.original 2020-12-07 08:56:14.000000000 +0000 +++ debian/control 2020-12-07 08:56:15.000000000 +0000 @@ -16,7 +16,7 @@ Vcs-Browser: https://salsa.debian.org/python-team/packages/python-bcrypt Package: python3-bcrypt -Architecture: linux-any kfreebsd-any +Architecture: any Depends: ${python3:Depends}, ${misc:Depends}, ${shlibs:Depends} Description: password hashing library for Python 3 bcrypt is a Python module which provides a password hashing method based on