[Bug 234895] mail/fetchmail : fetchmail-6.3.26_10 fails at configure stage if Kerberos is not in base system

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jan 12 13:04:22 UTC 2019


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

            Bug ID: 234895
           Summary: mail/fetchmail : fetchmail-6.3.26_10 fails at
                    configure stage if Kerberos is not in base system
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: philippe.michel7 at sfr.fr
                CC: chalpin at cs.wisc.edu
                CC: chalpin at cs.wisc.edu
             Flags: maintainer-feedback?(chalpin at cs.wisc.edu)

Building fetchmail-6.3.26_10 with WITHOUT_KERBEROS=true fails at configure
stage.

The displayed error message is mostly irrelevant:

checking size of short... configure: error: in
`/usr/ports/mail/fetchmail/work/fetchmail-6.3.26':
configure: error: cannot compute sizeof (short)
See `config.log' for more details

The real issue is in config.log:

configure:8786: cc -o conftest -O2 -pipe -march=sandybridge  -fstack-protector
-
fno-strict-aliasing    -L/usr/local/lib  -fstack-protector  conftest.c -lcrypt
-lkvm -lcom_err >&5
/usr/bin/ld: error: unable to find library -lcom_err
cc: error: linker command failed with exit code 1 (use -v to see invocation)
configure:8786: $? = 1
configure: program exited with status 1

There is a .post-patch: section in the port Makefile that seems to be there to
fix that, but since a patch to configure.ac was added the build apparently
goes:
- patch configure.ac
- fix configure with .post-patch:
- upstream code runs autoconf since configure.ac was changed, and clobbers the
fix to configure

I suppose that what used to be done by .post-patch: directly in configure
should now be done by patching configure.ac some more.

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


More information about the freebsd-ports-bugs mailing list