Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2014 22:25:47 GMT
From:      Hernan Freschi <hjf@hjf.com.ar>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/190432: emulators/virtualbox-ose pulls unnecessary Qt libraries when building headless
Message-ID:  <201405302225.s4UMPlWH069847@cgiserv.freebsd.org>
Resent-Message-ID: <201405302230.s4UMU0jC056527@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         190432
>Category:       ports
>Synopsis:       emulators/virtualbox-ose pulls unnecessary Qt libraries when building headless
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 30 22:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Hernan Freschi
>Release:        9.2-RELEASE-p3
>Organization:
>Environment:
FreeBSD vtserver.vt 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #0: Sat Jan 11 03:25:02 UTC 2014     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
When compiling VirtualBox (emulators/virtualbox-ose), with WITHOUT_X11=yes in /etc/make.conf, it still depends on Qt (it tries to build Qt frontend). This is because NLS option requires Qt libraries.

So the problem is that Qt starts compiling a *full* distribution (including unnecessary Qt Designer and WebKit components). This takes hours to build even on fast machines.

As a workaround, it's possible to disable NLS and Qt, which will build VirtualBox without pulling Qt.
>How-To-Repeat:
1. Add WITHOUT_X11=yes to /etc/make.conf
2. build emulators/virtualbox-ose with default options

It will also build a complete Qt distribution.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405302225.s4UMPlWH069847>