From owner-freebsd-ports@freebsd.org Tue Jun 13 22:07:48 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 777ACBFF750 for ; Tue, 13 Jun 2017 22:07:48 +0000 (UTC) (envelope-from lylecorman@gmail.com) Received: from mail-wr0-x22d.google.com (mail-wr0-x22d.google.com [IPv6:2a00:1450:400c:c0c::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 059CA6AE67 for ; Tue, 13 Jun 2017 22:07:48 +0000 (UTC) (envelope-from lylecorman@gmail.com) Received: by mail-wr0-x22d.google.com with SMTP id 36so41273637wry.3 for ; Tue, 13 Jun 2017 15:07:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=tfo6ToesIIWrwwcsUlp9JE6ylDG16b+WXNYOtqap+G8=; b=Gmjwr+cxsH8YLajYbA2LxosrcooeMNvIDcfXtGcAcSTG6GenJrxPYhu9e5X4QrEXez fp53nAH8kXbUysUhSj+LQlyZlx8ZP87PA7e5Eb3X1O7A2QHsVY3HtQzlMPTzso7D4Rpr Uq/M8uH/O5cTzBgn9JUFYM7zHEifc0eTTskhN62jCgG1sdrjPX2QHIzZB5WoDZx4KnOq zNZpl4QIAJA+Dd1Fr0uVJvDuKnRtL2ALUw5p4LibQka9IJ3/dwBLQUGwsNWRlXfqsXzC Yyq+ms0JcvbETVKBH7kChfp2mwk6he48doVbWePBLqkNgHvttK4oFP0rBwSwFUAkY5WX MIIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=tfo6ToesIIWrwwcsUlp9JE6ylDG16b+WXNYOtqap+G8=; b=ctFcNgHxxUEzD38VL1SrPxOzxVDRaZrja4aar2utrfmdHb1735cCOvXqfdQ+3nnj2q JsjqmrwDTvwKTQ32iwA3BiXSDcY9v5g3PqR+KxXTaPKCV9iUe75Y5uhHiTSDV8C+MP8n ulVOCunoIshitc7lYb1HMV6H/4Jei3ayvXgAdthhRIQrlZOd4D0j9fxSlZNQOarFN1qP gGl0e/KTw4ylpn/u2Gi2TDakxhUt3dmoDOhvmVJITVr4uenwwYQM9IrI8QyYeETxuBXZ lG4ryK0BS0/KyL0/cT5C710ORVpGKWaKiKuKyavKhCKfnoi1W5eRtinWoIgJdt4NNA9Q kGLQ== X-Gm-Message-State: AKS2vOycvZHFAAEgCWeuJ0uZDxkTQJUVwktVB4yhszkg0tXhqQ9RNF0R /rIxr9nU1YWxE4IMzTw= X-Received: by 10.28.187.139 with SMTP id l133mr12807374wmf.116.1497391665901; Tue, 13 Jun 2017 15:07:45 -0700 (PDT) Received: from [192.168.0.35] (cable-178-148-5-95.dynamic.sbb.rs. [178.148.5.95]) by smtp.gmail.com with ESMTPSA id a99sm6150738wrc.64.2017.06.13.15.07.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Jun 2017 15:07:45 -0700 (PDT) Subject: Re: How to stop ports recompiling gcc, llvm, etc.? To: Kevin Oberman Cc: FreeBSD Ports ML References: <9DD17DEF-D6EB-496B-95AB-DC2C8EE4156B@FreeBSD.org> <594005E1.70608@grosbein.net> <4aeaa9da-1e52-812f-fddd-fda24cfa0ee5@gmail.com> <44vanzx4qd.fsf@lowell-desk.lan> <56bafdb9-9e01-c158-63d7-f3d4c3daa0c5@gmail.com> From: Rastko P Message-ID: Date: Wed, 14 Jun 2017 00:07:43 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2017 22:07:48 -0000 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 instal= l, however, I am left with gcc5 installed, 2 versions of llvm installed, etc= =2E Here's some output from pkg: Manually installed packages ################# $ pkg query -e '%a =3D 0' %o security/openssh-askpass ports-mgmt/dialog4ports misc/freebsd-doc-en www/firefox www/firefox-i18n security/gnome-ssh-askpass x11/gnome3 editors/nano ports-mgmt/pkg ports-mgmt/portmaster lang/python lang/python36 misc/freebsd-doc-sr security/sudo mail/thunderbird mail/thunderbird-i18n x11-fonts/urwfonts multimedia/vlc-qt4 security/xca x11-drivers/xf86-video-intel x11/xorg graphics/xpdf Devel/Lang category automatically installed with -N dependecies at the en= d ############################################## $ pkg query -e '%a =3D 1 && %o ~ lang* || %o ~ devel* && %#r > 0' %o-%#r = | sort devel/autoconf-1 devel/autoconf-wrapper-2 devel/automake-wrapper-1 devel/binutils-1 devel/boehm-gc-2 devel/boehm-gc-threaded-1 devel/boost-libs-2 devel/cmake-modules-1 devel/dbus-20 devel/dbus-glib-30 devel/dconf-5 devel/dconf-editor-1 devel/desktop-file-utils-24 devel/dotconf-2 devel/gamin-1 devel/gconf2-7 devel/gettext-runtime-301 devel/gettext-tools-2 devel/glib20-255 devel/glibmm-7 devel/gobject-introspection-18 devel/gsettings-desktop-schemas-15 devel/gstreamer1-plugins-soup-1 devel/gvfs-6 devel/icu-9 devel/json-glib-14 devel/jsoncpp-1 devel/libdaemon-1 devel/libedit-3 devel/libevent-2 devel/libffi-13 devel/libgdata-7 devel/libgee-7 devel/libgit2-1 devel/libgit2-glib-1 devel/libglade2-3 devel/libgsf-27 devel/libgtop-4 devel/libical-2 devel/libIDL-9 devel/libinotify-1 devel/libltdl-9 devel/libnotify-15 devel/libpciaccess-4 devel/libpeas-7 devel/libpthread-stubs-1 devel/librest-5 devel/libsigc++20-8 devel/libsoup-17 devel/libsoup-gnome-8 devel/libunistring-4 devel/libunwind-1 devel/libuv-1 devel/libvolume_id-1 devel/llvm39-2 devel/lua-bitop-1 devel/lua-lpeg-1 devel/m4-5 devel/npth-1 devel/nspr-9 devel/ORBit2-8 devel/orc-36 devel/p5-Locale-gettext-1 devel/pcre-3 devel/popt-2 devel/ptlib-1 devel/py-babel-2 devel/py-cffi-1 devel/py-dbus-5 devel/py-enum34-2 devel/py-gobject-5 devel/py-gobject3-6 devel/py-iso8601-1 devel/py-Jinja2-1 devel/py-libpeas-1 devel/py-notify-1 devel/py-pyasn1-1 devel/py-pycparser-1 devel/py-pytz-1 devel/py-six-4 devel/py-xdg-1 devel/py27-setuptools-29 devel/py3-dbus-2 devel/py3-gobject3-6 devel/py3-libpeas-3 devel/py3-xdg-2 devel/py35-setuptools-1 devel/pydbus-common-2 devel/pygobject3-common-2 devel/qt4-corelib-2 devel/readline-11 devel/sdl12-2 devel/spice-protocol-1 devel/talloc-3 devel/tevent-2 devel/xdg-utils-2 lang/gcc-ecj45-1 lang/gcc5-0 lang/gjs-7 lang/guile2-1 lang/lua52-11 lang/perl5.24-23 lang/python2-31 lang/python27-76 lang/python3-14 lang/python35-17 lang/spidermonkey170-1 lang/spidermonkey24-1 lang/vala-1 On 13.06.2017 20:09, Kevin Oberman wrote: > On Tue, Jun 13, 2017 at 9:19 AM, Rastko P > 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 > software > 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 > > writes: > > > >> I have a fresh 11-RELEASE dist. I am 'bootstrapping' the > environment. > >> > >> 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 > dependencies, > >> including GCC, LLVM, and a lot of others. 6+ hours of compile-ti= me. > >> > >> After it finished I immediately issued a 'df' cmd, and > lo-and-behold, > >> not more than 1GB was taken by the build process. Now that you'v= e > >> 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 > /usr/local? > > 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@gmail.com > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683