Open AnujVKulkarni opened 2 years ago
@AnujVKulkarni We found issues with using 3.4.14, so had to revert. Are you see these errors when using git or a released version of the gem?
I see this error when installing the kafkat
gem. I'm not a Ruby guy, so I'm not sure how all this fits together.
$ sudo gem install kafkat
[...]
creating Makefile
make
compiling zkrb_wrapper_compat.c
compiling event_lib.c
compiling zkrb.c
zkrb.c: In function ‘alloc_zkrb_instance’:
zkrb.c:248:3: warning: implicit declaration of function ‘ZALLOC_N’ [-Wimplicit-function-declaration]
zkrb_instance_data_t* zk = ZALLOC_N(zkrb_instance_data_t, 1);
^
zkrb.c:248:39: error: expected expression before ‘zkrb_instance_data_t’
zkrb_instance_data_t* zk = ZALLOC_N(zkrb_instance_data_t, 1);
^
make: *** [zkrb.o] Error 1
same here
The issue is apparently happening since this package ext/zkc-3.4.14.tar.gz was replaced with zkc-3.4.5.tar.gz around 3 days ago.
It is causing zookeeper installation to fail in one of our pipelines. It was working fine until 3 days ago.
Here are the logs -
01:09:51 #48 459.3 [0mSTDERR: ERROR: Error installing zookeeper: 01:09:51 #48 459.3 [0m ERROR: Failed to build gem native extension. 01:09:51 #48 459.3 [0mcompiling event_lib.c 01:09:51 #48 459.3 [0mcompiling zkrb.c 01:09:51 #48 459.3 [0mzkrb.c: In function 'alloc_zkrb_instance': 01:09:51 #48 459.3 [0mzkrb.c:248: error: expected expression before 'zkrb_instance_data_t'