From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id ACZvJJuU8F/gGAAA0tVLHw (envelope-from ) for ; Sat, 02 Jan 2021 15:43:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4L4iIJuU8F8WewAA1q6Kng (envelope-from ) for ; Sat, 02 Jan 2021 15:43:23 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DACCF94043B for ; Sat, 2 Jan 2021 15:43:22 +0000 (UTC) Received: from localhost ([::1]:42620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kvj3p-0003b9-R7 for larch@yhetil.org; Sat, 02 Jan 2021 10:43:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvj3g-0003an-Vn for guix-devel@gnu.org; Sat, 02 Jan 2021 10:43:12 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:20611) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvj3c-00085w-MD for guix-devel@gnu.org; Sat, 02 Jan 2021 10:43:12 -0500 Received: from nijino.local (217-149-174-13.nat.highway.telekom.at [217.149.174.13]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4D7R4520hVz1LLyX; Sat, 2 Jan 2021 16:43:01 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4D7R4520hVz1LLyX DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1609602181; bh=IQVADLcP8wopiNP4w0Fz7xezo3gAdh2Va7n6+d17NOA=; h=Subject:From:To:Date:In-Reply-To:References:From; b=rFi0mhUD0WJvKkFL35+m/je5RoXCMvBgo32q0psPHMaWMRN/g4sfe81SaAxTFaiK7 edtjcYCrTVi0T1uIS+RwNkWWcziYukr9tpuz4cP32OCckhxddWdW28IQLvgjulWsIz ZlzMzRy9aeYk8pVTuMH2AIlIDdbtuzo1PNeZlSyk= Message-ID: <0acf30b3f335e1174dc36292cb69a7806fc8df82.camel@student.tugraz.at> Subject: Re: [RFC] Package of Nomacs From: Leo Prikler To: Rovanion Luckey , guix-devel@gnu.org Date: Sat, 02 Jan 2021 16:42:59 +0100 In-Reply-To: References: <424245f9f30e2418942a8eec27019864294550cd.camel@student.tugraz.at> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 Received-SPF: pass client-ip=129.27.2.202; envelope-from=leo.prikler@student.tugraz.at; helo=mailrelay.tugraz.at X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list 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+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.03 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tugraz.at header.s=mailrelay header.b=rFi0mhUD; dmarc=pass (policy=none) header.from=student.tugraz.at; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: DACCF94043B X-Spam-Score: -3.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: 5Z6HKrdohmt0 Hello Rovanion, Am Samstag, den 02.01.2021, 15:43 +0100 schrieb Rovanion Luckey: > I can get the package to build using the following steps: > > git clone https://github.com/nomacs/nomacs.git > cd nomacs > mkdir build > cd build > guix environment --ad-hoc cmake make gcc libraw exiv2 libtiff opencv > python quazip qtbase qtsvg qttools pkg-config git > cmake "../ImageLounge" "-DCMAKE_BUILD_TYPE=RelWithDebInfo" "- > DCMAKE_INSTALL_PREFIX=/gnu/store/fiwxb6mlwhvnr49f9ydbhbam\ > wp4bzb8b-nomacs-3.16.224" "-DCMAKE_INSTALL_LIBDIR=lib" "- > DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE" "-DCMAKE_INSTALL_RPA\ > TH=/gnu/store/fiwxb6mlwhvnr49f9ydbhbamwp4bzb8b-nomacs-3.16.224/lib" > "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DENABLE_TRANSLATIO\ > NS=true" "-DUSE_SYSTEM_QUAZIP=true" "-DENABLE_OPENCV=true" > make -j 8 > ./nomacs > > For some reason that is different than when `guix package --from- > file` runs. That doesn't say much, because `guix environment` provides little isolation. You might try with pure environments, but the better way of replicating the build environment is using `-K`. I have yet to look at your package definition (pardon me), but do you notice anything strange between the Makefiles you generate on your own vs. the Makefiles you generate in `guix build`? Regards, Leo