[MacPorts] #61724: bvi @1.4.0: error: implicit declaration of function 'save_chk' is invalid in C99 (was: bvi @1.4.0: build fails on macOS 11.0.1 "Big Sur"/Xcode 12.2)

MacPorts noreply at macports.org
Wed Dec 2 17:34:13 UTC 2020


#61724: bvi @1.4.0: error: implicit declaration of function 'save_chk' is invalid
in C99
-------------------------+-----------------------------
  Reporter:  martinr448  |      Owner:  mtn88
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.4
Resolution:              |   Keywords:  bigsur catalina
      Port:  bvi         |
-------------------------+-----------------------------
Changes (by ryandesign):

 * keywords:  bigsur => bigsur catalina


Old description:

> Building bvi on  macOS 11.0.1 "Big Sur" with Xcode 12.2 fails:
>

> {{{
> :info:build /usr/bin/clang -pipe -Os
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch
> x86_64 -I/opt/local/include
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
> -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DHAVE_CONFIG_H
> -DHELPFILE=\"/opt/local/share/bvi/bmore.help\" -c bmore.c
> :info:build comm.c:310:5: error: implicit declaration of function
> 'save_chk' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
> :info:build                                 save_chk(name, start_addr,
> end_addr, saveflag);
> :info:build                                 ^
> }}}
>
> Apparently this problem has been fixed in bvi 1.4.1. From
> [http://bvi.sourceforge.net/new141.html CHANGES in bvi 1.4.1]:
>
> > Compile warning: implicit declaration of function ‘save_chk’ fixed (SF
> bug #9)

New description:

 Building bvi on  macOS 11.0.1 "Big Sur" with Xcode 12.2 fails:


 {{{
 :info:build /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch
 x86_64 -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DHAVE_CONFIG_H
 -DHELPFILE=\"/opt/local/share/bvi/bmore.help\" -c bmore.c
 :info:build comm.c:310:5: error: implicit declaration of function
 'save_chk' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
 :info:build                                 save_chk(name, start_addr,
 end_addr, saveflag);
 :info:build                                 ^
 }}}

 Apparently this problem has been fixed in bvi 1.4.1. From
 [http://bvi.sourceforge.net/new141.html CHANGES in bvi 1.4.1]:

 > Compile warning: implicit declaration of function ‘save_chk’ fixed (SF
 bug !#9)

--

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


More information about the macports-tickets mailing list