How to stop ports recompiling gcc, llvm, etc.?
lylecorman at gmail.com
Tue Jun 13 22:07:48 UTC 2017
I used the portsnap fetch>extract>fetch>update
then built portmaster,
then used pkg version -l "<", which gave 2 out-of-date,
then used portmaster -L, which gave 2 matching out-of-date,
then used portmaster -a to update all ports, which pulled in a lot of
dependencies, including llvm, cairo, openjdk, etc.
then used 'df', just to find out not much space has been taken,
then used postmaster --clean-distfiles,
then used pkg clean (-a),
then did some pkg and portsnap updates again, so forth.
The compilation of thunderbird52.1.1 has stopped with an error
mentioning a void reference, AFAIR, and I used make only, not make install,
however, I am left with gcc5 installed, 2 versions of llvm installed, etc.
Here's some output from pkg:
Manually installed packages
$ pkg query -e '%a = 0' %o
Devel/Lang category automatically installed with -N dependecies at the end
$ pkg query -e '%a = 1 && %o ~ lang* || %o ~ devel* && %#r > 0' %o-%#r |
On 13.06.2017 20:09, Kevin Oberman wrote:
> On Tue, Jun 13, 2017 at 9:19 AM, Rastko P <lylecorman at gmail.com
> <mailto:lylecorman at gmail.com>> wrote:
> Nope, none of those, funny as it may sound, I was going by the
> "Handbook" and tried to use "portmaster", as it reported some
> upgradeable 'ports'.
> However, that was the first time I launched portmaster, and it was
> weird, because it kept prompting me to delete newer versions of
> than that which had been built by the portmaster session, to which I
> replied 'oh, no [n]o', which was the default.
> But in the end, it seems to have not installed anything (?!). Why
> did it
> pull in all those dependencies? Where are the binaries?
> On 13.06.2017 17:54, Lowell Gilbert wrote:
> > Rastko P <lylecorman at gmail.com <mailto:lylecorman at gmail.com>>
> >> I have a fresh 11-RELEASE dist. I am 'bootstrapping' the
> >> I am in the process of building mail/thunderbird-52.1.1,
> because the
> >> binary doesn't have support for Lightning calendar extension.
> >> Yesterday, a documentation port build pulled in a lot of
> >> including GCC, LLVM, and a lot of others. 6+ hours of compile-time.
> >> After it finished I immediately issued a 'df' cmd, and
> >> not more than 1GB was taken by the build process. Now that you've
> >> mentioned it, pkg says GCC or LLVM are not to be found
> installed. I am
> >> missing something huge here.
> > Are you using synth, or poudriere? A normal port build would
> leave those
> > things installed if it needed them at build time.
> What command are you using? Specifically, what options are you using
> with portmaster? Are you installing from /usr/ports? Installing into
> Clearly, something odd is going on. While building llvm is big, I
> don't have to do it very often. Only when the port, itself, is
> updated. Anything in you environment that might be unexpected?
> When you run portmaster, you should get a list of ports to be
> installed and a request for confirmation that you want to proceed. Are
> you seeing this? Or, is the build of the port triggering the rebuild
> of the compiler.
> Kevin Oberman, Part time kid herder and retired Network Engineer
> E-mail: rkoberman at gmail.com <mailto:rkoberman at gmail.com>
> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
More information about the freebsd-ports