BitlBee configure

No detection code exists for OpenSSL. Make sure that you have a complete
installation of OpenSSL (including devel/header files) before reporting
compilation problems.

Also, keep in mind that the OpenSSL is, according to some people, not
completely GPL-compatible. Using GnuTLS is recommended and better supported
by us. However, on many BSD machines, OpenSSL can be considered part of the
operating system, which makes it GPL-compatible.

For more info, see: http://www.openssl.org/support/faq.html#LEGAL2
                    http://www.gnome.org/~markmc/openssl-and-the-gpl.html

Please note that distributing a BitlBee binary which links to OpenSSL is
probably illegal. If you want to create and distribute a binary BitlBee
package, you really should use GnuTLS instead.

Also, the OpenSSL license requires us to say this:
 *    "This product includes software developed by the OpenSSL Project
 *    for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
Insufficient resolv routines. Jabber server must be set explicitly
Architecture: Linux
Cross-compiling for: aarch64-openwrt-linux

Configuration done:
  Debugging disabled.
  AddressSanitizer (ASAN) disabled.
  Building PIE executable
  Binary stripping disabled.
  Off-the-Record (OTR) Messaging disabled.
  systemd disabled.
  Using event handler: glib
  Using SSL library: openssl
  Building with these protocols: jabber twitter
make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/bitlbee-3.6'
* Compiling bitlbee.c
* Compiling dcc.c
* Compiling help.c
* Compiling ipc.c
* Compiling irc.c
* Compiling irc_im.c
* Compiling irc_cap.c
* Compiling irc_channel.c
* Compiling irc_commands.c
* Compiling irc_send.c
* Compiling irc_user.c
* Compiling irc_util.c
* Compiling nick.c
* Compiling query.c
* Compiling root_commands.c
* Compiling set.c
* Compiling storage.c
* Compiling storage_xml.c
* Compiling auth.c
* Compiling unix.c
* Compiling conf.c
* Compiling log.c
make -C lib 
make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/bitlbee-3.6/lib'
* Compiling arc.c
* Compiling base64.c
* Compiling canohost.c
* Compiling events_glib.c
events_glib.c: In function 'b_main_init':
events_glib.c:53:27: warning: Deprecated pre-processor symbol: replace with "g_main_loop_new"
   53 |                 loop = g_main_new(FALSE);
      |                           ^~~~~~~~~~~~~~~                                                    
events_glib.c: In function 'b_main_run':
events_glib.c:59:20: warning: Deprecated pre-processor symbol: replace with "g_main_loop_run"
   59 |         g_main_run(loop);
      |                    ^~~~~~                                                             
events_glib.c: In function 'b_main_quit':
events_glib.c:64:20: warning: Deprecated pre-processor symbol: replace with "g_main_loop_quit"
   64 |         g_main_quit(loop);
      |                    ^~~~~~~                                                             
* Compiling ftutil.c
* Compiling http_client.c
http_client.c: In function 'http_process_chunked_data':
http_client.c:374:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
  374 |                 s = g_memdup(chunk, req->cblen + 1);
      |                 ^
In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/glib-2.0/glib.h:84,
                 from http_client.h:35,
                 from http_client.c:29:
/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here
  259 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
http_client.c: In function 'http_handle_headers':
http_client.c:464:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
  464 |         req->sbuf = req->reply_body = g_memdup(req->reply_body, req->body_size + 1);
      |         ^~~
/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here
  259 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
http_client.c: In function 'http_flush_bytes':
http_client.c:682:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
  682 |                 char *new = g_memdup(req->reply_body, req->body_size + 1);
      |                 ^~~~
/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here
  259 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
* Compiling ini.c
* Compiling json.c
* Compiling json_util.c
json_util.c: In function 'json_o_strdup':
json_util.c:63:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
   63 |                 return g_memdup(ret->u.string.ptr, ret->u.string.length + 1);
      |                 ^~~~~~
In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/glib-2.0/glib.h:84,
                 from json_util.c:26:
/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here
  259 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
