Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Feb 2014 02:09:31 +0900 (JST)
From:      Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        turutani@scphys.kyoto-u.ac.jp
Subject:   ports/186540: audio/sox installs symlink with non-existent target
Message-ID:  <201402071709.s17H9V7L081962@h120.65.226.10.32118.vlan.kuins.net>
Resent-Message-ID: <201402071710.s17HA1GR090039@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402071709.s17H9V7L081962>