From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH]: xfce4-power-manager: new variable Date: Mon, 07 Mar 2016 14:38:03 +0100 Message-ID: <87si02s91g.fsf@gnu.org> References: <56604C07.2040900@gmx.net> <20151203190120.GA18176@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acvMT-0002z4-Kb for guix-devel@gnu.org; Mon, 07 Mar 2016 08:38:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1acvMQ-0003lI-7W for guix-devel@gnu.org; Mon, 07 Mar 2016 08:38:13 -0500 In-Reply-To: <20151203190120.GA18176@jasmine> (Leo Famulari's message of "Thu, 3 Dec 2015 14:01:20 -0500") 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Leo Famulari Cc: guix-devel@gnu.org Leo Famulari skribis: > On Thu, Dec 03, 2015 at 03:04:55PM +0100, Florian Paul Schmidt wrote: >> Hi, >>=20 >> attached is a patch for a first stab at packaging xfce4-power-manager. S= ince >> I used a different package as a base for this one there might be some >> unneeded inputs. I wonder if you guys have a tip for creating a little >> scheme snippet that would try all combinations of inputs to determine the >> minimal set for which ones the package build still succeeds? ;) [lazy fl= o] > > The potential issue with this approach is that a lot of software will > build successfully even if some dependencies are missing. And then it > will fail at runtime, sometimes only in certain scenarios. Not that I > haven't thought about doing the same thing... :) > > Ideally each program would have a test suite that exercised every code > path. Maybe AFL would be useful there? That sounds expensive but for > very complex systems, it would be worth it, because in my limited > experience packaging software, I have found that many upstream > developers are not aware of the dependency graph of their software. It's > fun to send them the output of "guix graph". Looks like the xfce4-power-manager patch fell through the cracks. Leo, could you maybe do a final polishing pass and commit it? Thanks, :-) Ludo=E2=80=99.