[MacPorts] #61521: xemacs @21.4.22: error: implicitly declaring library function 'exit'

MacPorts noreply at macports.org
Tue Nov 17 07:54:42 UTC 2020


#61521: xemacs @21.4.22: error: implicitly declaring library function 'exit'
---------------------------+-----------------------------
  Reporter:  wealthychef1  |      Owner:  dstrubbe
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.4
Resolution:                |   Keywords:  bigsur catalina
      Port:  xemacs        |
---------------------------+-----------------------------
Changes (by ryandesign):

 * keywords:   => bigsur catalina
 * owner:  (none) => dstrubbe
 * status:  new => assigned


Old description:

> xemacs fails to install for me using MacPorts 2.6.4 on Big Sur:
>
> {{{
> --->  Attempting to fetch xemacs-mule-sumo-2010-07-27.tar.gz from
> https://lil.fr.distfiles.macports.org/xemacs
> --->  Verifying checksums for xemacs
> --->  Extracting xemacs
> --->  Applying patches to xemacs
> --->  Configuring xemacs
> Error: Failed to configure xemacs, consult
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_xemacs/xemacs/work/xemacs-21.4.22/config.log
> Error: Failed to configure xemacs: configure failure: command execution
> failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_xemacs/xemacs/main.log
> for details.
>
> root at Richs-iMac (~ ): grep error
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_xemacs/xemacs/work/xemacs-21.4.22/config.log
> configure:2412:10: fatal error: 'features.h' file not found
> 1 error generated.
> #error Not a GNU libc system :-(
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> /* Override any gcc2 internal prototype to avoid an error.  */
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> configure:3516:10: fatal error: 'a.out.h' file not found
> 1 error generated.
> configure:3516:10: fatal error: 'elf.h' file not found
> 1 error generated.
> configure:3516:10: fatal error: 'cygwin/version.h' file not found
> 1 error generated.
> configure:3516:10: fatal error: 'sys/pstat.h' file not found
> 1 error generated.
> configure:3663:67: error: implicitly declaring library function 'exit'
> with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-
> function-declaration]
> 1 error generated.
> configure:4449:2: error: use of undeclared identifier 'not'
> 1 error generated.
> configure:4519:11: error: implicitly declaring library function 'exit'
> with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-
> function-declaration]
> 1 warning and 1 error generated.
>
> }}}
>
> I'm attaching the referenced log file.

New description:

 xemacs fails to install for me using MacPorts 2.6.4 on Big Sur:

 {{{
 --->  Attempting to fetch xemacs-mule-sumo-2010-07-27.tar.gz from
 https://lil.fr.distfiles.macports.org/xemacs
 --->  Verifying checksums for xemacs
 --->  Extracting xemacs
 --->  Applying patches to xemacs
 --->  Configuring xemacs
 Error: Failed to configure xemacs, consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_xemacs/xemacs/work/xemacs-21.4.22/config.log
 Error: Failed to configure xemacs: configure failure: command execution
 failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_xemacs/xemacs/main.log
 for details.
 }}}

 {{{
 root at Richs-iMac (~ ): grep error
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_xemacs/xemacs/work/xemacs-21.4.22/config.log
 configure:2412:10: fatal error: 'features.h' file not found
 1 error generated.
 #error Not a GNU libc system :-(
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 /* Override any gcc2 internal prototype to avoid an error.  */
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 configure:3516:10: fatal error: 'a.out.h' file not found
 1 error generated.
 configure:3516:10: fatal error: 'elf.h' file not found
 1 error generated.
 configure:3516:10: fatal error: 'cygwin/version.h' file not found
 1 error generated.
 configure:3516:10: fatal error: 'sys/pstat.h' file not found
 1 error generated.
 configure:3663:67: error: implicitly declaring library function 'exit'
 with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-
 function-declaration]
 1 error generated.
 configure:4449:2: error: use of undeclared identifier 'not'
 1 error generated.
 configure:4519:11: error: implicitly declaring library function 'exit'
 with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-
 function-declaration]
 1 warning and 1 error generated.

 }}}

 I'm attaching the referenced log file.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/61521#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list