ports/184382: audio/sox: Broken symlink for soxeffect.7.gz

Craig Leres leres at ee.lbl.gov
Sat Nov 30 02:00:02 UTC 2013


>Number:         184382
>Category:       ports
>Synopsis:       audio/sox: Broken symlink for soxeffect.7.gz
>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 Nov 30 02:00:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Craig Leres
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
Lawrence Berkeley National Laboratory
>Environment:
System: FreeBSD fun.ee.lbl.gov 9.1-RELEASE FreeBSD 9.1-RELEASE #11 r26: Wed Sep 11 10:30:14 PDT 2013 leres at fun.ee.lbl.gov:/sys/amd64/compile/LBL amd64


	
>Description:
	After building and installing audio/sox, the symlink for
	the soxeffect man page is broken.

>How-To-Repeat:
	fun 2375 % pkg_info -g sox-14.4.1
	Information for sox-14.4.1:

	Mismatched Checksums:
	pkg_info: /usr/local/man/man7/soxeffect.7.gz doesn't exist
	pkg_info: /usr/local/+COMMENT doesn't exist
	pkg_info: /usr/local/+DESC doesn't exist
	pkg_info: /usr/local/+MTREE_DIRS doesn't exist
	fun 2376 % ls -l /usr/local/man/man7/soxeffect.7.gz
	lrwxr-xr-x  1 root  wheel  8 Nov 21 15:21 /usr/local/man/man7/soxeffect.7.gz -> sox.1.gz

	The Makefile for sox appears to do the right thing:

	    install-data-hook:
		cd $(DESTDIR)$(mandir)/man1 && $(RM) play.1 && $(LN_S) sox.1 play.1
		cd $(DESTDIR)$(mandir)/man1 && $(RM) rec.1 && $(LN_S) sox.1 rec.1
		cd $(DESTDIR)$(mandir)/man7 && $(RM) soxeffect.7 && $(LN_S) ../man1/sox.1 soxeffect.7

	and:

	    cd /home/fun/u2/src/FreeBSD-current/ports/audio/sox/work/stage/usr/local/man/man7 && rm -f soxeffect.7 && ln -s ../man1/sox.1 soxeffect.7

	but after "make stage" completes, it's broken:

	    fun 510 % ls -l work/stage/usr/local/man/man7
	    total 12
	    lrwxr-xr-x  1 root  wheel      8 Nov 29 17:51 soxeffect.7.gz -> sox.1.gz
	    -r--r--r--  1 root  wheel  10484 Nov 29 17:51 soxformat.7.gz

	I suspect the /usr/ports/Mk magic that compresses man pages
	is assuming that they always reference other man pages in
	the same directory.

>Fix:

	


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


More information about the freebsd-ports-bugs mailing list