Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jan 2019 13:04:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 234895] mail/fetchmail : fetchmail-6.3.26_10 fails at configure stage if Kerberos is not in base system
Message-ID:  <bug-234895-7788@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: philippe.michel7@sfr.fr
                CC: chalpin@cs.wisc.edu
                CC: chalpin@cs.wisc.edu
             Flags: maintainer-feedback?(chalpin@cs.wisc.edu)

Building fetchmail-6.3.26_10 with WITHOUT_KERBEROS=3Dtrue 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=3Dsandybridge  -fstack-prot=
ector
-
fno-strict-aliasing    -L/usr/local/lib  -fstack-protector  conftest.c -lcr=
ypt
-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: $? =3D 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.

--=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-234895-7788>