From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [PATCH] gnu: gcj: remove broken symlink and stump binaries. Date: Thu, 30 Apr 2015 18:29:32 +0200 Message-ID: References: <87pp6ly52e.fsf@gnu.org> 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]:47174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnrLN-00079w-JE for guix-devel@gnu.org; Thu, 30 Apr 2015 12:29:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YnrLJ-0008MK-IX for guix-devel@gnu.org; Thu, 30 Apr 2015 12:29:45 -0400 In-Reply-To: <87pp6ly52e.fsf@gnu.org> 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: Guix-devel Ludovic Court=C3=A8s writes: >> + (for-each delete-file >> + (map (cut string-append out <>) >> + '("/lib/jvm/jre/lib/amd64/libjawt.so" >> + "/bin/c++" >> + "/bin/cpp" >> + "/bin/g++" >> + "/bin/gcc" >> + "/bin/gcc-ar" >> + "/bin/gcc-nm" >> + "/bin/gcc-ranlib" >> + "/bin/x86_64-unknown-linux-gnu-c++" >> + "/bin/x86_64-unknown-linux-gnu-g++" >> + "/bin/x86_64-unknown-linux-gnu-gcc" >> + "/bin/x86_64-unknown-linux-gnu-gcc-4= .8.4" >> + "/bin/x86_64-unknown-linux-gnu-gcc-a= r" >> + "/bin/x86_64-unknown-linux-gnu-gcc-n= m" >> + "/bin/x86_64-unknown-linux-gnu-gcc-r= anlib")))) > > This is specific to x86_64-linux-gnu though. Wouldn=E2=80=99t it be be= tter to > use a white list instead, or maybe keep it a black list but use > find-files and regexps? Argh, you are of course right about this. I'll update this to use find-files instead. ~~ Ricardo