From owner-freebsd-ports@freebsd.org Sun Dec 16 02:32:12 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A833A1338E21 for ; Sun, 16 Dec 2018 02:32:12 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3C9C56BFC5 for ; Sun, 16 Dec 2018 02:32:12 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id EF56B1338E20; Sun, 16 Dec 2018 02:32:11 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CCDD61338E1F for ; Sun, 16 Dec 2018 02:32:11 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 734956BFC2; Sun, 16 Dec 2018 02:32:11 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 49557C24E; Sun, 16 Dec 2018 02:32:11 +0000 (UTC) From: Jan Beich To: Kevin Oberman Cc: "ports\@FreeBSD.org" , Gerald Pfeifer Subject: Re: Massive PORTREVSION bump for gcc8 References: Date: Sun, 16 Dec 2018 03:32:07 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 734956BFC2 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.24 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.99)[-0.987,0]; NEURAL_HAM_SHORT(-0.83)[-0.832,0]; NEURAL_HAM_LONG(-0.42)[-0.424,0] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2018 02:32:12 -0000 Kevin Oberman writes: > This morning the PORTREVISION on at least hundreds of ports was bumped > because gcc8 was declared as the "canonical" version. As a result, I will > have about 300 ports to rebuild which will take many hours. > Why? USE_GCC embeds RPATH during build where libgcc_s, libgfortran, libstdc++, etc. can be found. Mixing different versions (e.g., libgcc_s from lang/gcc7 with libgfortran from lang/gcc8) may destabilize runtime. Rebuild is necessary to ensure the consistent state, mainly for portmaster/portupgrade that don't rebuild every time dependency is upgraded. USE_GCC is implicitly set by USES=compiler on architectures stuck with GCC in base i.e., powerpc*/sparc64/mips*/riscv*. > This will lead to a delay of probably several days in getting updated > packages built for LATEST repos and will consume hours of CPU time for > everyone using poudriere or building from ports. According to 11.2 amd64 builder[1] /latest rarely finishes faster than in ~1.575 days as the median queue is ~8201 packages. GCC bump occured in r487333 build. During that time Boost (with bumps) and ImageMagick also updated, forcing a big number[2] of consumers rebuilt. [1] http://beefy9.nyi.freebsd.org/jail.html?mastername=112amd64-default [2] poudriere aggressively obsoletes packages if it detects dependency changed, taking down even indirect consumers in a chain reaction. $ poudriere bulk -j 112amd64 devel/magit www/emacs-w3m [...] Checking packages for incremental rebuild needs Deleting ImageMagick6-6.9.10.14_2,1.txz: new version: 6.9.10.16,1 Deleting emacs-26.1_4,3.txz: missing dependency: ImageMagick6-6.9.10.14_2,1 Deleting flim-emacs26-1.14.9_20,1.txz: missing dependency: emacs-26.1_4,3 Deleting ghub-emacs26-3.0.0.txz: missing dependency: emacs-26.1_4,3 Deleting graphql.el-emacs26-0.1.1.txz: missing dependency: emacs-26.1_4,3 Deleting magit-emacs26-2.90.1.txz: missing dependency: emacs-26.1_4,3 Deleting magit-popup-emacs26-2.12.4_1.txz: missing dependency: emacs-26.1_4,3 Deleting semi-emacs26-1.14.6_22.txz: missing dependency: emacs-26.1_4,3 Deleting treepy.el-emacs26-0.1.1.txz: missing dependency: emacs-26.1_4,3 Deleting with-editor-emacs26-2.8.0_1.txz: missing dependency: emacs-26.1_4,3 Deleting apel-emacs26-10.8_17.txz: missing dependency: emacs-26.1_4,3 Deleting dash.el-emacs26-2.14.1_1.txz: missing dependency: emacs-26.1_4,3 Deleting emacs-w3m-emacs26-1.4.632.b.20181110.txz: missing dependency: emacs-26.1_4,3 Deleting stale symlinks... done Deleting empty directories... done Cleaning the build queue Sanity checking build queue Processing PRIORITY_BOOST Balancing pool Recording filesystem state for prepkg... done Building 13 packages using 8 builders [...]