#66947 closed defect (invalid)

OpenBLAS: error: unknown type name 'FILE'

Reported by: mf2k (Frank Schima) Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version: 2.8.99
Keywords: Cc: michaelld (Michael Dickens)
Port: OpenBLAS

Description

I'm seeing the following build error for OpenBLAS. macOS Ventura 13.2.1. Xcode 14.2. M2 MacBook Pro.

:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/usr/include/stdio.h:153:1: error: unknown type name 'FILE'
:info:build FILE    *fopen(const char * __restrict __filename, const char * __restrict __mode) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fopen));
:info:build ^
:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/usr/include/stdio.h:153:81: error: expected function body after function declarator
:info:build FILE    *fopen(const char * __restrict __filename, const char * __restrict __mode) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fopen));
:info:build                                                                                    ^
:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/usr/include/stdio.h:155:14: error: unknown type name 'FILE'
:info:build int      fprintf(FILE * __restrict, const char * __restrict, ...) __printflike(2, 3);

Attachments (1)

main.log (1.7 MB) - added by mf2k (Frank Schima) 21 months ago.

Download all attachments as: .zip

Change History (4)

Changed 21 months ago by mf2k (Frank Schima)

Attachment: main.log added

comment:1 Changed 21 months ago by mf2k (Frank Schima)

Version: 2.8.99

comment:2 Changed 21 months ago by mf2k (Frank Schima)

Today I cleaned it and uninstalled all gcc ports and tried again. This time OpenBLAS installed.

Last edited 21 months ago by mf2k (Frank Schima) (previous) (diff)

comment:3 Changed 21 months ago by mf2k (Frank Schima)

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