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 15:40:13 +0200 Message-ID: <87mw26an5u.fsf@gnu.org> References: <1429255498-32458-1-git-send-email-iyzsong@gmail.com> <1429255498-32458-3-git-send-email-iyzsong@gmail.com> <87bninargs.fsf@gnu.org> <874moelxfx.fsf@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]:48401) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yj6VI-0002In-AN for guix-devel@gnu.org; Fri, 17 Apr 2015 09:40:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yj6VE-0003GO-7L for guix-devel@gnu.org; Fri, 17 Apr 2015 09:40:20 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yj6VE-0003GJ-4C for guix-devel@gnu.org; Fri, 17 Apr 2015 09:40:16 -0400 In-Reply-To: <874moelxfx.fsf@gmail.com> (=?utf-8?B?IuWui+aWh+atpiIncw==?= message of "Fri, 17 Apr 2015 21:02:42 +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: > Ludovic Court=C3=A8s writes: > >> =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? > Without this flag, all binaries are broken (they linked with > libstdc++.so but with libgcc_s.so not found). On master or core-updates? How is that possible? All binaries have GCC=E2=80=99s lib output in their RUNPATH AFAIK. >>> + ;; 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? > It seem that those are assumed to be installed with the same > basedir as mariadb, and I failed to trick it to run. > > I'd like to remove those test data (and the 'test' output). Actually yes, why is this =E2=80=9Ctest=E2=80=9D output needed in the first= place? Ludo=E2=80=99.