Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 788313 - dev-util/ostree-2020.8: gatomic.h:112:5: error: argument 2 of __atomic_load discards volatile qualifier [-Werror=incompatible-pointer-types]
Summary: dev-util/ostree-2020.8: gatomic.h:112:5: error: argument 2 of __atomic_load d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-05-05 08:43 UTC by kjjalmgu
Modified: 2021-09-20 18:03 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (ostree-2020.8-build.log,180.75 KB, text/plain)
2021-05-05 08:43 UTC, kjjalmgu
Details
emerge.info (emerge.info,6.79 KB, text/plain)
2021-05-05 08:43 UTC, kjjalmgu
Details
emerge --info '=dev-util/ostree-2020.8::gentoo' (emerge-ostreee-2020.8.info,7.35 KB, text/plain)
2021-05-05 08:44 UTC, kjjalmgu
Details
ostree environement (ostree-2020.8-environment,74.81 KB, text/plain)
2021-05-05 08:44 UTC, kjjalmgu
Details
emerge -pqv-ostree-2020.8 (emerge-pqv-ostree-2020.8.txt,192 bytes, text/plain)
2021-05-05 08:45 UTC, kjjalmgu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kjjalmgu 2021-05-05 08:43:09 UTC
Created attachment 706143 [details]
build.log

see log
Comment 1 kjjalmgu 2021-05-05 08:43:34 UTC
Created attachment 706146 [details]
emerge.info
Comment 2 kjjalmgu 2021-05-05 08:44:07 UTC
Created attachment 706149 [details]
emerge --info '=dev-util/ostree-2020.8::gentoo'
Comment 3 kjjalmgu 2021-05-05 08:44:47 UTC
Created attachment 706152 [details]
ostree environement
Comment 4 kjjalmgu 2021-05-05 08:45:40 UTC
Created attachment 706155 [details]
emerge -pqv-ostree-2020.8
Comment 5 kjjalmgu 2021-05-05 09:23:32 UTC
amd64
Comment 6 Ionen Wolkens gentoo-dev 2021-05-05 11:49:36 UTC
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?
Comment 7 kjjalmgu 2021-05-07 10:27:41 UTC
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.
Comment 8 Larry the Git Cow gentoo-dev 2021-08-04 21:01:32 UTC
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(+)