Hi Charlie, You asked to see the warning messages when building. I am attaching a file with them for building the version in github, that succeeded.
I also tried to build the most recent version in cvs and it failed at the end in the link stage. Funny thing is that building an old version that is in cvs, the one that is in the Arch AUR package, sometimes succeeded, sometimes failed, also in the link stage. I did not want to spend much time investigating it as it is a 7 years old version. If you want I can send you logs of the cvs head build too, although not necessarily I will be able to reproduce the link failure. Today I created my first ever package for Arch with the github version of qemacs and it worked the first time I ran it. I am now using it. The package probably can be improved but it is good enough for now. This package is for my own use for now, although in a few weeks I might try to ask someone in the Arch community to upload it or something along those lines. We will see. Cheers.
█▓▒░myself@arch-tornado█▓▒░ Wed Aug 03 02:32:53 ~/ cd /home/myself/develt/qemacs-github-orig2/ █▓▒░myself@arch-tornado█▓▒░ Wed Aug 03 02:32:57 ~/develt/qemacs-github-orig2/ gcc --version gcc (GCC) 12.1.0 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. █▓▒░myself@arch-tornado█▓▒░ Wed Aug 03 02:33:23 ~/develt/qemacs-github-orig2/ ./configure Install prefix /usr/local Shared data dir /usr/local/share Manpages dir /usr/local/man Source path /home/myself/develt/qemacs-github-orig2 C compiler gcc Tiny build no X11 support yes Xvideo support yes XShm support no libpng support yes FFMPEG support no Graphical HTML yes Memory mapped files yes Unlocked I/O yes Initcall support yes Plugins support yes Bidir support yes All kmaps yes All modes yes Build doc files yes Creating config.mak and config.h █▓▒░myself@arch-tornado█▓▒░ Wed Aug 03 02:34:05 ~/develt/qemacs-github-orig2/ cat config.h /* Automatically generated by configure - do not modify */ #define CONFIG_QE_PREFIX "/usr/local" #define CONFIG_QE_DATADIR "/usr/local/share" #define CONFIG_QE_MANDIR "/usr/local/man" #define ARCH_X86_64 1 #define CONFIG_HAS_TYPEOF 1 #define CONFIG_UNLOCKIO 1 #define CONFIG_PTSNAME 1 #define QE_VERSION "5.3alpha" #define CONFIG_NETWORK 1 #define CONFIG_XV 1 #define CONFIG_HTML 1 #define CONFIG_DLL 1 #define CONFIG_INIT_CALLS 1 #define CONFIG_PNG_OUTPUT 1 #define CONFIG_ALL_KMAPS 1 #define CONFIG_MMAP 1 #define CONFIG_ALL_MODES 1 #define CONFIG_UNICODE_JOIN 1 #define CONFIG_DOC 1 █▓▒░myself@arch-tornado█▓▒░ Wed Aug 03 02:35:39 ~/develt/qemacs-github-orig2/ cat config.mak # Automatically generated by configure - do not modify prefix=/usr/local datadir=/usr/local/share mandir=/usr/local/man MAKE=make CC=gcc GCC_MAJOR=3 HOST_CC=gcc AR=ar SIZE=size STRIP=strip -s -R .comment -R .note INSTALL=install CFLAGS=-O2 LIBS= LDFLAGS= XCFLAGS= -I/usr/include XLIBS= XLDFLAGS= -L/usr/lib EXE= TARGET_OS=Linux TARGET_ARCH=x86_64 TARGET_ARCH_X86_64=yes CONFIG_HAS_TYPEOF=yes CONFIG_UNLOCKIO=yes CONFIG_PTSNAME=yes DLLIBS=-ldl EXTRALIBS=-lm VERSION=5.3alpha CONFIG_NETWORK=yes CONFIG_X11=yes CONFIG_XV=yes CONFIG_HTML=yes CONFIG_DLL=yes CONFIG_INIT_CALLS=yes CONFIG_PNG_OUTPUT=yes CONFIG_ALL_KMAPS=yes CONFIG_MMAP=yes CONFIG_ALL_MODES=yes CONFIG_UNICODE_JOIN=yes CONFIG_DOC=yes SRC_PATH=/home/myself/develt/qemacs-github-orig2 █▓▒░myself@arch-tornado█▓▒░ Wed Aug 03 02:35:53 ~/develt/qemacs-github-orig2/ make make -C libqhtml all make[1]: Entering directory '/home/myself/develt/qemacs-github-orig2/libqhtml' CC -c css.c CC -c xmlparse.c CC -c cssparse.c CC -o ../bin/csstoqe csstoqe.c ../bin/csstoqe html_style < html.css > html_style.c CC -c html_style.c ../bin/csstoqe docbook_style < docbook.css > docbook_style.c CC -c docbook_style.c ar rc ../.objs/Linux-x86_64-gcc/libqhtml.a ../.objs/Linux-x86_64-gcc/libqhtml/css.o ../.objs/Linux-x86_64-gcc/libqhtml/xmlparse.o ../.objs/Linux-x86_64-gcc/libqhtml/cssparse.o ../.objs/Linux-x86_64-gcc/libqhtml/html_style.o ../.objs/Linux-x86_64-gcc/libqhtml/docbook_style.o make[1]: Leaving directory '/home/myself/develt/qemacs-github-orig2/libqhtml' CC -c qe.c qe.c: In function ‘qe_load_file’: qe.c:7364:11: warning: ‘filename’ may be used uninitialized [-Wmaybe-uninitialized] 7364 | || (!is_directory(filename) && | ^~~~~~~~~~~~~~~~~~~~~~ In file included from qe.c:22: qe.h:344:5: note: by argument 1 of type ‘const char *’ to ‘is_directory’ declared here 344 | int is_directory(const char *path); | ^~~~~~~~~~~~ qe.c:7349:10: note: ‘filename’ declared here 7349 | char filename[MAX_FILENAME_SIZE]; | ^~~~~~~~ CC -c util.c CC -c cutils.c CC -c charset.c CC -c buffer.c buffer.c: In function ‘eb_addlog’: buffer.c:1149:40: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 253 [-Wformat-truncation=] 1149 | snprintf(buf, sizeof(buf), "*L<%s>", b->name); | ^~ buffer.c:1149:9: note: ‘snprintf’ output between 5 and 260 bytes into a destination of size 256 1149 | snprintf(buf, sizeof(buf), "*L<%s>", b->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buffer.c: In function ‘eb_create_style_buffer’: buffer.c:1033:42: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 253 [-Wformat-truncation=] 1033 | snprintf(name, sizeof(name), "*S<%s>", b->name); | ^~ In function ‘eb_create_style_buffer’, inlined from ‘eb_create_style_buffer’ at buffer.c:1026:5: buffer.c:1033:9: note: ‘snprintf’ output between 5 and 260 bytes into a destination of size 256 1033 | snprintf(name, sizeof(name), "*S<%s>", b->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC -c search.c CC -c input.c CC -c display.c CC -c modes/hex.c CC -c modes/list.c CC -c qescript.c CC -c extras.c extras.c: In function ‘do_compare_files’: extras.c:227:39: warning: ‘../’ directive output may be truncated writing 3 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 227 | snprintf(buf, sizeof(buf), "%s../%s", dir, tail); | ^~~ extras.c:227:9: note: ‘snprintf’ output 4 or more bytes (assuming 1027) into a destination of size 1024 227 | snprintf(buf, sizeof(buf), "%s../%s", dir, tail); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extras.c: In function ‘do_list_tags’: extras.c:1930:45: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 243 [-Wformat-truncation=] 1930 | snprintf(buf, sizeof buf, "Tags in file %s", s->b->filename); | ^~ extras.c:1930:5: note: ‘snprintf’ output between 14 and 1037 bytes into a destination of size 256 1930 | snprintf(buf, sizeof buf, "Tags in file %s", s->b->filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC -c variables.c CC -c unix.c CC -c tty.c CC -c kmap.c CC -c unicode_join.c CC -c arabic.c CC -c indic.c CC -c qfribidi.c CC -c charsetjis.c CC -c charsetmore.c CC -c modes/unihex.c CC -c modes/bufed.c CC -c modes/orgmode.c CC -c modes/markdown.c CC -c lang/clang.c lang/clang.c: In function ‘salmon_colorize_line’: lang/clang.c:3395:27: warning: variable ‘indent’ set but not used [-Wunused-but-set-variable] 3395 | int i = 0, start, i1, indent; | ^~~~~~ CC -c lang/xml.c CC -c lang/htmlsrc.c CC -c lang/forth.c CC -c lang/arm.c CC -c lang/lisp.c CC -c lang/makemode.c CC -c lang/perl.c CC -c lang/script.c CC -c lang/ebnf.c CC -c lang/cobol.c CC -c lang/rlang.c CC -c lang/txl.c CC -c lang/nim.c CC -c lang/rebol.c CC -c lang/elm.c CC -c lang/jai.c CC -c lang/ats.c CC -c lang/rust.c CC -c lang/swift.c CC -c lang/icon.c CC -c lang/groovy.c CC -c lang/virgil.c CC -c lang/ada.c CC -c lang/basic.c CC -c lang/vimscript.c CC -c lang/pascal.c CC -c lang/fortran.c CC -c lang/haskell.c CC -c lang/lua.c CC -c lang/python.c CC -c lang/ruby.c CC -c lang/smalltalk.c CC -c lang/sql.c CC -c lang/elixir.c CC -c lang/agena.c CC -c lang/coffee.c CC -c lang/erlang.c CC -c lang/julia.c CC -c lang/ocaml.c CC -c lang/scad.c CC -c lang/magpie.c CC -c lang/falcon.c CC -c lang/wolfram.c CC -c lang/tiger.c CC -c lang/asm.c CC -c lang/inifile.c CC -c lang/postscript.c CC -c modes/fractal.c CC -c lang/extra-modes.c CC -c modes/shell.c CC -c modes/dired.c modes/dired.c: In function ‘dired_update_buffer’: modes/dired.c:443:48: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 443 | snprintf(filename, sizeof(filename), "%s/%s", dir, name); | ^ In function ‘getentryslink’, inlined from ‘dired_update_buffer’ at modes/dired.c:782:13: modes/dired.c:443:5: note: ‘snprintf’ output between 2 and 1025 bytes into a destination of size 1024 443 | snprintf(filename, sizeof(filename), "%s/%s", dir, name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC -c modes/archive.c CC -c modes/latex-mode.c CC -c modes/html.c CC -c modes/docbook.c CC -c modes/stb.c CC -c qeend.c LD qe_g cp qe_g qe strip -s -R .comment -R .note qe -rwxr-xr-x 1 myself myself 948432 Aug 3 14:36 qe make TARGET=tqe TARGET_TINY=1 make[1]: Entering directory '/home/myself/develt/qemacs-github-orig2' CC -DCONFIG_TINY -c qe.c CC -DCONFIG_TINY -c util.c CC -DCONFIG_TINY -c cutils.c CC -DCONFIG_TINY -c charset.c CC -DCONFIG_TINY -c buffer.c buffer.c: In function ‘eb_addlog’: buffer.c:1149:40: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 253 [-Wformat-truncation=] 1149 | snprintf(buf, sizeof(buf), "*L<%s>", b->name); | ^~ buffer.c:1149:9: note: ‘snprintf’ output between 5 and 260 bytes into a destination of size 256 1149 | snprintf(buf, sizeof(buf), "*L<%s>", b->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buffer.c: In function ‘eb_create_style_buffer’: buffer.c:1033:42: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 253 [-Wformat-truncation=] 1033 | snprintf(name, sizeof(name), "*S<%s>", b->name); | ^~ In function ‘eb_create_style_buffer’, inlined from ‘eb_create_style_buffer’ at buffer.c:1026:5: buffer.c:1033:9: note: ‘snprintf’ output between 5 and 260 bytes into a destination of size 256 1033 | snprintf(name, sizeof(name), "*S<%s>", b->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC -DCONFIG_TINY -c search.c CC -DCONFIG_TINY -c input.c CC -DCONFIG_TINY -c display.c CC -DCONFIG_TINY -c modes/hex.c CC -DCONFIG_TINY -c modes/list.c CC -DCONFIG_TINY -c parser.c CC -DCONFIG_TINY -c unix.c CC -DCONFIG_TINY -c tty.c CC -DCONFIG_TINY -c qeend.c LD tqe_g cp tqe_g tqe strip -s -R .comment -R .note tqe -rwxr-xr-x 1 myself myself 220968 Aug 3 14:36 tqe make[1]: Leaving directory '/home/myself/develt/qemacs-github-orig2' CC -c html2png.c In function ‘css_close’, inlined from ‘draw_html.isra’ at html2png.c:398:9: html2png.c:68:5: warning: pointer ‘f’ may be used after ‘fclose’ [-Wuse-after-free] 68 | fclose(f); | ^~~~~~~~~ In function ‘css_close’, inlined from ‘draw_html.isra’ at html2png.c:369:5: html2png.c:68:5: note: call to ‘fclose’ here 68 | fclose(f); | ^~~~~~~~~ CC -c libfbf.c CC -c fbfrender.c CC -c cfb.c CC -o bin/fbftoqe tools/fbftoqe.c cutils.c ./bin/fbftoqe fonts/fixed10.fbf fonts/fixed12.fbf fonts/fixed13.fbf fonts/fixed14.fbf fonts/helv8.fbf fonts/helv10.fbf fonts/helv12.fbf fonts/helv14.fbf fonts/helv18.fbf fonts/helv24.fbf fonts/times8.fbf fonts/times10.fbf fonts/times12.fbf fonts/times14.fbf fonts/times18.fbf fonts/times24.fbf fonts/unifont.fbf > fbffonts.c CC -c fbffonts.c LD html2png make TARGET=xqe TARGET_X11=1 make[1]: Entering directory '/home/myself/develt/qemacs-github-orig2' make -C libqhtml all make[2]: Entering directory '/home/myself/develt/qemacs-github-orig2/libqhtml' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/myself/develt/qemacs-github-orig2/libqhtml' CC -DCONFIG_X11 -c qe.c qe.c: In function ‘qe_load_file’: qe.c:7364:11: warning: ‘filename’ may be used uninitialized [-Wmaybe-uninitialized] 7364 | || (!is_directory(filename) && | ^~~~~~~~~~~~~~~~~~~~~~ In file included from qe.c:22: qe.h:344:5: note: by argument 1 of type ‘const char *’ to ‘is_directory’ declared here 344 | int is_directory(const char *path); | ^~~~~~~~~~~~ qe.c:7349:10: note: ‘filename’ declared here 7349 | char filename[MAX_FILENAME_SIZE]; | ^~~~~~~~ CC -DCONFIG_X11 -c util.c CC -DCONFIG_X11 -c cutils.c CC -DCONFIG_X11 -c charset.c CC -DCONFIG_X11 -c buffer.c buffer.c: In function ‘eb_addlog’: buffer.c:1149:40: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 253 [-Wformat-truncation=] 1149 | snprintf(buf, sizeof(buf), "*L<%s>", b->name); | ^~ buffer.c:1149:9: note: ‘snprintf’ output between 5 and 260 bytes into a destination of size 256 1149 | snprintf(buf, sizeof(buf), "*L<%s>", b->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buffer.c: In function ‘eb_create_style_buffer’: buffer.c:1033:42: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 253 [-Wformat-truncation=] 1033 | snprintf(name, sizeof(name), "*S<%s>", b->name); | ^~ In function ‘eb_create_style_buffer’, inlined from ‘eb_create_style_buffer’ at buffer.c:1026:5: buffer.c:1033:9: note: ‘snprintf’ output between 5 and 260 bytes into a destination of size 256 1033 | snprintf(name, sizeof(name), "*S<%s>", b->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC -DCONFIG_X11 -c search.c CC -DCONFIG_X11 -c input.c CC -DCONFIG_X11 -c display.c CC -DCONFIG_X11 -c modes/hex.c CC -DCONFIG_X11 -c modes/list.c CC -DCONFIG_X11 -c qescript.c CC -DCONFIG_X11 -c extras.c extras.c: In function ‘do_compare_files’: extras.c:227:39: warning: ‘../’ directive output may be truncated writing 3 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 227 | snprintf(buf, sizeof(buf), "%s../%s", dir, tail); | ^~~ extras.c:227:9: note: ‘snprintf’ output 4 or more bytes (assuming 1027) into a destination of size 1024 227 | snprintf(buf, sizeof(buf), "%s../%s", dir, tail); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extras.c: In function ‘do_list_tags’: extras.c:1930:45: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 243 [-Wformat-truncation=] 1930 | snprintf(buf, sizeof buf, "Tags in file %s", s->b->filename); | ^~ extras.c:1930:5: note: ‘snprintf’ output between 14 and 1037 bytes into a destination of size 256 1930 | snprintf(buf, sizeof buf, "Tags in file %s", s->b->filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC -DCONFIG_X11 -c variables.c CC -DCONFIG_X11 -c unix.c CC -DCONFIG_X11 -c tty.c CC -DCONFIG_X11 -c kmap.c CC -DCONFIG_X11 -c unicode_join.c CC -DCONFIG_X11 -c arabic.c CC -DCONFIG_X11 -c indic.c CC -DCONFIG_X11 -c qfribidi.c CC -DCONFIG_X11 -c charsetjis.c CC -DCONFIG_X11 -c charsetmore.c CC -DCONFIG_X11 -c modes/unihex.c CC -DCONFIG_X11 -c modes/bufed.c CC -DCONFIG_X11 -c modes/orgmode.c CC -DCONFIG_X11 -c modes/markdown.c CC -DCONFIG_X11 -c lang/clang.c lang/clang.c: In function ‘salmon_colorize_line’: lang/clang.c:3395:27: warning: variable ‘indent’ set but not used [-Wunused-but-set-variable] 3395 | int i = 0, start, i1, indent; | ^~~~~~ CC -DCONFIG_X11 -c lang/xml.c CC -DCONFIG_X11 -c lang/htmlsrc.c CC -DCONFIG_X11 -c lang/forth.c CC -DCONFIG_X11 -c lang/arm.c CC -DCONFIG_X11 -c lang/lisp.c CC -DCONFIG_X11 -c lang/makemode.c CC -DCONFIG_X11 -c lang/perl.c CC -DCONFIG_X11 -c lang/script.c CC -DCONFIG_X11 -c lang/ebnf.c CC -DCONFIG_X11 -c lang/cobol.c CC -DCONFIG_X11 -c lang/rlang.c CC -DCONFIG_X11 -c lang/txl.c CC -DCONFIG_X11 -c lang/nim.c CC -DCONFIG_X11 -c lang/rebol.c CC -DCONFIG_X11 -c lang/elm.c CC -DCONFIG_X11 -c lang/jai.c CC -DCONFIG_X11 -c lang/ats.c CC -DCONFIG_X11 -c lang/rust.c CC -DCONFIG_X11 -c lang/swift.c CC -DCONFIG_X11 -c lang/icon.c CC -DCONFIG_X11 -c lang/groovy.c CC -DCONFIG_X11 -c lang/virgil.c CC -DCONFIG_X11 -c lang/ada.c CC -DCONFIG_X11 -c lang/basic.c CC -DCONFIG_X11 -c lang/vimscript.c CC -DCONFIG_X11 -c lang/pascal.c CC -DCONFIG_X11 -c lang/fortran.c CC -DCONFIG_X11 -c lang/haskell.c CC -DCONFIG_X11 -c lang/lua.c CC -DCONFIG_X11 -c lang/python.c CC -DCONFIG_X11 -c lang/ruby.c CC -DCONFIG_X11 -c lang/smalltalk.c CC -DCONFIG_X11 -c lang/sql.c CC -DCONFIG_X11 -c lang/elixir.c CC -DCONFIG_X11 -c lang/agena.c CC -DCONFIG_X11 -c lang/coffee.c CC -DCONFIG_X11 -c lang/erlang.c CC -DCONFIG_X11 -c lang/julia.c CC -DCONFIG_X11 -c lang/ocaml.c CC -DCONFIG_X11 -c lang/scad.c CC -DCONFIG_X11 -c lang/magpie.c CC -DCONFIG_X11 -c lang/falcon.c CC -DCONFIG_X11 -c lang/wolfram.c CC -DCONFIG_X11 -c lang/tiger.c CC -DCONFIG_X11 -c lang/asm.c CC -DCONFIG_X11 -c lang/inifile.c CC -DCONFIG_X11 -c lang/postscript.c CC -DCONFIG_X11 -c modes/fractal.c CC -DCONFIG_X11 -c lang/extra-modes.c CC -DCONFIG_X11 -c modes/shell.c CC -DCONFIG_X11 -c modes/dired.c modes/dired.c: In function ‘dired_update_buffer’: modes/dired.c:443:48: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 443 | snprintf(filename, sizeof(filename), "%s/%s", dir, name); | ^ In function ‘getentryslink’, inlined from ‘dired_update_buffer’ at modes/dired.c:782:13: modes/dired.c:443:5: note: ‘snprintf’ output between 2 and 1025 bytes into a destination of size 1024 443 | snprintf(filename, sizeof(filename), "%s/%s", dir, name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC -DCONFIG_X11 -c modes/archive.c CC -DCONFIG_X11 -c modes/latex-mode.c CC -DCONFIG_X11 -c modes/html.c CC -DCONFIG_X11 -c modes/docbook.c CC -DCONFIG_X11 -c modes/stb.c CC -DCONFIG_X11 -c x11.c CC -DCONFIG_X11 -c qeend.c LD xqe_g cp xqe_g xqe strip -s -R .comment -R .note xqe -rwxr-xr-x 1 myself myself 969720 Aug 3 14:37 xqe make[1]: Leaving directory '/home/myself/develt/qemacs-github-orig2' █▓▒░myself@arch-tornado█▓▒░ Wed Aug 03 02:37:11 ~/develt/qemacs-github-orig2/