Using MacPorts gcc14 (stdio.h trouble error: unknown type name 'FILE)

Chris Jones jonesc at hep.phy.cam.ac.uk
Thu Feb 13 15:01:20 UTC 2025


Hi,

If you are having issues with building a particular port from source.

1. Check for open trac tickets that cover your issue

https://trac.macports.org/

2. If one does not exist, open a ticket and be sure to attach a 
*complete* build log from the *clean* build attempt.

Chris

On 13/02/2025 2:51 pm, Gerben Wierda wrote:
> 
> 
>> On 13 Feb 2025, at 15:30, Chris Jones <jonesc at hep.phy.cam.ac.uk> wrote:
>>
>> why its failing for you is hard to say as you have not provided enough 
>> information really to comment.
> 
> I tend to start with a clean sheet, so remove all ports and reclaim.
> 
> sudo port -f uninstall installed
> sudo port -N reclaim
> 
> Then build the port set fro scratch.
> 
> My standard set for the machine is:
> port -N install wget || exit 1
> port -N install inetutils || exit 1
> port -N install putty || exit 1
> port -N install iperf3 || exit 1
> port -N install logrotate || exit 1
> port -N install rsync || exit 1
> port -N install dos2unix || exit 1
> port -N install grep || exit 1
> port -N install gnutar || exit 1
> port -N install mupdf || exit 1
> port -N install bash || exit 1
> port -N install restic || exit 1
> port -N install rclone || exit 1
> 
> And for this project I add:
> 
> sudo port -N install gcc14
> 
> Which works. But if I do that with
> 
> sudo port -s install gcc14
> 
> I get the failure.
> 
> Up to date macOS Sonoma.
> 
> G



More information about the macports-users mailing list