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: Tue, 10 Aug 2021 09:09:07 -0000

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

Comment (by Norman Gray):

 I'm afraid it's not just a matter of the mistaken call -- see below (the
 comma in the argument to -D was a goof: a typo on my part when creating
 the issue).

 In any case, that's not really the issue, but instead the point that the
 egg is calling a long-deprecated (and now, it appears, finally disabled)
 interface.  When I first looked at this, I recall that there was an
 alternative recommended by the SQLite docs, and (if I recall correctly) it
 didn't look terribly hard to switch to.  Unfortunately however, I'm not
 volunteering to make the change, since I'm no longer using Chicken much.


 {{{
 % chicken-install -D disable-shared-cache -D 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
 objc[1075]: Class AMSupportURLConnectionDelegate is implemented in both
 /usr/lib/libauthinstall.dylib (0x1f447fad8) and
 
/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice
 (0x118cec2b8). One of the two will be used. Which one is undefined.
 objc[1075]: Class AMSupportURLSession is implemented in both
 /usr/lib/libauthinstall.dylib (0x1f447fb28) and
 
/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice
 (0x118cec308). One of the two will be used. Which one is undefined.
 /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:4>
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]