[neomutt-devel] Build errors in 'main'

Alejandro Colomar alx at kernel.org
Sun Nov 5 02:42:29 CET 2023


Ping.  :)

Hi наб,

On Thu, Oct 26, 2023 at 11:21:10AM +0200, Alejandro Colomar wrote:
> Hi!
> 
> I'm having this error when trying to build from source from the 'main'
> branch.  The configuration options were taken from наб's Debian
> build[1], since the official Debian neomutt(1) package is not being
> properly maintained.
> 
> Below is the build log.
> 
> [1]  <https://debian.nabijaczleweli.xyz/README>

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.

Thanks,
Alex

> 
> Cheers,
> Alex
> 
> $ neomutt -v | grep Configure
> Configure options: --build=x86_64-linux-gnu --prefix=/usr {--includedir=${prefix}/include} {--mandir=${prefix}/share/man} {--infodir=${prefix}/share/info} --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules {--libdir=${prefix}/lib/x86_64-linux-gnu} {--libexecdir=${prefix}/lib/x86_64-linux-gnu} --disable-maintainer-mode --disable-dependency-tracking --mandir=/usr/share/man --libexecdir=/usr/libexec --with-mailpath=/var/mail --gpgme --lua --notmuch --gnutls --gss --idn2 --mixmaster --gsasl --lmdb --zlib --zstd
> $ git clean -dffx | ovr
> Removing conststrings.c
> $ git restore . | ovr
> $ time ./configure \
>         --build=x86_64-linux-gnu \
>         --prefix=/usr \
>         --sysconfdir=/etc \
>         --localstatedir=/var \
>         --disable-option-checking \
>         --disable-silent-rules \
>         --disable-maintainer-mode \
>         --disable-dependency-tracking \
>         --mandir=/usr/share/man \
>         --libexecdir=/usr/libexec \
>         --with-mailpath=/var/mail \
>         --gpgme --lua --notmuch --gnutls --gss \
>         --idn2 --mixmaster --gsasl --lmdb --zlib --zstd 2>&1 \
>   | ts -s | ovr -n 18
> 00:00:04 Summary of build options:
> 00:00:04 
> 00:00:04   Version:               20231023
> 00:00:04   Host OS:               linux-gnu
> 00:00:04   Install prefix:        /usr
> 00:00:04   Compiler:               cc
> 00:00:04   CFlags:                -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/p11-kit-1 -I/usr/include -isystem /usr/include/mit-krb5 -O2
> 00:00:04   LDFlags:               -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
> 00:00:04   Libs:                  -lncursesw -ltinfo -lz -lnotmuch -lgpgme  -lgpg-error  -lgsasl  -llua5.4  -lgnutls  -lidn2  -llmdb  -lz -lzstd 
> 00:00:04 
> 00:00:04   GPGME:                 yes
> 00:00:04   PGP:                   yes
> 00:00:04   SMIME:                 yes
> 00:00:04   Notmuch:               yes
> 00:00:04   Header Cache(s):       lmdb
> 00:00:04   Header Compression(s): zlib zstd
> 00:00:04   Lua:                   yes
> 00:00:04 
> 
> real	0m3.225s
> user	0m2.243s
> sys	0m1.002s
> $ time make -j24 -k 2>&1 | ts -s | ovr
> 00:00:03 	docs/manual.html | sed -e 's,\\001, ,g' > docs/manual.txt
> 
> real	0m3.448s
> user	0m33.030s
> sys	0m4.914s
> $ make
> mkdir -p po
> mkdir -p docs
> ( sed -e "s/@VERSION@/2023-10-23/; 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
> 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
> 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
> sed -e 's, at docdir@,/usr/share/doc/neomutt,' ./docs/neomuttrc.head \
>     > docs/neomuttrc
> 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
> ( sed -e "/^\.TH/s|@MAN_DATE@|2023-10-23|" \
>     ./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
> 
> 
> -- 
> <https://www.alejandro-colomar.es/>



-- 
<https://www.alejandro-colomar.es/>
-------------- 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/69d46716/attachment.sig>


More information about the neomutt-devel mailing list