hboutemy opened a new issue, #237:
URL: https://github.com/apache/whimsy/issues/237

   I'm trying to use instructions from 
https://github.com/apache/whimsy/blob/master/DOCKER.md#installation-instructions
   
   but on `rake docker:update`, I get failure;
   
   ```
   docker compose run  --entrypoint 'bash -c "rake update"' web
   * Update Gems
   * Processing Gemfile
   Fetching gem metadata from https://rubygems.org/.........
   Resolving dependencies...
   Bundle updated!
   * Gemfile.lock was updated
   * Processing lib/Gemfile
   Fetching gem metadata from https://rubygems.org/.......
   Resolving dependencies...
   Installing ruby-ldap 0.9.20 with native extensions
   Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
   
   
       current directory: /srv/gems/gems/ruby-ldap-0.9.20
   /usr/bin/ruby3.2 -I/usr/lib/ruby/vendor_ruby extconf.rb
   --with-openldap2
   checking for ldap.h... yes
   ...
   checking for ldap_sasl_interactive_bind_s()... yes
   creating Makefile
   
   current directory: /srv/gems/gems/ruby-ldap-0.9.20
   make DESTDIR\= sitearchdir\=./.gem.20250125-34-vglaum 
sitelibdir\=./.gem.20250125-34-vglaum clean
   
   current directory: /srv/gems/gems/ruby-ldap-0.9.20
   make DESTDIR\= sitearchdir\=./.gem.20250125-34-vglaum 
sitelibdir\=./.gem.20250125-34-vglaum
   compiling clientauth.c
   compiling conn.c
   conn.c: In function ‘rb_ldap_conn_set_option’:
   conn.c:484:17: warning: cast to pointer from integer of different size 
[-Wint-to-pointer-cast]
     484 |       optdata = (void *) NUM2INT (data);
         |                 ^
   conn.c: In function ‘rb_ldap_conn_get_option’:
   conn.c:691:30: warning: implicit declaration of function 
‘rb_tainted_str_new2’; did you mean ‘rb_utf8_str_new’? 
[-Wimplicit-function-declaration]
     691 |                  && *data) ? rb_tainted_str_new2 ((char *) (*data)) 
: Qnil;
         |                              ^~~~~~~~~~~~~~~~~~~
         |                              rb_utf8_str_new
   conn.c: In function ‘Init_ldap_conn’:
   conn.c:1858:60: error: ‘rb_cData’ undeclared (first use in this function)
    1858 |   rb_cLDAP_Conn = rb_define_class_under (rb_mLDAP, "Conn", rb_cData);
         |                                                            ^~~~~~~~
   conn.c:1858:60: note: each undeclared identifier is reported only once for 
each function it appears in
   make: *** [Makefile:261: conn.o] Error 1
   
   make failed, exit code 2
   ```
   
   same issue on Mac or on Linux Ubuntu 24.04


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@whimsical.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to