From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juan Jose Garcia-Ripoll Newsgroups: gmane.emacs.devel Subject: Re: Emacs build fails loading UNICOWS.DLL Date: Sun, 16 May 2021 21:41:12 +0200 Message-ID: References: <861ra61q32.fsf@csic.es> <831ra6v6di.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000083d86005c277a96c" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32418"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 16 21:42:16 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1liMeV-0008G7-No for ged-emacs-devel@m.gmane-mx.org; Sun, 16 May 2021 21:42:15 +0200 Original-Received: from localhost ([::1]:43490 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1liMeU-0003B4-Me for ged-emacs-devel@m.gmane-mx.org; Sun, 16 May 2021 15:42:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1liMdk-0002U0-EY for emacs-devel@gnu.org; Sun, 16 May 2021 15:41:28 -0400 Original-Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]:39922) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1liMdi-0004sv-PH; Sun, 16 May 2021 15:41:28 -0400 Original-Received: by mail-pj1-x1029.google.com with SMTP id o17-20020a17090a9f91b029015cef5b3c50so4389876pjp.4; Sun, 16 May 2021 12:41:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RwaEzoWKEwBBGKl/WWvIVPe2I91lemvJQi43MfwO0jg=; b=YQyYM5Vf/3k4XXV7v12yE+IfOuHy7TNjLMIZ3DOEXeXSVtQbk87Nax//7ymEF83I9k 72JBKdYECtRNgC8u/5RFNbnhjH9tGa3Ypn911r4gg7XbSZA1gUrqHH4gv8ZG3GFSIC7o fQP8QwZJ7FEIuCR4r+JN1MPp7KGp8wysHZmQZKPaY4P0mMI8Wdn3ZC7VLqhZ+HPW5Jg7 hNjISz2R5Jj6D9jKCDvOLJg00yza4Ih5YsBqhX6p9cB6WJlOfDndNSwJBb3TH+cKTyMA Kf6p2Gth7+zJbr6r5Pp6ARhS1AC+BCTZz/mYmzQq7PQWqcSjUpR5oJeNP+9zZJ/iYc/y 32yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RwaEzoWKEwBBGKl/WWvIVPe2I91lemvJQi43MfwO0jg=; b=QQW3Ay4zYxf6Y451dWZnpD1e611F/ltygt6enHEMl6qoDa9XLJsYAQ+063QhwHw/5C Xliym+aV0/BbAel3eX7dtsk8H0V1KUX98yHRc5/fdEYIv5ehEHy+sXhHAclC9cjTlypC 19aGCU7Zl0jMXIn7A5nA/OuFHPrkN22W+l3b1DN/vcYkwzpqgdfUf/yUEa1yk3UfMO4A pa6qiUm/Jx1aqIbHchjgypCkW8y7gzdGXPRtMcoCuQAxPER2JQia/69rJmucUzq/5eWs N+NFnmv+59NjNcPPLGVqNoyzH15J6qZ4ZmPU5U/7ldnSAifg/EoMYeueTVh+UpMf0OEh DtPQ== X-Gm-Message-State: AOAM530KN6ZsZMi4oB9e6bP3jjxFSRTE09pSv7hxr+RWeJYZtZD/DRsI JlNk6KGez/5gVb4zbqhsyRe4RkJTZ+LfTLSragZL1yJeDQ== X-Google-Smtp-Source: ABdhPJw0nVTP9TPKRUsmE56/rUZrPuNLqwxd6M+8Dck5rjvHvFlvLgy5jhqUlvm9aCYvNDKr79AyQmo9M44CLFnbjUk= X-Received: by 2002:a17:90b:14d7:: with SMTP id jz23mr3237434pjb.105.1621194084438; Sun, 16 May 2021 12:41:24 -0700 (PDT) In-Reply-To: <831ra6v6di.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::1029; envelope-from=juanjose.garciaripoll@gmail.com; helo=mail-pj1-x1029.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:269372 Archived-At: --00000000000083d86005c277a96c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I have printf-debugged. The problem is related to OS_NT being now a macro in Msys2's toolchain. Thus, when Emacs is compiled, OS_NT =3D OS_9X =3D 1 != !! See this patch that was submitted to my repo https://github.com/juanjosegarciaripoll/emacs-build/blob/757284e60e13da8341= e181b86cda4a7c0d5d079c/patches/0001-Using-other-enum-than-OS_NT-which-is-a-= define-in-Win.patch El dom., 16 may. 2021 21:14, Eli Zaretskii escribi=C3=B3: > > From: Juan Jos=C3=A9 Garc=C3=ADa-Ripoll > > > > Date: Sun, 16 May 2021 20:38:41 +0200 > > > > Hi, > > > > I am trying to build emacs using my own script > > (https://github.com/juanjosegarciaripoll/emacs-build) for cloning the > > official repo, downloading MSYS2 and building from scratch. > > > > This which worked in the past but with a recent MSYS2 distribution, > > Emacs does not seem to build. When it launches 'temacs' it aborts with > > an error window that complains about UNICOWS.DLL not being available in > > the system (which it is not). > > This means Emacs thinks you are on Windows 9X. When did you last > updated from Git, and which branch of the repository are you building? > --00000000000083d86005c277a96c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have printf-debugged. The problem is related to OS_NT b= eing now a macro in Msys2's toolchain. Thus, when Emacs is compiled, OS= _NT =3D OS_9X =3D 1 !!! See this patch that was submitted to my repo https://github.com/juanjosegarciaripoll/emacs-bui= ld/blob/757284e60e13da8341e181b86cda4a7c0d5d079c/patches/0001-Using-other-e= num-than-OS_NT-which-is-a-define-in-Win.patch

El dom., 16 may. 2021 21:1= 4, Eli Zaretskii <eliz@gnu.org> e= scribi=C3=B3:
> From: Juan Jos= =C3=A9 Garc=C3=ADa-Ripoll
>=C2=A0 <juanjose.garciaripoll@gmail.com>
> Date: Sun, 16 May 2021 20:38:41 +0200
>
> Hi,
>
> I am trying to build emacs using my own script
> (https://github.com/juanjosegar= ciaripoll/emacs-build) for cloning the
> official repo, downloading MSYS2 and building from scratch.
>
> This which worked in the past but with a recent MSYS2 distribution, > Emacs does not seem to build. When it launches 'temacs' it abo= rts with
> an error window that complains about UNICOWS.DLL not being available i= n
> the system (which it is not).

This means Emacs thinks you are on Windows 9X.=C2=A0 When did you last
updated from Git, and which branch of the repository are you building?
--00000000000083d86005c277a96c--