From owner-freebsd-ports-bugs@freebsd.org Wed Mar 9 02:04:47 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B5819AC8693 for ; Wed, 9 Mar 2016 02:04:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 9B7DBFB2 for ; Wed, 9 Mar 2016 02:04:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u2924lx3085289 for ; Wed, 9 Mar 2016 02:04:47 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 207825] make makesum creates duplicate distinfo entry (for GH_PROJECT) Date: Wed, 09 Mar 2016 02:04:47 +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: christopherhall.hsw@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org 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: quoted-printable 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.21 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2016 02:04:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207825 Bug ID: 207825 Summary: make makesum creates duplicate distinfo entry (for GH_PROJECT) Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Ports Framework Assignee: portmgr@FreeBSD.org Reporter: christopherhall.hsw@gmail.com CC: freebsd-amd64@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org CC: freebsd-amd64@FreeBSD.org If the GH_PROJECT contains a entry that is the same as the PORTNAME then "make makesum" creates duplicate entries for the main archive. My Makefile contains the lines: PORTNNAME =3D miniature-spoon GH_PROJECT =3D miniature-spoon:miniature_spoon After removing the file fro distfiles and running "make fetch" I see the following error: =3D=3D=3D> miniature-spoon-1.0 depends on file: /usr/local/sbin/pkg - f= ound =3D> bitmark-inc-miniature-spoon-v1.0_GH0.tar.gz doesn't seem to exist in /usr/ports/distfiles/. =3D> Attempting to fetch https://codeload.github.com/bitmark-inc/miniature-spoon/tar.gz/v1.0?dummy= =3D/bitmark-inc-miniature-spoon-v1.0_GH0.tar.gz fetch: 6535: No such file or directory bitmark-inc-miniature-spoon-v1.0_GH0.tar.gz 100% of 6535 B 102 MBps 00m00s =3D> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/bitmark-inc-miniature-spoon-v1= .0_GH0.tar.gz=20 fetch: 6535: No such file or directory fetch: http://distcache.FreeBSD.org/ports-distfiles/bitmark-inc-miniature-spoon-v1= .0_GH0.tar.gz: Not Found =3D> Couldn't fetch it - please try to retrieve this =3D> port manually into /usr/ports/distfiles/ and try again. *** Error code 1 Stop. The file is actually downloaded but this error is produced: fetch: 6535: No such file or directory Took me some hours to realise that the number is not an error code bu the n= ame of the file fetch is trying to download - al lot of searches based on the above error produced nothing. Looking at "make fetch-list" I see that there are two fetches for the same = file and that command is called like: /usr/bin/fetch -Fpr -S 6535 6535 https://codeload.github.com/ As can be seen the file size gets included twice; I checked by changing the sizes to be different values and determined that one size is from each entry in distinfo. The FIX: "DO NOT add a ${PORTNAME} entry to the GH_PROJECT list" Hopefully this report will be found next time I try to search for the same error :) --=20 You are receiving this mail because: You are on the CC list for the bug.=