compiler xemacs-21.5.35 sous Debian (sid)
Bonjour la liste,
Sur un PC fixe Dell (Precision 7920, Intel(R) Xeon(R) Silver 4114, au
bureau CEA LIST, noyau Debian 6.1.27-1, Debian GLIBC 2.36-9) sous Debian
Sid (sous Xorg) je n'arrive pas à compiler xemacs-21.5.35 (gcc-13 de la
debian), configuré avec
'./configure' '--with-bignum=gmp' '--with-union-type'
'--with-widgets=gtk' '--sysconfdir=/etc/local/'
'--program-suffix=-trunk' '--with-modules' '--with-unicode-internal'
'--with-ncurses' '--with-xpm' '--with-png' '--with-jpeg' '--with-gif'
'--with-sound=native' '--with-debug' '--with-database' '--with-xft'
'--with-gnome' '--without-xaw' '--without-Xaw'
'--with-ldflags=-L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/lib
-flto -g -O2' '--with-dynamic' '--with-gcc' '--with-cflags=-flto -g -O2'
'--with-cflags-optimization=-O2 -flto -g' '--with-xface'
'--with-dialogs=gtk' '--with-scrollbars=gtk' '--with-menubars=gtk'
'--with-tiff' '--with-gpm' 'CC=/usr/bin/gcc-13' 'CXX=/usr/bin/g++-13'
Avant de compiler j'ai bien évidemment fait sous root aptitude build-dep
xemacs21
La compilation échoue de manière reproductible avec basilest@pcbasile
/usr/src/Editors/xemacs-21.5.35
% make
cd ./lib-src && make all
make[1]: Entering directory '/usr/src/Editors/xemacs-21.5.35/lib-src'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/usr/src/Editors/xemacs-21.5.35/lib-src'
cd ./lwlib && make all
make[1]: Entering directory '/usr/src/Editors/xemacs-21.5.35/lwlib'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/usr/src/Editors/xemacs-21.5.35/lwlib'
cd ./src && make all
make[1]: Entering directory '/usr/src/Editors/xemacs-21.5.35/src'
if test -f dump-size ; then \
/usr/bin/gcc-13 -c -Wall -Wno-switch -Wundef -Wsign-compare
-Wno-char-subscripts -Wpacked -Wshadow -Wmissing-declarations
-Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement
-Wunused-parameter -g -O2 -flto -g -flto -g -O2 -Demacs -I.
-I/usr/src/Editors/xemacs-21.5.35/src -DHAVE_CONFIG_H
-I/usr/include/freetype2 -I/usr/include/libpng16 -DMAX_SIZE=`cat
dump-size` /usr/src/Editors/xemacs-21.5.35/src/dump-data.c ;\
else \
/usr/bin/gcc-13 -c -Wall -Wno-switch -Wundef -Wsign-compare
-Wno-char-subscripts -Wpacked -Wshadow -Wmissing-declarations
-Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement
-Wunused-parameter -g -O2 -flto -g -flto -g -O2 -Demacs -I.
-I/usr/src/Editors/xemacs-21.5.35/src -DHAVE_CONFIG_H
-I/usr/include/freetype2 -I/usr/include/libpng16 -DMAX_SIZE=0
/usr/src/Editors/xemacs-21.5.35/src/dump-data.c ;\
fi
/usr/bin/gcc-13 -Wall -Wno-switch -Wundef -Wsign-compare
-Wno-char-subscripts -Wpacked -Wshadow -Wmissing-declarations
-Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement
-Wunused-parameter -g -O2 -flto -g -flto -g -O2 -lXft
-Wl,-export-dynamic -no-pie -o temacs abbrev.o alloc.o alloca.o array.o
balloon_help.o balloon-x.o blocktype.o buffer.o bytecode.o callint.o
casefiddle.o casetab.o chartab.o filelock.o cmdloop.o cmds.o console.o
console-stream.o data.o database.o debug.o tests.o device.o dired.o
doc.o doprnt.o editfns.o elhash.o emacs.o emodules.o eval.o events.o
event-stream.o event-unixoid.o dumper.o input-method-xlib.o inline.o
linuxplay.o miscplay.o terminfo.o extents.o faces.o file-coding.o
fileio.o filemode.o floatfns.o fns.o font-lock.o frame.o gc.o general.o
glyphs.o glyphs-eimage.o glyphs-shared.o glyphs-widget.o gpmevent.o
gui.o menubar.o scrollbar.o dialog.o toolbar.o gutter.o imgproc.o
indent.o insdel.o intl.o keymap.o line-number.o lread.o lstream.o
macros.o marker.o md5.o minibuf.o mule-ccl.o mule-charset.o
mule-coding.o mule-wnnfns.o number-gmp.o number.o fontcolor.o opaque.o
print.o process.o process-unix.o profile.o rangetab.o realpath.o
redisplay.o redisplay-output.o regex.o search.o select.o sequence.o
sysdll.o signal.o sound.o specifier.o strftime.o symbols.o syntax.o
sysdep.o text.o tls.o console-tty.o device-tty.o event-tty.o
frame-tty.o fontcolor-tty.o redisplay-tty.o cm.o undo.o unicode.o
console-x.o device-x.o event-Xt.o frame-x.o glyphs-x.o fontcolor-x.o
redisplay-x.o select-x.o gccache-x.o intl-x.o font-mgr.o gui-x.o
menubar-x.o scrollbar-x.o dialog-x.o toolbar-x.o toolbar-xlike.o
widget.o window.o lastfile.o EmacsFrame.o EmacsShell.o
TopLevelEmacsShell.o TransientEmacsShell.o EmacsManager.o dump-id.o
dump-data.o ../lwlib/liblw.a -lwnn -ltiff -lpng -ljpeg -lz -lgif
-lcompface -lXpm -lXft -lfontconfig -lXrender -lXmu -lXt -lXext -lX11
-lSM -lICE -lgmp -ldb -lgpm -lncurses -ltinfo -lcrypt -lm
lto-wrapper: warning: using serial compilation of 79 LTRANS jobs
lto-wrapper: note: see the '-flto' option documentation for more information
faces.c: In function 'ensure_face_cachel_contains_charset':
faces.c:1231:43: warning: writing 1 byte into a region of size 0
[-Wstringop-overflow=]
1231 | Stynarr_at (cachel->font_updated, off1) = 1;
| ^
faces.h:124:3: note: at offset [-2147483648, -1] into destination object
'els_static' of size 4
124 | Stynarr_declare (unsigned_char, NUM_STATIC_CACHEL_FACES);
| ^
faces.c:1232:47: warning: writing 1 byte into a region of size 0
[-Wstringop-overflow=]
1232 | Stynarr_at (cachel->font_final_stage, off1) = final_stage;
| ^
faces.h:124:3: note: at offset [-2147483648, -1] into destination object
'els_static' of size 4
124 | Stynarr_declare (unsigned_char, NUM_STATIC_CACHEL_FACES);
| ^
faces.c:1112:59: warning: writing 1 byte into a region of size 0
[-Wstringop-overflow=]
1112 | Stynarr_at (cachel->font_final_stage, off1) =
| ^
faces.h:124:3: note: at offset [-2147483648, -1] into destination object
'els_static' of size 4
124 | Stynarr_declare (unsigned_char, NUM_STATIC_CACHEL_FACES);
| ^
/usr/bin/ld: /tmp/ccua0L0n.ltrans74.ltrans.o: in function
`pre_activate_callback':
/usr/src/Editors/xemacs-21.5.35/src/menubar-x.c:520: undefined reference
to `x_focus_timestamp_really_sucks_fix_me_better'
/usr/bin/ld: /usr/src/Editors/xemacs-21.5.35/src/menubar-x.c:520:
undefined reference to `x_focus_timestamp_really_sucks_fix_me_better'
/usr/bin/ld: /usr/src/Editors/xemacs-21.5.35/src/menubar-x.c:520:
undefined reference to `x_focus_timestamp_really_sucks_fix_me_better'
/usr/bin/ld: /usr/src/Editors/xemacs-21.5.35/src/menubar-x.c:520:
undefined reference to `x_focus_timestamp_really_sucks_fix_me_better'
/usr/bin/ld: /tmp/ccua0L0n.ltrans74.ltrans.o: in function
`popup_selection_callback':
/usr/src/Editors/xemacs-21.5.35/src/gui-x.c:308: undefined reference to
`x_focus_timestamp_really_sucks_fix_me_better'
collect2: error: ld returned 1 exit status
make[1]: *** [GNUmakefile:140: temacs] Error 1
make[1]: Leaving directory '/usr/src/Editors/xemacs-21.5.35/src'
make: *** [GNUmakefile:104: src] Error 2
Avez vous réussi à compiler ce xemacs-21.5.35 qui vient de sortir (voir
le site xemacs.org).
Merci,
librement
--
Basile Starynkevitch <basile@starynkevitch.net>
(only mine opinions / les opinions sont miennes uniquement)
92340 Bourg-la-Reine, France
web page: starynkevitch.net/Basile/
Reply to: