Bug 258378 - [exp-run] Update GCC_DEFAULT from 10 to 11
Summary: [exp-run] Update GCC_DEFAULT from 10 to 11
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Gerald Pfeifer
URL:
Keywords:
Depends on: 263531 263538 263539 263541 263542 263545 263546 264364 264366 264367 264368
Blocks:
  Show dependency treegraph
 
Reported: 2021-09-08 22:21 UTC by Gerald Pfeifer
Modified: 2022-06-27 18:14 UTC (History)
3 users (show)

See Also:
gerald: merge-quarterly-
gerald: exp-run?


Attachments
Patch to Mk/bsd.default-versions.mk (381 bytes, patch)
2021-09-08 22:21 UTC, Gerald Pfeifer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald Pfeifer freebsd_committer freebsd_triage 2021-09-08 22:21:27 UTC
Created attachment 227774 [details]
Patch to Mk/bsd.default-versions.mk

With GCC 11.2 the GCC 11 series already is in it's second release and used
by some Linux distributions like openSUSE Tumbleweed, so let's see to make
that move on the FreeBSD side as well.

Now that we have the infrastructure in place the patch for this switch
itself is most straightforward. The question is how many broken ports we
carry around...
Comment 1 Antoine Brodin freebsd_committer freebsd_triage 2021-09-19 07:02:16 UTC
New failure logs on 12.2 amd64:

http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-09-18_18h41m21s/logs/errors/alliance-5.1.1_2.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-09-18_18h41m21s/logs/errors/elfutils-0.179.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-09-18_18h41m21s/logs/errors/plexil-4.5.0_1.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-09-18_18h41m21s/logs/errors/ypsilon-0.9.6.3_11.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-09-18_18h41m21s/logs/errors/sage-math-9.2_18.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-09-18_18h41m21s/logs/errors/avidemux-2.7.6_2.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-09-18_18h41m21s/logs/errors/elmerfem-8.4.20200708_2.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-09-18_18h41m21s/logs/errors/massxpert-3.6.1_1.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-09-18_18h41m21s/logs/errors/nwchem-7.0.2.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-09-18_18h41m21s/logs/errors/edk2-fvp-g202102.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-09-18_18h41m21s/logs/errors/edk2-rpi3-g202102.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-09-18_18h41m21s/logs/errors/edk2-rpi4-g202102.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-09-18_18h41m21s/logs/errors/edk2-xen-x64-g202102.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-09-18_18h41m21s/logs/errors/edk2-macchiatobin-g202102.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-09-18_18h41m21s/logs/errors/pesign-0.110_8.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-09-18_18h41m21s/logs/errors/uefi-edk2-bhyve-g20210226,2.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-09-18_18h41m21s/logs/errors/uefi-edk2-qemu-i386-g20191122.log
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-09-18_18h41m21s/logs/errors/uefi-edk2-qemu-x86_64-g20191122.log
Comment 3 Gerald Pfeifer freebsd_committer freebsd_triage 2021-09-20 07:11:27 UTC
Thank you, Antoine.

How does one access the failure logs? Both http://package18.nyi.freebsd.org
and http://pb2.nyi.freebsd.org don't work (resolve at the DNS level) for me.
Comment 4 Antoine Brodin freebsd_committer freebsd_triage 2021-09-20 07:17:35 UTC
(In reply to Gerald Pfeifer from comment #3)
Those hosts are ipv6 only.
You can reach them from freefall for instance.
Comment 5 Lorenzo Salvadore freebsd_committer freebsd_triage 2022-04-24 18:18:56 UTC
(In reply to Antoine Brodin from comment #4)

Hello, I am about to create PRs to fix all those ports. I successfully reach the links using freefall as a proxy, however all logs from comment #2 seems to have been removed. Indeed, for all of them I get the following response:

<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.20.2</center>
</body>
</html>

Could you please check if the logs still exist and, if not, run the exp-run for i386 again? Thanks.
Comment 6 Lorenzo Salvadore freebsd_committer freebsd_triage 2022-04-24 22:57:45 UTC
I have created all the PRs for the amd64 architecture.
Comment 7 Gerald Pfeifer freebsd_committer freebsd_triage 2022-05-23 07:54:37 UTC
Looks of good process driven by salvadore@. Thank you!
Comment 8 Gerald Pfeifer freebsd_committer freebsd_triage 2022-05-23 07:56:56 UTC
Antoine / portmgr@, given the amount of changes and the timing of the
original run, would you mind doing another exp- run?

Or should we go ahead and bump GCC_DEFAULT as is?

Thank you!


(There's only two uefi-edk2* ports left we are aware of which can be
addressed with USE_GCC=10 if necessary.)
Comment 11 Lorenzo Salvadore freebsd_committer freebsd_triage 2022-05-31 09:43:16 UTC
(In reply to Antoine Brodin from comment #10)

Thanks.

I am going to deal with all these logs.
Comment 12 Lorenzo Salvadore freebsd_committer freebsd_triage 2022-05-31 10:41:58 UTC
All the needed new bugs have been created and the only remaining old bug has been updated.
Comment 13 commit-hook freebsd_committer freebsd_triage 2022-06-27 18:00:16 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cad2f66a384d74cffa870d978722e6fd579c7d2f

commit cad2f66a384d74cffa870d978722e6fd579c7d2f
Author:     Gerald Pfeifer <gerald@FreeBSD.org>
AuthorDate: 2022-06-27 17:57:18 +0000
Commit:     Gerald Pfeifer <gerald@FreeBSD.org>
CommitDate: 2022-06-27 17:59:07 +0000

    Mk/bsd.default-versions.mk: Switch default GCC from 10 to 11

    Update GCC_DEFAULT, the default version of GCC as pulled in via
    USE_GCC=yes and a myriad of other ways from GCC 10 (10.3 currently)
    to GCC 11 (11.3 currently).

    PR:             258378
    Tested by:      antoine (exp-runs)
    Thanks to:      salvadore (for heavy lifting across the board)

 Mk/bsd.default-versions.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 14 Gerald Pfeifer freebsd_committer freebsd_triage 2022-06-27 18:02:12 UTC
An the update is live, in time for the next quarterly branch.

Thanks for all the work, Lorenzo!
Comment 15 Lorenzo Salvadore freebsd_committer freebsd_triage 2022-06-27 18:14:35 UTC
^Triage: Assign to user that resolved the issue

You're welcome Gerald, it's a pleasure.