Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  6 Mar 1999 01:06:00 -0800 (PST)
From:      charles@dharcourt.com
To:        freebsd-gnats-submit@freebsd.org
Subject:   ports/10415: samba-2.0.3 port make package fails and smbrun is never installed
Message-ID:  <19990306090600.B332015140@hub.freebsd.org>

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

>Number:         10415
>Category:       ports
>Synopsis:       samba-2.0.3 port make package fails and smbrun is never installed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar  6 01:10:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Charles d'Harcourt
>Release:        2.2.8
>Organization:
Harcourt Systems Incorporated
>Environment:
FreeBSD morpheus.dharcourt.com 2.2.8-RELEASE FreeBSD 2.2.8-RELEASE #0: Mon Nov 30 06:34:08 GMT 1998     jkh@time.cdrom.com:/usr/src/sys/compile/GENERIC  i386
>Description:
"make package" with the version of the port for Samba 2.0.3 fails with
the following error output:
    ===>  Building package for samba-2.0.3
    Creating package /usr/ports/packages/All/samba-2.0.3.tgz
    Registering depends:.
    Creating gzip'd tar ball in '/usr/ports/packages/All/samba-2.0.3.tgz'
    tar: can't add file bin/smbrun : No such file or directory
    pkg_create: tar command failed with code 256
    *** Error code 1
    Stop.
    *** Error code 1
    Stop.
    *** Error code 1
    Stop.
Doing a search of the output generate during the build of the port
shows that lib/smbrun.c was compiled, but utils/smbrun.c was not.
It is possible that smbrun has been made obsolete for FreeBSD 2.0.3
(see http://x7.dejanews.com/[ST_rn=ps]/getdoc.xp?AN=444007986&search=thread&threaded=1&CONTEXT=920710737.1509097614&HIT_CONTEXT=920710595.1506541817&HIT_NUM=7&hitnum=0
for an indication that this might be the case).  Removing /bin/smbrun
from the port's PLIST (2nd line) allows "make package" to work.
Thanks for your work on this port.

>How-To-Repeat:
# Get ftp://ftp.freebsd.org/pub/FreeBSD/ports/net/samba.tar
cd /usr/ports/net/samba
make package

>Fix:
Remove the line containing "/bin/smbrun" from PLIST.


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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