Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 948461 - x11-wm/xpra-6.0.1-r1 - xpra/.../pam.c: fatal error: pam_misc.h: No such file or directory
Summary: x11-wm/xpra-6.0.1-r1 - xpra/.../pam.c: fatal error: pam_misc.h: No such file ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Benda Xu
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2025-01-20 18:54 UTC by Toralf Förster
Modified: 2025-05-07 12:12 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,21.75 KB, text/plain)
2025-01-20 18:54 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,98.64 KB, application/x-xz)
2025-01-20 18:54 UTC, Toralf Förster
Details
environment (environment,195.09 KB, text/plain)
2025-01-20 18:54 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2025-01-20 18:54 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,33.98 KB, application/x-xz)
2025-01-20 18:54 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,11.49 KB, application/x-xz)
2025-01-20 18:54 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,108.44 KB, application/x-xz)
2025-01-20 18:54 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,40.62 KB, application/x-xz)
2025-01-20 18:54 UTC, Toralf Förster
Details
x11-wm:xpra-6.0.1-r1:20250120-135832.log (x11-wm:xpra-6.0.1-r1:20250120-135832.log,198.86 KB, text/plain)
2025-01-20 18:54 UTC, Toralf Förster
Details
this patch worked for me (xpra_pam.patch,664 bytes, patch)
2025-02-17 12:14 UTC, Alex
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2025-01-20 18:54:43 UTC
too long lines were shrinked:

2025-01-20 13:59:39,033 root INFO creating /var/tmp/portage/x11-wm/xpra-6.0.1-r1/work/xpra-6.0.1_python3.12/build/temp.linux-x86_64-cpython-312/xpra/server/window
2025-01-20 13:59:39,033 root INFO x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DNDEBUG -fPIC -I/usr/include/python3.12 -c xpra/server/window/motion.c -o /var/tmp/portage/x11-wm/xpra-6.0.1-r1/work/xpra-6.0.1_python3.12/build/temp.linux-x86_64-cpython-312/xpra/server/window/
2025-01-20 13:59:40,401 root INFO x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DNDEBUG -fPIC -Ixpra/x11/gtk3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/gio-unix-2.0 -I/usr/includ
2025-01-20 13:59:40,724 root INFO x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -O2 -pipe -march=native -fno-diagnostics-color -DNDEBUG /var/tmp/portage/x11-wm/xpra-6.0.1-r1/work/xpra-6.0.1_python3.12/build/temp.linux-x86_
2025-01-20 13:59:40,781 root INFO building 'xpra.server.pam' extension
2025-01-20 13:59:40,782 root INFO x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DNDEBUG -fPIC -I/usr/include/python3.12 -c xpra/server/pam.c -o /var/tmp/portage/x11-wm/xpra-6.0.1-r1/work/xpra-6.0.1_python3.12/build/temp.linux-x86_64-cpython-312/xpra/server/pam.o -fno-strict
xpra/server/pam.c:1264:10: fatal error: pam_misc.h: No such file or directory
 1264 | #include "pam_misc.h"
      |          ^~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome-20250108-084502

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 19.1.6
llvm-config: 19.1.6
Python 3.12.8
go version go1.23.5 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.71.1
  [2]   rust-bin-1.77.1
  [3]   rust-bin-1.81.0
  [4]   rust-bin-1.84.0
  [5]   rust-1.84.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 3ad3e17020259cfd4759c9a7e7826d2d5d0b696a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Jan 20 12:03:27 2025 +0000

    2025-01-20 12:03:27 UTC

emerge -qpvO =x11-wm/xpra-6.0.1-r1
[ebuild  N    ] x11-wm/xpra-6.0.1-r1  USE="X client crypt cups dbus gstreamer gtk3 jpeg lz4 opengl pulseaudio server sound trayicon udev x264 -avif -brotli -clipboard -csc -cuda -debug -doc -examples -html -ibus -lzo -mdns -minimal -oauth -openh264 -pinentry -qrcode -systemd -test -vpx -webcam -webp -xdg -xinerama" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11" VIDEO_CARDS="-nvidia"
Comment 1 Toralf Förster gentoo-dev 2025-01-20 18:54:44 UTC
Created attachment 917141 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-01-20 18:54:45 UTC
Created attachment 917142 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2025-01-20 18:54:47 UTC
Created attachment 917143 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-01-20 18:54:48 UTC
Created attachment 917144 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-01-20 18:54:49 UTC
Created attachment 917145 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-01-20 18:54:50 UTC
Created attachment 917146 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-01-20 18:54:51 UTC
Created attachment 917147 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2025-01-20 18:54:52 UTC
Created attachment 917148 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2025-01-20 18:54:53 UTC
Created attachment 917149 [details]
x11-wm:xpra-6.0.1-r1:20250120-135832.log
Comment 10 Alex 2025-02-17 12:14:50 UTC
Created attachment 919132 [details, diff]
this patch worked for me
Comment 11 Luke-Jr 2025-03-17 03:44:01 UTC
This was caused by https://github.com/linux-pam/linux-pam/commit/941bfc1de4c8d4963c8b9d63d32fed391f1476c8 in PAM 1.7.0. According to this, the #include should include the security/ path, so Alex's fix is the correct solution (and not merely a workaround).
Comment 12 Tamas Jantvik 2025-04-04 13:31:15 UTC
The patch works for me as well.
Comment 13 Fabio Rossi 2025-04-05 13:32:23 UTC
besides the patch, shouldn't the ebuild be fixed by adding DEPEND on sys-libs/pam?