Solved [Solved] emulators/virtualbox-ose-additions won't build

Re: emulators/virtualbox-ose-additions wont build

On second thought, if your ports tree is older than 3/16, refresh it and try again. A fix for this issue was committed on 3/16.
 
Re: emulators/virtualbox-ose-additions wont build

trh411 said:
anon1338235 said:
I have a problem where emulators/virtualbox-ose-additions wont build on FreeBSD 10.0-RELEASE.
I installed the dependencies found here http://www.freshports.org/emulators/virtualbox-ose-additions.
Is there anything I should do before building it, or is there a problem for anyone else?

Thanks.
i386 or amd64? Maybe virtualbox-ose-additions-4.3.8 fails to build on FreeBSD will help?
i386.
I'll try refreshing the ports tree, thanks.
 
Re: emulators/virtualbox-ose-additions wont build

anon1338235 said:
I still get an error.
That's not very informative now, is it? You need to be more specific. Please provide the output of your port build attempt. If it's too large to post here, put it on pastebin and provide us with a link.
 
Re: emulators/virtualbox-ose-additions wont build

trh411 said:
anon1338235 said:
I still get an error.
That's not very informative now, is it? You need to be more specific. Please provide the output of your port build attempt. If it's too large to post here, put it on pastebin and provide us with a link.
I will do that tomorrow.
 
Re: emulators/virtualbox-ose-additions wont build

anon1338235 said:
Refreshing the ports tree didn't work, I still get an error.
Did you do a portmaster -a after the portsnap fetch update? You need to rebuild devel/kBuild.

See my previous thread on this issue. http://forums.freebsd.org/viewtopic.php?f=5&t=45329

You really should do a forum search first to see if this has been addressed before. Of course maybe I'm wrong and you have some other problem. In that case ignore this post.
 
Re: emulators/virtualbox-ose-additions wont build

larryvc said:
anon1338235 said:
Refreshing the ports tree didn't work, I still get an error.
Did you do a portmaster -a after the portsnap fetch update? You need to rebuild devel/kBuild.

See my previous thread on this issue. http://forums.freebsd.org/viewtopic.php?f=5&t=45329

You really should do a forum search first to see if this has been addressed before. Of course maybe I'm wrong and you have some other problem. In that case ignore this post.
Apparently that was my problem, I rebuilt devel/kBuild and emulators/virtualbox-ose-additions built fine this time.
Sorry for not using the search function.
 
Re: emulators/virtualbox-ose-additions wont build

anon1338235 said:
Sorry for not using the search function.
Don't worry, it's a little difficult to find since the migration. ;)
 
If you were using a package builder system like ports-mgmt/poudriere you wouldn't see this type of problems because the package builder can automatically detect the need to rebuild all the dependencies. Portmaster is good but can not always track down all the ports that need recompilation.
 
kpa said:
If you were using a package builder system like ports-mgmt/poudriere you wouldn't see this type of problems because the package builder can automatically detect the need to rebuild all the dependencies.
I'll have to look into that.

kpa said:
Portmaster is good but can not always track down all the ports that need recompilation.
Why not? I find it a bit disconcerting that one of the most important pieces of FreeBSD, package maintenance, is still in such dire need of improvement. I really like FreeBSD and the security and flexibility of implementation that it gives me, however, I feel that there are often too many snags that could have been avoided by a more robust packaging system. Perhaps this would be an ideal part of FreeBSD for the Foundation to put more emphasis on.

@@anon1338235 glad it worked out for you. :)
 
Last edited by a moderator:
The biggest problems are in the ports(7) infrastructure, not in the packaging system anymore now that we have the new PKG system. One of the worst problems is that ports are not built in a clean environment by default, resulting in many hard to diagnose bugs when leftover files from old installations cause conflicts during compilation or an old version of a build time dependency must be uninstalled before compiling a new version. A package builder like ports-mgmt/poudriere avoids these problems by using jails that are reset to a clean state before the compilation of a port starts and all the build time dependencies are either compiled from ports or installed from packages resulting in as clean as possible build environment for the port.
 
Back
Top