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. Fix: Looking at other ports that succeed, probably need to apply something like ${STAGEDIR}${MANPREFIX} in the Makefile. How-To-Repeat: cd /usr/ports && make PREFIX=/usr -DBATCH package
Responsible Changed From-To: freebsd-ports-bugs->ehaupt Over to maintainer (via the GNATS Auto Assign Tool)
State Changed From-To: open->closed I just discussed this with mat - /usr as PREFIX is not supported. Every other PREFIX works (eg. /opt).