Bug 184382

Summary: audio/sox: Broken symlink for soxeffect.7.gz
Product: Ports & Packages Reporter: Craig Leres <leres>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: leres
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Craig Leres freebsd_committer 2013-11-30 02:00:01 UTC
	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:

		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


	    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.
Comment 1 Edwin Groothuis freebsd_committer 2013-11-30 02:00:09 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer 2013-11-30 02:00:09 UTC
Maintainer of audio/sox,

Please note that PR ports/184382 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:

Edwin Groothuis via the GNATS Auto Assign Tool
Comment 3 Antoine Brodin freebsd_committer 2013-12-20 18:48:50 UTC
State Changed
From-To: feedback->closed

Close: thanks for the report, this seems to be an ports infrastructure problem 
PR ports/184395 tracks this issue