[neomutt-devel] Build errors in 'main'

наб nabijaczleweli at nabijaczleweli.xyz
Sun Nov 5 20:23:15 CET 2023


On Sun, Nov 05, 2023 at 03:46:43AM +0100, Alejandro Colomar wrote:
> On Sun, Nov 05, 2023 at 03:31:43AM +0100, наб wrote:
> > On Sun, Nov 05, 2023 at 02:42:29AM +0100, Alejandro Colomar wrote:
> > > Do you know why I'm failing to build with the same options of your .deb?
> > > I installed your build-deps, so it should be working, unless I have some
> > > version in Sid that is different from what you have, in which case it
> > > would make sense.
> > I consistently build upstream mutt with the options from d/rules,
> > which work out to
> >   --mandir=/usr/share/man --libexecdir=/usr/libexec
> >   --with-mailpath=/var/mail --gpgme --lua --notmuch --gnutls --gss
> >   --idn2 --mixmaster --gsasl --lmdb --zlib --zstd
> > on amd64.
On a clean sid chroot from today:

(sid amd64)root at tarta:/# apt install git
(sid amd64)root at tarta:/# apt install --no-install-recommends debhelper dh-lua docbook-xml docbook-xsl gawk gettext jimsh libgnutls28-dev libgpgme-dev libidn2-dev libkrb5-dev libnotmuch-dev libncurses-dev libgsasl-dev liblmdb-dev libxml2-utils pkgconf w3m xsltproc zlib1g-dev libzstd-dev
(sid amd64)root at tarta:/srv# git clone https://github.com/neomutt/neomutt
(sid amd64)root at tarta:/srv/neomutt# ./configure --mandir=/usr/share/man --libexecdir=/usr/libexec --with-mailpath=/var/mail --gpgme --lua --notmuch --gnutls --gss --idn2 --mixmaster --gsasl --lmdb --zlib --zstd
(sid amd64)root at tarta:/srv/neomutt# time make -j25
...
ar cr libparse.a parse/extract.o parse/rc.o parse/set.o
ar cr libconfig.a config/bool.o config/charset.o config/dump.o config/enum.o config/helpers.o config/long.o config/mbtable.o config/myvar.o config/number.o config/path.o config/quad.o config/regex.o config/set.o config/slist.o config/sort.o config/string.o config/subset.o
cc -L/usr/lib -L/usr/lib -L/usr/lib -L/usr/lib -L/usr/lib/x86_64-linux-gnu/mit-krb5 -Wl,-z,relro -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err  -o pgpewrap pgpewrap.o
ranlib libcompress.a
ranlib libbcache.a
ranlib libhistory.a
ranlib libsidebar.a
ranlib libparse.a
ranlib libconn.a
ranlib libcore.a
ranlib libimap.a
ranlib libncrypt.a
ranlib libconfig.a
ar cr libaddress.a address/address.o address/config_type.o address/group.o address/idna.o
ranlib libaddress.a
cc -fno-delete-null-pointer-checks -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__ -D_XOPEN_SOURCE_EXTENDED -I/usr/include/lua5.4 -I/usr/include -I/usr/include -DNCURSES_WIDECHAR -I/usr/include -I/usr/include/p11-kit-1 -I/usr/include -isystem /usr/include/mit-krb5 -O2 -I. -I. -Wall  -I./test -MT hcache/hcache.o -MD -MP -MF hcache/hcache.Tpo
-c -o hcache/hcache.o hcache/hcache.c
( sed -e "s/@VERSION@/2023-11-03/; s!/usr/libexec!/usr/libexec!g" \
    ./docs/manual.xml.head && \
    cc -std=c99 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__ -D_XOPEN_SOURCE_EXTENDED  -D_MAKEDOC -E -C -I. -I. ./docs/config.c | docs/makedoc -s && \
    cc -std=c99 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__ -D_XOPEN_SOURCE_EXTENDED  -D_MAKEDOC -E -C -I. -I. ./gui/functions.c ./alias/functions.c ./attach/functions.c ./autocrypt/functions.c ./browser/functions.c ./compose/functions.c ./editor/functions.c ./index/functions.c ./mixmaster/functions.c ./ncrypt/functions.c ./pager/functions.c ./postpone/functions.c | \
    perl ./docs/gen-map-doc ./docs/manual.xml.tail \
    ./gui/opcodes.h \
) > docs/manual.xml
sed -e 's, at docdir@,/usr/share/doc/neomutt,' ./docs/neomuttrc.head \
    > docs/neomuttrc
( sed -e "/^\.TH/s|@MAN_DATE@|2023-11-03|" \
    ./docs/neomuttrc.man.head && \
    cc -std=c99 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__ -D_XOPEN_SOURCE_EXTENDED  -D_MAKEDOC -E -C -I. -I. ./docs/config.c | docs/makedoc -m && \
    sed -e "s|@MAN_DOCDIR@|/usr/share/doc/neomutt|g" \
      ./docs/neomuttrc.man.tail \
) > docs/neomuttrc.5
cc -std=c99 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__ -D_XOPEN_SOURCE_EXTENDED  -D_MAKEDOC -E -C -I. -I. ./docs/config.c | docs/makedoc -c \
    >> docs/neomuttrc
