Search Criteria
Package Details: pam-python-git r31.9641aa5-5
Package Actions
| Git Clone URL: | https://aur.archlinux.org/pam-python-git.git (read-only, click to copy) |
|---|---|
| Package Base: | pam-python-git |
| Description: | Python for PAM (py3 fork) |
| Upstream URL: | https://github.com/castlabs/pam-python |
| Licenses: | GNU Affero General Public License |
| Conflicts: | pam-python |
| Provides: | pam-python |
| Submitter: | postblue |
| Maintainer: | postblue |
| Last Packager: | postblue |
| Votes: | 3 |
| Popularity: | 0.150754 |
| First Submitted: | 2022-09-26 09:46 (UTC) |
| Last Updated: | 2026-05-13 08:02 (UTC) |
Dependencies (6)
- pam (pam-selinuxAUR)
- python
- git (git-gitAUR, git-glAUR, git-wd40AUR) (make)
- make (make-gitAUR, make-staticAUR) (make)
- python-setuptools (make)
- python-sphinx (python-sphinx-gitAUR) (make)
Required by (1)
- sirfidal-git (requires pam-python)
Latest Comments
acrilic commented on 2026-05-12 10:26 (UTC)
The package currently fails to compile on GCC 15+ due to a trivial discarded-qualifier warning (
const char *tochar *instrrchr) being escalated to a fatal error by the hardcoded-Werrorflag in the upstream Makefile.Error snippet: pam_python.c:2234:20: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] cc1: all warnings being treated as errors
To fix this for modern toolchains, please add a
sedpatch to theprepare()function in the PKGBUILD to strip-Werrorfrom the CFLAGS in the Makefile.Proposed modification to PKGBUILD:
prepare() { cd "$srcdir/$_pkgname" # Strip -Werror to allow compilation on GCC 15+ sed -i 's/-Werror //g' src/Makefile }
This allows the package to build cleanly without requiring an upstream C-code rewrite.
RubenKelevra commented on 2024-08-01 15:56 (UTC)
Does not build due to missing dependencies.
Please consult the wiki how to check for missing dependencies yourself:
https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot
Raymo111 commented on 2024-06-19 16:40 (UTC) (edited on 2024-06-19 16:44 (UTC) by Raymo111)
The pkgbuild needs to be updated to fix the
deprecated-declarationerrors, by modifying this linesed -i'' 's|LIBDIR ?= /lib/security|LIBDIR ?= /usr/lib/security|g' src/Makefileintosed -i 's|Werror|Werror -Wno-error=deprecated-declarations|;s|LIBDIR ?= /lib/security|LIBDIR ?= /usr/lib/security|g' src/Makefile.To use Howdy,
python-configparserneeds to be installed (AUR package), and the following symlinks also need to be created:sudo ln -s /usr/lib/security/pam_python{3,}.soandsudo ln -s /usr/lib/python3.12/{configparser,ConfigParser}.py.TheHighGroundWin commented on 2024-05-23 12:49 (UTC)
sudo howdy test works, however pam does not seem to start authentication.
mathix commented on 2023-04-06 13:01 (UTC) (edited on 2023-04-06 13:02 (UTC) by mathix)
Not working on my device neither.
I think a simple fix could be to just run
make libto avoid building the docs, as the crash happened during the doc building process.By doing so you can also remove
python-sphinxfrom build dependencies.(tested by cloning manually the fork and running only
make lib)postblue commented on 2022-10-08 15:35 (UTC) (edited on 2022-10-08 15:35 (UTC) by postblue)
I packaged this fork of pam-python because I wanted to use howdy without python2 installed since it was removed from the repositories.
Even if this doesn't work on your device, it's working well on mine so far. You can try using this other fork instead: https://github.com/kageurufu/pam-python
If the problem is due to the packaging, you are welcome to report it here.
If the problem is due to the program itself, please report it to its own bugtracker.
In any case, please provide useful feedback about your use case scenario, which error you are encountering and related journal messages.
wszqkzqk commented on 2022-10-07 02:31 (UTC)
This doesn't work on my device.