|
From: Scott H. <sha...@us...> - 2024-03-11 21:18:01
|
Yaniv, Yes, this shows the error. the "EMACS_GET_PROCESS_GROUP ()” expands to “getpgrp(0)” which is an error since getpgrp expects no arguments. It seems that the source code needs a patch to run on newer compilers that seem to be more of a stickler for arguments. Unfortunately there is no maintainer for this package. maintainer: None <fin...@li...> For all I know it may be a simple update to the patch file or a bump to the upstream version. One thing to try is in the build directory edit the line in systty.h from > #define EMACS_GET_PROCESS_GROUP() EMACS_GETPGRP (0) to > #define EMACS_GET_PROCESS_GROUP() EMACS_GETPGRP () And then see if it builds. Just a guess. -Scott > On Mar 11, 2024, at 15:32, Yaniv Almog <yal...@gm...> wrote: > > Thanks Scott > > Perhaps you need that (??) > > process-unix.c:1033:23: error: too many arguments to function call, expected 0, have 1 > > pid_t piddly = EMACS_GET_PROCESS_GROUP (); > > ^~~~~~~~~~~~~~~~~~~~~~~~~~ > > ./systty.h:286:50: note: expanded from macro 'EMACS_GET_PROCESS_GROUP' > > #define EMACS_GET_PROCESS_GROUP() EMACS_GETPGRP (0) > > ~~~~~~~~~~~~~~~^~ > > ./systty.h:282:34: note: expanded from macro 'EMACS_GETPGRP' > > #define EMACS_GETPGRP(x) getpgrp(x) > > ~~~~~~~ ^ > > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:459:8: note: 'getpgrp' declared here > > pid_t getpgrp(void); > > ^ > > process-unix.c:1951:12: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] > > *vinfd = (void*)inch; > > ^~~~~~~~~~~ > > process-unix.c:1952:13: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] > > *voutfd = (void*)outch; > > ^~~~~~~~~~~~ > > process-unix.c:2113:12: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] > > *vinfd = (void*)rs; > > ^~~~~~~~~ > > process-unix.c:2114:13: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] > > *voutfd = (void*)ws; > > ^~~~~~~~~ > > > > The end of the diagnostic step follows > > > > XEmacs 21.4.24 "Standard C" configured for `i386-apple-darwin22.6.0'. > > > > > > Compilation / Installation: > > Source code location: /opt/sw.build/xemacs-21.4.24-11/xemacs-21.4.24 > > Installation prefix: /opt/sw > > Additional prefixes: /opt/sw > > Operating system description file: `s/darwin.h' > > Not using any machine description file > > Compiler: gcc -O2 -g -std=c89 > > Compiler version: Apple clang version 15.0.0 (clang-1500.1.0.2.5) > > Compiler specs file: (clang-1500.1.0.2.5) > > Relocating allocator for buffers: no > > GNU version of malloc: no > > - The GNU allocators don't work with this system configuration. > > libc: system-provided libc on i386-apple-darwin22.6.0 > > > > Window System: > > Compiling in support for the X window system: > > - X Windows headers location: /usr/X11/include > > - X Windows libraries location: /usr/X11/lib > > - Handling WM_COMMAND properly. > > Compiling in support for the Athena widget set: > > - Athena headers location: X11/Xaw3d > > - Athena library to link: Xaw3d > > Using Lucid menubars. > > Using Lucid scrollbars. > > Using Athena dialog boxes. > > Using Athena native widgets. > > > > TTY: > > Compiling in support for ncurses. > > > > Images: > > Compiling in support for GIF images (builtin). > > WARNING: ----------------------------------------------------------- > > WARNING: Compiling without XPM image support. > > WARNING: You should strongly consider installing XPM. > > WARNING: Otherwise toolbars and other graphics will look suboptimal. > > WARNING: (a copy may be found in ftp://ftp.xemacs.org/pub/xemacs/aux <ftp://ftp.xemacs.org/pub/xemacs/aux>) > > WARNING: ----------------------------------------------------------- > > Compiling in support for PNG images. > > Compiling in support for JPEG images. > > Compiling in support for TIFF images. > > Compiling in support for X-Face message headers. > > > > Sound: > > > > Databases: > > Compiling in support for GNU DBM. > > > > Internationalization: > > > > Mail: > > Compiling in support for "dot-locking" mail spool file locking method. > > > > Other Features: > > Inhibiting IPv6 canonicalization at startup. > > Compiling in support for dynamic shared object modules. > > Using the new portable dumper. > > > > I hope that this what you need. > > > > Thanks again > > Yaniv > > On Mon, Mar 11, 2024 at 8:43 PM Scott Hannahs <sha...@us... <mailto:sha...@us...>> wrote: >> Yaniv, >> >> The error occurred before your snippet. The snippet is showing the report of an error and the cleanup commands. The snippet starts with 8 warnings AND 1 ERROR. That error was above that notice. Please go back through the log and find the command (complete line) and the error message. Possibly a gcc call? >> >> -Scott >> >>> On Mar 10, 2024, at 05:17, Yaniv Almog <yal...@gm... <mailto:yal...@gm...>> wrote: >>> >>> Dear users >>> >>> I can't install xemacs on my Ventura macos. I attach the announcements I get. Any ideas for a workaround? >>> >>> Thanks, >>> Yaniv Almog >>  |