From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 3/3] gnu: Add MariaDB. Date: Fri, 17 Apr 2015 14:07:15 +0200 Message-ID: <87bninargs.fsf@gnu.org> References: <1429255498-32458-1-git-send-email-iyzsong@gmail.com> <1429255498-32458-3-git-send-email-iyzsong@gmail.com> 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]:55470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yj53K-00045H-4f for guix-devel@gnu.org; Fri, 17 Apr 2015 08:07:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yj53F-0007BM-Pb for guix-devel@gnu.org; Fri, 17 Apr 2015 08:07:22 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58885) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yj53F-0007BI-Mf for guix-devel@gnu.org; Fri, 17 Apr 2015 08:07:17 -0400 In-Reply-To: <1429255498-32458-3-git-send-email-iyzsong@gmail.com> (=?utf-8?B?IuWui+aWh+atpiIncw==?= message of "Fri, 17 Apr 2015 15:24:58 +0800") 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: =?utf-8?B?5a6L5paH5q2m?= Cc: guix-devel@gnu.org =E5=AE=8B=E6=96=87=E6=AD=A6 skribis: > * gnu/packages/database.scm (mariadb): New variable. +s: =E2=80=9Cdatabases.scm=E2=80=9D > + 'configure 'pre-configure > + (lambda _ > + (setenv "CONFIG_SHELL" (which "sh")) > + ;; XXX: libstdc++.so lacks RUNPATH for libgcc_s.so. > + (setenv "LDFLAGS" "-lgcc_s") Indeed, but this is normally compensated by the fact that our GCC automatically passed -Wl,-rpath=3D$gcclibdir, no? What error where you getting without it? > + ;; Install testing data to the 'test' output. > + (mkdir-p test) > + (system* "mv" (string-append out "/data") test) > + (system* "mv" (string-append out "/mysql-test") test) > + (system* "mv" (string-append out "/sql-bench") test))) Could you use =E2=80=98rename-file=E2=80=99? Otherwise LGTM. Thanks, Ludo=E2=80=99.