Re: Need some help with ports and rebuilding the world

From: Michael Gmelin <freebsd_at_grem.de>
Date: Sun, 27 Mar 2016 22:56:12 +0200
On Sun, 27 Mar 2016 23:42:02 +0300
Aleksander Alekseev <afiskon_at_devzen.ru> wrote:

> Hello
> 
> I'm using FreeBSD CURRENT because of recent improvements in area of
> Intel GPUs support in this branch. Also there is a hope that by using
> CURRENT I can discover some bugs and contribute to FreeBSD project a
> bit by reporting them.
> 
> Today I noticed that I can't install anything from ports any longer:
> 
> ```
> $ cd /usr/ports/*/evince
> $ sudo make -DBATCH configure
> 
> make: "/usr/ports/Mk/bsd.port.mk" line 1162: UNAME_r (11.0-CURRENT)
> and OSVERSION (1002000) do not agree on major version number.
> ```
> 
> I thought that maybe something is wrong with portsnap or I did
> something wrong during one of `mergemaster` steps so I decided to
> rebuild the world. But now `make -j4 buildworld` fails with following
> errors:
> 
> http://lpaste.net/948188758727983104
> 
> Also I tried newer CLang (compiled manually from trunk branch) but it
> didn't manage to compile the world either - it complains about
> unresolved references during linking. I'm using ld.gold instead of ld,
> but since it links other projects without any problems I doubt it's
> his fault. My best guess is that it's because I specified clang-3.9 as
> CXX and CPP in /etc/make.conf. Unfortunately I didn't managed to find
> clang++-3.9 or clang-cpp-3.9 after running `ninja install`.
> 
> So I have two problems --- ports are not working and buildworld is
> failing. I have run out of ideas currently so a few advices would be
> appreciated.
> 

What's the output of these commands?:

freebsd-version
uname -r
uname -a
grep "define __FreeBSD_version" /usr/include/sys/param.h

- Michael

-- 
Michael Gmelin
Received on Sun Mar 27 2016 - 19:02:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:03 UTC