Opened 10 days ago

Closed 9 days ago

#70685 closed defect (fixed)

screen @5.0.0_0: invalid value 'c17' in '-std=c17'

Reported by: thetrial (alabay) Owned by: dgilman (David Gilman)
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: legacy-os, sierra Cc:
Port: screen

Description

Today’s notification:

:info:build error: invalid value 'c17' in '-std=c17'
:info:build make: *** [winmsgcond.o] Error 1

Tried to build under macOS 10.12.6.

Change History (2)

comment:1 Changed 10 days ago by RobK88

I also get the same error when trying to build the screen on El Capitan.

Here is the workaround -- Build with a newer compiler such as clang-15:

grinch$ sudo port clean screen
--->  Cleaning screen
 
grinch$ sudo port upgrade screen configure.compiler=macports-clang-15
--->  Computing dependencies for screen
--->  Fetching archive for screen
--->  Attempting to fetch screen-5.0.0_0.darwin_15.x86_64.tbz2 from http://packages.macports.org/screen
--->  Attempting to fetch screen-5.0.0_0.darwin_15.x86_64.tbz2 from http://bos.us.packages.macports.org/screen
--->  Attempting to fetch screen-5.0.0_0.darwin_15.x86_64.tbz2 from https://mirrors.mit.edu/macports/packages/screen
--->  Fetching distfiles for screen
--->  Verifying checksums for screen
--->  Extracting screen
--->  Applying patches to screen
--->  Configuring screen
--->  Building screen                                    
--->  Staging screen into destroot                       
--->  Installing screen @5.0.0_0                         
--->  Cleaning screen
--->  Computing dependencies for screen
--->  Deactivating screen @4.9.1_0
--->  Cleaning screen
--->  Activating screen @5.0.0_0
--->  Cleaning screen
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  No broken files found.                             
--->  No broken ports found.
--->  Some of the ports you installed have notes:
  screen has the following notes:
    Any screens running before upgrading, will not be available, post-install. 
grinch$

comment:2 Changed 9 days ago by TheRealKeto (Keto)

Resolution: fixed
Status: assignedclosed

In 64ca31c6c7698c944f235053b9ed8608aab257b5/macports-ports (master):

screen: Fix invalid value 'c17' in '-std=c17'

Set compiler.c_standard to 2017 so that a proper
compiler, like clang-15 can be used when building

Closes: #70685

Note: See TracTickets for help on using tickets.