Opened 4 years ago

Closed 4 years ago

#61724 closed defect (fixed)

bvi @1.4.0: error: implicit declaration of function 'save_chk' is invalid in C99

Reported by: martinr448 Owned by: mtn88 (Max)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur catalina Cc: martinr448
Port: bvi

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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 CHANGES in bvi 1.4.1:

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

Attachments (1)

main.log (18.0 KB) - added by martinr448 4 years ago.

Download all attachments as: .zip

Change History (6)

Changed 4 years ago by martinr448

Attachment: main.log added

comment:1 Changed 4 years ago by martinr448

Cc: martinr448 added

comment:2 Changed 4 years ago by jmroot (Joshua Root)

Owner: set to mtn88
Status: newassigned

comment:3 Changed 4 years ago by mtn88 (Max)

Port update submitted and pending. #61725

Last edited 4 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:4 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: catalina added
Summary: bvi @1.4.0: build fails on macOS 11.0.1 "Big Sur"/Xcode 12.2bvi @1.4.0: error: implicit declaration of function 'save_chk' is invalid in C99

comment:5 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In 2a126fb83a17fa81af229abd4e40f6a0e88d13f2/macports-ports (master):

bvi: Update to 1.4.1

Also rewrite master_sites to avoid redirects and add maintainer's
GitHub handle.

Closes: #61724
Closes: #61725

Note: See TracTickets for help on using tickets.