unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jean-Christophe Helary <lists@traduction-libre.org>
To: Alan Third <alan@idiocy.org>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur)
Date: Sun, 12 Sep 2021 17:47:45 +0900	[thread overview]
Message-ID: <06FC1F7D-92CF-4722-AB6F-1B698F48082B@traduction-libre.org> (raw)
In-Reply-To: <YTzWtlIyUeBKu6dL@idiocy.org>



> On Sep 12, 2021, at 1:17, Alan Third <alan@idiocy.org> wrote:
> 
> On Sat, Sep 11, 2021 at 09:30:44AM +0900, Jean-Christophe Helary wrote:
>> 
>> 
>>> On Sep 10, 2021, at 6:07, Alan Third <alan@idiocy.org> wrote:
>>> 
>>> On Thu, Sep 09, 2021 at 08:44:47AM +0900, Jean-Christophe Helary wrote:
>>>> 
>>>> And the third version of the patch you sent produced the same error... :(
>>>> 
>>>> I have just totally removed brew and macports to remove all the
>>>> cruft and reinstalled only the packages that I needed (and their
>>>> dependencies).
>>> 
>>> What about running
>>> 
>>>   HAVE_MACPORTS="" ./configure
>> 
>> That worked, but
>> 
>> HAVE_MACPORTS="" ./configure --with-native-compilation 
>> 
>> did not work.
>> 
>> And your latest patch did not either... :(
> 
> I'm out of ideas.
> 
> Are you definitely applying the patch correctly?

I think I am.

> Do you need to rerun autogen.sh? Make should automatically rerun it
> when configure.ac has changed.
> 
> Does this print "GOOD" if you run it in the terminal?
> 
>    PORT_PACKAGE=$(port installed active | grep '^ *gcc@<:@0-9@:>@* ' | \
>                        awk '{ print $1; }')
>    if test -n "$PORT_PACKAGE"; then
>      echo "SOMETHING'S BROKEN"
>    else
>      echo "GOOD"
>    fi

It does:

emacs on  master [$✘!?] 
➜ PORT_PACKAGE=$(port installed active | grep '^ *gcc@<:@0-9@:>@* ' | \
                       awk '{ print $1; }')
   if test -n "$PORT_PACKAGE"; then
     echo "SOMETHING'S BROKEN"
   else
     echo "GOOD"
   fi
GOOD


What I'll do when I have some time is try again from scratch:

1) remove macports and brew
2) reinstall only the required dependencies, along with Xcode command line tools
3) apply your last patch

I think I have a "minimal" set of commands now, still, with the dependencies it all adds up to quite something:

emacs on  master [$✘!?] took 3s 
➜ port installed
The following ports are currently installed:
  bzip2 @1.0.8_0 (active)
  gettext @0.19.8.1_2 (active)
  icu @67.1_4 (active)
  libcxx @5.0.1_4 (active)
  libedit @20210216-3.1_0 (active)
  libffi @3.4.2_0 (active)
  libiconv @1.16_1 (active)
  libxml2 @2.9.12_1 (active)
  llvm-10 @10.0.1_2 (active)
  llvm_select @2_0 (active)
  ncurses @6.2_1 (active)
  openssl @1.1.1l_0 (active)
  readline @8.1.000_0 (active)
  xar @1.8.0.452_0 (active)
  xz @5.2.5_0 (active)
  zlib @1.2.11_0 (active)

