chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: #1335: Building on OS X: egg uses 1 deprecated function and 1 missin


From: Chicken Trac
Subject: Re: #1335: Building on OS X: egg uses 1 deprecated function and 1 missing function
Date: Mon, 09 Aug 2021 11:52:59 -0000

#1335: Building on OS X: egg uses 1 deprecated function and 1 missing function
------------------------------------+---------------------
            Reporter:  Norman Gray  |      Owner:  (none)
                Type:  defect       |     Status:  new
            Priority:  major        |  Milestone:  someday
           Component:  unknown      |    Version:  4.11.0
          Resolution:               |   Keywords:
Estimated difficulty:  easy         |
------------------------------------+---------------------

Comment (by Norman Gray):

 This workaround no longer works for Chicken 5.2.0 on macOS 11.5.1.  Output
 below

 {{{
 % chicken-install -D disable-shared-cache,disable-load-extension sqlite3
 building sqlite3
    /Data/tools/chicken-5.2.0/bin/csc -host -D compiling-extension -J -s
 -regenerate-import-libraries -setup-mode -I /Users/norman/.cache/chicken-
 install/sqlite3 -C -I/Users/norman/.cache/chicken-install/sqlite3 -O2 -d1
 -L -lsqlite3 sqlite3.scm -o /Users/norman/.cache/chicken-
 install/sqlite3/sqlite3.so
 /Users/norman/.cache/chicken-install/sqlite3/sqlite3.c:275:23: error:
 implicit declaration of function 'sqlite3_enable_load_extension' is
 invalid in C99 [-Werror,-Wimplicit-function-declaration]
 C_r=C_int_to_num(&C_a,sqlite3_enable_load_extension(t0,t1));
                       ^
 /Users/norman/.cache/chicken-install/sqlite3/sqlite3.c:282:23: warning:
 'sqlite3_enable_shared_cache' is deprecated: first deprecated in macOS
 10.7 - Not supported [-Wdeprecated-declarations]
 C_r=C_int_to_num(&C_a,sqlite3_enable_shared_cache(t0));
                       ^
 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sqlite3.h:6341:16:
 note: 'sqlite3_enable_shared_cache' has been explicitly marked deprecated
 here
 SQLITE_API int sqlite3_enable_shared_cache(int);
                ^
 1 warning and 1 error generated.

 Error: shell command terminated with non-zero exit status 256:
 '/Applications/Xcode.app/Contents/Developer/usr/bin/gcc'
 '/Users/norman/.cache/chicken-install/sqlite3/sqlite3.c' -o
 '/Users/norman/.cache/chicken-install/sqlite3/sqlite3.o' -c  -fno-strict-
 aliasing -fwrapv -fno-common -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES
 -Os -fomit-frame-pointer -fPIC -DPIC -DC_SHARED -I/Users/norman/.cache
 /chicken-install/sqlite3 -I/Data/tools/chicken-5.2.0/include/chicken

 Error: shell command terminated with nonzero exit code
 256
 "sh /Users/norman/.cache/chicken-install/sqlite3/sqlite3.build.sh"
 }}}

-- 
Ticket URL: <https://bugs.call-cc.org/ticket/1335#comment:1>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]