Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 786720 - [guru] sys-fs/dwarfs-0.5.4 fails to compile with gcc-11
Summary: [guru] sys-fs/dwarfs-0.5.4 fails to compile with gcc-11
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Reva Denis
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-29 09:23 UTC by Agostino Sarubbo
Modified: 2021-07-07 14:02 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,397.19 KB, text/plain)
2021-04-29 09:24 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-04-29 09:23:58 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-fs/dwarfs-0.5.4 fails to compile with gcc-11.
Discovered on: amd64 (internal ref: guru_tinderbox)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
Comment 1 Agostino Sarubbo gentoo-dev 2021-04-29 09:24:01 UTC
Created attachment 703791 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-04-29 09:24:03 UTC
Possible context of error(s):

--   Package 'fuse', required by 'virtual:world', not found
-- Could NOT find ZSTD (missing: ZSTD_INCLUDE_DIR) 
-- Could NOT find LIBDWARF (missing: LIBDWARF_LIBRARY) 
-- Could NOT find LIBAIO (missing: LIBAIO_LIBRARY LIBAIO_INCLUDE_DIR) 
-- Could NOT find LIBURING (missing: LIBURING_LIBRARY LIBURING_INCLUDE_DIR) 
-- Could NOT find LIBSODIUM (missing: LIBSODIUM_LIBRARY LIBSODIUM_INCLUDE_DIR) 
include/dwarfs/entry.h:89:8: error: ‘optional’ in namespace ‘std’ does not name a template type
Comment 3 Larry the Git Cow gentoo-dev 2021-07-07 14:02:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2f440e2870a4fae4dbcfe33fcc80717b6c912d61

commit 2f440e2870a4fae4dbcfe33fcc80717b6c912d61
Author:     Denis Reva <denis7774@gmail.com>
AuthorDate: 2021-07-07 03:41:41 +0000
Commit:     Denis Reva <denis7774@gmail.com>
CommitDate: 2021-07-07 03:41:41 +0000

    sys-fs/dwarfs: updated to 0.5.6
    
    That version contain fixes:
    * Build fixes for gcc-11 (fixes #52)
    * Use REALPATH in version.cmake to fix building in
            symbolically linked repositories (fixes #47).
    Also see changelog for 0.5.5:
    https://github.com/mhx/dwarfs/tree/v0.5.5
    
    Closes: https://bugs.gentoo.org/786720
    Closes: https://bugs.gentoo.org/785973
    Package-Manager: Portage-3.0.20, Repoman-3.0.2
    Signed-off-by: Denis Reva <denis7774@gmail.com>

 sys-fs/dwarfs/Manifest            |  1 +
 sys-fs/dwarfs/dwarfs-0.5.6.ebuild | 93 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 94 insertions(+)