From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Lepiller Subject: bug#33499: file-5.33 doesn't detect berkeley-db files correctly Date: Sun, 25 Nov 2018 13:10:48 +0100 Message-ID: <20181125131048.73d2a02b@lepiller.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQtGg-0002Uu-4R for bug-guix@gnu.org; Sun, 25 Nov 2018 07:12:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gQtGc-0003jJ-67 for bug-guix@gnu.org; Sun, 25 Nov 2018 07:12:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:41838) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gQtGc-0003gZ-2k for bug-guix@gnu.org; Sun, 25 Nov 2018 07:12:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gQtGb-0008Co-QY for bug-guix@gnu.org; Sun, 25 Nov 2018 07:12:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQtFa-0002Qu-Qs for bug-guix@gnu.org; Sun, 25 Nov 2018 07:10:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gQtFW-0001rB-P9 for bug-guix@gnu.org; Sun, 25 Nov 2018 07:10:58 -0500 Received: from lepiller.eu ([2a00:5884:8208::1]:36858) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gQtFW-0001go-GM for bug-guix@gnu.org; Sun, 25 Nov 2018 07:10:54 -0500 Received: from localhost (static-176-182-42-79.ncc.abo.bbox.fr [176.182.42.79]) by lepiller.eu (OpenSMTPD) with ESMTPSA id a3f55be0 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Sun, 25 Nov 2018 12:08:29 +0000 (UTC) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 33499@debbugs.gnu.org Hi, our file on core-updates (soon to be master), fails to detect berkeley-db files correctly. I've sent a bug report upstream about this issue here: https://bugs.astron.com/view.php?id=54 This issue seems to be only present on file-5.33, and is solved in more recent versions. I haven't fixed the issue on core-updates because it's a rebuild-the-world change, and I don't think we can push those anymore at this stage in core-updates. This issue affects diffoscope, where a test fails because it doesn't detect the correct file type. You can reproduce the issue with: file /path/to/diffoscope/source/tests/data/test1.db which returns `, created: Thu Jan 1 00:38:24 1970` instead of `Berkeley DB (Btree, version 9, native byte-order)`. For now, I've disabled the test in diffoscope, so we can build it. Other packages might be affected by this bug.