* Compiling md5.c
* Compiling misc.c
* Compiling oauth.c
make -C protocols 
make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/bitlbee-3.6/protocols'
* Compiling account.c
* Compiling oauth2.c
* Compiling bee.c
* Compiling bee_chat.c
* Compiling proxy.c
* Compiling bee_ft.c
* Compiling bee_user.c
bee_user.c: In function 'imcb_buddy_status':
bee_user.c:203:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
  203 |         old = g_memdup(bu, sizeof(bee_user_t));
      |         ^~~
In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/glib-2.0/glib.h:84,
                 from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/bitlbee-3.6/bitlbee.h:61,
                 from bee_user.c:27:
/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here
  259 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
bee_user.c: In function 'imcb_buddy_status_msg':
bee_user.c:241:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
  241 |         old = g_memdup(bu, sizeof(bee_user_t));
      |         ^~~
/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here
  259 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
* Compiling sha1.c
* Compiling nogaim.c
* Compiling ssl_openssl.c
ssl_openssl.c:26:10: fatal error: openssl/crypto.h: No such file or directory
   26 | #include <openssl/crypto.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[5]: *** [Makefile:44: ssl_openssl.o] Error 1
make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/bitlbee-3.6/lib'
make[4]: *** [Makefile:153: lib] Error 2
make[4]: *** Waiting for unfinished jobs....
make -C jabber 
make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/bitlbee-3.6/protocols/jabber'
* Compiling conference.c
make -C twitter 
make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/bitlbee-3.6/protocols/twitter'
* Compiling twitter.c
* Compiling io.c
twitter.c: In function 'twitter_initmodule':
twitter.c:1107:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
 1107 |         ret = g_memdup(ret, sizeof(struct prpl));
      |         ^~~
In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/glib-2.0/glib.h:84,
                 from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/bitlbee-3.6/bitlbee.h:61,
                 from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/bitlbee-3.6/protocols/nogaim.h:47,
                 from twitter.c:25:
/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here
  259 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
io.c: In function 'jabber_write':
io.c:65:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
   65 |                 jd->txq = g_memdup(buf, len);
      |                 ^~
In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/glib-2.0/glib.h:84,
                 from jabber.h:27,
                 from io.c:24:
/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here
  259 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
io.c: In function 'jabber_write_queue':
io.c:136:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
  136 |                 s = g_memdup(jd->txq + st, jd->tx_len - st);
      |                 ^
/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here
  259 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
* Compiling iq.c
* Compiling twitter_http.c
* Compiling twitter_lib.c
twitter_lib.c: In function 'twitter_xt_get_status':
twitter_lib.c:649:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
  649 |                 txs->text = g_memdup(text_value->u.string.ptr, text_value->u.string.length + 1);
      |                 ^~~
* Compiling jabber.c
In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/glib-2.0/glib.h:84,
                 from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/bitlbee-3.6/bitlbee.h:61,
                 from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/bitlbee-3.6/protocols/nogaim.h:47,
                 from twitter_http.h:27,
                 from twitter_lib.c:31:
/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here
  259 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
twitter_lib.c: In function 'twitter_xt_get_dm':
twitter_lib.c:676:25: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
  676 |                         txs->text = g_memdup(v->u.string.ptr, v->u.string.length + 1);
      |                         ^~~
/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here
  259 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
jabber.c: In function 'jabber_initmodule':
jabber.c:806:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
  806 |         hipchat = g_memdup(ret, sizeof(struct prpl));
      |         ^~~~~~~
In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/glib-2.0/glib.h:84,
                 from jabber.c:24:
/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here
  259 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
* Compiling jabber_util.c
* Linking twitter_mod.o
make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/bitlbee-3.6/protocols/twitter'
* Compiling message.c
* Compiling presence.c
* Compiling s5bytestream.c
* Compiling sasl.c
* Compiling si.c
* Compiling hipchat.c
* Linking jabber_mod.o
make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/bitlbee-3.6/protocols/jabber'
* Linking protocols.o
make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/bitlbee-3.6/protocols'
make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/bitlbee-3.6'
make[3]: *** [Makefile:72: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/bitlbee-3.6/.built] Error 2
time: package/feeds/packages/bitlbee/compile#18.86#2.07#52.55