Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 649592 - app-admin/testdisk-7.0-r3 on PPC - In file included from partgpt.c:45:0: common.h:128:2: error: initializer element is not constant
Summary: app-admin/testdisk-7.0-r3 on PPC - In file included from partgpt.c:45:0: comm...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-05 00:29 UTC by ernsteiswuerfel
Modified: 2018-07-11 18:02 UTC (History)
0 users

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


Attachments
build.log (build.log,62.72 KB, text/plain)
2018-03-05 00:29 UTC, ernsteiswuerfel
Details
emerge --info (file_649592.txt,5.63 KB, text/plain)
2018-03-05 00:30 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2018-03-05 00:29:49 UTC
Created attachment 522414 [details]
build.log

The build log is cluttered with warnings, though I am uncertain what is the point of failure. Probably this:

In file included from partgpt.c:45:0:
common.h:128:2: error: initializer element is not constant
  ((efi_guid_t){le32(0x516e7cb4),le16(0x6ecf),le16(0x11d6),0x8f,0xf8,{0x00,0x02,0x2d,0x09,0x71,0x2b}})
  ^
Comment 1 ernsteiswuerfel archtester 2018-03-05 00:30:56 UTC
Created attachment 522416 [details]
emerge --info
Comment 2 ernsteiswuerfel archtester 2018-03-05 00:51:03 UTC
Just tried git-master. Despite a lot of warnings it builds fine.
Comment 3 Felix Janda 2018-03-05 02:26:24 UTC
I suspect that this upstream commit fixes the compilation failure:

https://git.cgsecurity.org/cgit/testdisk/commit/?id=1c9b71e871d1d65cfe3e0cdbbcf362d2104801d9
Comment 4 ernsteiswuerfel archtester 2018-07-11 18:02:08 UTC
app-admin/testdisk-7.1_pre20180322-r1 builds fine on ppc. Closing.