Created attachment 450230 [details] build.log Emerged fine with gcc-4.9.3
Created attachment 470750 [details, diff] Patch fixing pragma issue for gcc-5 Fixes pragma issue and allows build to complete.
Created attachment 470752 [details] Updated ebuild using patch
Comment on attachment 470750 [details, diff] Patch fixing pragma issue for gcc-5 This fixed the issue for me.
Also happens on GCC 6, any chance to include this patch?
Also happens on GCC 7.3.0. Is there any solution?
Well, i can confirm * the issue is still there with gcc 7.3.0 * the patch by Brian actually fixes the pragma issue (thx Brian!) * there remains compilation issues. Namely: jtagrw.cc: In member function ‘virtual uchar* jtag1::jtagRead(long unsigned int, unsigned int)’: jtagrw.cc:134:13: error: cannot convert ‘bool’ to ‘uchar* {aka unsigned char*}’ in return return false; ^~~~~ The real issue is that avarice is not maintained, what a pity.
Oh, and also, the ebuild is so old that patches in /etc/portage/patches/ are not applied. Something related to EAPI i think.
the same situation for gcc-8.2.0
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab034d98237eaca77ba400989e693caac07b3c81 commit ab034d98237eaca77ba400989e693caac07b3c81 Author: David Seifert <soap@gentoo.org> AuthorDate: 2020-09-16 13:52:20 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2020-09-16 13:52:20 +0000 dev-embedded/avarice: Remove old 2.13 Closes: https://bugs.gentoo.org/597138 Closes: https://bugs.gentoo.org/729708 Closes: https://bugs.gentoo.org/742170 Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: David Seifert <soap@gentoo.org> dev-embedded/avarice/Manifest | 1 - dev-embedded/avarice/avarice-2.13.ebuild | 15 --------------- 2 files changed, 16 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8f2fe3cf9deb634c3651cd67c42d0cdd55d6513 commit c8f2fe3cf9deb634c3651cd67c42d0cdd55d6513 Author: David Seifert <soap@gentoo.org> AuthorDate: 2020-09-16 13:52:17 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2020-09-16 13:52:17 +0000 dev-embedded/avarice: Version bump to 2.14 Bug: https://bugs.gentoo.org/597138 Bug: https://bugs.gentoo.org/729708 Bug: https://bugs.gentoo.org/742170 Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: David Seifert <soap@gentoo.org> dev-embedded/avarice/Manifest | 1 + dev-embedded/avarice/avarice-2.14.ebuild | 19 +++++++++++ .../files/avarice-2.14-broken-__unused-macro.patch | 39 ++++++++++++++++++++++ 3 files changed, 59 insertions(+)