[Slackbuilds-users] Can't build VirtualBox 6.1.50

Fernando Lopez fernando.lopezjr at gmail.com
Thu Oct 16 21:18:02 UTC 2025


I usually download the installer from oracle, try it out.


------------
Regards,
    Fernando Lopez Jr.

On Thu, Oct 16, 2025, 5:08 PM Luveh Keraph <1.41421 at gmail.com> wrote:

> 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
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20251016/a3a6218d/attachment.htm>


More information about the SlackBuilds-users mailing list