From owner-freebsd-ports@freebsd.org Thu Jul 26 15:43:02 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A40331052F90 for ; Thu, 26 Jul 2018 15:43:02 +0000 (UTC) (envelope-from robert.ayrapetyan@gmail.com) Received: from mail-pl0-x236.google.com (mail-pl0-x236.google.com [IPv6:2607:f8b0:400e:c01::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C3E7953DE; Thu, 26 Jul 2018 15:43:02 +0000 (UTC) (envelope-from robert.ayrapetyan@gmail.com) Received: by mail-pl0-x236.google.com with SMTP id e11-v6so1002673plb.3; Thu, 26 Jul 2018 08:43:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=IMz5j8R/UmXJ8MniL0nEy5lNGg+DXrhJMcEdjq+CKoo=; b=ELai1VIyx2Mxs7sZkhnICzFiWO7WQEesElowKGJwr9sA8Yna5lBoLKYhzT5R1LnNz6 aJ26oV897JBddO6Mhckj6Gz0dy5r71TDwr50XfpTxOWg11Isx+ESx1zjZrQhjmpoZae8 nR75FLghu+tCFBJazfcne1ceV4HR5yiL4PPk6iFwOZYurT6RLXv/D9D8FtdZHzYVzvWO Ss/Yl5mWYtcmpihj0Y3ZZ7ELmxzBfmgEDRL58vi3l0T/JlFt/XjRZzGNnxmglG/TcP6u /lbv/JMNPaL/inBsWEPABlIXjXzVRJ1yoQbv1zrFAP/OjKq/reavdQa6z3jsjSlGrkX7 LP1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=IMz5j8R/UmXJ8MniL0nEy5lNGg+DXrhJMcEdjq+CKoo=; b=DWDzvyp2WuSgRuNRpsiO+AS4jXl/603xWvlFWFBiIfQ0bKpO6TPaN8viMxGw83YXQJ 55O51FyizoudD6QrGeuZ958+JcYlnEgPBloYlT0E2tpPMxw3k3iP/7OyFADvHRUax5pl w3cUM0W8Q+HYjtEPVVmMJUSQscZM9Tt6WzJ4HpuvzvU6OTzEjBA+WTeiRvsOA9cjXdGm ZR4w0XZMw7CYbBEC53d1+sWKEPRJi96YF/YBl5sKWIy/6MNe28qszubg/AzR2Fw8tLhY ygQfWgzWiIXeaZ6ERdRjiUqMiRzJR1S6wrW7Qb/jJyT2C0K3iesYjnfC7YtyQzQYB8Dm +9Yg== X-Gm-Message-State: AOUpUlEFqwt+uqsSMZ1pLuTaV9Oa5NXeiyBT4z7MJChBU17dTNppXgyN TF/LeV+sGix3fgjixLugjSNvcMg= X-Google-Smtp-Source: AAOMgpd9CAvCmIWAsGOVcSXnW7bhw7QEMeN49nc/y5DRH8/aEWT5sSzKuEBfklx8VWJ7P7ZcaHdRrw== X-Received: by 2002:a17:902:3303:: with SMTP id a3-v6mr2415697plc.209.1532619780837; Thu, 26 Jul 2018 08:43:00 -0700 (PDT) Received: from [192.168.1.113] (c-76-126-66-179.hsd1.ca.comcast.net. [76.126.66.179]) by smtp.gmail.com with ESMTPSA id h24-v6sm3490025pfk.113.2018.07.26.08.42.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Jul 2018 08:43:00 -0700 (PDT) From: Robert To: Mathieu Arnold Cc: freebsd-ports@freebsd.org Subject: Re: porting project with large files (git-lfs) from github References: <7d8a980d-5b0d-bfd2-790f-579881175e95@gmail.com> <20180726081034.hiu5zoemz5steqz5@atuin.in.mat.cc> Message-ID: <21ac85b2-9d28-5d9f-aa4d-b542b85ea95a@gmail.com> Date: Thu, 26 Jul 2018 08:42:59 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.9.0 MIME-Version: 1.0 In-Reply-To: <20180726081034.hiu5zoemz5steqz5@atuin.in.mat.cc> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2018 15:43:02 -0000 Hi, you can find it here: https://github.com/rayrapetyan/daal/tree/FreeBSD_support All files in e.g. https://github.com/rayrapetyan/daal/tree/FreeBSD_support/externals/mklfpk/lnx/lib/intel64 are "large files" they are fetching normally when doing git pull, but when downloading from "codeload" (this is what FreeBSD does) - they contain just text hashes... On 07/26/18 01:10, Mathieu Arnold wrote: > On Wed, Jul 25, 2018 at 11:04:41PM -0700, Robert wrote: >> Hi, I'm porting something hosted on github using GH_... options in Makefile. >> >> FreeBSD tries to fetch a tar.gz archive from https://codeload.github.com and >> within such archive there are "large files" which contain something like: >> >> version https://git-lfs.github.com/spec/v1 >> oid sha256:e8f293258e38e9689cb87ffbb91c3de2c339a6c074c77115ca86d50b5a48bc64 >> size 20413048 >> >> instead of a real data, so build fails. >> >> What's the best way to resolve this issue? > Mmmm, I never tried a repository using git-lfs, I am not surprised > git-archive(1) does not work with it though. What is the project so I > can have a look? >