Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zookeeper installation failing since the latest update #116

Open
AnujVKulkarni opened this issue Jul 21, 2022 · 3 comments
Open

Zookeeper installation failing since the latest update #116

AnujVKulkarni opened this issue Jul 21, 2022 · 3 comments

Comments

@AnujVKulkarni
Copy link

AnujVKulkarni commented Jul 21, 2022

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'

@malmckay
Copy link
Member

@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?

@zzantozz
Copy link

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

@kingyyy
Copy link

kingyyy commented Nov 3, 2022

same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants