ports/186540: audio/sox installs symlink with non-existent target

Tsurutani Naoki turutani at scphys.kyoto-u.ac.jp
Fri Feb 7 17:10:01 UTC 2014


>Number:         186540
>Category:       ports
>Synopsis:       audio/sox installs symlink with non-existent target
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 07 17:10:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Tsurutani Naoki
>Release:        FreeBSD 8.4-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD h120.65.226.10.32118.vlan.kuins.net 8.4-PRERELEASE FreeBSD 8.4-PRERELEASE #26 r249149: Fri Apr 5 22:13:25 JST 2013 turutani at h120.65.226.10.32118.vlan.kuins.net:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386


	
>Description:
	audio/sox installs ${PREFIX}/man/man7/soxeffect.7.gz,
	which has non existing target of sox.1.gz .
	
>How-To-Repeat:
	
>Fix:
	bsd.stage.mk removes path information of the target file with symlink file
	while compressing man pages.
	hence, man7/soxeffect.7, symlink to ../man1/sox.1, was changed to the link
	like man7/soxeffect.7.gz -> sox.1.gz ; this is not correct.
	the following new patch file should be added as files/patch-Makefile.am;

--- Makefile.am.orig	2013-01-30 11:40:06.000000000 +0900
+++ Makefile.am	2014-02-08 01:46:11.000000000 +0900
@@ -118,7 +118,7 @@
 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
+	cd $(DESTDIR)$(mandir)/man7 && $(RM) soxeffect.7 && $(LN_S) ../man1/sox.1.gz soxeffect.7.gz
 
 uninstall-hook:
 	$(RM) $(DESTDIR)$(mandir)/man1/play.1
	


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


More information about the freebsd-ports-bugs mailing list