[MacPorts] #71604: mpack @1.6_1: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int

MacPorts noreply at macports.org
Fri Dec 20 10:36:16 UTC 2024


#71604: mpack @1.6_1: type specifier missing, defaults to 'int'; ISO C99 and later
do not support implicit int
------------------------+--------------------
  Reporter:  ianthrive  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.10.5
Resolution:             |   Keywords:
      Port:  mpack      |
------------------------+--------------------
Description changed by ianthrive:

Old description:

> {{{
> % sudo port clean --all mpack && sudo port install mpack
> [...snip...]
>
> % cat
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_mpack/mpack/work/mpack-1.6/config.log
> [...snip...]
> configure:909: /usr/bin/clang -o conftest -pipe -Os
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch
> arm64 -I/opt/local/include
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
> -L/opt/local/lib -Wl,-headerpad_max_install_names
> -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
> -arch arm64 conftest.c  1>&5
> configure:906:1: error: type specifier missing, defaults to 'int'; ISO
> C99 and later do not support implicit int [-Wimplicit-int]
>   906 | main(){return(0);}
>       | ^
>       | int
> 1 error generated.
> configure: failed program was:
>
> #line 904 "configure"
> #include "confdefs.h"
>
> main(){return(0);}
>
> }}}
>
> {{{
> % port info mpack | head -n 1
> mpack @1.6_1 (mail)
>
> % uname -a
> Darwin ian.local 24.2.0 Darwin Kernel Version 24.2.0: Fri Dec  6 19:01:59
> PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6000 arm64
>
> % sw_vers -ProductVersion
> 15.2
>
> % port version
> Version: 2.10.5
>
> % pkgutil --pkg-
> info=com.apple.pkg.{CLTools_Executables,CLTools_Base,DeveloperToolsCLI,DeveloperToolsCLILeo}
> 2>/dev/null | sed -n 's/^version: //p'
> 16.2.0.0.1.1733547573
>
> % xcodebuild -version
> Xcode 16.2
> Build version 16C5032a
> }}}

New description:

 {{{
 % sudo port clean --all mpack && sudo port install mpack
 [...snip...]

 % cat
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_mpack/mpack/work/mpack-1.6/config.log
 [...snip...]
 configure:893: checking whether the C compiler (/usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -L/opt/local/lib -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
 -arch arm64) works
 configure:909: /usr/bin/clang -o conftest -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
 -L/opt/local/lib -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
 -arch arm64 conftest.c  1>&5
 configure:906:1: error: type specifier missing, defaults to 'int'; ISO C99
 and later do not support implicit int [-Wimplicit-int]
   906 | main(){return(0);}
       | ^
       | int
 1 error generated.
 configure: failed program was:

 #line 904 "configure"
 #include "confdefs.h"

 main(){return(0);}

 }}}

 {{{
 % port info mpack | head -n 1
 mpack @1.6_1 (mail)

 % uname -a
 Darwin ian.local 24.2.0 Darwin Kernel Version 24.2.0: Fri Dec  6 19:01:59
 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6000 arm64

 % sw_vers -ProductVersion
 15.2

 % port version
 Version: 2.10.5

 % pkgutil --pkg-
 info=com.apple.pkg.{CLTools_Executables,CLTools_Base,DeveloperToolsCLI,DeveloperToolsCLILeo}
 2>/dev/null | sed -n 's/^version: //p'
 16.2.0.0.1.1733547573

 % xcodebuild -version
 Xcode 16.2
 Build version 16C5032a
 }}}

--

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


More information about the macports-tickets mailing list