pkgsrc-Bugs archive

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

pkg/49081: Unbreak databases/sqlite3 on OS X Tiger

>Number:         49081
>Category:       pkg
>Synopsis:       Unbreak databases/sqlite3 on OS X Tiger
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 06 20:05:01 +0000 2014
>Originator:     Sevan Janiyan
>Release:        pkgsrc-current
Darwin 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; 
root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
Tiger lacks the zone memory allocator, attempting to build fails with 
/bin/sh ./libtool --tag=CC   --mode=link gcc -D_REENTRANT=1 
-no-undefined -version-info 8:6:8 -L/usr/lib -L/usr/pkg/lib -o 
-rpath /usr/pkg/lib sqlite3.lo  -ldl
libtool: link: gcc -dynamiclib  -o .libs/libsqlite3.0.dylib  .libs/sqlite3.o   
-L/tmp/databases/sqlite3/work/.buildlink/lib -ldl  -O2   -install_name  
/usr/pkg/lib/libsqlite3.0.dylib -compatibility_version 9 -current_version 9.6 
ld: Undefined symbols:
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link edit 
command failed
Makefile:356: recipe for target '' failed
gmake: *** [] Error 1

Attached patch sets  SQLITE_WITHOUT_ZONEMALLOC which allows it to build 

Index: Makefile
RCS file: /cvsroot/pkgsrc/databases/sqlite3/Makefile,v
retrieving revision 1.80
diff -u -r1.80 Makefile
--- Makefile    18 Jul 2014 11:25:14 -0000      1.80
+++ Makefile    6 Aug 2014 19:59:11 -0000
@@ -28,8 +28,9 @@
 CFLAGS.NetBSD+=                -DUSE_PREAD
 # Darwin < 9 (Mac OS X < 10.5 "Leopard") doesn't have gethostuuid(2)
+# and lacks the zone memory allocator
 .if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*)
 # This define includes the sqlite3_unlock_notify() API in the build.

Home | Main Index | Thread Index | Old Index