Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 721972 - sys-power/suspend-1.0_p20190605 fails with gcc:10
Summary: sys-power/suspend-1.0_p20190605 fails with gcc:10
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrew Savchenko
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-05-10 04:41 UTC by charles17
Modified: 2020-05-21 11:47 UTC (History)
1 user (show)

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


Attachments
build log (build.log,30.55 KB, text/x-log)
2020-05-10 04:41 UTC, charles17
Details
emerge --info (emerge --info,6.67 KB, text/plain)
2020-05-10 04:42 UTC, charles17
Details
Annex to suspend-1.0_p20190605.patch (suspend-1.0_p20200514.patch.add,3.72 KB, patch)
2020-05-14 19:10 UTC, Jiří Moravec
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description charles17 2020-05-10 04:41:28 UTC
Created attachment 637238 [details]
build log

emerge -pqv '=sys-power/suspend-1.0_p20190605::gentoo'
[ebuild   R   ] sys-power/suspend-1.0_p20190605  USE="crypt lzo -threads"
Comment 1 charles17 2020-05-10 04:42:02 UTC
Created attachment 637240 [details]
emerge --info
Comment 2 Jiří Moravec 2020-05-14 19:10:43 UTC
Created attachment 639078 [details, diff]
Annex to suspend-1.0_p20190605.patch

Chunks #1 and #2 are gcc-10 fixes
All others are just compilation warning fixes.

LOCAL_OVERLAY=...
mkdir -p "${LOCAL_OVERLAY}/sys-power/suspend"
pushd ${LOCAL_OVERLAY}/sys-power/suspend
cp -pr /usr/portage/ebuilds/sys-power/suspend/. .
mv suspend-1.0_p20190605.ebuild suspend-1.0_p20200514.ebuild

cp /usr/portage/distfiles/suspend-1.0_p20190605.patch.xz .
xz -d suspend-1.0_p20190605.patch.xz
mv suspend-1.0_p20190605.patch suspend-1.0_p20200514.patch
cat suspend-1.0_p20200514.patch.add >> suspend-1.0_p20200514.patch
xz -9 suspend-1.0_p20200514.patch
mv suspend-1.0_p20200514.patch.xz /usr/portage/distfiles/

ebuild suspend-1.0_p20200514.ebuild digest
popd