OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • [SOLVED] building ports
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] building ports  (Read 7703 times)

Aadolf

  • Newbie
  • *
  • Posts: 33
  • Karma: 2
    • View Profile
[SOLVED] building ports
« on: December 07, 2015, 01:44:26 pm »
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?
« Last Edit: December 08, 2015, 09:40:10 am by franco »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17703
  • Karma: 1616
    • View Profile
Re: building ports
« Reply #1 on: December 07, 2015, 04:25:23 pm »
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...
Logged

Aadolf

  • Newbie
  • *
  • Posts: 33
  • Karma: 2
    • View Profile
Re: building ports
« Reply #2 on: December 08, 2015, 08:13:31 am »

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

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17703
  • Karma: 1616
    • View Profile
Re: building ports
« Reply #3 on: December 08, 2015, 09:38:00 am »
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.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17703
  • Karma: 1616
    • View Profile
Re: building ports
« Reply #4 on: December 08, 2015, 09:39:59 am »
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. :)
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • [SOLVED] building ports
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2