[Bug 220000] mail/fetchmail placement of CONFIGURE_ARGS is significant

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jun 15 07:32:50 UTC 2017


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

--- Comment #2 from dewayne at heuristicsystems.com.au ---
(In reply to Corey Halpin from comment #1)
Hi Corey,
My apologies, I usually provide most of the details required.

1. Env: # uname -aKU
FreeBSD hathor 11.1-PRERELEASE FreeBSD 11.1-PRERELEASE #0 r319562M: Mon Jun  5
03:13:08 AEST 2017     root at hathor:/110007/D/K8/hqdev-amd64-smp-vga            
  amd64 1100514 1100514

/usr/ports updated via svnlite on June 6.

2. Build using make.  Though I usually use portmaster for a full build.

3. Options: # make -C /usr/ports/mail/fetchmail showconfig |grep =on
     DOCS=on: Build and/or install documentation
     GSSAPI_NONE=on: Disable GSSAPI support

4. make.conf is actually a set of 7 different config files, with a lot of loops
and if/then conditionals, which basically reduce to:

# make -C /usr/ports/mail/fetchmail -VCFLAGS -VSPACER_FOR_READING -VLDFLAGS
-O2 -pipe -DOPENSSL_NO_SSL2 -DOPENSSL_NO_SSL3 -g0 -ggdb0 -DSTRIP_FBSDID
-UDEBUGGING -UEBUGGING -UDEBUG -march=core2 -mtune=core2  -fstack-protector
-fno-strict-aliasing

 -L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector

# grep -B2  DEF /etc/make*.conf
/etc/make_head.conf:30:DEFAULT_VERSIONS+=perl5=5.24 python=2.7 pgsql=9.6
apache=2.4 gcc=5 samba=4.6
--
/etc/make_head.conf-32-.if ${ARCH} == "i386"
/etc/make_head.conf-33-OPENSSL_PORT=security/openssl   # To benefit from VIA
Padlock
/etc/make_head.conf:34:DEFAULT_VERSIONS+=ssl=openssl
/etc/make_head.conf-35-.else
/etc/make_head.conf-36-OPENSSL_PORT=security/libressl
/etc/make_head.conf:37:DEFAULT_VERSIONS+=ssl=libressl

The issue arises on both i386 & amd64.  

6. If you use gssapi (which is the default) then the absence of ssl via the
CONFIGURE_ARGS line is occluded.  gssapi requires ssl, and correctly pulls it
in.  Using gssapi_none reveals the problem; and its little to do with ssl, as
that is just a manifestation of the problem.  Perhaps if you verify the result
of 
# make -C /usr/ports/mail/fetchmail -VCONFIGURE_ARGS
and/or perhaps add something to the Makefile's CONFIGURE_ARGS line to verify
that it is being processed correctly.

Thanks for looking into the problem.  :)

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


More information about the freebsd-ports-bugs mailing list