List: fink-devel Subject: Re: [Fink-devel] [Fink-users] Can't install xemacs From: Scott Hannahs via Fink-devel <fink-devel () lists ! sourceforge ! net> Date: 2024-03-11 21:17:29 Message-ID: 24C250DD-6E0B-43FF-B89A-AD36455D3574 () users ! sourceforge ! net [Download RAW message or body] [Attachment #2 (multipart/alternative)] 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 <fink-devel@lists.sourceforge.net> 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 <yalmog64@gmail.com> 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 <shannahs@users.sourceforge.net \ > <mailto:shannahs@users.sourceforge.net>> 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 <yalmog64@gmail.com \ > > > <mailto:yalmog64@gmail.com>> 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 > >  [Attachment #5 (multipart/related)] [Attachment #7 (unknown)] <html><head><meta http-equiv="content-type" content="text/html; \ charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: \ space; line-break: after-white-space;">Yaniv,<div><br></div><div>Yes, this shows the \ error. the <span style="font-size: large;">"</span><font \ size="4">EMACS_GET_PROCESS_GROUP ()"</font> expands to <font \ size="4">"getpgrp(0)"</font> 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.<div><br></div><div>Unfortunately there is no maintainer for this \ package.<br><div>maintainer: None \ <fink-devel@lists.sourceforge.net></div><div><br></div><div>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</div><div><blockquote type="cite"><div dir="ltr"><div class="gmail_default" \ style="font-size: large;">#define EMACS_GET_PROCESS_GROUP() EMACS_GETPGRP \ (0)</div></div></blockquote>to</div><div><blockquote type="cite"><div dir="ltr"><div \ class="gmail_default" style="font-size: large;">#define EMACS_GET_PROCESS_GROUP() \ EMACS_GETPGRP ()</div></div></blockquote></div><div><br></div><div>And then see if it \ builds. Just a \ guess.</div><div><br></div><div>-Scott</div><div><br></div><div><br></div><div><br></div><div><br><blockquote \ type="cite"><div>On Mar 11, 2024, at 15:32, Yaniv Almog <yalmog64@gmail.com> \ wrote:</div><br class="Apple-interchange-newline"><div><div dir="ltr"><div \ class="gmail_default" style="font-size:large">Thanks Scott </div><div \ class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" \ style="font-size:large">Perhaps you need that (??)<br><br>process-unix.c:1033:23: \ error: too many arguments to function call, expected 0, have 1<br><br> \ pid_t piddly = EMACS_GET_PROCESS_GROUP \ ();<br><br> \ \ ^~~~~~~~~~~~~~~~~~~~~~~~~~<br><br>./systty.h:286:50: note: expanded from macro \ 'EMACS_GET_PROCESS_GROUP'<br><br>#define EMACS_GET_PROCESS_GROUP() EMACS_GETPGRP \ (0)<br><br> \ \ ~~~~~~~~~~~~~~~^~<br><br>./systty.h:282:34: note: expanded from macro \ 'EMACS_GETPGRP'<br><br>#define EMACS_GETPGRP(x) getpgrp(x)<br><br> \ ~~~~~~~ \ ^<br><br>/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:459:8: \ note: 'getpgrp' declared here<br><br>pid_t getpgrp(void);<br><br> \ ^<br><br>process-unix.c:1951:12: warning: cast to 'void *' \ from smaller integer type 'int' [-Wint-to-void-pointer-cast]<br><br> *vinfd = \ (void*)inch;<br><br> \ ^~~~~~~~~~~<br><br>process-unix.c:1952:13: warning: cast to 'void *' from \ smaller integer type 'int' [-Wint-to-void-pointer-cast]<br><br> *voutfd = \ (void*)outch;<br><br> \ ^~~~~~~~~~~~<br><br>process-unix.c:2113:12: warning: cast to 'void *' from smaller \ integer type 'int' [-Wint-to-void-pointer-cast]<br><br> *vinfd = \ (void*)rs;<br><br> \ ^~~~~~~~~<br><br>process-unix.c:2114:13: warning: cast to 'void *' from smaller \ integer type 'int' [-Wint-to-void-pointer-cast]<br><br> *voutfd = \ (void*)ws;<br><br> \ ^~~~~~~~~<br><br><br><br> The end of the diagnostic step \ follows<br><br><br><br>XEmacs 21.4.24 "Standard C" configured for \ `i386-apple-darwin22.6.0'.<br><br><br><br><br><br>Compilation / \ Installation:<br><br> Source code location: \ /opt/sw.build/xemacs-21.4.24-11/xemacs-21.4.24<br><br> \ Installation prefix: \ /opt/sw<br><br> Additional prefixes: \ /opt/sw<br><br> Operating system description file: \ `s/darwin.h'<br><br> Not using any machine description file<br><br> \ Compiler: \ gcc -O2 -g -std=c89<br><br> Compiler version: \ Apple clang version 15.0.0 \ (clang-1500.1.0.2.5)<br><br> Compiler specs file: \ (clang-1500.1.0.2.5)<br><br> Relocating allocator for \ buffers: no<br><br> GNU version of malloc: \ no<br><br> - The GNU allocators don't work with this \ system configuration.<br><br> libc: \ system-provided libc on \ i386-apple-darwin22.6.0<br><br><br><br>Window System:<br><br> Compiling in \ support for the X window system:<br><br> - X Windows headers location: \ \ /usr/X11/include<br><br> - X Windows libraries location: \ /usr/X11/lib<br><br> - Handling \ WM_COMMAND properly.<br><br> Compiling in support for the Athena widget \ set:<br><br> - Athena headers location: \ X11/Xaw3d<br><br> - Athena \ library to link: \ Xaw3d<br><br> Using Lucid menubars.<br><br> Using Lucid \ scrollbars.<br><br> Using Athena dialog boxes.<br><br> Using Athena \ native widgets.<br><br><br><br>TTY:<br><br> Compiling in support for \ ncurses.<br><br><br><br>Images:<br><br> Compiling in support for GIF \ images (builtin).<br><br> WARNING: \ -----------------------------------------------------------<br><br> WARNING: \ Compiling without XPM image support.<br><br> WARNING: You should strongly \ consider installing XPM.<br><br> WARNING: Otherwise toolbars and other graphics \ will look suboptimal.<br><br> WARNING: (a copy may be found in <a \ href="ftp://ftp.xemacs.org/pub/xemacs/aux" \ originalsrc="ftp://ftp.xemacs.org/pub/xemacs/aux" \ shash="ShRgZyLZFirdp9dT+T1ZgR+6oidgi33hLIVSRTpkYtoil9Uvgkt4pS75rvn+KLhGSWQON4rRBD7f4fN \ H0PbxE2RG+ij7o1kw/nMbuQ8aKpD9phhOuuBy8jiFbr1I0V5I/k8GCbeU0wxqr8rmKU4J8MXL/uWrOd6C6T21BvOZ5mM=" \ target="_blank">ftp://ftp.xemacs.org/pub/xemacs/aux</a>)<br><br> WARNING: \ -----------------------------------------------------------<br><br> Compiling \ in support for PNG images.<br><br> Compiling in support for JPEG \ images.<br><br> Compiling in support for TIFF images.<br><br> Compiling \ in support for X-Face message \ headers.<br><br><br><br>Sound:<br><br><br><br>Databases:<br><br> Compiling in \ support for GNU DBM.<br><br><br><br>Internationalization:<br><br><br><br>Mail:<br><br> \ Compiling in support for "dot-locking" mail spool file locking \ method.<br><br><br><br>Other Features:<br><br> Inhibiting IPv6 canonicalization \ at startup.<br><br> Compiling in support for dynamic shared object \ modules.<br><br> Using the new portable dumper.<br><br><br><br>I hope that this \ what you need.<br><br><br><br>Thanks again<br><br>Yaniv<br></div></div><br><div \ class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 11, 2024 at \ 8:43â¯PM Scott Hannahs <<a \ href="mailto:shannahs@users.sourceforge.net">shannahs@users.sourceforge.net</a>> \ wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \ 0.8ex;border-left:1px solid \ rgb(204,204,204);padding-left:1ex"><div>Yaniv,<div><br></div><div>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?</div><div><br></div><div>-Scott<br><div><br><blockquote type="cite"><div>On Mar \ 10, 2024, at 05:17, Yaniv Almog <<a href="mailto:yalmog64@gmail.com" \ target="_blank">yalmog64@gmail.com</a>> wrote:</div><br><div><div dir="ltr"><div \ class="gmail_default" style="font-size:large">Dear users</div><div \ class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" \ style="font-size:large">I can't install xemacs on my Ventura macos. I attach the \ announcements I get. Any ideas for a workaround?</div><div class="gmail_default" \ style="font-size:large"><br></div><div class="gmail_default" \ style="font-size:large">Thanks,</div><div class="gmail_default" \ style="font-size:large">Yaniv \ Almog </div></div></div></blockquote><br><blockquote type="cite"><div><div \ dir="ltr"><div class="gmail_default" style="font-size:large"><img alt="Screenshot \ 2024-03-10 at 11.09.34 AM.png" src="cid:ii_18e2f000c294836afec1" \ width="640"></div></div></div></blockquote></div><br></div></div></blockquote></div> \ </div></blockquote></div><br></div></div></body></html> ["Screenshot 2024-03-10 at 11.09.34 AM.png" (Screenshot 2024-03-10 at 11.09.34 AM.png)] �PNG IHDR � �/�J `iCCPICC \ Profile (�m��+�q�_c�h�A�vP���M�#�f�p����~|�n�nr���$���A��H��]킾��m�|zz�z�<OOohriJ��@:�7�sS��U��fZqҏS�s* ��om|�;l��Y������g���yp�����9]�]ʧ+#6�ph3�,��4�(��U>�8Z��J�RxZ�F�COj1�'aO��O�q: \ ���`]�g"��]R��0KP��>&�ςd���Xef�,��$H���8�q�y2������a�˞���Ś�J;�}_��}.��fh? \ �����ڨ�ʮIhy4��p�h�o'��q"��� l�c�_u� �eXIfMM * > F( \ �i N � � �� x� � � ASCII ScreenshotN�� pHYs % %IR$� �iTXtXML:com.adobe.xmp <x:xmpmeta \ xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 6.0.0"> <rdf:RDF \ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description \ rdf:about="" xmlns:exif="http://ns.adobe.com/exif/1.0/"> <exif:PixelYDimension>670</exif:PixelYDimension> <exif:PixelXDimension>1280</exif:PixelXDimension> <exif:UserComment>Screenshot</exif:UserComment> </rdf:Description> </rdf:RDF> </x:xmpmeta> �m�} iDOT O ( O O :d�9� @ IDATx�����T�Tl����]��r�]�p��µ� ;z�Xv�������sfgv'��9{o�g��ɤ~��μ�M�F��H�H�H�H�H�H�H�H�H�����f�aվ}{զM[69�� @\K$@$@$@$@$@$@$@$@�� Xg�B$@$@$@$@$@$@$@$@�B�`�`g�$@$@$@$@$@$@$@$@$P ��pf.$@$@$@$@$@$@$@$@$�,( 6vfJ$@$@$@$@$@$@$@$@�� X��2y�du��ǫ~�A \ �{s��u͏�� � � � � � � � ��&