Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jun 2017 07:32:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 220000] mail/fetchmail placement of CONFIGURE_ARGS is significant
Message-ID:  <bug-220000-13-sEQoEiAZRs@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-220000-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-220000-13@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #2 from dewayne@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@hathor:/110007/D/K8/hqdev-amd64-smp-vga=20=20=
=20=20=20=20=20=20=20=20=20=20
  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 =3Don
     DOCS=3Don: Build and/or install documentation
     GSSAPI_NONE=3Don: Disable GSSAPI support

4. make.conf is actually a set of 7 different config files, with a lot of l=
oops
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=3Dcore2 -mtune=3Dcore2  -fstack-prote=
ctor
-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+=3Dperl5=3D5.24 python=3D2.7 pgsql=
=3D9.6
apache=3D2.4 gcc=3D5 samba=3D4.6
--
/etc/make_head.conf-32-.if ${ARCH} =3D=3D "i386"
/etc/make_head.conf-33-OPENSSL_PORT=3Dsecurity/openssl   # To benefit from =
VIA
Padlock
/etc/make_head.conf:34:DEFAULT_VERSIONS+=3Dssl=3Dopenssl
/etc/make_head.conf-35-.else
/etc/make_head.conf-36-OPENSSL_PORT=3Dsecurity/libressl
/etc/make_head.conf:37:DEFAULT_VERSIONS+=3Dssl=3Dlibressl

The issue arises on both i386 & amd64.=20=20

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 res=
ult
of=20
# 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.  :)

--=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-220000-13-sEQoEiAZRs>