Bug 184382 - audio/sox: Broken symlink for soxeffect.7.gz
Summary: audio/sox: Broken symlink for soxeffect.7.gz
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: FreeBSD Ports Bugs (Mailing List)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-30 02:00 UTC by leres
Modified: 2013-12-20 18:50 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description leres 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:

	    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.
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:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/184382

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
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