[Slackbuilds-users] Can't build VirtualBox 6.1.50

Luveh Keraph 1.41421 at gmail.com
Thu Oct 16 21:00:52 UTC 2025


This is a 15.0 freshly installed, and with all the current updates, which
include kernel 5.15.193, using the scripts for the purpose as obtained from
slackbuilds.org. Anybody know how to fix this:

/tmp/SBo/VirtualBox-6.1.50/src/VBox/Runtime/generic/http-curl.cpp: In
function ‘int RTHttpSetProxy(RTHTTP, const char*, uint32_t, const char*,
const char*)’:
/tmp/SBo/VirtualBox-6.1.50/src/VBox/Runtime/generic/http-curl.cpp:2058:43:
error: invalid conversion from ‘long int’ to ‘curl_proxytype’ [-fpermissive]
 2058 |     return rtHttpUpdateProxyConfig(pThis, CURLPROXY_HTTP,
pcszProxy, uPort ? uPort : 1080, pcszProxyUser, pcszProxyPwd);
      |                                           ^~~~~~~~~~~~~~
      |                                           |
      |                                           long int
/tmp/SBo/VirtualBox-6.1.50/src/VBox/Runtime/generic/http-curl.cpp:577:74:
note:   initializing argument 2 of ‘int
rtHttpUpdateProxyConfig(PRTHTTPINTERNAL, curl_proxytype, const char*,
uint32_t, const char*, const char*)’
  577 | static int rtHttpUpdateProxyConfig(PRTHTTPINTERNAL pThis,
curl_proxytype enmProxyType, const char *pszHost,
      |
~~~~~~~~~~~~~~~^~~~~~~~~~~~
/tmp/SBo/VirtualBox-6.1.50/src/VBox/Runtime/generic/http-curl.cpp: In
function ‘int RTHttpQueryProxyInfoForUrl(RTHTTP, const char*,
PRTHTTPPROXYINFO)’:
/tmp/SBo/VirtualBox-6.1.50/src/VBox/Runtime/generic/http-curl.cpp:3569:17:
warning: case value ‘0’ not in enumerated type ‘curl_proxytype’ [-Wswitch]
 3569 |                 case CURLPROXY_HTTP:
      |                 ^~~~
/tmp/SBo/VirtualBox-6.1.50/src/VBox/Runtime/generic/http-curl.cpp:3572:17:
warning: case value ‘1’ not in enumerated type ‘curl_proxytype’ [-Wswitch]
 3572 |                 case CURLPROXY_HTTP_1_0:
      |                 ^~~~
/tmp/SBo/VirtualBox-6.1.50/src/VBox/Runtime/generic/http-curl.cpp:3579:17:
warning: case value ‘2’ not in enumerated type ‘curl_proxytype’ [-Wswitch]
 3579 |                 case CURLPROXY_HTTPS:
      |                 ^~~~
/tmp/SBo/VirtualBox-6.1.50/src/VBox/Runtime/generic/http-curl.cpp:3584:17:
warning: case value ‘4’ not in enumerated type ‘curl_proxytype’ [-Wswitch]
 3584 |                 case CURLPROXY_SOCKS4:
      |                 ^~~~
/tmp/SBo/VirtualBox-6.1.50/src/VBox/Runtime/generic/http-curl.cpp:3588:17:
warning: case value ‘5’ not in enumerated type ‘curl_proxytype’ [-Wswitch]
 3588 |                 case CURLPROXY_SOCKS5:
      |                 ^~~~
/tmp/SBo/VirtualBox-6.1.50/src/VBox/Runtime/generic/http-curl.cpp:3585:17:
warning: case value ‘6’ not in enumerated type ‘curl_proxytype’ [-Wswitch]
 3585 |                 case CURLPROXY_SOCKS4A:
      |                 ^~~~
/tmp/SBo/VirtualBox-6.1.50/src/VBox/Runtime/generic/http-curl.cpp:3589:17:
warning: case value ‘7’ not in enumerated type ‘curl_proxytype’ [-Wswitch]
 3589 |                 case CURLPROXY_SOCKS5_HOSTNAME:
      |                 ^~~~
kmk: ***
[/tmp/SBo/VirtualBox-6.1.50/kBuild/footer-pass2-compiling-targets.kmk:277:
/tmp/SBo/VirtualBox-6.1.50/out/linux.amd64/release/obj/VBoxRT/generic/http-curl.o]
Error 1
kmk: *** Waiting for unfinished jobs....
  CXX     VBoxRT - {C}/src/VBox/Runtime/common/misc/s3.cpp
  CXX     VBoxRT -
{C}/src/VBox/Runtime/common/rest/rest-primary-object-types.cpp
kmk: *** Exiting with status 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20251016/71f01bb8/attachment.htm>


More information about the SlackBuilds-users mailing list