From owner-freebsd-ports@freebsd.org Fri Sep 1 16:24:15 2017 Return-Path: Delivered-To: freebsd-ports@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 5D7ACE182D7 for ; Fri, 1 Sep 2017 16:24:15 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 47B3A7CCB4 for ; Fri, 1 Sep 2017 16:24:15 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: by mailman.ysv.freebsd.org (Postfix) id 43BF2E182D6; Fri, 1 Sep 2017 16:24:15 +0000 (UTC) Delivered-To: ports@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 435B3E182D5 for ; Fri, 1 Sep 2017 16:24:15 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 333AD7CCB3 for ; Fri, 1 Sep 2017 16:24:14 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from yv.noip.me (c-24-6-186-56.hsd1.ca.comcast.net [24.6.186.56]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id v81GO75d086292 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Fri, 1 Sep 2017 09:24:08 -0700 (PDT) (envelope-from yuri@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host c-24-6-186-56.hsd1.ca.comcast.net [24.6.186.56] claimed to be yv.noip.me From: Yuri Subject: Some github projects aren't fetchable using commit hash To: "ports@freebsd.org" Message-ID: Date: Fri, 1 Sep 2017 09:24:06 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2017 16:24:15 -0000 FYI: Some github URLs that ports framework uses to fetch by hash fail with no apparent reason. Here are two examples: https://codeload.github.com/grame-cncm/guidolib/tar.gz/2ec126d https://codeload.github.com/libretro/picodrive/tar.gz/40cd7bc I've contacted GitHub, they acknowledged the problem, but offered no solution besides of "we are working on this". Below is my communication with GitHub support. Yuri --- Hi Yuri, Thanks for reaching out about this, and sorry for delayed response! We've taken a look at the trouble you're experiencing, and suspect that this might be a bug, so we've opened an internal issue for our engineers to investigate further. While we don't yet have a specific ETA on a fix, we'll be sure to update you as soon as there's any news to share. Also, thank you for the wonderful detail in your email! It helped enormously with our initial investigations. Warm regards, Friday Looking at two projects: one tarball fetch succeeds, the other one fails. Fetching the tarball of https://github.com/libretro/emux using https://codeload.github.com/libretro/emux/tar.gz/df14439 - succeeds. Fetching the tarball of https://github.com/libretro/picodrive using https://codeload.github.com/libretro/picodrive/tar.gz/40cd7bc - fails. Both URLs are built from {account}/{project}/{hash} combination in the same way. Both should succeed. This is also how FreeBSD ports download tarballs. Failure log: |# wget https://codeload.github.com/libretro/picodrive/tar.gz/40cd7bc --2017-08-28 21:18:35-- https://codeload.github.com/libretro/picodrive/tar.gz/40cd7bc Resolving codeload.github.com (codeload.github.com)... 192.30.255.121, 192.30.255.120 Connecting to codeload.github.com (codeload.github.com)|192.30.255.121|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2017-08-28 21:18:35 ERROR 404: Not Found. |