[Bug 214161] net/freebsd-uucp: Using "PAM" option make port build fail

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 3 10:20:55 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214161

            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 at FreeBSD.org
          Reporter: ag-freebsd at muc.de
          Assignee: dinoex at FreeBSD.org
             Flags: maintainer-feedback?(dinoex at FreeBSD.org)

Created attachment 176586
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=176586&action=edit
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=\"/usr/local\"
-DUSE_PAM_NEW -DUSE_PAM -std=gnu99 -fstack-protector-strong -Qunused-arguments 
-fstack-protector -o uucpd uucpd.o  -lcrypt -lutil 
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/uucpd
===> Compilation failed unexpectedly.


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

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


More information about the freebsd-ports-bugs mailing list