• compiler xemacs-21.5.35 sous Debian (sid)

    From Basile Starynkevitch@21:1/5 to All on Wed May 24 10:50:01 2023
    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 <[email protected]>
    (only mine opinions / les opinions sont miennes uniquement)
    92340 Bourg-la-Reine, France
    web page: starynkevitch.net/Basile/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?utf-8?Q?=C3=89tienne?= Mollier@21:1/5 to All on Wed May 24 22:40:01 2023
    Bonjour Basile,

    Basile Starynkevitch, on 2023-05-24:
    /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

    Le problème de xemacs 21.5.35 est reproductible avec gcc-12 de
    Debian sid. Le symbole manquant est défini à deux emplacements
    différents dans le code source, ce qui ne facilite pas la
    résolution :

    $ grep x_focus_timestamp_really_sucks_fix_me_better -r
    src/menubar-x.c: extern Time x_focus_timestamp_really_sucks_fix_me_better;
    src/menubar-x.c: x_focus_timestamp_really_sucks_fix_me_better;
    src/gui-x.c: extern Time x_focus_timestamp_really_sucks_fix_me_better;
    src/gui-x.c: DEVICE_X_MOUSE_TIMESTAMP (d) = x_focus_timestamp_really_sucks_fix_me_better;
    src/event-gtk.c:Time x_focus_timestamp_really_sucks_fix_me_better;
    src/event-gtk.c: x_focus_timestamp_really_sucks_fix_me_better = time(0);
    lwlib/xlwmenu.c:Time x_focus_timestamp_really_sucks_fix_me_better;
    lwlib/xlwmenu.c: x_focus_timestamp_really_sucks_fix_me_better =
    lwlib/xlwmenu.c: x_focus_timestamp_really_sucks_fix_me_better =

    À mon avis ce serait à signaler à l'équipe de developpement
    amont de xemacs. Ce qui me surprend, c'est que le phénomène ne
    se soit pas déclenché plus tôt ; ces définitions ne sont
    apparemment pas nouvelles quand on regarde dans d'anciennes
    versions de xemacs.

    Si ça peut aider,
    --
    Étienne Mollier <[email protected]>
    Fingerprint: 8f91 b227 c7d6 f2b1 948c 8236 793c f67e 8f0d 11da
    Sent from /dev/pts/1, please excuse my verbosity.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmRudCIACgkQeTz2fo8N EdoLZA//TsUYI4/OhABW9L6BbzEmfi3IDHLj2s4ESVz6F3nsyukLw0zhWaDbHEtr B7R6MZ92h+pCe8zVH9E4vchkVSMODsdBFhrqq14cq8E9cZxC6kXysXxKhPPSoGfc 3pRn/SsVeacA424d7dKDApN+tf4OYE4+uSGJcHom+RUxRhMHJLQht+jGPVk7HZvT 3KFAUiqusgata6iXq0MtMDUTaPj9odpTWFTogbJbrz8hITAuyCKR8O3OhJLJncOI hExGsv9WbSzDOGuSCjw24ARBjIESiqo7fE8gAqApUj4H9lRzj7sDc8qP4bfmi3yG zP64pet1zcKFFg2aZXpOVL6BQNO1NzP7zAlwa20D1/fglmfRNHU0Q/y4J7MoU+6x 5wYYINXX3181BbsuFaMSm2P20KKm5WmhdJ2OGTUCA00QapWMp5J2vEJ1V1efjRZH bpzdnFjPCZFa7C1kqBPNvPjBhQidLCcaeuhKTxi01ZpYJIRvTu1YvSJP4o0zMJ4d Gs5mlsUvZFdJZCRtRFfzZtHglGDkAZU9xD6zROrxMfy4WsGIFVK/04fm/8b5cDva qbkoSfzOMGAH4kymERYuH283J/a6BubXrtU9rpeHfeOGrwpMnzgAEMC1xba4yjWa gFPBfhLBbIHsonZ+NwGoY+W9BsUPZYJDgth+OWTwQtdkmBmyedg=
    =5KvU
    -----END PGP SIGNATURE-----

    --- Sou
  • From Basile Starynkevitch@21:1/5 to All on Thu May 25 09:00:01 2023
    On 5/24/23 22:31, Étienne Mollier wrote:
    Bonjour Basile,

    Basile Starynkevitch, on 2023-05-24:
    /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
    Le problème de xemacs 21.5.35 est reproductible avec gcc-12 de
    Debian sid. Le symbole manquant est défini à deux emplacements
    différents dans le code source, ce qui ne facilite pas la
    résolution :

    $ grep x_focus_timestamp_really_sucks_fix_me_better -r
    src/menubar-x.c: extern Time x_focus_timestamp_really_sucks_fix_me_better;
    src/menubar-x.c: x_focus_timestamp_really_sucks_fix_me_better;
    src/gui-x.c: extern Time x_focus_timestamp_really_sucks_fix_me_better;
    src/gui-x.c: DEVICE_X_MOUSE_TIMESTAMP (d) = x_focus_timestamp_really_sucks_fix_me_better;
    src/event-gtk.c:Time x_focus_timestamp_really_sucks_fix_me_better;
    src/event-gtk.c: x_focus_timestamp_really_sucks_fix_me_better = time(0);
    lwlib/xlwmenu.c:Time x_focus_timestamp_really_sucks_fix_me_better;
    lwlib/xlwmenu.c: x_focus_timestamp_really_sucks_fix_me_better =
    lwlib/xlwmenu.c: x_focus_timestamp_really_sucks_fix_me_better =

    À mon avis ce serait à signaler à l'équipe de developpement
    amont de xemacs. Ce qui me surprend, c'est que le phénomène ne
    se soit pas déclenché plus tôt ; ces définitions ne sont
    apparemment pas nouvelles quand on regarde dans d'anciennes
    versions de xemacs.

    Si ça peut aider,


    Je n'ai pas réussi à faire un rapport de bogue sur xemacs.org

    (ma principale préoccupation actuelle est mon dossier de retraite,
    prévue le 1er nov. 2023; avec seulement 4 employeurs principaux -ENS
    Cachan, CEA, INRIA, université- c'est bigrement compliqué).

    Bien sûr à la retraite je continuerais de développer http://refpersys.org/


    Librement

    --
    Basile Starynkevitch <[email protected]>
    (only mine opinions / les opinions sont miennes uniquement)
    92340 Bourg-la-Reine, France
    web page: starynkevitch.net/Basile/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From didier gaumet@21:1/5 to All on Thu May 25 09:00:01 2023
    Bonjour,

    Je calme tout de suite les inquiétudes: ça fait trop longtemps que j'ai abandonné le développement pour émettre un avis pertinent, donc juste prendre ce qui suit comme une éventuelle piste et rien d'autre :-)

    J'ai l'impression en regardant le site Xemacs et les docs d'install de l'archive à télécharger que la construction de Xemacs se fait à la carte (avec ou sans Mule, avec ou sans Gnome et Gtk, etc...) et que l'équipe
    Xemacs considère que si on sort sort du basique tronc commun, il faut soi-même incorporer les bibliothèques de développement concernées qui
    sont nécessaires et que de plus il faut bien gérer tout ça pour que des bibliothèques qui sont effectivement installées soient bien vues et
    prises en compte pour la construction?
    Donc peut-être regarder si il ne manque pas des bibliothèques de développement graphiques?
    Me souviens plus, on n'avait pas parlé il y a quelques semaines ou mois
    d'un outil pour trouver automatiquement quelles dépendances incorporer
    pour une construction?

    Bref, je raconte peut-être vraiment n'importe quoi parce que je n'ai pas
    bien lu ou compris l'exposé de Basile et Etienne, auquel cas désolé pour
    le bruit :-)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michel Verdier@21:1/5 to All on Thu May 25 10:10:01 2023
    Le 25 mai 2023 didier gaumet a écrit :

    J'ai l'impression en regardant le site Xemacs et les docs d'install de l'archive à télécharger que la construction de Xemacs se fait à la carte (avec ou sans Mule, avec ou sans Gnome et Gtk, etc...) et que l'équipe Xemacs

    Oui il y a des paquets xemacs avec et sans mule. Pour gtk c'est emacs qui est avec ou sans.

    https://packages.debian.org/search?suite=bullseye&section=all&arch=any&searchon=names&keywords=emacs

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?utf-8?Q?=C3=89tienne?= Mollier@21:1/5 to All on Thu May 25 17:30:01 2023
    Bonjour,

    J'ai signalé la disponibilité de xemacs 21.5.35 au mainteneur
    via le bug Debian #1036764[1]. Mark me signale que la dernière
    version est toujours considérée comme une publicaton beta, en
    cours de développement. Donc j'imagine qu'il reste un certain
    nombre de bogues à clore.

    [1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1036764

    Bonne journée, :)
    --
    .''`. Étienne Mollier <[email protected]>
    : :' : gpg: 8f91 b227 c7d6 f2b1 948c 8236 793c f67e 8f0d 11da
    `. `' sent from /dev/pts/2, please excuse my verbosity
    `-

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmRvfJIACgkQeTz2fo8N EdrddxAAg82pci98cM7knxfnXhV39X8LwxX74tEFCrlMThLwuGRaS1RdYJHDZoox IAnj0idxDi/lRar9MGcfD1rcyQ3blOc5aMGzirEXGTFgbsHw30W4OUc0zj1NgKGj C6LHg9hqii87yKdrbYejc13b3nl+19U80KzAvJ03hhO0bGZPrXZ/QSGnJy1heAQX VpoIjrd09wRH7reiRWVwZdAE17ahw17DxH5aQm0SShbNfYArDRNvT5EV6cdGhrj9 TZl4V0U84lxkKDgyI9yiZT41e1F+spVkz77p+kORK8pjEuecrcRRy/vRV9CGLZLc GExHSJuEoRba3tB9UydrMN2oY1vW2X99zfhuRPiJzaoN9qe8Du49vJQz/KfWA+Cb tehOx9wA5Te25D+WAJibfDpYqQnlYPSWNiAbgPZwXVCwV4ES2ipSMumnMnF9fN9L 21TNXMpya6tiynLO94jqdL2gdge3S1NXUeZJl1kTpGjOhWBZwDiiRbtfuzTiWyLh j2vPRyJmbi8cvOswIi5lRdjxRbFYn4FPbY8xDsVBHLfKZMcXXuKC7FSwgBhx+tIo nnksjnb0YmIXM1kb+5JzXleuo/cqzO5UdWoYuybXh6cUZO7dDfjTa6c+1DQYW74H 88KnxLLHE0yAGWNDZlV2GGuiz87u28KLTNY11RkS7OPGrtYrKCw=
    =mBJs
    -----END PGP SIG