From nobody Sun Mar 03 22:59:50 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Tny2Z32D0z5CV4V for ; Sun, 3 Mar 2024 22:59:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tny2Z1dqCz4SZV for ; Sun, 3 Mar 2024 22:59:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709506790; a=rsa-sha256; cv=none; b=XgH3wuqgNPq3foqRG2MlmMhcz5nAn3G1kWv8fVwHJ9M6edcs/emjF2svBTaHwG0EcuQC2n W30GhAucRkxCRzmnnOk1Fo/kCIVPjZoToKjTtU2LQPBh4N5Ky/4TU59AGYDXX7GQTywCtE 5OtGWSlU8QaLSzFiM35K5ywYgd1KwU0PeOQlXjK9uWVI03sUfAV/Vg1e+l8BUD6Vbuj7g5 NAWfN/Il81UxYhabuTEgTl9KXruu/9/zOHpL3TTp6bpsqsvHez+YXeniexpr0Ak6N/bcIP uJuwNdCBNCZjv06vUhQVHaShl25KyVdZ+1G9ESAwxO7R46ES1qgckNB/RVKjMQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709506790; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=aMkuCLsvWEEii22ILzQh3tYmQAKjNjPGVepVzQSMa/o=; b=C9jlI9qCu3UexwjCzcSj4zsEauj68j89jpGwcL7Lf1ZlSpnKh9o31L9lUg52FiegecXCaZ +KY9m/taxR3sfAPPNKh3WQuMAfO2uwmbFUyg52KnZFJD+3Opu9aeFnhr+3ONn7w2uN75t8 +gR5pna2jHSXv30TrA8hPDkkqIH9V0UaAAaNXPoSFsOYUb/QaHOYM9JaTcl1hPgvrwh1xo FlqN6ZzhAhOW2XAvUvEJ+3pdwK/ly5ayw5XosA46cvk4rNKp5DWIndmuijDDLVUCK7SZV7 MB+uMkCLq5CdfEz2OwtZmGuOpDD2dpIaZBsiTGBJCmSRW5xP9tqJn2KfF01ynQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Tny2Z13MWzxjb for ; Sun, 3 Mar 2024 22:59:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 423Mxomx091624 for ; Sun, 3 Mar 2024 22:59:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 423MxoWl091617 for bugs@FreeBSD.org; Sun, 3 Mar 2024 22:59:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 277462] lib/libpam: build error: "LDADD_pam is recursive" in NO_SHARED= build Date: Sun, 03 Mar 2024 22:59:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: me@svmhdvn.name X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277462 Bug ID: 277462 Summary: lib/libpam: build error: "LDADD_pam is recursive" in NO_SHARED=3D build Product: Base System Version: 14.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: me@svmhdvn.name When building FreeBSD stable/14 HEAD using NO_SHARED=3D, I run into make er= rors like the following on all subdirs that depend on PAM through "LIBADD+=3D pa= m": Variable LDADD_pam is recursive.=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 in /usr/local/poudriere/jails/poudriere_stable14_MYN100M/usr/src/share/mk/bsd.= libnames.mk:178=20 in /usr/local/poudriere/jails/poudriere_stable14_MYN100M/usr/src/share/mk/bsd.= prog.mk:269=20 in /usr/local/poudriere/jails/poudriere_stable14_MYN100M/usr/src/secure/usr.sb= in/sshd/Makefile:70=20 make[5]: stopped in /usr/local/poudriere/jails/poudriere_stable14_MYN100M/usr/src/secure/usr.sb= in/sshd I see that the reason is due to libpam depending on libpam_modules, which in turn depends on libpam. @bdrewery This commit[0] removes the old logic of hacking around this case.= How can I do a successful base system build with NO_SHARED=3D ? [0] https://cgit.freebsd.org/src/commit/lib/libpam/modules/Makefile.inc?id=3D7c= bd0a2953a27e74f8b1b261808068719c1f5260 --=20 You are receiving this mail because: You are the assignee for the bug.=