Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2013 03:52:58 GMT
From:      Dewayne <dewayne@heuristicsystems.com.au>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/183669: net/rsync 3.1.0 package build failure using non-default PREFIX
Message-ID:  <201311050352.rA53qwcI015927@oldred.freebsd.org>
Resent-Message-ID: <201311050400.rA5400kI083821@freefall.freebsd.org>

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

>Number:         183669
>Category:       ports
>Synopsis:       net/rsync 3.1.0 package build failure using non-default PREFIX
>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:   Tue Nov 05 04:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Dewayne
>Release:        9.2 Stable
>Organization:
>Environment:
FreeBSD b1.hs 9.2-STABLE FreeBSD 9.2-STABLE #0: Sun Nov  3 23:48:02 EST 2013     root@:/usr/obj/usr/src/sys/hqdev-amd64-padlock-smp-vga amd64
>Description:
Using 
make PREFIX=/usr -DBATCH -DNOPORTDOCS -DNO_DOC -DNO_MAN package
compilation is successful, documentation is created but isn't found when creating the package.  (I actually want the documentation, but resorted to the above make command to create the package, seems that something is incomplete from rev 331355) 

Tail of build log:
[clip]
/bin/mkdir -p /usr/staging/usr/bin
/usr/bin/install -c -o root -g wheel  -m 755 rsync /usr/staging/usr/bin
/bin/mkdir -p /usr/staging/usr/share/man/man1
/bin/mkdir -p /usr/staging/usr/share/man/man5
if test -f rsync.1; then /usr/bin/install -c -o root -g wheel -m 644 rsync.1 /usr/staging/usr/share/man/man1; fi
if test -f rsyncd.conf.5; then /usr/bin/install -c -o root -g wheel -m 644 rsyncd.conf.5 /usr/staging/usr/share/man/man5; fi
====> Compressing man pages (compress-man)
===> Staging rc.d startup script(s)
===>  Building package for rsync-3.1.0_1
Creating package /var/ports/usr/ports/net/rsync/work/rsync-3.1.0_1.tbz
Registering depends:.
Creating bzip'd tar ball in '/var/ports/usr/ports/net/rsync/work/rsync-3.1.0_1.tbz'
tar: man/man1/rsync.1.gz: Cannot stat: No such file or directory
tar: man/man5/rsyncd.conf.5.gz: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256
*** [do-package] Error code 1

Stop in /usr/ports/net/rsync.

>How-To-Repeat:
cd /usr/ports && make PREFIX=/usr -DBATCH package
>Fix:
Looking at other ports that succeed, probably need to apply something like
${STAGEDIR}${MANPREFIX} in the Makefile.

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



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