Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Mar 2013 22:45:14 GMT
From:      Dewayne <dewayne@heuristicsystems.com.au>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/176796: samba4 package build fails, missing libcom_err-samba4.so
Message-ID:  <201303092245.r29MjEaD046276@red.freebsd.org>
Resent-Message-ID: <201303092250.r29Mo0nI059184@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         176796
>Category:       ports
>Synopsis:       samba4 package build fails,missing libcom_err-samba4.so
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 09 22:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303092245.r29MjEaD046276>