emacs on  master [$✘!?] 
➜ brew list --versions
ant 1.10.11
aom 3.1.2
autoconf 2.71
bdw-gc 8.0.4_2
berkeley-db 18.1.40
brotli 1.0.9
c-ares 1.17.2
cairo 1.16.0_5
docbook 5.1_1
docbook-xsl 1.79.2_1
fontconfig 2.13.1
freetype 2.11.0
fribidi 1.0.10
gdbm 1.20
gdk-pixbuf 2.42.6
gettext 0.21
ghostscript 9.54.0
giflib 5.2.1
git 2.33.0
glib 2.68.4
gmp 6.2.1
gnu-getopt 2.37.2
gnutls 3.6.16
gobject-introspection 1.68.0_1
graphite2 1.3.14
gsasl 1.10.0
guile 3.0.7
harfbuzz 2.9.0
icu4c 69.1
imagemagick 7.1.0-6
imath 3.1.3
isl 0.24
jansson 2.13.1
jbig2dec 0.19
jemalloc 5.2.1_1
jpeg 9d
libde265 1.0.8
libev 4.33
libevent 2.1.12
libffi 3.3_3
libgccjit 11.2.0
libgcrypt 1.9.4
libgpg-error 1.42
libheif 1.12.0
libidn 1.38
libidn2 2.3.2
liblqr 0.4.2_1
libmpc 1.2.1
libomp 12.0.1
libpng 1.6.37
libpthread-stubs 0.4
librsvg 2.50.7
libtasn1 4.17.0
libtiff 4.3.0
libtool 2.4.6_4
libunistring 0.9.10
libuv 1.42.0
libx11 1.7.2
libxau 1.0.9
libxcb 1.14_1
libxdmcp 1.1.3
libxext 1.3.4
libxpm 3.5.13
libxrender 0.9.10
little-cms2 2.12
lynx 2.8.9rel.1_1
lzo 2.10
m4 1.4.19
mailutils 3.13
mpdecimal 2.5.1
mpfr 4.1.0
nettle 3.7.3
nghttp2 1.44.0
node 16.8.0
openexr 3.1.1
openjdk 16.0.2
openjpeg 2.4.0
openssl@1.1 1.1.1l
p11-kit 0.24.0
pandoc 2.14.2
pango 1.48.9
pcre 8.45
pcre2 10.37_1
perl 5.34.0
pixman 0.40.0
pkg-config 0.29.2_3
po4a 0.63_2
python@3.9 3.9.7
readline 8.1
saxon 10.5
shared-mime-info 2.1
sqlite 3.36.0
texinfo 6.8
unbound 1.13.2
webp 1.2.1
wget 1.21.1_1
x265 3.5
xmlto 0.0.28
xorgproto 2021.4
xz 5.2.5
youtube-dl 2021.6.6

Then I have this for gcc:

emacs on  master [$✘!?] 
➜ gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 12.0.5 (clang-1205.0.22.11)
Target: x86_64-apple-darwin20.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

JC

-- 
Jean-Christophe Helary @brandelune
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/




  reply	other threads:[~2021-09-12  8:47 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-15  6:10 ./configure --with-native-compilation on macos (11.5.2 Big Sur) Jean-Christophe Helary
2021-08-16 17:18 ` Alan Third
2021-08-17  0:59   ` Jean-Christophe Helary
2021-08-17  1:02     ` Jean-Christophe Helary
2021-08-17 19:45     ` Alan Third
2021-08-20  6:29       ` Jean-Christophe Helary
2021-08-21  4:43         ` Jean-Christophe Helary
2021-08-21  9:47           ` Alan Third
2021-09-05 13:07             ` Alan Third
2021-09-05 13:22               ` Jean-Christophe Helary
2021-09-06  3:24                 ` Alan Third
2021-09-06  3:46                   ` Jean-Christophe Helary
2021-09-06  6:27                     ` Jean-Christophe Helary
2021-09-06  6:43                       ` Jean-Christophe Helary
2021-09-06  7:10                         ` Jean-Christophe Helary
2021-09-06  7:34                           ` Stefan Kangas
2021-09-06  7:38                             ` Jean-Christophe Helary
2021-09-06  7:52                               ` Stefan Kangas
2021-09-06 10:33                         ` Eli Zaretskii
2021-09-06 12:12                           ` Jean-Christophe Helary
2021-09-06 12:34                             ` Eli Zaretskii
2021-09-06  9:45                       ` Jean-Christophe Helary
2021-09-06 20:01                         ` Alan Third
2021-09-06 23:50                           ` Jean-Christophe Helary
2021-09-13 22:55                             ` Jean-Christophe Helary
2021-09-08  7:34                           ` Lars Ingebrigtsen
2021-09-08 15:31                         ` Alan Third
2021-09-08 20:59                           ` Alan Third
2021-09-08 21:15                             ` Alan Third
2021-09-08 23:44                           ` Jean-Christophe Helary
2021-09-09 21:07                             ` Alan Third
2021-09-10  0:35                               ` Jean-Christophe Helary
2021-09-10 20:53                                 ` Alan Third
2021-09-11  5:54                                   ` Eli Zaretskii
2021-09-11  0:30                               ` Jean-Christophe Helary
2021-09-11 16:17                                 ` Alan Third
2021-09-12  8:47                                   ` Jean-Christophe Helary [this message]
2021-09-12 11:59                                     ` Alan Third
2021-09-13 12:06                                       ` Jean-Christophe Helary
2021-09-13 18:19                                         ` Alan Third
2021-09-13 18:42                                           ` Alan Third
2021-09-13 22:04                                             ` Jean-Christophe Helary
2021-09-13 22:08                                               ` Alan Third
2021-09-13 22:24                                                 ` Jean-Christophe Helary
2021-09-13 22:56                                                   ` Jean-Christophe Helary
2021-09-14 15:22                                           ` Alan Third
2021-09-14 17:10                                             ` Jean-Christophe Helary

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=06FC1F7D-92CF-4722-AB6F-1B698F48082B@traduction-libre.org \
    --to=lists@traduction-libre.org \
    --cc=alan@idiocy.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).