[CCBC-515] lcb_rget3 does not check for missing configuration Created: 17/Sep/14  Updated: 17/Sep/14

Status: In Progress
Project: Couchbase C client library libcouchbase
Component/s: library
Affects Version/s: 2.4.0
Fix Version/s: 2.4.2
Security Level: Public

Type: Task Priority: Major
Reporter: Mark Nunberg Assignee: Mark Nunberg
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
The library does not check for a missing configuration in the rget3() API call, thus calling this function on a non-bootstrapped client will segfault rather than return with an error.

 Comments   
Comment by Mark Nunberg [ 17/Sep/14 ]
http://review.couchbase.org/#/c/41464/




[CCBC-514] helper headers have different install targets depending on build system Created: 16/Sep/14  Updated: 17/Sep/14  Resolved: 17/Sep/14

Status: Resolved
Project: Couchbase C client library libcouchbase
Component/s: library
Affects Version/s: 2.4.0
Fix Version/s: 2.4.2
Security Level: Public

Type: Task Priority: Major
Reporter: Mark Nunberg Assignee: Mark Nunberg
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
The helper headers such as 'bsdio-inl' and friends have different install paths depending on whether autotools or cmake is being used.




[CCBC-513] cmake does not install all files needed Created: 15/Sep/14  Updated: 17/Sep/14  Resolved: 17/Sep/14

Status: Resolved
Project: Couchbase C client library libcouchbase
Component/s: library
Affects Version/s: 2.4.1
Fix Version/s: 2.4.2
Security Level: Public

Type: Bug Priority: Major
Reporter: Sergey Avseyev Assignee: Mark Nunberg
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
ERROR: Error installing couchbase: [15/242]
        ERROR: Failed to build gem native extension.

    ~/.rbenv/versions/2.1.0/bin/ruby -r ./siteconf20140915-28269-a46nh0.rb extconf.rb
checking for lcb_set_bootstrap_callback(NULL, NULL) in -lcouchbase... yes
checking for mach/mach_time.h... no
checking for stdint.h... yes
checking for sys/time.h... yes
checking for fcntl.h... yes
checking for sys/socket.h... yes
checking for errno.h... yes
checking for st_index_t... yes
checking for clock_gettime()... yes
checking for gettimeofday()... yes
checking for QueryPerformanceCounter()... no
checking for gethrtime()... yes
checking for rb_hash_lookup2()... yes
checking for rb_thread_fd_select()... yes
checking for rb_thread_blocking_region()... yes
checking for rb_thread_call_without_gvl()... yes
checking for poll() in poll.h... yes
checking for ppoll() in poll.h... yes
checking for rb_fiber_yield()... yes
creating couchbase_config.h
creating Makefile

make "DESTDIR=" clean

make "DESTDIR="
compiling multithread_plugin.c
multithread_plugin.c:30:36: fatal error: libcouchbase/bsdio-inl.c: No such file or directory
 #include <libcouchbase/bsdio-inl.c>
                                    ^
compilation terminated.
Makefile:224: recipe for target 'multithread_plugin.o' failed
make: *** [multithread_plugin.o] Error 1

make failed, exit code 2

Gem files will remain installed in /home/arashm/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/couchbase-1.3.9 for inspection.
Results logged to /home/arashm/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/extensions/x86_64-linux/2.1.0-static/couchbase-1.3.9/gem_make.out


 Comments   
Comment by Mark Nunberg [ 15/Sep/14 ]
http://review.couchbase.org/41421




Generated at Fri Sep 19 00:15:23 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.