From patchwork Wed Feb 6 19:21:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikolai Merinov X-Patchwork-Id: 964 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 78AB216BCA; Wed, 6 Feb 2019 21:24:12 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 29CFD16BC8 for ; Wed, 6 Feb 2019 21:24:12 +0000 (GMT) Received: from localhost ([127.0.0.1]:58725 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grUfz-0000bk-Ek for patchwork@mira.cbaines.net; Wed, 06 Feb 2019 16:24:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grUfr-0000Zy-RZ for guix-patches@gnu.org; Wed, 06 Feb 2019 16:24:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1grUfr-00087b-2U for guix-patches@gnu.org; Wed, 06 Feb 2019 16:24:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36957) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1grUfq-00087U-V5 for guix-patches@gnu.org; Wed, 06 Feb 2019 16:24:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1grUfq-0000Em-ND for guix-patches@gnu.org; Wed, 06 Feb 2019 16:24:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34351] [PATCH] gnu: mariadb: Fix build Resent-From: Nikolai Merinov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Feb 2019 21:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34351 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34351@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1549488212871 (code B ref -1); Wed, 06 Feb 2019 21:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Feb 2019 21:23:32 +0000 Received: from localhost ([127.0.0.1]:36238 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1grUfM-0000Dz-EW for submit@debbugs.gnu.org; Wed, 06 Feb 2019 16:23:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1grUfJ-0000Dh-SV for submit@debbugs.gnu.org; Wed, 06 Feb 2019 16:23:30 -0500 Received: from lists.gnu.org ([209.51.188.17]:35247) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1grUfE-0007lS-K0 for submit@debbugs.gnu.org; Wed, 06 Feb 2019 16:23:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grUfD-0008Tl-Jc for guix-patches@gnu.org; Wed, 06 Feb 2019 16:23:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1grUTm-0002xD-12 for guix-patches@gnu.org; Wed, 06 Feb 2019 16:11:36 -0500 Received: from mail-lf1-f66.google.com ([209.85.167.66]:44050) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1grUTc-0002sm-Sl for guix-patches@gnu.org; Wed, 06 Feb 2019 16:11:26 -0500 Received: by mail-lf1-f66.google.com with SMTP id z13so6467672lfe.11 for ; Wed, 06 Feb 2019 13:11:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=MIOIHLbpLQ3XhRsAhXlNDt75iWuj1Y2Jsjd8jbpccXM=; b=qyj08NJbzBRsugFscGL8I61lr2BMc9PobFcEXJNMN5yM5WP+b3K//CtFJ+zHiCBGo+ UtHhtoSI0RgPx91Z7S4OF4m/tCOrjBjShgJn4ZXwjSScvy09tC2IuOCXkgQTZiE5XZaK rfFiXovsxSP1tXpNZi/1TuETiN46Lo2YyrfUC6Qn9QiMlmoUdZyqa8roha8DLPIXelrs uYAyWN6ENQ7CmoBWUbY2QqsXmsNbYurFBVxIXdgIf5ifMMOQ2zGCOrvqn4wPyvrz0mwy LYk5tbUuzom4wCDizfG0dZ9hDdgt+ZvM5rTwFvFGLqDUGAY5eihC7hwG+cWTXlS5Hx5l gjUA== X-Gm-Message-State: AHQUAuaDScFL5q5OJfujx96dDMkY81VzR9DCi9PJgjyhWfKnwwnQgoW9 ocoApfU32Q9R6I3e1MPESmBY3jt0 X-Google-Smtp-Source: AHgI3IaI2NG9lhnkNYx3dInHL9lAlSGiXsmm3Osru7nPraf4/xVc1Dan219IPhiwXNQK4Xb040648g== X-Received: by 2002:a19:6e0b:: with SMTP id j11mr7681343lfc.124.1549487478027; Wed, 06 Feb 2019 13:11:18 -0800 (PST) Received: from libremnd (109-252-82-188.nat.spd-mgts.ru. [109.252.82.188]) by smtp.gmail.com with ESMTPSA id z17sm4246587lfh.9.2019.02.06.13.11.17 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Feb 2019 13:11:17 -0800 (PST) From: Nikolai Merinov Date: Thu, 7 Feb 2019 00:21:17 +0500 Message-ID: <87zhr8r5am.fsf@member.fsf.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches The mariadb package failed to build starting from 2019-01-01. The reason for this failure is the hard-coded "2018-12-31 21:01:23" event execution time in the mysqldump.test. If we try to run this test after a hard-coded time then test fails with next additional message in test log: > +Warnings: > +Note 1588 Event execution time is in the past and ON COMPLETION NOT PRESERVE is set. The event was dropped immediately after creation. * gnu/packages/databases.scm (mariadb): Change an event execution time in mysqldump test to the future time. --- gnu/packages/databases.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 50766fc010..cab8b89949 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -608,6 +608,12 @@ Language.") (substitute* "mysql-test/mysql-test-run.pl" (("/bin/ls") (which "ls")) (("/bin/sh") (which "sh"))) + + ;; This test fail if a time for the "create event" command in the past + (with-fluids ((%default-port-encoding #f)) + (substitute* '("mysql-test/t/mysqldump.test" + "mysql-test/r/mysqldump.result") + (("2018-12-31") "2025-12-31"))) #t))) (add-before 'configure 'disable-plugins (lambda _