Summary: | dev-util/ostree-2020.8: gatomic.h:112:5: error: argument 2 of __atomic_load discards volatile qualifier [-Werror=incompatible-pointer-types] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | kjjalmgu |
Component: | Current packages | Assignee: | Zac Medico <zmedico> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ionen, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=787044 https://bugs.gentoo.org/show_bug.cgi?id=814089 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 732706 | ||
Attachments: |
build.log
emerge.info emerge --info '=dev-util/ostree-2020.8::gentoo' ostree environement emerge -pqv-ostree-2020.8 |
Created attachment 706146 [details]
emerge.info
Created attachment 706149 [details]
emerge --info '=dev-util/ostree-2020.8::gentoo'
Created attachment 706152 [details]
ostree environement
Created attachment 706155 [details]
emerge -pqv-ostree-2020.8
amd64 I don't recommend to use gcc11 in stable, things aren't going to work together so well for a long time. gcc11 + stable glib-2.66.7 triggers a new warning which fails because this package uses -Werror=incompatible-pointer-types. This wouldn't happen if you were full ~arch as with glib-2.68.1 the pointer types are compatible (volatile shouldn't be used). But seeing the long list of -Werror= this package uses, maybe some should be removed? Thanks for the hint, i couldn't even remember to put gcc on ~amd64, but after digging into it, i did it shortly before gcc10 became stable. So i went back to stable gcc and this bug can be closed. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9adcd75b7e32918dd234b6cb7314c2ce653f96cc commit 9adcd75b7e32918dd234b6cb7314c2ce653f96cc Author: Jonathan Davies <jpds@protonmail.com> AuthorDate: 2021-08-04 00:31:23 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-08-04 21:00:50 +0000 dev-util/ostree: Version updated to 2021.3. Closes: https://bugs.gentoo.org/788313 Closes: https://bugs.gentoo.org/801040 Signed-off-by: Jonathan Davies <jpds@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/21873 Signed-off-by: Sam James <sam@gentoo.org> dev-util/ostree/Manifest | 1 + dev-util/ostree/ostree-2021.3.ebuild | 102 +++++++++++++++++++++++++++++++++++ 2 files changed, 103 insertions(+) |
Created attachment 706143 [details] build.log see log