From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Feb 7 17:10:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8D7C4C07 for ; Fri, 7 Feb 2014 17:10:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5E9A01347 for ; Fri, 7 Feb 2014 17:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s17HA1Vs090040 for ; Fri, 7 Feb 2014 17:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s17HA1GR090039; Fri, 7 Feb 2014 17:10:01 GMT (envelope-from gnats) Resent-Date: Fri, 7 Feb 2014 17:10:01 GMT Resent-Message-Id: <201402071710.s17HA1GR090039@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tsurutani Naoki Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CEB4EBF0 for ; Fri, 7 Feb 2014 17:09:35 +0000 (UTC) Received: from smtp-auth.kuins.kyoto-u.ac.jp (smtp-auth.kuins.kyoto-u.ac.jp [133.3.248.237]) by mx1.freebsd.org (Postfix) with ESMTP id 70FE9133C for ; Fri, 7 Feb 2014 17:09:35 +0000 (UTC) Received: from smtp-auth.kuins.kyoto-u.ac.jp (smtp-auth.kuins.kyoto-u.ac.jp [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 8141D2EC00A; Sat, 8 Feb 2014 02:09:34 +0900 (JST) Received: from h120.65.226.10.32118.vlan.kuins.net (p17154-ipngn100402kyoto.kyoto.ocn.ne.jp [180.10.96.154]) by smtp-auth.kuins.kyoto-u.ac.jp (Postfix) with ESMTP id 5DA272EC001; Sat, 8 Feb 2014 02:09:34 +0900 (JST) Received: from h120.65.226.10.32118.vlan.kuins.net (localhost [127.0.0.1]) by h120.65.226.10.32118.vlan.kuins.net (8.14.6/8.14.6/20071004-1) with ESMTP id s17H9Vkl081963; Sat, 8 Feb 2014 02:09:31 +0900 (JST) (envelope-from turutani@h120.65.226.10.32118.vlan.kuins.net) Received: (from turutani@localhost) by h120.65.226.10.32118.vlan.kuins.net (8.14.6/8.14.6/Submit) id s17H9V7L081962; Sat, 8 Feb 2014 02:09:31 +0900 (JST) (envelope-from turutani) Message-Id: <201402071709.s17H9V7L081962@h120.65.226.10.32118.vlan.kuins.net> Date: Sat, 8 Feb 2014 02:09:31 +0900 (JST) From: Tsurutani Naoki To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/186540: audio/sox installs symlink with non-existent target Cc: turutani@scphys.kyoto-u.ac.jp X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Tsurutani Naoki List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Feb 2014 17:10:01 -0000 >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: