From nobody@FreeBSD.org  Sat Mar  9 22:45:14 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id C0BB3432
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  9 Mar 2013 22:45:14 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 9BB80E00
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  9 Mar 2013 22:45:14 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r29MjED2046277
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 9 Mar 2013 22:45:14 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r29MjEaD046276;
	Sat, 9 Mar 2013 22:45:14 GMT
	(envelope-from nobody)
Message-Id: <201303092245.r29MjEaD046276@red.freebsd.org>
Date: Sat, 9 Mar 2013 22:45:14 GMT
From: Dewayne <dewayne@heuristicsystems.com.au>
To: freebsd-gnats-submit@FreeBSD.org
Subject: samba4 package build fails,missing libcom_err-samba4.so
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         176796
>Category:       ports
>Synopsis:       net/samba4 package build fails,missing libcom_err-samba4.so
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    timur
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 09 22:50:00 UTC 2013
>Closed-Date:    Fri Apr 18 11:53:58 UTC 2014
>Last-Modified:  Fri Apr 18 11:53:58 UTC 2014
>Originator:     Dewayne
>Release:        FreeBSD 9.1S
>Organization:
>Environment:
FreeBSD hs3.hs 9.1-STABLE FreeBSD 9.1-STABLE #0: Sat Mar  9 04:06:49 EST 2013     root@hs3.hs:/usr/obj/usr/src/sys/kernel amd64
>Description:
samba4 package build fails due to missing lib/samba/libcom_err-samba4.so.0

Extract of package build is:

===>  Building package for samba4-4.0.3
tar: lib/samba/libcom_err-samba4.so.0: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.

Comparing the port to a build using the samba4 tar file from samba.org, there is no file in their kit/tar file.

However I did find these:
/data/samba-4.0.3/packaging/RHEL-CTDB/makerpms.sh:    ln -sf /lib/libcom_err.so.2 /lib/libcom_err.so
/data/samba-4.0.3/packaging/RHEL/makerpms.git.sh:    ln -sf /lib/libcom_err.so.2 /lib/libcom_err.so
which may not be relevant for a non-clustered FreeBSD system?
>How-To-Repeat:
cd /usr/ports/net/samba4 && make package
>Fix:
Remove this line from the pkg_list
lib/samba/libcom_err-samba4.so.0

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->timur 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Mar 10 01:50:53 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=176796 
State-Changed-From-To: open->feedback 
State-Changed-By: timur 
State-Changed-When: Wed May 29 19:31:19 UTC 2013 
State-Changed-Why:  
Can't reproduce. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=176796 
State-Changed-From-To: feedback->closed 
State-Changed-By: timur 
State-Changed-When: Fri Apr 18 11:53:58 UTC 2014 
State-Changed-Why:  
Seems to be fixed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=176796 
>Unformatted:
