Bug 200100

Summary: security/krb5 fails to build on armv6
Product: Ports & Packages Reporter: Mikael Urankar <mikael>
Component: Individual Port(s)Assignee: Cy Schubert <cy>
Status: Closed FIXED    
Severity: Affects Only Me CC: freebsd-arm
Priority: --- Flags: bugzilla: maintainer-feedback? (cy)
Version: Latest   
Hardware: arm   
OS: Any   
URL: http://chips.ysv.freebsd.org/data/11armv6-default/2015-04-26_21h50m34s/logs/errors/krb5-1.13.1_1.log
Attachments:
Description Flags
fix arm build none

Description Mikael Urankar freebsd_committer freebsd_triage 2015-05-10 14:21:55 UTC
Created attachment 156612 [details]
fix arm build

Hi,

The build is broken on arm:
libtool '--mode=link' cc -Xcompiler -shared -o libkrb5support.so.0 threads.so init-addrinfo.so plugins.so errors.so k5buf.so gmt_mktime.so fake-addrinfo.so utf8.so utf8_conv.so zap.so path.so base64.so json.so bcmp.so strerror_r.so -L../../lib -lintl -Wl,-rpath,/usr/local/lib:/usr/lib:/usr/local/lib -L/usr/local/lib -L/usr/lib
libtool: link: unable to infer tagged configuration
libtool:   error: specify a tag with '--tag'

The attached patch fixes that.

build logs for amd64, i386 and armv6:
http://mikael.urankar.free.fr/FreeBSD/arm/build_logs/krb5-1.13.1_1_101i386.log
http://mikael.urankar.free.fr/FreeBSD/arm/build_logs/krb5-1.13.1_1_101amd64.log
http://mikael.urankar.free.fr/FreeBSD/arm/build_logs/krb5-1.13.1_1.log
Comment 1 commit-hook freebsd_committer freebsd_triage 2015-05-10 15:16:49 UTC
A commit references this bug:

Author: cy
Date: Sun May 10 15:16:08 UTC 2015
New revision: 385961
URL: https://svnweb.freebsd.org/changeset/ports/385961

Log:
  Fix armv5 build.

  PR:		200100
  Submitted by:	mikael.urankar@gmail.com

Changes:
  head/security/krb5/Makefile
  head/security/krb5/files/patch-config__shlib.conf
Comment 2 Cy Schubert freebsd_committer freebsd_triage 2015-05-10 15:17:46 UTC
Committed. Thanks.