Solved [Solved] Ports stopped working - nothing can be built

Hello!

Today I've tried to install nano from ports but it failed. Here's what I get:
Code:
===> Building/installing dialog4ports as it is required for the config dialog
===>  Cleaning for dialog4ports-0.1.5_2
===>  License BSD2CLAUSE accepted by the user
===>   dialog4ports-0.1.5_2 depends on file: /usr/local/sbin/pkg - found
=> dialog4ports-0.1.5.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://m1cro.me/dialog4ports/dialog4ports-0.1.5.tar.gz
fetch: http://m1cro.me/dialog4ports/dialog4ports-0.1.5.tar.gz: No address record
=> Attempting to fetch http://files.etoilebsd.net/dialog4ports/dialog4ports-0.1.5.tar.gz
fetch: http://files.etoilebsd.net/dialog4ports/dialog4ports-0.1.5.tar.gz: No address record
=> Attempting to fetch http://mirror.shatow.net/freebsd/dialog4ports/dialog4ports-0.1.5.tar.gz
fetch: http://mirror.shatow.net/freebsd/dialog4ports/dialog4ports-0.1.5.tar.gz: No address record
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/dialog4ports-0.1.5.tar.gz
fetch: http://distcache.FreeBSD.org/ports-distfiles/dialog4ports-0.1.5.tar.gz: No address record
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/ports-mgmt/dialog4ports
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/ports-mgmt/dialog4ports
===> Options unchanged
===>  License GPLv3 accepted by the user
===>   nano-2.2.6 depends on file: /usr/local/sbin/pkg - found
=> nano-2.2.6.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://www.nano-editor.org/dist/v2.2/nano-2.2.6.tar.gz
fetch: http://www.nano-editor.org/dist/v2.2/nano-2.2.6.tar.gz: No address record
=> Attempting to fetch http://ftp.gnu.org/gnu/nano/nano-2.2.6.tar.gz
fetch: http://ftp.gnu.org/gnu/nano/nano-2.2.6.tar.gz: No address record
=> Attempting to fetch ftp://ftp.gnu.org/gnu/nano/nano-2.2.6.tar.gz
fetch: ftp://ftp.gnu.org/gnu/nano/nano-2.2.6.tar.gz: No address record
=> Attempting to fetch http://www.gtlib.gatech.edu/pub/gnu/gnu/nano/nano-2.2.6.tar.gz
fetch: http://www.gtlib.gatech.edu/pub/gnu/gnu/nano/nano-2.2.6.tar.gz: No address record
=> Attempting to fetch http://mirrors.kernel.org/gnu/nano/nano-2.2.6.tar.gz
fetch: http://mirrors.kernel.org/gnu/nano/nano-2.2.6.tar.gz: No address record
=> Attempting to fetch ftp://ftp.kddlabs.co.jp/GNU/nano/nano-2.2.6.tar.gz
fetch: ftp://ftp.kddlabs.co.jp/GNU/nano/nano-2.2.6.tar.gz: No address record
=> Attempting to fetch ftp://ftp.dti.ad.jp/pub/GNU/nano/nano-2.2.6.tar.gz
fetch: ftp://ftp.dti.ad.jp/pub/GNU/nano/nano-2.2.6.tar.gz: No address record
=> Attempting to fetch http://ring.nict.go.jp/archives/GNU/nano/nano-2.2.6.tar.gz
fetch: http://ring.nict.go.jp/archives/GNU/nano/nano-2.2.6.tar.gz: No address record
=> Attempting to fetch ftp://ftp.mirrorservice.org/sites/ftp.gnu.org/gnu/nano/nano-2.2.6.tar.gz
fetch: ftp://ftp.mirrorservice.org/sites/ftp.gnu.org/gnu/nano/nano-2.2.6.tar.gz: No address record
=> Attempting to fetch ftp://ftp.informatik.hu-berlin.de/pub/gnu/gnu/nano/nano-2.2.6.tar.gz
fetch: ftp://ftp.informatik.hu-berlin.de/pub/gnu/gnu/nano/nano-2.2.6.tar.gz: No address record
=> Attempting to fetch ftp://ftp.informatik.rwth-aachen.de/pub/mirror/ftp.gnu.org/pub/gnu/nano/nano-2.2.6.tar.gz
fetch: ftp://ftp.informatik.rwth-aachen.de/pub/mirror/ftp.gnu.org/pub/gnu/nano/nano-2.2.6.tar.gz: No address record
=> Attempting to fetch http://ftp.funet.fi/pub/gnu/prep/nano/nano-2.2.6.tar.gz
fetch: http://ftp.funet.fi/pub/gnu/prep/nano/nano-2.2.6.tar.gz: No address record
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/nano-2.2.6.tar.gz
fetch: http://distcache.FreeBSD.org/ports-distfiles/nano-2.2.6.tar.gz: No address record
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/editors/nano
*** Error code 1

Stop.
make: stopped in /usr/ports/editors/nano

The same is with any other software. I don't know what's going on, last time everything worked fine and since that I haven't done anything inside the system.

I've tried to bootstrap pkg with /usr/sbin/pkg bootstrap -f. Results:
Code:
root@server:~ # /usr/sbin/pkg bootstrap -f
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/freebsd:10:x86:64/latest, please wait...
pkg: Error fetching http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/Latest/pkg.txz: No address record
A pre-built version of pkg could not be found for your system.
Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'.

Anyway, pkg is already installed:
Code:
root@server:~ # whereis pkg
pkg: /usr/sbin/pkg /usr/local/man/man8/pkg.8.gz /usr/ports/ports-mgmt/pkg

and works fine. Ports update also didn't solve the problem:
Code:
root@server:~ # portsnap fetch update
Looking up portsnap.FreeBSD.org mirrors... none found.
Fetching snapshot tag from portsnap.FreeBSD.org... failed.
No mirrors remaining, giving up.

The same result is when trying to portsnap fetch extract.

/etc/make.conf is empty (doesn't exist).

I will be extremely grateful for any help :(

Greetings,
P.
 
Re: Ports stopped working - nothing can be built

przg said:
Code:
=> Attempting to fetch http://m1cro.me/dialog4ports/dialog4ports-0.1.5.tar.gz
fetch: http://m1cro.me/dialog4ports/dialog4ports-0.1.5.tar.gz: No address record

No address record means your DNS is not working. What is in /etc/resolv.conf?
 
Re: Ports stopped working - nothing can be built

Thanks! I've noticed that unbound was stopped. After restarting the service everything works fine.

Solved.
 
Back
Top