Bug 186830 - security/openssh-portable fails to build
Summary: security/openssh-portable fails to build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Bryan Drewery
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-17 07:10 UTC by rsimmons0
Modified: 2014-03-02 11:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rsimmons0 2014-02-17 07:10:00 UTC
Building security/openssh-portable fails. I'm using poudriere 3.0.14. The build stops with the following error:

gss-serv-krb5.o: In function `ssh_gssapi_krb5_storecreds':
gss-serv-krb5.c:(.text+0x204): undefined reference to `gss_krb5_copy_ccache'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/security/openssh-portable/work/openssh-6.5p1
*** Error code 1

Here are the options I'm using for this port:

===> The following configuration options are available for openssh-portable-6.5.p1_1,1:
     AES_THREADED=on: Threaded AES-CTR
     BSM=on: OpenBSM Auditing
     HPN=on: HPN-SSH patch
     KERB_GSSAPI=off: Kerberos/GSSAPI patch (req: GSSAPI)
     LDNS=on: SSHFP/LDNS support
     LIBEDIT=on: Command line editing via libedit
     LPK=off: LDAP Public Key (LPK) [OBSOLETE]
     NONECIPHER=off: NONE Cipher support
     OVERWRITE_BASE=on: OpenSSH overwrite base
     PAM=on: PAM support
     SCTP=off: SCTP support
     TCP_WRAPPERS=on: tcp_wrappers support
     X509=off: x509 certificate patch
====> Kerberos support: you can only select none or one of them
     MIT=off: MIT Kerberos (security/krb5)
     HEIMDAL=off: Heimdal Kerberos (security/heimdal)
     HEIMDAL_BASE=on: Heimdal Kerberos (base)

How-To-Repeat: Here are my poudriere jails and ports:

# poudriere jails -l                                                                
JAILNAME             VERSION              ARCH    METHOD 
10amd64              10.0-RELEASE         amd64   ftp

# poudriere ports -l
PORTSTREE            METHOD     PATH
default              portsnap   /data/poudriere/ports/default

Here is the build command and output:

# poudriere bulk -j 10amd64 security/openssh-portable
====>> Creating the reference jail... done
====>> Mounting system devices for 10amd64-default
====>> Mounting ports/packages/distfiles
====>> Mounting packages from: /data/poudriere/data/packages/10amd64-default
====>> Mounting /var/db/ports from: /usr/local/etc/poudriere.d/10amd64-options
====>> Logs: /data/poudriere/data/logs/bulk/10amd64-default/2014-02-17_06h59m31s
====>> WWW: http://repo/logs/bulk/10amd64-default/2014-02-17_06h59m31s
====>> Appending to make.conf: /usr/local/etc/poudriere.d/10amd64-make.conf
/etc/resolv.conf -> /data/poudriere/data/build/10amd64-default/ref/etc/resolv.conf
====>> Starting jail 10amd64-default
====>> Loading MOVED
====>> Calculating ports order and dependencies
====>> Sanity checking the repository
====>> Deleting stale symlinks
====>> Deleting empty directories
====>> Cleaning the build queue
====>> Building 1 packages using 1 builders
====>> Starting/Cloning builders
====>> Hit CTRL+t at any time to see build progress and stats
====>> [01] Starting build of security/openssh-portable
====>> [01] Finished build of security/openssh-portable: Failed: build
====>> Stopping 1 builders
====>> No package built, no need to update the repository
====>> Cleaning up
====>> Umounting file systems
====>> Failed ports: security/openssh-portable:build

====>> [10amd64-default] 0 packages built, 1 failures, 0 ignored, 0 skipped
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-02-17 07:10:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->bdrewery

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Bryan Drewery freebsd_committer freebsd_triage 2014-03-01 23:56:22 UTC
State Changed
From-To: open->feedback

Need more information
Comment 3 Bryan Drewery freebsd_committer freebsd_triage 2014-03-01 23:56:33 UTC
State Changed
From-To: feedback->open

wrong pr
Comment 4 Bryan Drewery freebsd_committer freebsd_triage 2014-03-02 08:43:50 UTC
State Changed
From-To: open->closed

Fixed, thanks.
Comment 5 dfilter service freebsd_committer freebsd_triage 2014-03-02 11:38:05 UTC
Author: bdrewery
Date: Sun Mar  2 08:43:40 2014
New Revision: 346742
URL: http://svnweb.freebsd.org/changeset/ports/346742
QAT: https://qat.redports.org/buildarchive/r346742/

Log:
  - Fix build with HEIMBAL_BASE
  
  PR:		ports/186830
  Reported by:	Robert Simmons <rsimmons0@gmail.com>

Modified:
  head/security/openssh-portable/Makefile

Modified: head/security/openssh-portable/Makefile
==============================================================================
--- head/security/openssh-portable/Makefile	Sun Mar  2 08:32:35 2014	(r346741)
+++ head/security/openssh-portable/Makefile	Sun Mar  2 08:43:40 2014	(r346742)
@@ -177,9 +177,7 @@ PORT_OPTIONS+=		OVERWRITE_BASE
 
 .if ${PORT_OPTIONS:MMIT} || ${PORT_OPTIONS:MHEIMDAL} || ${PORT_OPTIONS:MHEIMDAL_BASE}
 .	if ${PORT_OPTIONS:MHEIMDAL_BASE}
-.		if ${PORT_OPTIONS:MKERB_GSSAPI}
 CONFIGURE_LIBS+=	-lgssapi_krb5
-.		endif
 CONFIGURE_ARGS+=	--with-kerberos5=/usr
 .	else
 CONFIGURE_ARGS+=	--with-kerberos5=${LOCALBASE}
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"