Summary: | cad/cvc: Fails to build with GCC 12: error: invalid use of incomplete type 'struct std::array<unsigned int, 5>' | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Lorenzo Salvadore <salvadore> | ||||
Component: | Individual Port(s) | Assignee: | Lorenzo Salvadore <salvadore> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | yuri | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(yuri) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
URL: | http://package18.nyi.freebsd.org/data/123amd64-default-foo/2022-08-30_18h10m18s/logs/errors/cvc-1.1.3.log | ||||||
Attachments: |
|
Description
Lorenzo Salvadore
2022-09-03 09:02:46 UTC
Relevant bug report: https://github.com/d-m-bailey/cvc/issues/239 (In reply to Yuri Victorovich from comment #1) Thanks Yuri. I see that the GitHub issue starts as an issue about clang. Please note that while it is is always nice to have the port compile with GCC 12, removing USE_GCC would be even better as far as GCC default version upgrade is concerned: you might want to check that USE_GCC is still needed once the issue is resolved. Is there any progress on this bug report? Is there anything I could do to help? This is one of last three bugs that is blocking the update off GCC default version according to the most recent exp-run. If the bug is complex and requires more time, please also consider setting USE_GCC=11. Thanks. cad/cvc currently builds fine with gcc. Thank you for your help, Lorenzo! I am sorry, but I have to re-open this bug report: according to Antoine's exp-run, it still fails with GCC 12. New log: http://package18.nyi.freebsd.org/data/123amd64-default-foo/2022-11-12_19h30m16s/logs/cvc-1.1.3.log Created attachment 238130 [details]
Set USE_GCC=11
Unless we have a better solution, I propose keeping this port with GCC 11 for now.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=b486b0dd5d4ae8b6b21865b409ed2953cf477fd9 commit b486b0dd5d4ae8b6b21865b409ed2953cf477fd9 Author: Lorenzo Salvadore <salvadore@FreeBSD.org> AuthorDate: 2022-11-16 21:51:36 +0000 Commit: Lorenzo Salvadore <salvadore@FreeBSD.org> CommitDate: 2022-12-03 14:15:24 +0000 cad/cvc: Set USE_GCC=11 The build fails with GCC 12, which is soon to become GCC_DEFAULT. PR: 266189 Reported by: exp-run (antoine) Approved by: maintainer timeout (yuri, 2 weeks) cad/cvc/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) I have committed the patch that enforces the use of GCC 11, so this bug does not block the GCC_DEFAULT update anymore. |