[MacPorts] #70685: screen @5.0.0_0: invalid value 'c17' in '-std=c17'

MacPorts noreply at macports.org
Fri Sep 6 16:01:56 UTC 2024


#70685: screen @5.0.0_0: invalid value 'c17' in '-std=c17'
-----------------------+-------------------------------
  Reporter:  thetrial  |      Owner:  dgilman
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.10.1
Resolution:            |   Keywords:  legacy-os, sierra
      Port:  screen    |
-----------------------+-------------------------------

Comment (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$
 }}}

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


More information about the macports-tickets mailing list