From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.lisp.guile.devel Subject: Re: Guile 2.2 on MSYS2 + MinGW Date: Thu, 18 Jan 2018 18:00:13 +0200 Message-ID: <83k1wfupgy.fsf@gnu.org> References: <07B6825B-EB62-47B1-957C-2ACB69671AD8@gmail.com> <83inc0wkf4.fsf@gnu.org> <86AF0A8E-4553-45B0-A0A7-66AF13C2B80E@gmail.com> <83wp0fuul5.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1516291134 1514 195.159.176.226 (18 Jan 2018 15:58:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 18 Jan 2018 15:58:54 +0000 (UTC) Cc: guile-devel@gnu.org To: Matthew Keeter Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Jan 18 16:58:49 2018 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ecCaC-0007MJ-Jb for guile-devel@m.gmane.org; Thu, 18 Jan 2018 16:58:28 +0100 Original-Received: from localhost ([::1]:38661 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ecCcB-0008B2-41 for guile-devel@m.gmane.org; Thu, 18 Jan 2018 11:00:31 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ecCc3-00089s-3S for guile-devel@gnu.org; Thu, 18 Jan 2018 11:00:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ecCby-0008Br-0e for guile-devel@gnu.org; Thu, 18 Jan 2018 11:00:23 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57115) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ecCbx-0008Bj-TC; Thu, 18 Jan 2018 11:00:17 -0500 Original-Received: from [176.228.60.248] (port=4691 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ecCbx-0004hA-BK; Thu, 18 Jan 2018 11:00:17 -0500 In-reply-to: (message from Matthew Keeter on Thu, 18 Jan 2018 10:18:36 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.org gmane.lisp.guile.devel:19467 Archived-At: > From: Matthew Keeter > Date: Thu, 18 Jan 2018 10:18:36 -0500 > > Yup, I’m building 2.2.3. I see mktime.c in guile-2.2.3/lib, but do not see > mktime.o when I objdump libgnu.a, indicating that it’s not being built. > > In config.log, I see a few lines that could be relevant: > > configure:34662: checking for working mktime > ... > gl_cv_func_working_mktime=yes > ... > GNULIB_MKTIME=‘1' > ... > REPLACE_MKTIME=‘0' > ... > gl_GNULIB_ENABLED_mktime_FALSE='#' > gl_GNULIB_ENABLED_mktime_TRUE=‘' > > (full config.log is here: https://gist.github.com/mkeeter/81c273069a2804ad8d53e72533f6f8da) > > Does this offer any insight? I’m confused by the conflicting GNULIB_MKTIME vs > gl_GNULIB_ENABLED_mktime_TRUE, but am not adept at parsing automake outputs… Then this sounds like a bug in Gnulib: it determines that your platform doesn't need mktime, but it "forgets" that timegm, which your platform does need, depends on mktime. So I suggest to report this to the Gnulib mailing list, and I hope they will propose a solution. Meanwhile, you can continue the build by copy/pasting the source of mktime.c into some Gnulib source that is being compiled (e.g. timegm.c, which needs it in the first place), and re-running "make".