ar cr libmutt.a mutt/atoi.o mutt/base64.o mutt/buffer.o mutt/charset.o mutt/date.o mutt/envlist.o mutt/exit.o mutt/file.o mutt/filter.o mutt/hash.o mutt/list.o mutt/logging.o mutt/mapping.o mutt/mbyte.o mutt/md5.o mutt/memory.o mutt/notify.o mutt/path.o mutt/pool.o mutt/prex.o mutt/qsort_r.o mutt/random.o mutt/regex.o mutt/signal.o mutt/slist.o mutt/state.o mutt/string.o
ranlib libmutt.a
ar cr libemail.a email/body.o email/email.o email/envelope.o email/from.o email/globals.o email/mime.o email/parameter.o email/parse.o email/rfc2047.o email/rfc2231.o email/tags.o email/thread.o email/url.o
ranlib libemail.a
map autocrypt account undefined at ./docs/gen-map-doc line 97, <XML> line 26.
xsltproc --nonet -o docs/ ./docs/chunk.xsl docs/manual.xml > /dev/null 2>&1
xsltproc --nonet -o docs/manual.html ./docs/html.xsl docs/manual.xml
ar cr libhcache.a hcache/config.o hcache/hcache.o hcache/serialize.o
ranlib libhcache.a
cc -o neomutt alternates.o commands.o conststrings.o copy.o editmsg.o enriched.o external.o flags.o git_ver.o globals.o handler.o hdrline.o help.o hook.o init.o mailcap.o maillist.o main.o muttlib.o mutt_account.o mutt_body.o mutt_config.o mutt_header.o mutt_logging.o mutt_mailbox.o mutt_signal.o mutt_socket.o mutt_thread.o mview.o mx.o recvcmd.o rfc3676.o score.o sort.o status.o subjectrx.o system.o version.o monitor.o mutt_lua.o libindex.a libpager.a libindex.a libpager.a  libpop.a libeditor.a libcomplete.a libbrowser.a libcompmbox.a libstore.a libprogress.a libquestion.a libpostpone.a libalias.a libsend.a libconvert.a libcompose.a libattach.a libkey.a libgui.a libnntp.a libpattern.a libmenu.a libcolor.a libenvelope.a libmixmaster.a libhelpbar.a libmbox.a libnotmuch.a libmaildir.a libeditor.a libcomplete.a libnntp.a libncrypt.a libimap.a libconn.a libhcache.a libcompress.a libsidebar.a libbcache.a libhistory.a libcore.a libparse.a libconfig.a libemail.a libaddress.a  libmutt.a -L/usr/lib -L/usr/lib -L/usr/lib -L/usr/lib -L/usr/lib/x86_64-linux-gnu/mit-krb5 -Wl,-z,relro -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err  -lncursesw -ltinfo -lz -lnotmuch -lgpgme  -lgpg-error  -lgsasl  -llua5.4
 -lgnutls  -lidn2  -llmdb  -lz -lzstd
Error: no ID for constraint linkend: "autocrypt".
Error: no ID for constraint linkend: "autocrypt-dir".
Error: no ID for constraint linkend: "autocrypt-dir".
Error: no ID for constraint linkend: "autocrypt-dir".
Error: no ID for constraint linkend: "autocrypt-dir".
Error: no ID for constraint linkend: "autocrypt-dir".
Error: no ID for constraint linkend: "autocrypt-dir".
Error: no ID for constraint linkend: "autocrypt-reply".
Error: no ID for constraint linkend: "autocrypt-account-map".
Error: no ID for constraint linkend: "autocrypt-dir".
Error: no ID for constraint linkend: "autocrypt-dir".
Error: no ID for constraint linkend: "autocrypt-dir".
Error: no ID for constraint linkend: "autocrypt-reply".
LC_ALL=C w3m -dump -O UTF8 docs/manual.html > docs/manual.txt || \
LC_ALL=C lynx -localhost -dump -nolist -nonumbers -with_backspaces \
        -display_charset=us-ascii docs/manual.html > docs/manual.txt || \
LC_ALL=C elinks -dump -no-numbering -no-references \
        docs/manual.html | sed -e 's,\\001, ,g' > docs/manual.txt

real    0m14.023s
user    2m8.546s
sys     0m17.503s
(sid amd64)root at tarta:/srv/neomutt# ./neomutt
/root/Mail does not exist. Create it? ([yes]/no):
&c.
(sid amd64)root at tarta:/srv/neomutt# head -n20 docs/manual.txt
The NeoMutt E-Mail Client

Michael Elkins

<me at cs.hmc.edu>

version 2023-11-03

Abstract

“All mail clients suck. This one just sucks less.”  me, circa 1995

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Table of Contents

1. Introduction
    1. NeoMutt Home Page
    2. Mailing Lists
    3. NeoMutt Online Resources
(sid amd64)root at tarta:/srv/neomutt# head -n20 docs/manual.xml
<?xml version="1.0" standalone="no"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<!--
vim: ts=2 sw=2 sts=2 expandtab:
-->
<book>
  <bookinfo>
    <title>The NeoMutt E-Mail Client</title>
    <author>
      <firstname>Michael</firstname>
      <surname>Elkins</surname>
      <email>me at cs.hmc.edu</email>
    </author>
    <releaseinfo>version 2023-11-03</releaseinfo>
    <abstract>
      <para>
        <quote>All mail clients suck. This one just sucks less.</quote>
        — me, circa 1995
      </para>

So it builds and produces all the right artifacts, as expected.
If it doesn't work on your system then it'd put it down to a
system-specific issue.

All this is assuming you're actually seeing issues and the errors you
reference aren't just the "autocrypt-referenced-but-not-found" spew,
which is due to autocrypt not being configured for
(and doesn't actually appear to be an error in the traditional sense).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://mailman.neomutt.org/pipermail/neomutt-devel-neomutt.org/attachments/20231105/f147c0b3/attachment.sig>


More information about the neomutt-devel mailing list