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: 6
Popularity: 1.69
First Submitted: 2019-10-24 16:27
Last Updated: 2021-08-10 08:46

Latest Comments

komex commented on 2021-09-27 08:55

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

$ 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

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

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

komex commented on 2021-08-10 08:47

Hi, @boredland. Yes, my mistake. Now it fixed.

boredland commented on 2021-08-09 20:13

you removed the python2 dependency, but in setup.py you have the following header:

#!/usr/bin/python -W default

so I think you need to add python2 as a dependency

renyuneyun commented on 2020-11-28 11:07

The new version (1.0.8) changes its source and therefore can be built without Python2 (and python2-sphinx). The prepare() function in PKGBUILD no longer need to replace all Python with Python2, at least during my build. Basically, I did the following steps:

  1. update to v1.0.8
    1. update package version to 1.0.8 (line 4)
    2. replace source with newer version (line 18)
    3. update the hash (I actually used 'SKIP') (line 20)
  2. remove everything about python 2, and replace with python 3 where necessary
    1. comment out dependency of python2 (line 11)
    2. replace make dependency python2-sphinx with python-sphinx (line 14)
    3. comment out (in prepare()) lines replacing python with python2, as well as sphinx (line 25, 26 & 28)

lgaboury commented on 2020-11-12 20:54

Will not install as the python2-sphinx package it depends on is no longer available.

xuanruiqi commented on 2019-11-19 04:29

Don't forget to update .SRCINFO ;-)

uumas commented on 2019-11-16 20:22

You forgot to update .SRCINFO with the 1.0.7 update.