From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.devel Subject: Re: Failed to compile the emacs latest git master version on Ubuntu 20.10. Date: Fri, 11 Dec 2020 09:43:51 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37628"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs-devel@gnu.org To: Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 11 15:46:39 2020 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 1knjgt-0009fq-Hx for ged-emacs-devel@m.gmane-mx.org; Fri, 11 Dec 2020 15:46:39 +0100 Original-Received: from localhost ([::1]:46212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knjgs-0003ON-Kd for ged-emacs-devel@m.gmane-mx.org; Fri, 11 Dec 2020 09:46:38 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43698) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knjeR-0002Gz-M9 for Emacs-devel@gnu.org; Fri, 11 Dec 2020 09:44:07 -0500 Original-Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]:36904) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1knjeP-00080U-86 for Emacs-devel@gnu.org; Fri, 11 Dec 2020 09:44:07 -0500 Original-Received: by mail-lf1-x133.google.com with SMTP id o17so10736291lfg.4 for ; Fri, 11 Dec 2020 06:44:04 -0800 (PST) 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=xwfAaZJvi9JFKE+yUU54CpivyYn/2mNWA9wp7VgAb5U=; b=bFXtmtlNzkgDzJUrA9eOrazHs6I5y20VFKwbEMW/6WuOWq5LSOOafA6BwTZAVaHbJs l1d3Ci0Ziwxksj62FijGCfuLn6XyfdHt+IVcjLiA0D2AMkCJYdRQ3v29vcIbN4FepLKt YGFA4PwNygZFb93J0t1YQe+cU6+oeg7I4QjD7eMEo/I4wgxAKLm1BpbU4dvbeIR9/i+t UfNXqbs8Gi09vpFUORvxGhJjawDac/rF1W6WeaV37Q/Gts25WCUznm56LTQzaCQyTsTh cEpeK2mZV+aK6sUZKS33A4QnEPW0LTMjnvUgeKW4mbMTVaYBDGNtpmRbBEmlQ+JWI/Op Nb1A== 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=xwfAaZJvi9JFKE+yUU54CpivyYn/2mNWA9wp7VgAb5U=; b=XyMLvRgOzLUzSclbj2Q/NKooJmufBspnvPd8cYNO34bRycKQKkj9ExD6YrO5Z7x9zS EsYP+eVtiFw5AHmMpfYZL5SWue94DA0b1/mkyxaOQu2OlvzTcQreaB98JaShgkVoHTXh TU8hRIdTWk4x1TzHAMci24nZL7FP2TWXP0u1V94fDDLJLpNP1GR2zq8BWIdPBWKdcH2Y ob42qGu8zHDcBcf3zx+Ix4QJsxaD40BaeYRx5LrLSUE6apjR7uLMFbTDNrqE698StWtv 7AHfIpUCK3xMu3iuYxWZeeDw9qCd8ahLvyH2430IA/OVIkD62guzLtZiEK5coTINeOZg FMBw== X-Gm-Message-State: AOAM531H5VQXLy8gDfxeZMZtGyjW42nkq7Ipkj/A79bS67BWa5Qe88d8 sLbNFEXkjiQ2AXJvZZlgkPTceIuk5xyZoUu1aMA= X-Google-Smtp-Source: ABdhPJwcUyPon1yj9qksupXvN8XgT+HDgBu1ReBnwVs+IuEFsFk2cxGPLvYMR/DamgS/01jFT8XMCv/Ipea4tr2e3VQ= X-Received: by 2002:a19:23c8:: with SMTP id j191mr4523557lfj.484.1607697842979; Fri, 11 Dec 2020 06:44:02 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::133; envelope-from=hongyi.zhao@gmail.com; helo=mail-lf1-x133.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, 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:260697 Archived-At: On Fri, Dec 11, 2020 at 9:22 AM Gregory Heytings wrote: > > > Then I'd suggest to use --without-m17n-flt as Eli says. It seems however > that HarfBuzz and m17n are not incompatible, on my computer configure > outputs: > > Does Emacs use HarfBuzz? yes > Does Emacs use -lm17n-flt? yes I see the same configure outputs if don't use the if I don't use the --without-m17n-flt configure option. But the compiling will fail with the error reported here: /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libm17n-core.a(mtext-wseg.o): undefined reference to symbol 'th_brk@@LIBTHAI_0.1' /usr/bin/ld: /lib/x86_64-linux-gnu/libthai.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[1]: *** [Makefile:655: temacs] Error 1 make[1]: Leaving directory '/home/werner/Public/editor/emacs/emacs.git/src' make: *** [Makefile:424: src] Error 2 The emacs git master version: $ git log -1 commit 49a4f06b0675a4a27db1ce5380c02b5043e2d322 (HEAD -> master, origin/master, origin/HEAD) Author: Lars Ingebrigtsen Date: Fri Dec 11 15:21:44 2020 +0100 Fix object-interval tests * test/src/fns-tests.el (object-intervals): Fix tests. > > FWIW, I just compiled the lastest master (004d7e97e2) and have the same > libraries installed: But I can't compile emacs successfully even with these libraries installed as shown below if I don't use the --without-m17n-flt configure option. > > ii libm17n-0:amd64 1.8.0-2 > ii libm17n-dev:amd64 1.8.0-2 > ii libthai-data 0.1.28-3 > ii libthai-dev:amd64 0.1.28-3 > ii libthai0:amd64 0.1.28-3 > > Are the libthai-data and libthai-dev:amd64 packages installed on your > machine? See following for more information: $ dpkg -l | awk '$2 ~/^libthai/{print $2,$3 }' libthai-data 0.1.28-3 libthai-dev:amd64 0.1.28-3 libthai-doc 0.1.28-3 libthai0:amd64 0.1.28-3 Regards, -- Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials Hebei Polytechnic Vocational and Technical University NO. 552 North Gangtie Road, Xingtai, China