Opened 8 months ago

Closed 8 months ago

#69596 closed defect (duplicate)

xemacs-21.4.22_18+sumo: configure:2412:10: fatal error: 'features.h' file not found

Reported by: hafden Owned by: dstrubbe (David Strubbe)
Priority: Low Milestone:
Component: ports Version: 2.9.1
Keywords: Cc:
Port: xemacs

Description

% sudo port install xemacs 
--->  Computing dependencies for xemacs
--->  Fetching archive for xemacs
--->  Attempting to fetch xemacs-21.4.22_18+sumo.darwin_21.x86_64.tbz2 from https://packages.macports.org/xemacs
--->  Attempting to fetch xemacs-21.4.22_18+sumo.darwin_21.x86_64.tbz2 from https://nue.de.packages.macports.org/xemacs
--->  Attempting to fetch xemacs-21.4.22_18+sumo.darwin_21.x86_64.tbz2 from https://fra.de.packages.macports.org/xemacs
--->  Fetching distfiles for 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.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port xemacs failed

and in the log I find

configure:2423: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk      conftest.c 1>&5
configure:2412:10: fatal error: 'features.h' file not found
#include <features.h>
         ^~~~~~~~~~~~
1 error generated.
configure: failed program was:
#line 2411 "configure"
#include "confdefs.h"
#include <features.h>
int main() {

I am on a Monterey 12.7.4 (21H1123)

Attachments (1)

config.log (18.4 KB) - added by hafden 8 months ago.

Download all attachments as: .zip

Change History (3)

Changed 8 months ago by hafden

Attachment: config.log added

comment:1 Changed 8 months ago by jmroot (Joshua Root)

Owner: set to dstrubbe
Status: newassigned

The actual problem appears to be several implicit declaration errors.

comment:2 Changed 8 months ago by jmroot (Joshua Root)

Resolution: duplicate
Status: assignedclosed
Note: See TracTickets for help on using tickets.