Package Details: pam-python 1.0.8-3

Git Clone URL: https://aur.archlinux.org/pam-python.git (read-only, click to copy)
Package Base: pam-python
Description: Python for PAM
Upstream URL: http://pam-python.sourceforge.net/
Licenses: GNU Affero General Public License
Submitter: kageurufu
Maintainer: komex (renyuneyun)
Last Packager: komex
Votes: 7
Popularity: 0.000000
First Submitted: 2019-10-24 16:27 (UTC)
Last Updated: 2021-08-10 08:46 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

komex commented on 2022-04-11 08:50 (UTC)

Hi, @echizenryoma. How are you going to do this? In source code changelog there is a record about python-3: New: Move towards python3 support (http://pam-python.sourceforge.net/ChangeLog.txt). And there are not new changes in code. Also, there is a a ticket about problems with python3 (https://sourceforge.net/p/pam-python/tickets/11/) and an open issue with the same problems (https://sourceforge.net/p/pam-python/tickets/5/)

echizenryoma commented on 2022-04-09 12:32 (UTC)

@komex I hope to apply to update this package to Python-3.10. May you add me to the Maintainer list?

komex commented on 2022-03-07 10:43 (UTC)

Hi, @goetzc. I don't think it's a good idea to break current packages relations by patching original code. Let's wait author reaction and if ticket will be closed with applied patch, I will update code here.

g360 commented on 2022-03-06 18:39 (UTC) (edited on 2022-03-06 18:39 (UTC) by g360)

This looks to be useful patch to build with Python 3 dependency instead of Python 2:

https://sourceforge.net/p/pam-python/tickets/11/attachment/pam-python3-3.9.1.diff

From: https://sourceforge.net/p/pam-python/tickets/11/

komex commented on 2022-01-07 13:08 (UTC)

Hi, @alvitawa. It looks like there aren't installed some packages (like base-devel or something else) on your arch. You may google this error.

alvitawa commented on 2022-01-07 11:52 (UTC)

I am getting this error when I try to install:

In file included from /usr/include/link.h:23,
                 from ctest.c:14:
/usr/include/features.h:473:12: fatal error: sys/cdefs.h: No such file or directory
  473 | #  include <sys/cdefs.h>
      |            ^~~~~~~~~~~~~

Does this have something to do with the python 3.10 upgrade?

komex commented on 2021-09-27 08:55 (UTC)

Hi, @tom. It looks like a problem on your arch. I am sure that if you build package from source manually, you will have the same error. Try to search solutions in Google.

tom commented on 2021-09-24 21:17 (UTC) (edited on 2021-09-24 21:18 (UTC) by tom)

$ yay -S pam-python

gives me the same error:

... mkdir -p /home/mkgkris/.cache/yay/pam-python/pkg/pam-python/usr/lib/security cp build/lib.*/pam_python.so /home/mkgkris/.cache/yay/pam-python/pkg/pam-python/usr/lib/security make[1]: Verzeichnis „/home/mkgkris/.cache/yay/pam-python/src/pam-python-1.0.8/src“ wird verlassen ==> Säubere Installation... -> Entferne libtool Dateien... -> Bereinige ungewollte Dateien... -> Entferne statische Bibliotheken... -> Entferne unnötige Symbole aus Binär-Dateien und Bibliotheken... error making: pam-python

and:

$ ls -lrt ~/.cache/yay/pam-python/ insgesamt 52 -rw-r--r-- 1 1061 24. Sep 23:13 PKGBUILD -rw-r--r-- 1 48190 24. Sep 23:13 pam-python-1.0.8.tar.gz drwxr-xr-x 1 78 24. Sep 23:13 src drwxr-xr-x 1 20 24. Sep 23:14 pkg

this is on

              ooo:                     --------------- 
              yoooo/                    OS: ArcoLinux 
             yooooooo                   Kernel: 5.14.2-arch1-2 
            yooooooooo                  Uptime: 11 days, 12 hours, 13 mins 
           yooooooooooo                 Packages: 2307 (pacman) 
         .yooooooooooooo                Shell: bash 4.3.0 
        .oooooooooooooooo               Resolution: 1920x1080 
       .oooooooarcoooooooo              DE: Xfce 4.16 
      .ooooooooo-oooooooooo             WM: Xfwm4 
     .ooooooooo-  oooooooooo            WM Theme: Arc-Dark 
    :ooooooooo.    :ooooooooo           Theme: Arc-Dark [GTK2/3] 
   :ooooooooo.      :ooooooooo          Icons: Adwaita [GTK2], Sardi-Arc [GTK3] 
  :oooarcooo         .oooarcooo         Terminal: guake 
 :ooooooooy           .ooooooooo        CPU: Intel i7-3520M (4) @ 3.600GHz 
:ooooooooo   /ooooooooooooooooooo       GPU: Intel 3rd Gen Core processor Graphics Controller

:ooooooooo .-ooooooooooooooooo. Memory: 11443MiB / 15867MiB ooooooooo- -ooooooooooooo. ooooooooo- .-oooooooooo.
ooooooooo. -ooooooooo

komex commented on 2021-09-23 10:14 (UTC)

Hi, @tom. This error is very strange. I have just tried to build package in archlinux docker and have no error. May be you have changed something in PKGBUILD file? I recommend you to use yay (https://github.com/Jguer/yay) for manage aur packages. Just type yay -S pam-python

tom commented on 2021-09-20 15:34 (UTC)

error making: pam-python

can't find out why...

$ makepkg ==> Erstelle Paket: pam-python 1.0.8-3 (Mo 20 Sep 2021 17:32:04 CEST) ==> Prüfe Laufzeit-Abhängigkeiten... ==> Prüfe Buildtime-Abhängigkeiten... ==> Empfange Quellen... -> pam-python-1.0.8.tar.gz gefunden ==> Überprüfe source Dateien mit sha256sums... pam-python-1.0.8.tar.gz ... Erfolg ==> Entpacke Quellen... -> Entpacke pam-python-1.0.8.tar.gz mit bsdtar ==> Beginne prepare()... ==> Entferne existierendes $pkgdir/ Verzeichnis... ==> Beginne build()... make --directory doc make[1]: Verzeichnis „/home/mkgkris/.cache/yay/pam-python/src/pam-python-1.0.8/doc“ wird betreten sphinx-build -b html -E . html Sphinx v4.2.0 in Verwendung loading intersphinx inventory from http://docs.python.org/2.7/objects.inv... intersphinx inventory has moved: http://docs.python.org/2.7/objects.inv -> https://docs.python.org/2.7/objects.inv building [mo]: targets for 0 po files that are out of date building [html]: targets for 1 source files that are out of date updating environment: [new config] 1 added, 0 changed, 0 removed reading sources... [100%] pam_python
looking for now-outdated files... none found pickling environment... erledigt checking consistency... erledigt preparing documents... erledigt writing output... [100%] pam_python
generating indices... genindex erledigt writing additional pages... search erledigt copying static files... erledigt copying extra files... erledigt dumping search index in English (code: en)... erledigt dumping object inventory... erledigt build abgeschlossen.

The HTML pages are in html. rm -f html/index.html && ln -s pam_python.html html/index.html make[1]: Verzeichnis „/home/mkgkris/.cache/yay/pam-python/src/pam-python-1.0.8/doc“ wird verlassen make --directory src make[1]: Verzeichnis „/home/mkgkris/.cache/yay/pam-python/src/pam-python-1.0.8/src“ wird betreten gcc -O0 -Wall -Wextra -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Werror -g -o ctest ctest.c -lpam CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wall -Wextra -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Werror -I/usr/local/lib/ " ./setup.py build --debug /usr/lib/python2.7/site-packages/packaging/version.py:130: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release DeprecationWarning, running build running build_ext building 'pam_python' extension creating build creating build/temp.linux-x86_64-2.7 gcc -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wall -Wextra -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Werror -I/usr/local/lib/ -fPIC -g -DLIBPYTHON_SO="libpython2.7.so.1.0" -I/usr/include/python2.7 -c pam_python.c -o build/temp.linux-x86_64-2.7/pam_python.o creating build/lib.linux-x86_64-2.7 gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wall -Wextra -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Werror -I/usr/local/lib/ -g build/temp.linux-x86_64-2.7/pam_python.o -L/usr/lib -lpam -lpython2.7 -lpython2.7 -o build/lib.linux-x86_64-2.7/pam_python.so ln -sf build/lib./pam_python.so . sed "s,\\$PWD,$(pwd),g" "test-pam_python.pam.in" >"test-pam_python.pam.tmp" mv test-pam_python.pam.tmp test-pam_python.pam make[1]: Verzeichnis „/home/mkgkris/.cache/yay/pam-python/src/pam-python-1.0.8/src“ wird verlassen ==> Betrete fakeroot Umgebung... /usr/share/makepkg/util/util.sh: line 49: ${!v@a}: bad substitution /usr/share/makepkg/util/util.sh: line 49: ${!v@a}: bad substitution /usr/bin/makepkg: line 395: local: `-': not a valid identifier ==> Beginne package()... rm -rf pam_python make --directory doc install-doc make[1]: Verzeichnis „/home/mkgkris/.cache/yay/pam-python/src/pam-python-1.0.8/doc“ wird betreten mkdir -p /home/mkgkris/.cache/yay/pam-python/pkg/pam-python/usr/share/doc/pam_python/html cp -a html/ /home/mkgkris/.cache/yay/pam-python/pkg/pam-python/usr/share/doc/pam_python/html mkdir -p /home/mkgkris/.cache/yay/pam-python/pkg/pam-python/usr/share/doc/pam_python/examples cp -a ../examples /home/mkgkris/.cache/yay/pam-python/pkg/pam-python/usr/share/doc/pam_python/. make[1]: Verzeichnis „/home/mkgkris/.cache/yay/pam-python/src/pam-python-1.0.8/doc“ wird verlassen make --directory src install-lib make[1]: Verzeichnis „/home/mkgkris/.cache/yay/pam-python/src/pam-python-1.0.8/src“ wird betreten mkdir -p /home/mkgkris/.cache/yay/pam-python/pkg/pam-python/usr/lib/security cp build/lib.*/pam_python.so /home/mkgkris/.cache/yay/pam-python/pkg/pam-python/usr/lib/security make[1]: Verzeichnis „/home/mkgkris/.cache/yay/pam-python/src/pam-python-1.0.8/src“ wird verlassen ==> Säubere Installation... -> Entferne libtool Dateien... -> Bereinige ungewollte Dateien... -> Entferne statische Bibliotheken... -> Entferne unnötige Symbole aus Binär-Dateien und Bibliotheken...

returncode: 1