From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Wielkiewicz Subject: Re: Packaging Jami progress Date: Tue, 5 Nov 2019 17:50:01 +0100 Message-ID: <20191105175001.389c6117@interia.pl> References: <20191104214754.793ec2ff@interia.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:33343) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iS226-0004UI-Aw for guix-devel@gnu.org; Tue, 05 Nov 2019 11:50:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iS224-0002qC-Vb for guix-devel@gnu.org; Tue, 05 Nov 2019 11:50:18 -0500 Received: from smtpo.poczta.interia.pl ([217.74.65.236]:37753) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iS222-0002lW-Sh for guix-devel@gnu.org; Tue, 05 Nov 2019 11:50:15 -0500 In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?UTF-8?B?R8OhYm9y?= Boskovits Cc: Guix-devel Dnia 2019-11-04, o godz. 23:48:00 G=C3=A1bor Boskovits napisa=C5=82(a): > Hello, >=20 > This is most probably because fmt is missing from inputs. > > This is because SObjectizer is missing from inputs. > You can get further info about this in the cmake file: > https://github.com/Stiffstream/restinio/blob/master/dev/CMakeLists.txt I packaged SObjectizer and placed it in the gnu/packages/cpp.scm file. I also added SObjectizer and fmt as inputs, but the result is the same, even though I tried removing commands, which add the subdirectories from CMakeLists.txt. What's the proper way of dealing with situations like this? Am I missing something important? Should I copy outputs of fmt and sobjectizer into the directories? If so, how can I do this? (add-after 'unpack 'do-not-make-directories (lambda _ (substitute* "dev/CMakeLists.txt" (("add_subdirectory(fmt)") "") (("add_subdirectory(so_5)") "")) #t)) >=20 > This does not seem the upstream repo. Could you change it to the > upstream one? (Albeit, it seems to be an official mirror.) > (https://bitbucket.org/sobjectizerteam/restinio/src/default/) > Or if there is a tarball available for the needed version, that would > be even better ( >=20 > https://bitbucket.org/sobjectizerteam/restinio/downloads/), but I > don't know if these archives are stable. On the website, they say the software is hosted on github: https://stiffstream.com/en/products/restinio.html Also AFAIK git is always reproducible, whereas tarballs can get rebuilt, so fetching using git is safer. Jan Wielkiewicz