[SOLVED] building ports

Started by Aadolf, December 07, 2015, 01:44:26 PM

Previous topic - Next topic
December 07, 2015, 01:44:26 PM Last Edit: December 08, 2015, 09:40:10 AM by franco
when i build the ports it takes a long time to build and if i try one more time it will be build and takes a long time.
Is it any way to customize ports.sh file  to avoid building ports that is not necessary?

Unfortunately, you provide very little information on what fails and what your system setup is.

We are going to need the last pages of the log to see which port does not work. We need to know if you made modifications, which git commits you have, etc...


freebsd 10.2 release
delete src and ports folder
get last source from git
make ports
I attach error file at this post.

Your ports build stopped because internet connectivity was lost:

Quote===>   openvpn-2.3.8 depends on file: /usr/local/sbin/pkg - found
=> openvpn-2.3.8.tar.xz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://swupdate.openvpn.net/community/releases/openvpn-2.3.8.tar.xz
=> Attempting to fetch http://build.openvpn.net/downloads/releases/openvpn-2.3.8.tar.xz
=> Attempting to fetch http://distcache.freebsd.org/ports-distfiles/openvpn-2.3.8.tar.xz
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

If you are on a glitchy connection you'll have to continue running "make ports" until it is properly finished. It's slow, but at least all the progress is saved so you don't end up downloading/building anything twice.

You can also cache the distfiles using "make distfiles", but it'll also fail if you can't connect to the download servers. Sometimes they go down on their own as well. Not much we can do. :)