From owner-freebsd-ports@freebsd.org Sun Jul 28 20:04:42 2019 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4F0D1B2C65 for ; Sun, 28 Jul 2019 20:04:42 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ot1-x334.google.com (mail-ot1-x334.google.com [IPv6:2607:f8b0:4864:20::334]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AF172747E4 for ; Sun, 28 Jul 2019 20:04:40 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ot1-x334.google.com with SMTP id j11so3195090otp.10 for ; Sun, 28 Jul 2019 13:04:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hwQPW6EXdazedUCY8LPlcSS84/9KU/tHVSaDdFPzkn4=; b=pPDL4uh1H/clDRINuZywi70fny3L747qAHUuhwgHT/diuKTgtSJe0skS6sJgcTGrg5 WTHuPK9L7emHjp1LO4Lr7XPUpJudQZcD/QrOs4X41UKTPQE3Ch+sOQtd4gm7rm6NJeKn At9ooxYBL6utW2TAgl/WWFm3wNY0H7q+WEmTSjx5vOU2aQeKgTX305yEbMAn40ty+p2o 0kzNnA36BUviSdNIifgevM3OoC1VqEN8gg1h4RaUDph31CfX/QJ3Gacpy+0/cysbG9U1 NMBTavV2TUtajipnjYlxauncWIxdRT6HndTFNTc2auC0keZNjmhSvVjH2QCC1ytVUKwc 3HYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hwQPW6EXdazedUCY8LPlcSS84/9KU/tHVSaDdFPzkn4=; b=KeZxLKsxK5wX16NPI8ispBEZ/dA4JYg0rKPO/555kt/rksHywyHZE9MSehgIxCbTT2 iDRLVrnv+618quMpJevRYTa+Xfr9ukGqOZDv11tjiTMosPz2DUN7Uf38qNx4xku4ui1u dZpiDFATEZ6MC2MW8ef1n19mBc7sciQ8oY2Ag+RhRwavThPP0No8LseCCcm31ciFmfO/ A8TE20oLmz/FfIQyL1wBEuiMyczFguNezj0XfN/RyLSJD3gGEsqK/UHRtoQckKoG6fTd h7h+FxzldUrtPv2Scevf5JY1TRL7QyHQVsi/BjjF15glKNQZjb5SKg7HvPW2Ls6KAqcD 1H1Q== X-Gm-Message-State: APjAAAXLMcA6BFCMp9mg0ULZSkrZsafmpKP52lDHOijECUtgSShUkodf xB2Eyi7VLRlVDLXlCi1opFe9yDlIjX95XVigFLc= X-Google-Smtp-Source: APXvYqwMTjDy8LOeOQWoARlnJA1mlOT0pTOT99z6pJ7odJgRq7083VQ33+BNQTrGvxDstFKXY75lATZ/dqbxr8OXHIo= X-Received: by 2002:a9d:390:: with SMTP id f16mr23905825otf.93.1564344279097; Sun, 28 Jul 2019 13:04:39 -0700 (PDT) MIME-Version: 1.0 References: <8cf76d79-3a08-7703-d2a8-f6605438dd8a@freebsd.org> In-Reply-To: From: Kevin Oberman Date: Sun, 28 Jul 2019 13:04:22 -0700 Message-ID: Subject: Re: Massive PORTS_REVISION bump after making gcc-9.1 default To: Lorenzo Salvadore Cc: FreeBSD Ports X-Rspamd-Queue-Id: AF172747E4 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=pPDL4uh1; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::334 as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-6.59 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.992,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_SHORT(-0.95)[-0.947,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[4.3.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.94)[ip: (-9.14), ipnet: 2607:f8b0::/32(-3.09), asn: 15169(-2.44), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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, 28 Jul 2019 20:04:42 -0000 Gerald, Thanks for our excellent explanation. I must admit that I did not think about various archs. So, now I understand why the PORTREVISION was bumped and that I don't need to go back and build the ports that were rebuilt prior to the gcc9-9.1 upgrade. I trust tat portmaster did hte right thing. (Yes, I suppose that there is a slight risk, but I'll take it!) Now, why the heck do rust and llvm both have packages that require samba47. I don't see why they require samba at all, let alone a deprecated version that will expire in about a week. Since I'm trying to upgrade a package for amd64, I can't see archs being an issue, so I'm baffled. But that's a different thread. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 On Sun, Jul 28, 2019 at 12:12 PM Lorenzo Salvadore via freebsd-ports < freebsd-ports@freebsd.org> wrote: > > =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original = Message =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 > On Sunday 28 July 2019 20:56, Gerald Pfeifer wrote: > > > On Sun, 28 Jul 2019, Kevin Oberman wrote: > > > > > The description of the commit states: > > > This includes ports > > > > > > - with USE_GCC=3Dyes or USE_GCC=3Dany, > > > - with USES=3Dfortran, > > > - using Mk/bsd.octave.mk which in turn features USES=3Dfortran, and > > > - with USES=3Dcompiler specifying openmp, nestedfct, c11, c++0x, > c++11-lang, > > > c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib > > > plus, everything INDEX-11 shows with a dependency on lang/gcc9 no= w. > > > > > > > > > This would appear to me like it did catch a great many ports which ar= e > > > not build with or any anything to do will gcc, though I am not sure. > > > > These ports may not use GCC on your system, or even the majority of > > systems, but there are systems and situations where they do, and bumpin= g > > PORTREVISION is a global binary decision for each port considered. > > > > > E.g. I thought that USES=3Dcompiler:c11 and similar were asking for > > > c11 semantics from whatever compiler was used but > > > > Let's look at your example. ports/Mk/Uses/compiler.mk has the following > > on USES=3Dcompiler:c11: > > > > .if ${_COMPILER_ARGS:Mc11} > > .if !${COMPILER_FEATURES:Mc11} > > .if (defined(FAVORITE_COMPILER) && ${FAVORITE_COMPILER} =3D=3D gcc) || > > (${ARCH} !=3D amd64 && ${ARCH} !=3D i386) # clang not always supported = on > Tier-2 > > USE_GCC=3D yes > > CHOSEN_COMPILER_TYPE=3D gcc > > .elif ${COMPILER_TYPE} =3D=3D gcc > > > > That is, if a user has set a preference for GCC or for non x86/x86-64 > > platforms, GCC is used. > > > > And if there is one legitimate configuration on the planet where a > > PORTREVISION bump is required, we have to perform it in our repository. > > > > (This is not saying I may not have made a mistake somewhere, but in > > general those bumps do appear necessary.) > > > > Gerald > > It might be useful to add a command to pkg that bumps PORTREVISION > for installed packages without really building them again, for those case= s > when users know that they are not affected by the bump. > I think at the moment this is possible only by manually modifying > /var/db/pkg/local.sqlite (I never tried). > > Lorenzo Salvadore. > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >