From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id rY5ECYsX8V9ZTAAA0tVLHw (envelope-from ) for ; Sun, 03 Jan 2021 01:02:03 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YON7BIsX8V+aJwAAbx9fmQ (envelope-from ) for ; Sun, 03 Jan 2021 01:02:03 +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 84929940105 for ; Sun, 3 Jan 2021 01:02:02 +0000 (UTC) Received: from localhost ([::1]:50336 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kvrmT-00019f-7Y for larch@yhetil.org; Sat, 02 Jan 2021 20:02:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38702) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvrmJ-00019B-Sf for guix-devel@gnu.org; Sat, 02 Jan 2021 20:01:51 -0500 Received: from mail-io1-xd2e.google.com ([2607:f8b0:4864:20::d2e]:43823) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kvrmI-0001XY-10 for guix-devel@gnu.org; Sat, 02 Jan 2021 20:01:51 -0500 Received: by mail-io1-xd2e.google.com with SMTP id o6so21761095iob.10 for ; Sat, 02 Jan 2021 17:01:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=my3lpe9BTnqPDM30J8BJs9ZNS2dEygImPWQ/UHEtieM=; b=tSXM5FXMDSjquOR3+LK7g/7mHioFwCiGGY5b8vtq9mCLaA3Votu3C56iMYBtERe05K 0BetWrZTEGjSzEw8yK1wBETzPVukWBLJiPgh3wkqYzIKbpmSHmgfpcufU3eX0DDH37yW CWQv3/kiM9OsNtXINfE53Qo9fZMTQ/FDKZqaDUsetH3nQSAcivIBqN8tN1cbDxLM6QQl IvnavNqhBlKnQ646XP9QUfjy6/FD4DqrUnJMDDiQoFOC97ig84GajY7kl/sgAqbm1g9t 2nfjXs0avdEYRk5eW5YOE/ls6bCcIb29BHvpWQcuoMJsOhGH35T7UJ/OyvFJYuubiMev 6ygw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=my3lpe9BTnqPDM30J8BJs9ZNS2dEygImPWQ/UHEtieM=; b=h9eIEMGU7GdKS3GEtbaIYKBYIXxuaMeFfMLoyIzM716JbASmlCIUJK6EKW40b1D6m+ wfCXl4caRyxXC+VqvJhIWoVRBsdeA49hHGtLffVyLTSXD5MKV6R0O0LPapH6KaFhJjFG 0QAKGiX8tpV+o7+snSPmILvELW0Vga0JIM00dP+om2gUm9aUVCIqVS/LW3Jqv1XD8y5l hRmm4SivWdzKRmb8Ylpgbn6+yAkEgy2n+T6bTS4vBw6wyrSt9tpmufcPyP+GeM/rr0C3 eVFFCK1WBuidWN/St8LadXzXaSEJo4PN3S0OKO07DalIZC2tWQ0oSX/T6swnA1kUR9cU qy5A== X-Gm-Message-State: AOAM531TBCJw6u0qPFHONLPTeR0+fRTr0AaUiRzUyLwe+cEroo/Uln+3 zNNbliPz9Yw3VBxPxbnb/D0vcm0TWzYnboZlghB9CX59 X-Google-Smtp-Source: ABdhPJzzXhkc9ZVA4rVQSY0mB2qG693p+k+JuYftVHAOy9LSNRstWmBtecjcr+paHRDfTLdyrd5KWqIRrnkW5NyEUeg= X-Received: by 2002:a5e:c111:: with SMTP id v17mr54290292iol.29.1609635708347; Sat, 02 Jan 2021 17:01:48 -0800 (PST) MIME-Version: 1.0 References: <424245f9f30e2418942a8eec27019864294550cd.camel@student.tugraz.at> <0acf30b3f335e1174dc36292cb69a7806fc8df82.camel@student.tugraz.at> In-Reply-To: <0acf30b3f335e1174dc36292cb69a7806fc8df82.camel@student.tugraz.at> From: Rovanion Luckey Date: Sun, 3 Jan 2021 02:01:22 +0100 Message-ID: Subject: Re: [RFC] Package of Nomacs To: Leo Prikler Content-Type: multipart/alternative; boundary="0000000000009d2a1505b7f484b7" Received-SPF: pass client-ip=2607:f8b0:4864:20::d2e; envelope-from=rovanion.luckey@gmail.com; helo=mail-io1-xd2e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: , Cc: guix-devel@gnu.org 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=gmail.com header.s=20161025 header.b=tSXM5FXM; dmarc=pass (policy=none) header.from=gmail.com; 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: 84929940105 X-Spam-Score: -3.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: bEU54kR2/Zyt --0000000000009d2a1505b7f484b7 Content-Type: text/plain; charset="UTF-8" Hi again Leo! 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`. > Ran in a `guix environment --pure --container` and it still built successfully. > 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`? > Thanks for the idea. Made me realise that I could run the build steps on my own in the /tmp/ folders `guix build` generates with `--keep-failed`. And in doing so I got it to build even there. Figured that it then has to be some difference in the build steps and have now figured out that it is the flag "-DCMAKE_BUILD_TYPE=RelWithDebInfo" that is causing the issue. If I changed that to `Release` instead of `RelWithDebInfo` then the package builds successfully. And it also has plugins now! I will return with a revised version later. First I will try to package libpsd, an optional dependency of Nomacs. --0000000000009d2a1505b7f484b7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi again Leo!

That doesn't say much, because `guix environment` provides little
isolation.=C2=A0 You might try with pure environments, but the better way o= f
replicating the build environment is using `-K`.

<= /div>
Ran in a `guix environment --pure --container` and it still built= successfully.
=C2=A0
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`?

Thanks for the idea. Made me realise that I could run the build st= eps on my own in the /tmp/ folders `guix build` generates with `--keep-fail= ed`. And in doing so I got it to build even there. Figured that it then has= to be some difference in the build steps and have now figured out that it = is the flag "-DCMAKE_BUILD_TYPE=3DRelWithDebInfo" that is causing= the issue. If I changed that to `Release` instead of `RelWithDebInfo` then= the package builds successfully. And it also has plugins now!
I will return with a revised version later. First I will try t= o package libpsd, an optional dependency of Nomacs.
--0000000000009d2a1505b7f484b7--