unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#35174: emacs-git sha f2d22273599f96a731e23b2f6d7571af8bb7bb3f fails to build
@ 2019-04-06 19:08 Stefan Cocora
  2019-04-06 19:48 ` Noam Postavsky
  2019-04-09 22:35 ` Noam Postavsky
  0 siblings, 2 replies; 8+ messages in thread
From: Stefan Cocora @ 2019-04-06 19:08 UTC (permalink / raw)
  To: 35174

[-- Attachment #1: Type: text/plain, Size: 1143 bytes --]

Hi devel team,


FYI:
Latest emacs-git from HEAD f2d22273599f96a731e23b2f6d7571af8bb7bb3f
fails to build inside an nspawn clean and updated archlinux chroot, with
this missing libgnu.a error:

...
  GEN      time.h
  GEN      unistd.h
  AR       libgnu.a
ar: fcntl.o: No such file or directory
make[1]: *** [Makefile:103: libgnu.a] Error 1
make: *** [Makefile:410: lib] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
```

Full build log can be found here:
- attached to this email
- https://gitlab.com/snippets/1843871
- https://gist.github.com/stefancocora/743cc3e1f5c2a7baa484c4666ce30a58

The build is automated using this archlinux PKGBUILD package manifest
- https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=emacs-git
- attached to this email

As far as the archlinux package content search is able to find only
"extra/clisp" contains this libgnu.a file but even when adding clisp to
the depends list emacs-git fails to build.

Note:
emacs-git cf6950366bd2b2aad4daa2d601bd8ccdb50df700 has been able to
build fine using the same archlinux nspawn clean chroot and the same
PKGBUILD 2-3 weeks ago.


Regards,
Stefan

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: emacs-git-f2d2227-failed-build.log --]
[-- Type: text/x-log; name="emacs-git-f2d2227-failed-build.log", Size: 57892 bytes --]

=== clearing files from the SRCDEST dir
=== building pkg: emacs-git
==> Synchronizing chroot copy [/home/stefan/asp/chroot/root] -> [stefan]...done
==> Making package: emacs-git 27.0.50.135748-1 (Fri Apr  5 19:25:20 2019)
==> Retrieving sources...
  -> Updating emacs-git git repo...
Fetching origin
==> Validating source files with md5sums...
    emacs-git ... Skipped
==> Making package: emacs-git 27.0.50.135748-1 (Fri 05 Apr 2019 07:25:21 PM BST)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: harfbuzz will be installed before its freetype2 dependency
warning: dependency cycle detected:
warning: libglvnd will be installed before its mesa dependency

Packages (94) adobe-source-code-pro-fonts-2.030ro+1.050it-5  adwaita-icon-theme-3.32.0-1  at-spi2-atk-2.32.0-1
              at-spi2-core-2.32.0-1  atk-2.32-1  avahi-0.7+18+g1b5f401-1  cairo-1.16.0-2  cantarell-fonts-1:0.111-1
              colord-1.4.4-1  dconf-0.32.0-1  desktop-file-utils-0.23+4+g92af410-1  fontconfig-2:2.13.1+12+g5f5ec56-1
              freetype2-2.10.0-1  fribidi-1.0.5-1  gdk-pixbuf2-2.38.1-1  glib-networking-2.60.1-1  graphite-1:1.3.13-1
              gsettings-desktop-schemas-3.32.0-2  gtk-update-icon-cache-1:3.24.7+25+g17665f06e3-1  harfbuzz-2.4.0-1
              hicolor-icon-theme-0.17-1  jasper-2.0.16-1  js52-52.9.0-2  json-glib-1.4.4-1  lcms2-2.9-1
              libcanberra-0.30+2+gc0620e4-2  libcups-2.2.11-1  libdaemon-0.14-4  libdatrie-0.2.12-1  libdrm-2.4.97-1
              libedit-20181209_3.1-1  libepoxy-1.5.3-1  libglvnd-1.1.1-1  libgudev-232-1  libgusb-0.3.0-1  libice-1.0.9-2
              libogg-1.3.3-3  libomxil-bellagio-0.9.3-2  libpciaccess-0.14-1  libpng-1.6.36-1  libproxy-0.4.15-8
              librsvg-2:2.44.13-1  libsigsegv-2.12-1  libsm-1.2.3-1  libsoup-2.66.0-1  libthai-0.1.28-1  libtiff-4.0.10-1
              libunwind-1.3.1-1  libvorbis-1.3.6-1  libx11-1.6.7-1  libxau-1.0.9-1  libxaw-1.0.13-2  libxcb-1.13.1-1
              libxcomposite-0.4.5-1  libxcursor-1.2.0-1  libxdamage-1.1.5-1  libxdmcp-1.1.3-1  libxext-1.3.4-1
              libxfixes-5.0.3-2  libxft-2.3.3-1  libxi-1.7.9-2  libxinerama-1.1.4-1  libxkbcommon-0.8.4-1  libxmu-1.1.3-1
              libxpm-3.5.12-2  libxrandr-1.5.2-1  libxrender-0.9.10-2  libxshmfence-1.3-1  libxt-1.1.5-2  libxtst-1.2.3-2
              libxxf86vm-1.1.4-2  llvm-libs-8.0.0-1  lm_sensors-3.5.0-1  lzo-2.10-2  mesa-19.0.1-2  pango-1:1.43.0-1
              pixman-0.38.0-2  polkit-0.115+24+g5230646-1  rest-0.8.1-1  shared-mime-info-1.12-1
              sound-theme-freedesktop-0.8-3  tdb-1.3.18-2  wayland-1.17.0-1  wayland-protocols-1.17-1  xcb-proto-1.13-2
              xkeyboard-config-2.26-2  xorgproto-2018.4-1  alsa-lib-1.1.8-1  clisp-2.49.93-2  giflib-5.1.9-3
              gtk3-1:3.24.7+25+g17665f06e3-1  jansson-2.12-1  libjpeg-turbo-2.0.2-1  libotf-0.9.16-1

Total Installed Size:  398.54 MiB

:: Proceed with installation? [Y/n]
(94/94) checking keys in keyring                                            [##########################################] 100%
(94/94) checking package integrity                                          [##########################################] 100%
(94/94) loading package files                                               [##########################################] 100%
(94/94) checking for file conflicts                                         [##########################################] 100%
(94/94) checking available disk space                                       [##########################################] 100%
:: Processing package changes...
( 1/94) installing alsa-lib                                                 [##########################################] 100%
Optional dependencies for alsa-lib
    python2: for python smixer plugin
( 2/94) installing libsigsegv                                               [##########################################] 100%
( 3/94) installing clisp                                                    [##########################################] 100%
( 4/94) installing jansson                                                  [##########################################] 100%
( 5/94) installing atk                                                      [##########################################] 100%
( 6/94) installing libpng                                                   [##########################################] 100%
( 7/94) installing xcb-proto                                                [##########################################] 100%
( 8/94) installing xorgproto                                                [##########################################] 100%
( 9/94) installing libxdmcp                                                 [##########################################] 100%
(10/94) installing libxau                                                   [##########################################] 100%
(11/94) installing libxcb                                                   [##########################################] 100%
(12/94) installing libx11                                                   [##########################################] 100%
(13/94) installing libxrender                                               [##########################################] 100%
(14/94) installing libxext                                                  [##########################################] 100%
(15/94) installing graphite                                                 [##########################################] 100%
(16/94) installing harfbuzz                                                 [##########################################] 100%
Optional dependencies for harfbuzz
    cairo: hb-view program [pending]
(17/94) installing freetype2                                                [##########################################] 100%
(18/94) installing fontconfig                                               [##########################################] 100%

  Fontconfig configuration is done via /etc/fonts/conf.avail and conf.d.
  Read /etc/fonts/conf.d/README for more information.

  Configuration via /etc/fonts/local.conf is still possible,
  but is no longer recommended for options available in conf.avail.

  Main systemwide configuration should be done by symlinks
  (especially for autohinting, sub-pixel and lcdfilter):

  cd /etc/fonts/conf.d
  ln -s ../conf.avail/XX-foo.conf

  Check also https://wiki.archlinux.org/index.php/Font_Configuration
  and https://wiki.archlinux.org/index.php/Fonts.

Rebuilding fontconfig cache... done.
(19/94) installing pixman                                                   [##########################################] 100%
(20/94) installing lzo                                                      [##########################################] 100%
(21/94) installing cairo                                                    [##########################################] 100%
(22/94) installing libxfixes                                                [##########################################] 100%
(23/94) installing libxcursor                                               [##########################################] 100%
Optional dependencies for libxcursor
    gnome-themes-standard: fallback icon theme
(24/94) installing libxinerama                                              [##########################################] 100%
(25/94) installing libxrandr                                                [##########################################] 100%
(26/94) installing libxi                                                    [##########################################] 100%
(27/94) installing libepoxy                                                 [##########################################] 100%
(28/94) installing libjpeg-turbo                                            [##########################################] 100%
(29/94) installing libtiff                                                  [##########################################] 100%
Optional dependencies for libtiff
    freeglut: for using tiffgt
(30/94) installing jasper                                                   [##########################################] 100%
Optional dependencies for jasper
    jasper-doc: documentation
    freeglut: jiv support
    glu: jiv support
(31/94) installing shared-mime-info                                         [##########################################] 100%
(32/94) installing gdk-pixbuf2                                              [##########################################] 100%
(33/94) installing dconf                                                    [##########################################] 100%
(34/94) installing libxcomposite                                            [##########################################] 100%
(35/94) installing libxdamage                                               [##########################################] 100%
(36/94) installing libdatrie                                                [##########################################] 100%
(37/94) installing libthai                                                  [##########################################] 100%
(38/94) installing libxft                                                   [##########################################] 100%
(39/94) installing fribidi                                                  [##########################################] 100%
(40/94) installing pango                                                    [##########################################] 100%
(41/94) installing libxtst                                                  [##########################################] 100%
(42/94) installing at-spi2-core                                             [##########################################] 100%
Optional dependencies for at-spi2-core
    dbus-broker: Alternative bus implementation
(43/94) installing at-spi2-atk                                              [##########################################] 100%
(44/94) installing wayland                                                  [##########################################] 100%
(45/94) installing xkeyboard-config                                         [##########################################] 100%
(46/94) installing libxkbcommon                                             [##########################################] 100%
(47/94) installing hicolor-icon-theme                                       [##########################################] 100%
(48/94) installing librsvg                                                  [##########################################] 100%
(49/94) installing gtk-update-icon-cache                                    [##########################################] 100%
(50/94) installing adwaita-icon-theme                                       [##########################################] 100%
(51/94) installing json-glib                                                [##########################################] 100%
(52/94) installing wayland-protocols                                        [##########################################] 100%
(53/94) installing desktop-file-utils                                       [##########################################] 100%
(54/94) installing libpciaccess                                             [##########################################] 100%
(55/94) installing libdrm                                                   [##########################################] 100%
(56/94) installing libxxf86vm                                               [##########################################] 100%
(57/94) installing libxshmfence                                             [##########################################] 100%
(58/94) installing libomxil-bellagio                                        [##########################################] 100%
(59/94) installing libunwind                                                [##########################################] 100%
(60/94) installing libedit                                                  [##########################################] 100%
(61/94) installing llvm-libs                                                [##########################################] 100%
(62/94) installing lm_sensors                                               [##########################################] 100%
Optional dependencies for lm_sensors
    rrdtool: for logging with sensord
(63/94) installing libglvnd                                                 [##########################################] 100%
(64/94) installing mesa                                                     [##########################################] 100%
Optional dependencies for mesa
    opengl-man-pages: for the OpenGL API man pages
    mesa-vdpau: for accelerated video playback
    libva-mesa-driver: for accelerated video playback
(65/94) installing cantarell-fonts                                          [##########################################] 100%
(66/94) installing lcms2                                                    [##########################################] 100%
(67/94) installing libgusb                                                  [##########################################] 100%
(68/94) installing js52                                                     [##########################################] 100%
(69/94) installing polkit                                                   [##########################################] 100%
(70/94) installing libgudev                                                 [##########################################] 100%
(71/94) installing colord                                                   [##########################################] 100%
Optional dependencies for colord
    argyllcms: color profiling
    colord-sane: SANE support
(72/94) installing libproxy                                                 [##########################################] 100%
Optional dependencies for libproxy
    networkmanager: NetworkManager configuration module
    perl: Perl bindings [installed]
    python2: Python 2.x bindings
    python: Python 3.x bindings
    glib2: gsettings configuration module [installed]
    webkit2gtk: PAC proxy support (Webkit2gtk engine)
(73/94) installing adobe-source-code-pro-fonts                              [##########################################] 100%
(74/94) installing gsettings-desktop-schemas                                [##########################################] 100%
(75/94) installing glib-networking                                          [##########################################] 100%
Optional dependencies for glib-networking
    openssl: Alternative backend [installed]
(76/94) installing libsoup                                                  [##########################################] 100%
(77/94) installing rest                                                     [##########################################] 100%
(78/94) installing libdaemon                                                [##########################################] 100%
(79/94) installing avahi                                                    [##########################################] 100%
Optional dependencies for avahi
    gtk3: avahi-discover, avahi-discover-standalone, bshell, bssh, bvnc [pending]
    gtk2: gtk2 bindings
    qt4: qt4 bindings
    qt5-base: qt5 bindings
    pygtk: avahi-bookmarks
    python2-twisted: avahi-bookmarks
    mono: mono bindings
    nss-mdns: NSS support for mDNS
    python-gobject: avahi-discover
    python-dbus: avahi-discover
(80/94) installing libcups                                                  [##########################################] 100%
(81/94) installing libogg                                                   [##########################################] 100%
(82/94) installing libvorbis                                                [##########################################] 100%
(83/94) installing tdb                                                      [##########################################] 100%
Optional dependencies for tdb
    python: for python bindings
(84/94) installing sound-theme-freedesktop                                  [##########################################] 100%
(85/94) installing libcanberra                                              [##########################################] 100%
Optional dependencies for libcanberra
    libcanberra-pulse: PulseAudio driver
    libcanberra-gstreamer: GStreamer driver
(86/94) installing gtk3                                                     [##########################################] 100%
(87/94) installing libice                                                   [##########################################] 100%
(88/94) installing libsm                                                    [##########################################] 100%
(89/94) installing libxt                                                    [##########################################] 100%
(90/94) installing libxmu                                                   [##########################################] 100%
(91/94) installing libxpm                                                   [##########################################] 100%
(92/94) installing libxaw                                                   [##########################################] 100%
(93/94) installing libotf                                                   [##########################################] 100%
(94/94) installing giflib                                                   [##########################################] 100%
:: Running post-transaction hooks...
( 1/14) Warn about old perl modules
( 2/14) Updating fontconfig cache...
( 3/14) Probing GDK-Pixbuf loader modules...
( 4/14) Updating GIO module cache...
( 5/14) Compiling GSettings XML schema files...
( 6/14) Probing GTK3 input method modules...
( 7/14) Updating icon theme caches...
( 8/14) Reloading system manager configuration...
  Skipped: Current root is not booted.
( 9/14) Creating system user accounts...
Creating group avahi with gid 977.
Creating user avahi (Avahi mDNS/DNS-SD daemon) with uid 977 and gid 977.
Creating group colord with gid 976.
Creating user colord (Color management daemon) with uid 976 and gid 976.
Creating group polkitd with gid 102.
Creating user polkitd (PolicyKit daemon) with uid 102 and gid 102.
(10/14) Creating temporary files...
Failed to open file "/sys/devices/system/cpu/microcode/reload": Read-only file system
error: command failed to execute correctly
(11/14) Reloading device manager configuration...
  Skipped: Device manager is not running.
(12/14) Arming ConditionNeedsUpdate...
(13/14) Updating the desktop file MIME type cache...
(14/14) Updating the MIME type database...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (4) perl-error-0.17027-1  perl-mailtools-2.20-2  perl-timedate-2.30-5  git-2.21.0-1

Total Installed Size:  37.99 MiB

:: Proceed with installation? [Y/n]
(4/4) checking keys in keyring                                              [##########################################] 100%
(4/4) checking package integrity                                            [##########################################] 100%
(4/4) loading package files                                                 [##########################################] 100%
(4/4) checking for file conflicts                                           [##########################################] 100%
(4/4) checking available disk space                                         [##########################################] 100%
:: Processing package changes...
(1/4) installing perl-error                                                 [##########################################] 100%
(2/4) installing perl-timedate                                              [##########################################] 100%
(3/4) installing perl-mailtools                                             [##########################################] 100%
(4/4) installing git                                                        [##########################################] 100%
Optional dependencies for git
    tk: gitk and git gui
    perl-libwww: git svn
    perl-term-readkey: git svn and interactive.singlekey setting
    perl-mime-tools: git send-email
    perl-net-smtp-ssl: git send-email TLS support
    perl-authen-sasl: git send-email TLS support
    perl-mediawiki-api: git mediawiki support
    perl-datetime-format-iso8601: git mediawiki support
    perl-lwp-protocol-https: git mediawiki https support
    perl-cgi: gitweb (web interface) support
    python2: various helper scripts
    subversion: git svn
    gnome-keyring: GNOME keyring credential helper
    libsecret: libsecret credential helper [installed]
:: Running post-transaction hooks...
(1/4) Warn about old perl modules
(2/4) Reloading system manager configuration...
  Skipped: Current root is not booted.
(3/4) Creating system user accounts...
Creating group git with gid 975.
Creating user git (git daemon user) with uid 975 and gid 975.
(4/4) Arming ConditionNeedsUpdate...
==> Retrieving sources...
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of emacs-git git repo...
Cloning into 'emacs-git'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
Configuring local git repository...
'.git/config' -> '.git/config.~1~'
git config transfer.fsckObjects 'true'
git config diff.elisp.xfuncname '^\(def[^[:space:]]+[[:space:]]+([^()[:space:]]+)'
git config diff.m4.xfuncname '^((m4_)?define|A._DEFUN(_ONCE)?)\([^),]*'
git config diff.make.xfuncname '^([$.[:alnum:]_].*:|[[:alnum:]_]+[[:space:]]*([*:+]?[:?]?|!?)=|define .*)'
git config diff.shell.xfuncname '^([[:space:]]*[[:alpha:]_][[:alnum:]_]*[[:space:]]*\(\)|[[:alpha:]_][[:alnum:]_]*=)'
git config diff.texinfo.xfuncname '^@node[[:space:]]+([^,[:space:]][^,]+)'
Installing git hooks...
'build-aux/git-hooks/commit-msg' -> '.git/hooks/commit-msg'
'build-aux/git-hooks/pre-commit' -> '.git/hooks/pre-commit'
'.git/hooks/applypatch-msg.sample' -> '.git/hooks/applypatch-msg'
'.git/hooks/pre-applypatch.sample' -> '.git/hooks/pre-applypatch'
You can now run './autogen.sh autoconf'.
Checking whether you have the necessary tools...
(Read INSTALL.REPO for more details on building Emacs)
Checking for autoconf (need at least version 2.65) ... ok
Your system has the required tools.
Building aclocal.m4 ...
Running 'autoreconf -fi -I m4' ...
You can now run './configure'.
==> Starting pkgver()...
==> Starting build()...
checking for xcrun... no
checking for GNU Make... make
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc and cc understand -c and -o together... yes
checking for putenv... yes
checking for sbrk... yes
checking for fchmod... yes
checking for readlinkat... yes
checking for explicit_bzero... yes
checking for faccessat... yes
checking for fcntl... yes
checking for fdopendir... yes
checking for fstatat... yes
checking for fsync... yes
checking for gettimeofday... yes
checking for lstat... yes
checking for mkostemp... yes
checking for tzset... yes
checking for pipe2... yes
checking for pselect... yes
checking for readlink... yes
checking for isblank... yes
checking for iswctype... yes
checking for strtoimax... yes
checking for symlink... yes
checking for localtime_r... yes
checking for timegm... yes
checking for futimes... yes
checking for futimesat... yes
checking for futimens... yes
checking for utimensat... yes
checking for lutimes... yes
checking for getdtablesize... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for Minix Amsterdam compiler... no
checking for ar... ar
checking for ranlib... ranlib
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether the compiler is clang... no
checking whether C compiler handles -Werror -Wunknown-warning-option... no
checking whether -Wno-missing-field-initializers is supported... yes
checking whether -Wno-missing-field-initializers is needed... no
checking whether -Wuninitialized is supported... yes
checking max safe object size... 9223372036854775807
checking whether C compiler handles -fno-common... yes
checking whether C compiler handles -W... yes
checking whether C compiler handles -Waddress... yes
checking whether C compiler handles -Waggressive-loop-optimizations... yes
checking whether C compiler handles -Wall... yes
checking whether C compiler handles -Wattribute-alias... yes
checking whether C compiler handles -Wattributes... yes
checking whether C compiler handles -Wbool-compare... yes
checking whether C compiler handles -Wbool-operation... yes
checking whether C compiler handles -Wbuiltin-declaration-mismatch... yes
checking whether C compiler handles -Wbuiltin-macro-redefined... yes
checking whether C compiler handles -Wcast-function-type... yes
checking whether C compiler handles -Wchar-subscripts... yes
checking whether C compiler handles -Wclobbered... yes
checking whether C compiler handles -Wcomment... yes
checking whether C compiler handles -Wcomments... yes
checking whether C compiler handles -Wcoverage-mismatch... yes
checking whether C compiler handles -Wcpp... yes
checking whether C compiler handles -Wdangling-else... yes
checking whether C compiler handles -Wdate-time... yes
checking whether C compiler handles -Wdeprecated... yes
checking whether C compiler handles -Wdeprecated-declarations... yes
checking whether C compiler handles -Wdesignated-init... yes
checking whether C compiler handles -Wdisabled-optimization... yes
checking whether C compiler handles -Wdiscarded-array-qualifiers... yes
checking whether C compiler handles -Wdiscarded-qualifiers... yes
checking whether C compiler handles -Wdiv-by-zero... yes
checking whether C compiler handles -Wdouble-promotion... yes
checking whether C compiler handles -Wduplicated-cond... yes
checking whether C compiler handles -Wduplicate-decl-specifier... yes
checking whether C compiler handles -Wempty-body... yes
checking whether C compiler handles -Wendif-labels... yes
checking whether C compiler handles -Wenum-compare... yes
checking whether C compiler handles -Wexpansion-to-defined... yes
checking whether C compiler handles -Wextra... yes
checking whether C compiler handles -Wformat-contains-nul... yes
checking whether C compiler handles -Wformat-extra-args... yes
checking whether C compiler handles -Wformat-security... yes
checking whether C compiler handles -Wformat-signedness... yes
checking whether C compiler handles -Wformat-y2k... yes
checking whether C compiler handles -Wformat-zero-length... yes
checking whether C compiler handles -Wframe-address... yes
checking whether C compiler handles -Wfree-nonheap-object... yes
checking whether C compiler handles -Whsa... yes
checking whether C compiler handles -Wif-not-aligned... yes
checking whether C compiler handles -Wignored-attributes... yes
checking whether C compiler handles -Wignored-qualifiers... yes
checking whether C compiler handles -Wimplicit... yes
checking whether C compiler handles -Wimplicit-function-declaration... yes
checking whether C compiler handles -Wimplicit-int... yes
checking whether C compiler handles -Wincompatible-pointer-types... yes
checking whether C compiler handles -Winit-self... yes
checking whether C compiler handles -Wint-conversion... yes
checking whether C compiler handles -Wint-in-bool-context... yes
checking whether C compiler handles -Wint-to-pointer-cast... yes
checking whether C compiler handles -Winvalid-memory-model... yes
checking whether C compiler handles -Winvalid-pch... yes
checking whether C compiler handles -Wlogical-not-parentheses... yes
checking whether C compiler handles -Wlogical-op... yes
checking whether C compiler handles -Wmain... yes
checking whether C compiler handles -Wmaybe-uninitialized... yes
checking whether C compiler handles -Wmemset-elt-size... yes
checking whether C compiler handles -Wmemset-transposed-args... yes
checking whether C compiler handles -Wmisleading-indentation... yes
checking whether C compiler handles -Wmissing-attributes... yes
checking whether C compiler handles -Wmissing-braces... yes
checking whether C compiler handles -Wmissing-declarations... yes
checking whether C compiler handles -Wmissing-include-dirs... yes
checking whether C compiler handles -Wmissing-parameter-type... yes
checking whether C compiler handles -Wmissing-prototypes... yes
checking whether C compiler handles -Wmultichar... yes
checking whether C compiler handles -Wmultistatement-macros... yes
checking whether C compiler handles -Wnarrowing... yes
checking whether C compiler handles -Wnested-externs... yes
checking whether C compiler handles -Wnonnull... yes
checking whether C compiler handles -Wnonnull-compare... yes
checking whether C compiler handles -Wnull-dereference... yes
checking whether C compiler handles -Wodr... yes
checking whether C compiler handles -Wold-style-declaration... yes
checking whether C compiler handles -Wold-style-definition... yes
checking whether C compiler handles -Wopenmp-simd... yes
checking whether C compiler handles -Woverflow... yes
checking whether C compiler handles -Wpacked... yes
checking whether C compiler handles -Wpacked-bitfield-compat... yes
checking whether C compiler handles -Wpacked-not-aligned... yes
checking whether C compiler handles -Wparentheses... yes
checking whether C compiler handles -Wpointer-arith... yes
checking whether C compiler handles -Wpointer-compare... yes
checking whether C compiler handles -Wpointer-sign... yes
checking whether C compiler handles -Wpointer-to-int-cast... yes
checking whether C compiler handles -Wpragmas... yes
checking whether C compiler handles -Wpsabi... yes
checking whether C compiler handles -Wrestrict... yes
checking whether C compiler handles -Wreturn-local-addr... yes
checking whether C compiler handles -Wreturn-type... yes
checking whether C compiler handles -Wscalar-storage-order... yes
checking whether C compiler handles -Wsequence-point... yes
checking whether C compiler handles -Wshift-count-negative... yes
checking whether C compiler handles -Wshift-count-overflow... yes
checking whether C compiler handles -Wshift-negative-value... yes
checking whether C compiler handles -Wsizeof-array-argument... yes
checking whether C compiler handles -Wsizeof-pointer-div... yes
checking whether C compiler handles -Wsizeof-pointer-memaccess... yes
checking whether C compiler handles -Wstrict-aliasing... yes
checking whether C compiler handles -Wstrict-prototypes... yes
checking whether C compiler handles -Wstringop-truncation... yes
checking whether C compiler handles -Wsuggest-attribute=cold... yes
checking whether C compiler handles -Wsuggest-attribute=format... yes
checking whether C compiler handles -Wsuggest-attribute=malloc... yes
checking whether C compiler handles -Wsuggest-attribute=noreturn... yes
checking whether C compiler handles -Wsuggest-final-methods... yes
checking whether C compiler handles -Wsuggest-final-types... yes
checking whether C compiler handles -Wswitch-bool... yes
checking whether C compiler handles -Wswitch-unreachable... yes
checking whether C compiler handles -Wtautological-compare... yes
checking whether C compiler handles -Wtrampolines... yes
checking whether C compiler handles -Wtrigraphs... yes
checking whether C compiler handles -Wuninitialized... yes
checking whether C compiler handles -Wunknown-pragmas... yes
checking whether C compiler handles -Wunused... yes
checking whether C compiler handles -Wunused-but-set-parameter... yes
checking whether C compiler handles -Wunused-but-set-variable... yes
checking whether C compiler handles -Wunused-function... yes
checking whether C compiler handles -Wunused-label... yes
checking whether C compiler handles -Wunused-local-typedefs... yes
checking whether C compiler handles -Wunused-macros... yes
checking whether C compiler handles -Wunused-result... yes
checking whether C compiler handles -Wunused-value... yes
checking whether C compiler handles -Wunused-variable... yes
checking whether C compiler handles -Wvarargs... yes
checking whether C compiler handles -Wvariadic-macros... yes
checking whether C compiler handles -Wvector-operation-performance... yes
checking whether C compiler handles -Wvolatile-register-var... yes
checking whether C compiler handles -Wwrite-strings... yes
checking whether C compiler handles -Walloc-size-larger-than=9223372036854775807... yes
checking whether C compiler handles -Warray-bounds=2... yes
checking whether C compiler handles -Wformat-truncation=2... yes
checking whether C compiler handles -Wimplicit-fallthrough=5... yes
checking whether C compiler handles -Wnormalized=nfc... yes
checking whether C compiler handles -Wshift-overflow=2... yes
checking whether C compiler handles -Wstringop-overflow=2... yes
checking whether C compiler handles -Wvla-larger-than=4031... yes
checking whether C compiler handles -Wredundant-decls... yes
checking whether C compiler handles -Wno-missing-field-initializers... yes
checking whether C compiler handles -Wno-override-init... yes
checking whether C compiler handles -Wno-sign-compare... yes
checking whether C compiler handles -Wno-type-limits... yes
checking whether C compiler handles -Wno-unused-parameter... yes
checking whether C compiler handles -Wno-format-nonliteral... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking command to symlink files in the same directory... ln -s
checking for install-info... /usr/bin/install-info
checking for gzip... /usr/bin/gzip
checking for 'find' args to delete a file... -delete
checking for brew... no
checking for -znocombreloc... not needed
checking whether addresses are sanitized... no
checking for library containing sqrt... -lm
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for machine/soundcard.h... no
checking for sys/soundcard.h... yes
checking for soundcard.h... no
checking for mmsystem.h... no
checking for alsa >= 1.0.0... yes
checking for linux/fs.h... yes
checking for malloc.h... yes
checking for sys/systeminfo.h... no
checking for sys/sysinfo.h... yes
checking for coff.h... no
checking for pty.h... yes
checking for sys/resource.h... yes
checking for sys/utsname.h... yes
checking for pwd.h... yes
checking for utmp.h... yes
checking for util.h... no
checking for sys/prctl.h... yes
checking for sys/socket.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for pthread.h... yes
checking for malloc/malloc.h... no
checking for sys/un.h... yes
checking for dirent.h... yes
checking for execinfo.h... yes
checking for stdio_ext.h... yes
checking for sys/vfs.h... yes
checking for sys/fs_types.h... no
checking for getopt.h... yes
checking for sys/cdefs.h... yes
checking for sys/time.h... yes
checking for ieee754.h... yes
checking for limits.h... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for sys/select.h... yes
checking for sys/stat.h... (cached) yes
checking for ADDR_NO_RANDOMIZE... yes
checking if Linux sysinfo may be used... yes
checking for term.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether sys_siglist is declared... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for net/if.h... yes
checking for ifaddrs.h... yes
checking for net/if_dl.h... no
checking for struct ifreq.ifr_flags... yes
checking for struct ifreq.ifr_hwaddr... yes
checking for struct ifreq.ifr_netmask... yes
checking for struct ifreq.ifr_broadaddr... yes
checking for struct ifreq.ifr_addr... yes
checking for struct ifreq.ifr_addr.sa_len... no
checking whether gcc understands -MMD -MF... yes
checking for X... libraries , headers
checking whether malloc is Doug Lea style... no
checking for getpagesize... yes
checking for working mmap... yes
checking for main in -lXbsd... no
checking for pthread library... -lpthread
checking for thread support... yes
checking whether X on GNU/Linux needs -b to link... no
checking for Xkb... yes
checking for XrmSetDatabase... yes
checking for XScreenResourceString... yes
checking for XScreenNumberOfScreen... yes
checking X11 version 6... 6 or newer
checking for librsvg-2.0 >= 2.11.0... yes
checking for getaddrinfo_a in -lanl... yes
checking for gtk+-3.0 >= 3.0 glib-2.0 >= 2.28... yes
checking whether GTK compiles... yes
configure: WARNING: Your version of Gtk+ will have problems with
       closing open displays.  This is no problem if you just use
       one display, but if you use more than one and close one of them
       Emacs may crash.
       See https://gitlab.gnome.org/GNOME/gtk/issues/221
checking whether GTK_TYPE_FILE_SELECTION is declared... no
checking whether GTK_TYPE_HANDLE_BOX is declared... yes
checking for gtk_handle_box_new... yes
checking whether GTK_TYPE_TEAROFF_MENU_ITEM is declared... yes
checking for gtk_tearoff_menu_item_new... yes
checking for gtk_widget_get_window... yes
checking for gtk_widget_set_has_window... yes
checking for gtk_dialog_get_action_area... yes
checking for gtk_widget_get_sensitive... yes
checking for gtk_widget_get_mapped... yes
checking for gtk_adjustment_get_page_size... yes
checking for gtk_orientable_set_orientation... yes
checking for gtk_window_set_has_resize_grip... yes
checking for dbus-1 >= 1.0... yes
checking for dbus_watch_get_unix_fd... yes
checking for dbus_type_is_valid... yes
checking for dbus_validate_bus_name... yes
checking for dbus_validate_path... yes
checking for dbus_validate_interface... yes
checking for dbus_validate_member... yes
checking for lgetfilecon in -lselinux... no
checking for gnutls >= 2.12.2... yes
checking for libsystemd >= 222... yes
checking for jansson >= 2.7... yes
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking for inotify_init1... yes
checking for XRenderQueryExtension in -lXrender... yes
checking for fontconfig >= 2.2.0... yes
checking for xft >= 0.13.0... yes
checking for X11/Xft/Xft.h... yes
checking for XftFontOpen in -lXft... yes
checking for freetype2... yes
checking for libotf... yes
checking for OTF_get_variation_glyphs in -lotf... yes
checking X11/Xlib-xcb.h usability... yes
checking X11/Xlib-xcb.h presence... yes
checking for X11/Xlib-xcb.h... yes
checking for xcb_translate_coordinates in -lxcb... yes
checking for XGetXCBConnection in -lX11-xcb... yes
checking X11/xpm.h usability... yes
checking X11/xpm.h presence... yes
checking for X11/xpm.h... yes
checking for XpmReadFileToPixmap in -lXpm... yes
checking for XpmReturnAllocPixels preprocessor define... yes
checking for jpeglib 6b or later... -ljpeg
checking for lcms2... yes
checking for library containing inflateEnd... -lz
checking for dladdr... yes
checking for dlfunc... no
checking for libpng >= 1.0.0... yes
checking whether png_longjmp is declared... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for TIFFGetVersion in -ltiff... yes
checking gif_lib.h usability... yes
checking gif_lib.h presence... yes
checking for gif_lib.h... yes
checking for GifMakeMapObject in -lgif... yes
checking X11/SM/SMlib.h usability... yes
checking X11/SM/SMlib.h presence... yes
checking for X11/SM/SMlib.h... yes
checking for SmcOpenConnection in -lSM... yes
checking for xrandr >= 1.2.2... yes
checking for xinerama >= 1.0.2... yes
checking for xfixes >= 4.0.0... yes
checking for X11/extensions/Xdbe.h... yes
checking for XdbeAllocateBackBufferName in -lXext... yes
checking for libxml-2.0 > 2.6.17... yes
checking for htmlReadMemory in -lxml2... yes
checking for maillock in -lmail... no
checking for maillock in -llockfile... no
checking for liblockfile.so... no
checking maillock.h usability... no
checking maillock.h presence... no
checking for maillock.h... no
checking for accept4... yes
checking for fchdir... yes
checking for gethostname... yes
checking for getrusage... yes
checking for get_current_dir_name... yes
checking for lrand48... yes
checking for random... yes
checking for rint... yes
checking for trunc... yes
checking for select... yes
checking for getpagesize... (cached) yes
checking for setlocale... yes
checking for newlocale... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for shutdown... yes
checking for pthread_sigmask... (cached) yes
checking for strsignal... yes
checking for setitimer... yes
checking for timer_getoverrun... no
checking for sendto... yes
checking for recvfrom... yes
checking for getsockname... yes
checking for getifaddrs... yes
checking for freeifaddrs... yes
checking for gai_strerror... yes
checking for sync... yes
checking for getpwent... yes
checking for endpwent... yes
checking for getgrent... yes
checking for endgrent... yes
checking for cfmakeraw... yes
checking for cfsetspeed... yes
checking for __executable_start... yes
checking for log2... yes
checking for prctl... yes
checking for aligned_alloc... yes
checking whether aligned_alloc is declared... yes
checking for posix_madvise... yes
checking for __builtin_frame_address... yes
checking for __builtin_unwind_init... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for grantpt... yes
checking for getpt... yes
checking for posix_openpt... yes
checking for library containing tputs... -ltinfo
checking for timerfd interface... yes
checking whether signals can be handled on alternate stack... yes
checking gmp.h usability... yes
checking gmp.h presence... yes
checking for gmp.h... yes
checking for library containing __gmpz_roinit_n... -lgmp
checking valgrind/valgrind.h usability... no
checking valgrind/valgrind.h presence... no
checking for valgrind/valgrind.h... no
checking for struct unipair.unicode... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for snprintf... yes
checking whether GLib is linked in... yes
checking for nl_langinfo and CODESET... yes
checking for nl_langinfo and _NL_PAPER_WIDTH... yes
checking for mbstate_t... yes
checking for signals via characters... yes
checking for _setjmp... yes
checking for sigsetjmp... yes
checking for usable FIONREAD... yes
checking for usable SIGIO... yes
checking for struct alignment... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for unsigned long long int... yes
checking whether byte ordering is bigendian... no
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking if environ is properly declared... yes
checking for complete errno.h... yes
checking whether lstat correctly handles trailing slash... yes
checking for mode_t... yes
checking for st_dm_mode in struct stat... no
checking whether strmode is declared... no
checking for gawk... gawk
checking for getopt.h... (cached) yes
checking for getopt_long_only... yes
checking whether getopt is POSIX compatible... yes
checking for working GNU getopt function... yes
checking for working GNU getopt_long function... yes
checking for C/C++ restrict keyword... __restrict
checking for struct timeval... yes
checking for wide-enough struct timeval.tv_sec member... yes
checking whether limits.h has LLONG_MAX, WORD_BIT, ULLONG_WIDTH etc.... yes
checking for long long int... yes
checking whether stdint.h conforms to C99... yes
checking whether stdint.h predates C++11... no
checking whether stdint.h has UINTMAX_WIDTH etc.... yes
checking whether memrchr is declared... yes
checking whether <limits.h> defines MIN and MAX... no
checking whether <sys/param.h> defines MIN and MAX... yes
checking whether time_t is signed... yes
checking whether alarm is declared... yes
checking for working mktime... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct tm.tm_gmtoff... yes
checking whether <sys/select.h> is self-contained... yes
checking for inline... inline
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether we are using the GNU C Library >= 2.1 or uClibc... yes
checking for sigset_t... yes
checking for wchar_t... yes
checking whether strtoimax is declared... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking whether stat file-mode macros are broken... no
checking for struct timespec in <time.h>... yes
checking whether clearerr_unlocked is declared... yes
checking whether feof_unlocked is declared... yes
checking whether ferror_unlocked is declared... yes
checking whether fflush_unlocked is declared... yes
checking whether fgets_unlocked is declared... yes
checking whether fputc_unlocked is declared... yes
checking whether fputs_unlocked is declared... yes
checking whether fread_unlocked is declared... yes
checking whether fwrite_unlocked is declared... yes
checking whether getc_unlocked is declared... yes
checking whether getchar_unlocked is declared... yes
checking whether putc_unlocked is declared... yes
checking whether putchar_unlocked is declared... yes
checking whether the utimes function works... yes
checking type of array argument to getgroups... gid_t
checking whether getdtablesize is declared... yes
checking for O_CLOEXEC... yes
checking for promoted mode_t type... mode_t
checking sys/acl.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
checking for library containing acl_get_file... -lacl
checking for acl_get_file... yes
checking for acl_get_fd... yes
checking for acl_set_file... yes
checking for acl_set_fd... yes
checking for acl_free... yes
checking for acl_from_mode... yes
checking for acl_from_text... yes
checking for acl_delete_def_file... yes
checking for acl_extended_file... yes
checking for acl_delete_fd_np... no
checking for acl_delete_file_np... no
checking for acl_copy_ext_native... no
checking for acl_create_entry_np... no
checking for acl_to_short_text... no
checking for acl_free_text... no
checking for working acl_get_file... yes
checking acl/libacl.h usability... yes
checking acl/libacl.h presence... yes
checking for acl/libacl.h... yes
checking for acl_entries... yes
checking for ACL_FIRST_ENTRY... yes
checking for ACL_TYPE_EXTENDED... no
checking for alloca as a compiler built-in... yes
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking for library containing clock_gettime... none required
checking for clock_gettime... yes
checking for clock_settime... yes
checking for d_type member in directory struct... yes
checking whether dup2 works... yes
checking for library containing backtrace_symbols_fd... none required
checking whether fcntl handles F_DUPFD correctly... yes
checking whether fcntl understands F_DUPFD_CLOEXEC... needs runtime check
checking whether fdopendir is declared... yes
checking whether fdopendir works... yes
checking for flexible array member... yes
checking for __fpending... yes
checking whether __fpending is declared... yes
checking whether fstatat (..., 0) works... yes
checking for sys/mount.h... yes
checking how to get file system space usage... checking for statvfs function (SVR4)... yes
checking whether to use statvfs64... no
checking for two-argument statfs with statfs.f_frsize member... yes
checking sys/fs/s5param.h usability... no
checking sys/fs/s5param.h presence... no
checking for sys/fs/s5param.h... no
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking for statfs that truncates block counts... no
checking for getloadavg... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking whether getloadavg is declared... yes
checking whether gettimeofday clobbers localtime buffer... no
checking for gettimeofday with POSIX signature... almost
checking for memrchr... yes
checking whether signature of pselect conforms to POSIX... yes
checking whether pselect detects invalid fds... yes
checking whether pthread_sigmask returns error numbers... yes
checking whether pthread_sigmask unblocks signals correctly... guessing yes
checking whether readlink signature is correct... yes
checking whether readlink handles trailing slash correctly... yes
checking whether readlinkat signature is correct... yes
checking for working re_compile_pattern... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking whether isblank is declared... yes
checking for sig2str... no
checking for volatile sig_atomic_t... yes
checking for sighandler_t... yes
checking for socklen_t... yes
checking for ssize_t... yes
checking for struct stat.st_atim.tv_nsec... yes
checking whether struct stat.st_atim is of type struct timespec... yes
checking for struct stat.st_birthtimespec.tv_nsec... no
checking for struct stat.st_birthtimensec... no
checking for struct stat.st_birthtim.tv_nsec... no
checking for working stdalign.h... yes
checking for good max_align_t... yes
checking whether NULL can be used in arbitrary expressions... yes
checking which flavor of printf attribute matches inttypes macros... system
checking for stpcpy... yes
checking whether strtoimax works... yes
checking whether symlink handles trailing slash correctly... yes
checking for nlink_t... yes
checking whether localtime_r is declared... yes
checking whether localtime_r is compatible with its POSIX signature... yes
checking whether localtime loops forever near extrema... no
checking for timezone_t... no
checking for library containing timer_settime... -lrt
checking for timer_settime... yes
checking for variable-length arrays... yes
checking whether getdtablesize works... yes
checking for __builtin_expect... yes
checking whether the compiler supports the __inline keyword... yes
checking for gcc option to disable position independent executables... not needed

Configured for 'x86_64-pc-linux-gnu'.

  Where should the build process find the source code?    .
  What compiler should emacs be built with?               gcc -march=native -O2 -pipe -fstack-protector-strong
  Should Emacs use the GNU version of malloc?             no
    (The GNU allocators don't work with this system configuration.)
  Should Emacs use a relocating allocator for buffers?    no
  Should Emacs use mmap(2) for buffer allocation?         no
  What window system should Emacs use?                    x11
  What toolkit should Emacs use?                          GTK3
  Where do we find X Windows header files?                Standard dirs
  Where do we find X Windows libraries?                   Standard dirs
  Does Emacs use -lXaw3d?                                 no
  Does Emacs use -lXpm?                                   yes
  Does Emacs use -ljpeg?                                  yes
  Does Emacs use -ltiff?                                  yes
  Does Emacs use a gif library?                           yes -lgif
  Does Emacs use a png library?                           yes -lpng16 -lz
  Does Emacs use -lrsvg-2?                                yes
  Does Emacs use cairo?                                   no
  Does Emacs use -llcms2?                                 yes
  Does Emacs use imagemagick?                             no
  Does Emacs support sound?                               yes
  Does Emacs use -lgpm?                                   no
  Does Emacs use -ldbus?                                  yes
  Does Emacs use -lgconf?                                 no
  Does Emacs use GSettings?                               no
  Does Emacs use a file notification library?             yes -lglibc (inotify)
  Does Emacs use access control lists?                    yes -lacl
  Does Emacs use -lselinux?                               no
  Does Emacs use -lgnutls?                                yes
  Does Emacs use -lxml2?                                  yes
  Does Emacs use -lfreetype?                              yes
  Does Emacs use -lm17n-flt?                              no
  Does Emacs use -lotf?                                   yes
  Does Emacs use -lxft?                                   yes
  Does Emacs use -lsystemd?                               yes
  Does Emacs use -ljansson?                               yes
  Does Emacs use -lgmp?                                   yes
  Does Emacs directly use zlib?                           yes
  Does Emacs have dynamic modules support?                yes
  Does Emacs use toolkit scroll bars?                     yes
  Does Emacs support Xwidgets (requires gtk3)?            no
  Does Emacs have threading support in lisp?              yes
  Does Emacs support the portable dumper?                 yes
  Does Emacs support legacy unexec dumping?               no
  Which dumping strategy does Emacs use?                  pdumper


configure: creating ./config.status
config.status: creating src/emacs-module.h
config.status: creating Makefile
config.status: creating lib/gnulib.mk
config.status: creating ./doc/man/emacs.1
config.status: creating lib/Makefile
config.status: creating lib-src/Makefile
config.status: creating oldXMenu/Makefile
config.status: creating doc/emacs/Makefile
config.status: creating doc/misc/Makefile
config.status: creating doc/lispintro/Makefile
config.status: creating doc/lispref/Makefile
config.status: creating src/Makefile
config.status: creating lwlib/Makefile
config.status: creating lisp/Makefile
config.status: creating leim/Makefile
config.status: creating nextstep/Makefile
config.status: creating nt/Makefile
config.status: creating test/Makefile
config.status: creating admin/charsets/Makefile
config.status: creating admin/unidata/Makefile
config.status: creating admin/grammars/Makefile
config.status: creating src/config.h
config.status: executing src/epaths.h commands
config.status: executing src/.gdbinit commands
config.status: executing doc/emacs/emacsver.texi commands
config.status: executing etc-refcards-emacsver.tex commands
configure: WARNING: This configuration installs a 'movemail' program
that does not retrieve POP3 email.  By default, Emacs 25 and earlier
installed a 'movemail' program that retrieved POP3 email via only
insecure channels, a practice that is no longer recommended but that
you can continue to support by using './configure --with-pop'.
configure: You might want to install GNU Mailutils
<https://mailutils.org> and use './configure --with-mailutils'.
  GEN      alloca.h
  GEN      dirent.h
  GEN      fcntl.h
  GEN      inttypes.h
  GEN      limits.h
  GEN      signal.h
  GEN      stdio.h
  GEN      stdlib.h
  GEN      string.h
  GEN      sys/select.h
  GEN      sys/stat.h
  GEN      sys/time.h
  GEN      sys/types.h
  GEN      time.h
  GEN      unistd.h
  AR       libgnu.a
ar: fcntl.o: No such file or directory
make[1]: *** [Makefile:103: libgnu.a] Error 1
make: *** [Makefile:410: lib] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

[-- Attachment #3: PKGBUILD --]
[-- Type: text/plain, Size: 9996 bytes --]

# Maintainer: A. López-Valencia <https://aur.archlinux.org/users/vorbote>

#######################################################################
# CAVEAT LECTOR: This PKGBUILD is highly opinionated. I give you
#                enough rope to hang yourself, but by default it
#                only enables the features I use.
#
#        TLDR: yaourt users, cry me a river.
#
#        Everyone else: do not update blindly this PKGBUILD. At least
#        make sure to compare and understand the changes.
#
#######################################################################

#######################################################################
# Track a maintenance branch or, by default, track master.
#
# Pick a branch from the output of "git branch" ran on your local copy
# of the emacs repository.
#
# E.g.:
#
# BRANCH=master
# BRANCH=emacs-26
#
# Take note that I don't expect you to track anything different to master
# or emacs-26 for obvious reasons. (See below).
#
BRANCH=master

#######################################################################
# Assign "YES" to the variable you want enabled; empty or other value
# for NO.
#
# Where you read experimental, replace with foobar.
# =================================================
#
#######################################################################
CHECK=            # Run tests. May fail, this is developement after all.
CLANG=            # Use clang.
LTO=              # Enable link-time optimization. Experimental.
CLI=              # CLI only binary.
NOTKIT=           # Use no toolkit widgets. Like B&W Twm (001d sk00l).
                  #
                  # Read https://wiki.archlinux.org/index.php/X_resources
                  # https://en.wikipedia.org/wiki/X_resources
                  # and https://www.emacswiki.org/emacs/XftGnuEmacs
                  # for some tips on using outline fonts with
                  # Xft, if you choose no toolkit or Lucid.
                  #
LUCID=            # Use the lucid, a.k.a athena, toolkit. Like XEmacs, sorta.
GTK2=             # GTK2.
GPM=              # Enable gpm support.
M17N=             # Enable m17n international table input support.
                  # You are far better off using UTF-8 and an input
                  # method under X/Wayland. But this gives independence
                  # if you need it.
OTF="YES"         # OTF font support. Also a secondary dependency
                  # by pulling m17n-lib. Not needed in that case.
CAIRO=            # Highly experimental. Maintaner dissapeared.
XWIDGETS=         # Use GTK+ widgets pulled from webkit2gtk. Usable.
DOCS_HTML=        # Generate and install html documentation.
DOCS_PDF=         # Generate and install pdf documentation.
MAGICK=           # Imagemagick 6 libraries support. Imagemagick,
                  # like flash, is bug ridden and won't die; yet useful.
NOGZ=             # Don't compress el files.
#######################################################################

#######################################################################
if [[ $BRANCH = "emacs-26" ]]; then
  pkgname=emacs26-git
else
  pkgname=emacs-git
fi
pkgver=27.0.50.135188
pkgrel=1
pkgdesc="GNU Emacs. Development."
arch=('x86_64') # Arch Linux only. Users of derivatives are on their own.
url="http://www.gnu.org/software/emacs/"
license=('GPL3')
depends=( 'alsa-lib' 'gnutls' 'libxml2' 'jansson' )
makedepends=( 'git' )
#######################################################################

#######################################################################
if [[ $CLANG = "YES" ]]; then
  export CC=/usr/bin/clang ;
  export CXX=/usr/bin/clang++ ;
  export CPP="/usr/bin/clang -E" ;
  export LDFLAGS+=' -fuse-ld=lld' ;
  makedepends+=( 'clang' 'lld') ;
fi

if [[ $LTO = "YES" ]]; then
  export CFLAGS+=" -flto"
  export tXXFLAGS+=" -flto"
fi

if [[ $NOTKIT = "YES" ]]; then
  depends+=( 'dbus' 'hicolor-icon-theme' 'libxinerama' 'libxrandr' 'lcms2' 'librsvg' );
elif [[ $LUCID = "YES" ]]; then
  depends+=( 'dbus' 'hicolor-icon-theme' 'libxinerama' 'libxfixes' 'lcms2' 'librsvg' 'xaw3d' );
elif [[ $GTK2 = "YES" ]]; then
  depends+=( 'gtk2' );
else
  depends+=( 'gtk3' );
fi

if [[ $GPM = "YES" ]]; then
  depends+=( 'gpm');
fi

if [[ $M17N = "YES" ]]; then
  depends+=( 'm17n-lib' );
fi

if [[ $OTF = "YES" ]] && [[ ! $M17N = "YES" ]]; then
  depends+=( 'libotf' );
fi

if [[ $MAGICK = "YES" ]]; then
  depends+=( 'libmagick6'  'libjpeg-turbo' 'giflib' );
elif [[ ! $NOX = "YES" ]]; then
  depends+=( 'libjpeg-turbo' 'giflib' );
else
  depends+=();
fi

if [[ $CAIRO = "YES" ]]; then
  depends+=( 'cairo' );
fi

if [[ $XWIDGETS = "YES" ]]; then
  if [[ $GTK2 = "YES" ]] || [[ $LUCID = "YES" ]] || [[ $NOTKIT = "YES" ]] || [[ $CLI = "YES" ]]; then
    echo "";
    echo "";
    echo "Xwidgets support *requires* gtk+3!!!";
    echo "";
    echo "";
    exit 1;
  else
    depends+=( 'webkit2gtk' );
  fi
fi

if [[ $DOCS_PDF = "YES" ]]; then
  makedepends+=( 'texlive-core' );
fi
#######################################################################

#######################################################################
provides=('emacs' 'emacs-seq')
conflicts=('emacs' 'emacs-seq')
replaces=('emacs26-git' 'emacs-seq')
source=("emacs-git::git+https://github.com/emacs-mirror/emacs.git#branch=$BRANCH")
md5sums=('SKIP')
# If Github access is blocked for reasons, use Savannah's servers instead.
# Edit the config file of your local repo copy as well.
#source=("emacs-git::git://git.sv.gnu.org/emacs.git#branch=$BRANCH")
#source=("emacs-git::git+https://git.savannah.gnu.org/emacs.git#branch=$BRANCH")

if [[ $BRANCH = "master" ]]; then
  pkgver() {
    cd "$srcdir/emacs-git"

    printf "%s.%s" \
      "$(grep AC_INIT configure.ac | \
      sed -e 's/^.\+\ \([0-9]\+\.[0-9]\+\.[0-9]\+\?\).\+$/\1/')" \
      "$(git rev-list --count HEAD)"
  }
else
  pkgver() {
    cd "$srcdir/emacs-git"

    printf "%s.%s" \
      "$(grep AC_INIT configure.ac | \
      awk '{split($0,a,","); print a[2]}' | \
      sed -e 's/\ //g' )" \
      "$(git rev-list --count HEAD)"
  }
fi

# There is no need to run autogen.sh after first checkout.
# Doing so, breaks incremental compilation.
prepare() {
  cd "$srcdir/emacs-git"
  [[ -x configure ]] || ( ./autogen.sh git && ./autogen.sh autoconf )
}

build() {
  cd "$srcdir/emacs-git"

  local _conf=(
    --prefix=/usr
    --sysconfdir=/etc
    --libexecdir=/usr/lib
    --localstatedir=/var
    --mandir=/usr/share/man
    --with-gameuser=:games
    --with-sound=alsa
    --with-modules
# Beware https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25228
# dconf and gconf break font settings you set in ~/.emacs.
# If you insist you'll need to play gymnastics with
# set-frame-font and set-menu-font. Good luck!
   --without-gconf
   --without-gsettings
  )

#######################################################################

#######################################################################

if [[ $CLANG = "YES" ]]; then
  _conf+=(
    '--enable-autodepend'
 );
fi

if [[ $LTO = "YES" ]]; then
  _conf+=(
    '--enable-link-time-optimization'
  );
fi

if [[ $CLI = "YES" ]]; then
  _conf+=( '--without-x' '--with-x-toolkit=no' '--without-xft' '--without-lcms2' '--without-rsvg' );
elif [[ $NOTKIT = "YES" ]]; then
  _conf+=( '--with-x-toolkit=no' '--without-toolkit-scroll-bars' '--with-xft' '--without-xaw3d' );
elif [[ $LUCID = "YES" ]]; then
  _conf+=( '--with-x-toolkit=lucid' '--with-xft' '--with-xaw3d' );
elif [[ $GTK2 = "YES" ]]; then
  _conf+=( '--with-x-toolkit=gtk2' '--without-gsettings' '--without-xaw3d' );
else
  _conf+=( '--with-x-toolkit=gtk3' '--without-xaw3d' );
fi

if [[ ! $GPM = "YES" ]]; then
  _conf+=( '--without-gpm' );
fi

if [[ ! $M17N = "YES" ]]; then
  _conf+=( '--without-m17n-flt' );
fi

if [[ $MAGICK = "YES" ]]; then
  _conf+=(
    '--with-imagemagick'
 );
  export PKG_CONFIG_PATH=/usr/lib/imagemagick6/pkgconfig
else
  _conf+=( '--without-imagemagick' );
fi

if [[ $CAIRO = "YES" ]]; then
  _conf+=( '--with-cairo' );
fi

if [[ $XWIDGETS = "YES" ]]; then
  _conf+=( '--with-xwidgets' );
fi

if [[ $NOGZ = "YES" ]]; then
  _conf+=( '--without-compress-install' );
fi
#######################################################################

#######################################################################

  # Use gold with gcc, unconditionally.
  #
  if [[ ! $CLANG = "YES" ]]; then
    export LD=/usr/bin/ld.gold
    export LDFLAGS+=" -fuse-ld=gold";
  fi

  ./configure "${_conf[@]}"

  # Using "make" instead of "make bootstrap" enables incremental
  # compiling. Less time recompiling. Yay! But you may
  # need to use bootstrap sometimes to unbreak the build.
  # Just add it to the command line.
  #
  # Please note that incremental compilation implies that you
  # are reusing your src directory!
  #
  make

  # You may need to run this if 'loaddefs.el' files corrupt.
  #cd "$srcdir/emacs-git/lisp"
  #make autoloads
  #cd ../

  # Optional documentation formats.
  if [[ $DOCS_HTML = "YES" ]]; then
    make html;
  fi
  if [[ $DOCS_PDF = "YES" ]]; then
    make pdf;
  fi
  if [[ $CHECK = "YES" ]]; then
    make check;
  fi

}

package() {
  cd "$srcdir/emacs-git"

  make DESTDIR="$pkgdir/" install

  # Install optional documentation formats
  if [[ $DOCS_HTML = "YES" ]]; then make DESTDIR="$pkgdir/" install-html; fi
  if [[ $DOCS_PDF = "YES" ]]; then make DESTDIR="$pkgdir/" install-pdf; fi

  # remove conflict with ctags package
  mv "$pkgdir"/usr/bin/{ctags,ctags.emacs}

  if [[ $NOGZ = "YES" ]]; then
    mv "$pkgdir"/usr/share/man/man1/{ctags.1,ctags.emacs.1};
  else
    mv "$pkgdir"/usr/share/man/man1/{ctags.1.gz,ctags.emacs.1.gz}
  fi

  # fix user/root permissions on usr/share files
  find "$pkgdir"/usr/share/emacs/ | xargs chown root:root

  # fix permssions on /var/games
  mkdir -p "$pkgdir"/var/games/emacs
  chmod 775 "$pkgdir"/var/games
  chmod 775 "$pkgdir"/var/games/emacs
  chown -R root:games "$pkgdir"/var/games

}

# vim:set ft=sh ts=2 sw=2 et:

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-05-11 14:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-06 19:08 bug#35174: emacs-git sha f2d22273599f96a731e23b2f6d7571af8bb7bb3f fails to build Stefan Cocora
2019-04-06 19:48 ` Noam Postavsky
2019-04-07  7:57   ` Stefan Cocora
2019-04-07 11:49     ` Noam Postavsky
2019-04-09 22:35 ` Noam Postavsky
2019-04-09 23:18   ` Noam Postavsky
2019-05-02  6:52     ` Stefan Cocora
2019-05-11 14:13       ` Noam Postavsky

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).