virtualbox-ose port fails (12.1)
Trond Endrestøl
trond.endrestol at ximalas.info
Fri May 15 18:39:48 UTC 2020
On Fri, 15 May 2020 20:18+0200, Christoph Kukulies wrote:
>
>
> > Am 15.05.2020 um 19:15 schrieb Mario Lobo <lobo at bsd.com.br>:
> >
> > On Fri, May 15, 2020 at 8:57 AM Christoph Kukulies <kuku at kukulies.org <mailto:kuku at kukulies.org>>
> > wrote:
> >
> >>
> >>
> >>> Am 15.05.2020 um 11:18 schrieb Trond Endrestøl <
> >> trond.endrestol at ximalas.info <mailto:trond.endrestol at ximalas.info>>:
> >>>
> >>> On Fri, 15 May 2020 10:40+0200, Christoph Kukulies wrote:
> >>>
> >>>> I knew why I initially began compiling the virtual box. Then I got the
> >> advice here to use the pckg. Trying that I ended up in a failing
> >> (panicking) vboxvfs.ko module.
> >>>>
> >>
> > [snip...]
> >
> >>>>
> >>>> Stop.
> >>>> make: stopped in /usr/ports/emulators/virtualbox-ose
> >>>> #
> >>>>
> >>>> I’m wondering anyway why two python versions (2 and 3) have to be built
> >> . But that left aside, how do I now get around this obstacle?
> >>>
> >>> According to ports/Mk/bsd.default-versions.mk, Python 3.7 is both the
> >>> default Python version and the default Python3 version.
> >>>
> >>> Have you locked the Pythons to 3.6 in /etc/make.conf or in an
> >>> equivalent file such as /usr/local/etc/poudriere.d/make.conf?
> >>>
> >>
> >>
> >>
> >> Thanks. Yes, I had some of these tools installed as pkg and already
> >> deleted them and the correct tools got built out of the ports tree.
> >>
> >>
> >>> Do you mix prebuilt packages and packages built yourself?
> >>>
> >>> You should recompile devel/py-setuptools at py36 so that it abstains from
> >>> creating the /usr/local/bin/easy_install symlink.
> >>>
> >>> --
> >>> Trond.
> >>
> >> Done so, thanks.
> >>
> >> —
> >> Christoph
> >>
> >>
> > Doesn't Vbox require python 2.7 to be built?
> >
> > I get a warning about python 2.7 everytime I build VBox.
> >
> > I have this in make.conf:
> >
> > DEFAULT_VERSIONS=perl5=5.30 linux=c7_64 ssl=base python=3.7 python2=2.7
> > python3=3.7
> >
> > --
> > Mario Lobo
>
> In this vein my vbox make stops at the next obstacle:
> ===> qt5-gui-5.13.0_1 depends on shared library: libharfbuzz.so - found (/usr/local/lib/libharfbuzz.so)
> ===> qt5-gui-5.13.0_1 depends on shared library: libinput.so - not found
> ===> libinput-1.12.6_1 needs Python 3.4 at least, but 2.7 was specified.
> *** Error code 1
>
> Stop.
> make[5]: stopped in /usr/ports/x11/libinput
> *** Error code 1
>
> Stop.
> make[4]: stopped in /usr/ports/x11-toolkits/qt5-gui
> *** Error code 1
>
> Stop.
> make[3]: stopped in /usr/ports/x11-toolkits/qt5-declarative
> *** Error code 1
>
> Stop.
> make[2]: stopped in /usr/ports/devel/qt5-linguisttools
> *** Error code 1
>
> Stop.
> make[1]: stopped in /usr/ports/emulators/virtualbox-ose
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/emulators/virtualbox-ose
> #
lang/python controls what the /usr/local/bin/python symlink points to.
It might still be pointing to Python 2.7 when it should be pointing to
Python 3.7.
You have two options:
1. Recreate and reinstall lang/python.
2. Change the /usr/local/bin/python symlink yourself.
The same advice applies to lang/python2 and lang/python3, if any of
these are installed.
Just a friendly piece of advice:
Explore the possible use of ports-mgmt/poudriere and ports-mgmt/synth.
Even an old fart like myself have realised their potential and
practical value.
They both build each package in full isolation from the running system
and from each other. They can also build packages in parallel.
synth is more straight forward of the two but requires an Ada
compiler. Its /usr/local/etc/synth/synth.ini has self-explanatory
parameters for each profile you create.
poudriere requires you to set ALLOW_MAKE_JOBS=yes and PARALLEL_JOBS=6
in /usr/local/etc/poudriere.conf, and MAKE_JOBS_NUMBER=4 in
/usr/local/etc/poudriere.d/make.conf, in order to achieve reasonable
parallelism.
6 and 4 are the values chosen by synth when auto-configured on an
8-core system, yielding a 300 % load on the CPUs in the worst case.
Adjust these values to suit your system and/or taste.
--
Trond.
More information about the freebsd-questions
mailing list