svn commit: r400565 - head/security/pam_krb5
John Marino
freebsd.contact at marino.st
Mon Nov 2 15:07:42 UTC 2015
On 11/2/2015 4:01 PM, Cy Schubert wrote:
> In message <5637766F.6000404 at marino.st>, John Marino writes:
>> On 11/2/2015 3:37 PM, Cy Schubert wrote:
>>>
>>> Looks like the tarball (port) never supported heimdal in ports in the first
>>
>>> place. From ./configure:
>>
>> Why did it build before then?
>>
>>
>>>
>>> ac_fn_c_check_member "$LINENO" "krb5_creds" "session"
>>> "ac_cv_member_krb5_creds_s
>>> ession" "
>>> #if HAVE_KRB5_H
>>> # include <krb5.h>
>>> #else
>>> # include <krb5/krb5.h>
>>> #endif
>>>
>>> ./portable/krb5.h has the same code.
>>>
>>> Hiemdal in ports installs krb5.h ${LOCALBASE}/include/heimdal/krb5. I can
>>> remove the option for now or (better) we can symlink
>>> ${LOCALBASE}/include/heimdal to ${LOCALBASE}/include/krb5 in the heimdal
>>> port. See attached patch.
>>
>> Heimdal ports is the only option that builds in dports, so removing it
>> means removing it from dports.
>>
>> krb.h is there (poudriere testport -i) :
>>
>> # ls /usr/local/include/heimdal/krb5.h
>> /usr/local/include/heimdal/krb5.h
>>
>> It should configure, right?
>
> Nope. ls /usr/local/include/krb5.h /usr/local/include/krb5/krb5.h
It is *already* using /usr/local/include/heimdal as it should be. It's
just not getting used in configure:
libtool: compile: cc -DHAVE_CONFIG_H -I. -I/usr/local/include/heimdal
-pipe -O2 -fno-strict-aliasing -MT portable/pam_vsyslog.lo -MD -MP -MF
portable/.deps/pam_vsyslog.Tpo -c portable/pam_vsyslog.c -fPIC -DPIC -o
portable/.libs/pam_vsyslog.o
libtool: compile: cc -DHAVE_CONFIG_H -I. -I/usr/local/include/heimdal
-pipe -O2 -fno-strict-aliasing -MT portable/reallocarray.lo -MD -MP -MF
portable/.deps/reallocarray.Tpo -c portable/reallocarray.c -fPIC -DPIC
-o portable/.libs/reallocarray.o
libtool: compile: cc -DHAVE_CONFIG_H -I. -I/usr/local/include/heimdal
-pipe -O2 -fno-strict-aliasing -MT portable/pam_syslog.lo -MD -MP -MF
portable/.deps/pam_syslog.Tpo -c portable/pam_syslog.c -fPIC -DPIC -o
portable/.libs/pam_syslog.o
libtool: compile: cc -DHAVE_CONFIG_H -I. -I/usr/local/include/heimdal
-pipe -O2 -fno-strict-aliasing -MT account.lo -MD -MP -MF
.deps/account.Tpo -c account.c -fPIC -DPIC -o .libs/account.o
In file included from account.c:21:0:
./portable/krb5.h:48:24: fatal error: krb5/krb5.h: No such file or directory
compilation terminated.
We don't have to settle for what it is. We can control the build flags.
The bottom line is that a regression happened. If the current makefile
can't be fixed to operate as it was before, the change should be
reverted, right?
John
More information about the svn-ports-all
mailing list