Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Nov 2016 10:20:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 214161] net/freebsd-uucp:  Using "PAM" option make port build fail
Message-ID:  <bug-214161-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214161

            Bug ID: 214161
           Summary: net/freebsd-uucp:  Using "PAM" option make port build
                    fail
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: dinoex@FreeBSD.org
          Reporter: ag-freebsd@muc.de
          Assignee: dinoex@FreeBSD.org
             Flags: maintainer-feedback?(dinoex@FreeBSD.org)

Created attachment 176586
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D176586&action=
=3Dedit
metadata patch file

When selecting the "use PAM" build option, building "uucpd" fails because
libpam is not linked:

--- uucpd ---
cc -O2 -pipe -fstack-protector -fno-strict-aliasing -DPREFIX=3D\"/usr/local=
\"
-DUSE_PAM_NEW -DUSE_PAM -std=3Dgnu99 -fstack-protector-strong -Qunused-argu=
ments=20
-fstack-protector -o uucpd uucpd.o  -lcrypt -lutil=20
uucpd.o: In function `doit':
uucpd.c:(.text+0x348): undefined reference to `pam_start'
....
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [uucpd] Error code 1

make[3]: stopped in /usr/ports/net/freebsd-uucp/work/freebsd-uucp-r1_07_3/u=
ucpd
=3D=3D=3D> Compilation failed unexpectedly.


The attached patch sets the make variable MINUSLPAM so uucpd is successfully
linked.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214161-13>