[neomutt-devel] Build errors in 'main'

Alejandro Colomar alx at kernel.org
Sun Nov 5 03:46:43 CET 2023


Hi!,

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.
> 
> The last time I built on sid (x32) was when I posted the ILP32 patches
> this week, and that's with dependencies (effectively) apt build-depped.
> And on amd64 bookworm also this week.
> 
> So if this is an issue I can't reproduce it, and I've never seen it.
> 
> Of course, it would be cruel for me not to mention that you generate
> makefiles into x86_64-linux-gnu with --build but your log doesn't

Hmm, thanks!  I've fixed that, reducing the configuration to the one you
provide above, but still get the same error.  See below.  No --build
this time.

> include either a cd x86_64-linux-gnu or a make -C x86_64-linux-gnu
> ‒ compare https://debian.nabijaczleweli.xyz/builds/neomutt_20230517+dfsg-0.3_x32.build#:~:text=dh_auto_configure
>   and similarly the bit just after dh_auto_build ‒
> it'd be quite funny if it were that.

I hoped it would've been that, but it seems not.  See log below.

Cheers,
Alex

---

alx at debian:~/src/mutt/neomutt/main$ git clean -dffx
alx at debian:~/src/mutt/neomutt/main$ git restore .
alx at debian:~/src/mutt/neomutt/main$ time ./configure \
	--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:03 Summary of build options:
00:00:03 
00:00:03   Version:               20231023
00:00:03   Host OS:               linux-gnu
00:00:03   Install prefix:        /usr
00:00:03   Compiler:               cc
00:00:03   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:03   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:03   Libs:                  -lncursesw -ltinfo -lz -lnotmuch -lgpgme  -lgpg-error  -lgsasl  -llua5.4  -lgnutls  -lidn2  -llmdb  -lz -lzstd 
00:00:03 
00:00:03   GPGME:                 yes
00:00:03   PGP:                   yes
00:00:03   SMIME:                 yes
00:00:03   Notmuch:               yes
00:00:03   Header Cache(s):       lmdb
00:00:03   Header Compression(s): zlib zstd
00:00:03   Lua:                   yes
00:00:03 

real	0m3.332s
user	0m2.311s
sys	0m1.053s
alx at debian:~/src/mutt/neomutt/main$ 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.412s
user	0m32.656s
sys	0m4.967s
alx at debian:~/src/mutt/neomutt/main$ 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/>
-------------- 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/d1f3e3af/attachment.sig>


More information about the neomutt-devel mailing list