* Package: dev-python/pypam-0.5.0-r8 * Repository: gentoo * USE: abi_x86_32 elibc_glibc kernel_linux python_targets_python3_9 userland_GNU x86 * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking PyPAM-0.5.0.tar.gz to /var/tmp/portage/dev-python/pypam-0.5.0-r8/work >>> Source unpacked in /var/tmp/portage/dev-python/pypam-0.5.0-r8/work >>> Preparing source in /var/tmp/portage/dev-python/pypam-0.5.0-r8/work/PyPAM-0.5.0 ... * Applying PyPAM-0.5.0-dealloc.patch ... [ ok ] * Applying PyPAM-0.5.0-nofree.patch ... [ ok ] * Applying PyPAM-0.5.0-memory-errors.patch ... [ ok ] * Applying PyPAM-0.5.0-return-value.patch ... [ ok ] * Applying PyPAM-python3-support.patch ... [ ok ] * Applying pypam-0.5.0-stricter.patch ... patching file PAMmodule.c Hunk #1 succeeded at 11 with fuzz 1 (offset 2 lines). [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/pypam-0.5.0-r8/work/PyPAM-0.5.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/pypam-0.5.0-r8/work/PyPAM-0.5.0 ... * python3_9: running distutils-r1_run_phase distutils-r1_python_compile python3.9 setup.py build -j 40 running build running build_ext creating build/temp.linux-i686-3.9 i686-pc-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -march=i686 -pipe -fwrapv -O2 -march=i686 -pipe -fPIC -I/usr/include/python3.9 -c PAMmodule.c -o build/temp.linux-i686-3.9/PAMmodule.o -std=c99 PAMmodule.c: In function ‘PyPAM_conv’: PAMmodule.c:91:5: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations] 91 | respList = PyEval_CallObject(self->callback, args); | ^~~~~~~~ In file included from /usr/include/python3.9/Python.h:141, from PAMmodule.c:12: /usr/include/python3.9/ceval.h:17:43: note: declared here 17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ creating build/lib.linux-i686-3.9 i686-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -march=i686 -pipe build/temp.linux-i686-3.9/PAMmodule.o -L/usr/lib -lpam -lpam_misc -o build/lib.linux-i686-3.9/PAM.cpython-39-i386-linux-gnu.so * Building the wheel for PyPAM-0.5.0 via setuptools.build_meta:__legacy__ running bdist_wheel running build running build_ext running install running install_lib creating build/bdist.linux-i686/wheel warning: install_lib: byte-compiling is disabled, skipping. running install_egg_info running egg_info creating PyPAM.egg-info writing manifest file 'PyPAM.egg-info/SOURCES.txt' listing git files failed - pretending there aren't any writing manifest file 'PyPAM.egg-info/SOURCES.txt' Copying PyPAM.egg-info to build/bdist.linux-i686/wheel/PyPAM-0.5.0-py3.9.egg-info running install_scripts * Installing the wheel to /var/tmp/portage/dev-python/pypam-0.5.0-r8/work/PyPAM-0.5.0-python3_9/install python3.9 setup.py clean -a running clean removing 'build/temp.linux-i686-3.9' (and everything under it) removing 'build/lib.linux-i686-3.9' (and everything under it) removing 'build/bdist.linux-i686' (and everything under it) 'build/scripts-3.9' does not exist -- can't clean it >>> Source compiled. >>> Test phase: dev-python/pypam-0.5.0-r8 * python3_9: running distutils-r1_run_phase python_test /var/tmp/portage/dev-python/pypam-0.5.0-r8/temp/environment: line 3037: 70 Segmentation fault (core dumped) "${EPYTHON}" tests/PamTest.py * ERROR: dev-python/pypam-0.5.0-r8::gentoo failed (test phase): * (no error message)
Portage 3.0.30 (python 3.9.9-final-0, default/linux/x86/17.0/systemd, gcc-11.2.0, glibc-2.34-r8, 5.10.68-gentoo-dist i686) ================================================================= System uname: Linux-5.10.68-gentoo-dist-i686-Common_KVM_processor-with-glibc2.34 KiB Mem: 65850752 total, 43941688 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sun, 13 Feb 2022 21:30:02 +0000 Head commit of repository gentoo: ef91db547faf8c3670f48417acfaec3a0df80572 sh bash 5.1_p16 ld GNU ld (Gentoo 2.37_p1 p0) 2.37 app-misc/pax-utils: 1.3.3::gentoo app-shells/bash: 5.1_p16::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.0-r6::gentoo dev-lang/python: 2.7.18_p13::gentoo, 3.8.12_p1-r1::gentoo, 3.9.9-r1::gentoo, 3.10.0_p1-r1::gentoo dev-lang/rust: 1.58.1::gentoo dev-lang/rust-bin: 1.58.1::gentoo dev-util/cmake: 3.22.2::gentoo dev-util/meson: 0.60.3::gentoo sys-apps/baselayout: 2.7-r3::gentoo sys-apps/sandbox: 2.25::gentoo sys-apps/systemd: 250.2::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.71-r1::gentoo sys-devel/automake: 1.16.4::gentoo sys-devel/binutils: 2.37_p1::gentoo sys-devel/binutils-config: 5.4::gentoo sys-devel/clang: 13.0.0::gentoo sys-devel/gcc: 11.2.0::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/llvm: 13.0.0::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/glibc: 2.34-r8::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--jobs 20" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -march=i686 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -march=i686 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j40 -l40" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" SHELL="/bin/bash" USE="X acl bzip2 cli crypt dri eglfs fortran gdbm iconv ipv6 libglvnd libtirpc ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl systemd udev unicode x86 xattr zlib" ABI_X86="32" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
(reproduced on amd64 too so not an isolated x86 case)
Does it still happen with dev-python/pypam-0.5.0-r8? It's blocking a security stabilization.
I can't reproduce
(In reply to Michał Górny from comment #4) > I can't reproduce Me neither.
I've unblocked the bug so other arch testers can stabilize if it works for them given we can't reliably reproduce the issue.
(I'd like to debug this more, but unfortunately I don't have time to do it now)
Fails on devbox amd64 chroot but passes locally.
(In reply to Sam James from comment #8) > Fails on devbox amd64 chroot but passes locally. Fedora removed this and only xen-tools + cinnamon depend on it. Is the dep avoidable somehow? Upstream is dead.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3093cd59db9df1003d27fec7700a2cd758528221 commit 3093cd59db9df1003d27fec7700a2cd758528221 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-05-02 01:09:47 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-05-02 01:10:51 +0000 gnome-extra/cinnamon: switch to dev-python/python-pam dev-python/pypam is unmaintained upstream and has unexplained test failures. Upstream Cinnamon uses python-pam and only falls back to pypam anyway. Bug: https://bugs.gentoo.org/833297 Thanks-to: Douglas Freed <dwfreed@mtu.edu> Signed-off-by: Sam James <sam@gentoo.org> gnome-extra/cinnamon/cinnamon-5.2.7-r3.ebuild | 186 ++++++++++++++++++++++++++ 1 file changed, 186 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9849bd493d33c67d92fcd522a98be763c93ca929 commit 9849bd493d33c67d92fcd522a98be763c93ca929 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-05-02 01:08:34 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-05-02 01:08:34 +0000 dev-python/python-pam: new package, add 2.0.2 Bug: https://bugs.gentoo.org/833297 Signed-off-by: Sam James <sam@gentoo.org> dev-python/python-pam/Manifest | 1 + dev-python/python-pam/metadata.xml | 13 +++++++++++++ dev-python/python-pam/python-pam-2.0.2.ebuild | 18 ++++++++++++++++++ 3 files changed, 32 insertions(+)
(In reply to Sam James from comment #9) > (In reply to Sam James from comment #8) > > Fails on devbox amd64 chroot but passes locally. > > Fedora removed this and only xen-tools + cinnamon depend on it. Is the dep > avoidable somehow? Upstream is dead. dwfreed's looked upstream and looks like xen-tools doesn't use it anymore. hydrapolic, can you verify & drop if so?
(In reply to Sam James from comment #8) > Fails on devbox amd64 chroot but passes locally. Partial bt: """ Program received signal SIGSEGV, Segmentation fault. _dl_close (_map=0x0) at dl-close.c:856 856 if (__glibc_unlikely (map->l_nodelete_active)) (gdb) bt #0 _dl_close (_map=0x0) at dl-close.c:856 #1 0x00007ffff7b625a0 in __GI__dl_catch_exception (exception=exception@entry=0x7fffffffba70, operate=<optimized out>, args=<optimized out>) at /usr/src/debug/sys-libs/glibc-2.34-r10/glibc-2.34/elf/dl-error-skeleton.c:208 #2 0x00007ffff7b6265f in __GI__dl_catch_error (objname=0x7fffffffbac8, errstring=0x7fffffffbad0, mallocedp=0x7fffffffbac7, operate=<optimized out>, args=<optimized out>) at /usr/src/debug/sys-libs/glibc-2.34-r10/glibc-2.34/elf/dl-error-skeleton.c:227 #3 0x00007ffff7a95e56 in _dlerror_run (operate=<optimized out>, args=<optimized out>) at dlerror.c:138 #4 0x00007ffff7a95b94 in __dlclose (handle=<optimized out>) at dlclose.c:31 #5 0x00007ffff7fb94f8 in PyPAM_dealloc (self=0x7ffff70e0b20) at PAMmodule.c:572 #6 0x00007ffff7c77b22 in _Py_DECREF (op=<optimized out>) at ./Include/object.h:430 #7 frame_dealloc (f=Frame 0x7ffff70f0200, for file /var/tmp/portage/dev-python/pypam-0.5.0-r8/work/PyPAM-0.5.0/tests/PamTest.py, line 19, in testConstructor ()) at Objects/frameobject.c:582 #8 0x00007ffff7c77a78 in _Py_DECREF (op=Frame 0x7ffff70f0200, for file /var/tmp/portage/dev-python/pypam-0.5.0-r8/work/PyPAM-0.5.0/tests/PamTest.py, line 19, in testConstructor ()) at ./Include/object.h:430 #9 function_code_fastcall (tstate=0x55555555b900, co=<optimized out>, args=<optimized out>, nargs=1, globals=<optimized out>) at Objects/call.c:338 #10 0x00007ffff7cc3f78 in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=1, args=0x7ffff70cfb78, callable=<function at remote 0x7ffff721c820>, tstate=0x55555555b900) at ./Include/cpython/abstract.h:118 #11 method_vectorcall (method=<optimized out>, args=0x7ffff70cfb80, nargsf=<optimized out>, kwnames=0x0) at Objects/classobject.c:53 #12 0x00007ffff7c7e2cf in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=<optimized out>, args=0x7ffff70cfb80, callable=<method at remote 0x7ffff70e8d80>, tstate=0x55555555b900) at ./Include/cpython/abstract.h:118 """
(In reply to Sam James from comment #11) > (In reply to Sam James from comment #9) > > (In reply to Sam James from comment #8) > > > Fails on devbox amd64 chroot but passes locally. > > > > Fedora removed this and only xen-tools + cinnamon depend on it. Is the dep > > avoidable somehow? Upstream is dead. > > dwfreed's looked upstream and looks like xen-tools doesn't use it anymore. > hydrapolic, can you verify & drop if so? That lines up with my previous poking around in Bug 802927 Comment 11.
Thank you. I've really wanted to see this package gone but it didn't occur to me that the revdeps would be wrong.
(In reply to Sam James from comment #11) > (In reply to Sam James from comment #9) > > (In reply to Sam James from comment #8) > > > Fails on devbox amd64 chroot but passes locally. > > > > Fedora removed this and only xen-tools + cinnamon depend on it. Is the dep > > avoidable somehow? Upstream is dead. > > dwfreed's looked upstream and looks like xen-tools doesn't use it anymore. > hydrapolic, can you verify & drop if so? I've just checked and it really seems pypam is not needed anymore. However qemu-xen checks for pam so I've replaced dev-python/pypam with sys-libs/pam for USE=qemu.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0828d17d30acd44d5843198fa4b5a935a2c6d897 commit 0828d17d30acd44d5843198fa4b5a935a2c6d897 Author: Tomáš Mózes <hydrapolic@gmail.com> AuthorDate: 2022-05-03 18:33:31 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-05-03 18:41:17 +0000 app-emulation/xen-tools: replace dev-python/pypam with sys-libs/pam It was discovered that pypam is no longer needed for xen-tools. Upstream is dead anyway. Qemu-xen checks for pam, so we add a dep on sys-libs/pam for USE=qemu. Bug: https://bugs.gentoo.org/833297 Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/25302 Signed-off-by: Sam James <sam@gentoo.org> app-emulation/xen-tools/xen-tools-4.15.2-r1.ebuild | 5 ++--- app-emulation/xen-tools/xen-tools-4.16.0-r3.ebuild | 11 ++++++----- 2 files changed, 8 insertions(+), 8 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f855812266e565d2eb56b0f57565d56467a437dc commit f855812266e565d2eb56b0f57565d56467a437dc Author: Sam James <sam@gentoo.org> AuthorDate: 2022-05-03 18:42:08 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-05-03 18:42:20 +0000 app-emulation/xen-tools: revbump for dropping pypam Fixes: 0828d17d30acd44d5843198fa4b5a935a2c6d897 Bug: https://bugs.gentoo.org/833297 Signed-off-by: Sam James <sam@gentoo.org> .../xen-tools/{xen-tools-4.15.2-r1.ebuild => xen-tools-4.15.2-r2.ebuild} | 0 .../xen-tools/{xen-tools-4.16.0-r3.ebuild => xen-tools-4.16.0-r4.ebuild} | 0 2 files changed, 0 insertions(+), 0 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e063359031eac56cf530a41e9991a9d046d248bd commit e063359031eac56cf530a41e9991a9d046d248bd Author: Sam James <sam@gentoo.org> AuthorDate: 2022-05-28 02:04:47 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-05-28 02:05:00 +0000 profiles: last-rite dev-python/pypam Bug: https://bugs.gentoo.org/833297 Bug: https://bugs.gentoo.org/802927 Signed-off-by: Sam James <sam@gentoo.org> profiles/package.mask | 6 ++++++ 1 file changed, 6 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fca437485e58a32d6d3ece361d8a528f00aa8d82 commit fca437485e58a32d6d3ece361d8a528f00aa8d82 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-30 22:20:49 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-30 22:20:58 +0000 dev-python/pypam: treeclean Bug: https://bugs.gentoo.org/802927 Bug: https://bugs.gentoo.org/833297 Signed-off-by: Sam James <sam@gentoo.org> dev-python/pypam/Manifest | 1 - dev-python/pypam/files/PyPAM-0.5.0-dealloc.patch | 17 -- .../pypam/files/PyPAM-0.5.0-memory-errors.patch | 128 ------------- dev-python/pypam/files/PyPAM-0.5.0-nofree.patch | 60 ------- .../pypam/files/PyPAM-0.5.0-return-value.patch | 57 ------ dev-python/pypam/files/PyPAM-python3-support.patch | 198 --------------------- dev-python/pypam/files/pypam-0.5.0-stricter.patch | 15 -- dev-python/pypam/metadata.xml | 5 - dev-python/pypam/pypam-0.5.0-r6.ebuild | 45 ----- dev-python/pypam/pypam-0.5.0-r7.ebuild | 45 ----- dev-python/pypam/pypam-0.5.0-r8.ebuild | 40 ----- profiles/package.mask | 6 - 12 files changed, 617 deletions(-)
Removed.