From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 31 17:19:42 2015 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 51F847D1 for ; Tue, 31 Mar 2015 17:19:42 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1E63D64B for ; Tue, 31 Mar 2015 17:19:42 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t2VHJfgb095117 for ; Tue, 31 Mar 2015 17:19:41 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 199069] New USE_GITHUB has inconsistent DISTNAMEs for same GH_TAGNAME Date: Tue, 31 Mar 2015 17:19:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bdrewery@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2015 17:19:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199069 Bug ID: 199069 Summary: New USE_GITHUB has inconsistent DISTNAMEs for same GH_TAGNAME Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Ports Framework Assignee: portmgr@FreeBSD.org Reporter: bdrewery@FreeBSD.org CC: freebsd-ports-bugs@FreeBSD.org I did just run across an actual bug with the new USE_GITHUB implementation. ~/svn/ports/ports-mgmt/poudriere # make -V DISTNAME poudriere-3.1.2_GH0 ~/svn/ports/ports-mgmt/poudriere # make -C ../poudriere-devel -V DISTNAME freebsd-poudriere-3.1.99.20150331-3.1.2_GH0 Both are GH_TAGNAME=3.1.2 and have the same checksums. ~/svn/ports/ports-mgmt/poudriere # cat distinfo SHA256 (poudriere-3.1.2_GH0.tar.gz) = f3c192d59ce1fe7756ca215e5de9b82f80f55c017f9e0fb4105e0344ddeb33f9 SIZE (poudriere-3.1.2_GH0.tar.gz) = 2714435 ~/svn/ports/ports-mgmt/poudriere # cat ../poudriere-devel/distinfo SHA256 (freebsd-poudriere-3.1.99.20150331-3.1.2_GH0.tar.gz) = f3c192d59ce1fe7756ca215e5de9b82f80f55c017f9e0fb4105e0344ddeb33f9 SIZE (freebsd-poudriere-3.1.99.20150331-3.1.2_GH0.tar.gz) = 2714435 There's really no reason the DISTNAME should differ on them. I haven't looked into the problem yet but I suspect it is due to using DISTVERSION in the DISTNAME. I think it will be worth making these consistent as currently this leads to duplication on mirrors for the same file. -- You are receiving this mail because: You are on the CC list for the bug.