Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 681316 - app-crypt/gnupg-2.2.14: fails to compile on Solaris
Summary: app-crypt/gnupg-2.2.14: fails to compile on Solaris
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Solaris
: Normal normal (vote)
Assignee: Kristian Fiskerstrand (RETIRED)
URL: https://dev.gnupg.org/T4420
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-22 20:21 UTC by Fabian Groffen
Modified: 2019-03-24 16:07 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Groffen gentoo-dev 2019-03-22 20:21:06 UTC
dns.c:6840:73: error: expected identifier or ‘(’ before numeric constant
  union { unsigned char b[dns_p_calcsize((512))]; struct dns_packet p; } _P = { 0 };
      
They use _P which is defined in some system header already.

Are you ok with adding a simple sed in the ebuild to rename _P to _GTLSP in the meanwhile?

Thanks
Comment 1 Kristian Fiskerstrand (RETIRED) gentoo-dev 2019-03-24 15:17:26 UTC
(In reply to Fabian Groffen from comment #0)
> dns.c:6840:73: error: expected identifier or ‘(’ before numeric constant
>   union { unsigned char b[dns_p_calcsize((512))]; struct dns_packet p; } _P
> = { 0 };
>       
> They use _P which is defined in some system header already.
> 
> Are you ok with adding a simple sed in the ebuild to rename _P to _GTLSP in
> the meanwhile?
> 
> Thanks

Please provide URI for the filed upstream bug and patch for this issue ( https://dev.gnupg.org ) , once it is filed we can consider downstreaming it before next release.
Comment 2 Fabian Groffen gentoo-dev 2019-03-24 15:54:43 UTC
it's in the URL field, copied here for completeness:

https://dev.gnupg.org/T4420

There is no patch (yet).  Upstream acknowledged the problem, so I expect this to be fixed for next release.  I don't know about their release schedule, but if isn't a year from now, I think we can wait (2.2.14 is masked for Solaris in the tree).
Comment 3 Kristian Fiskerstrand (RETIRED) gentoo-dev 2019-03-24 16:07:22 UTC
(In reply to Fabian Groffen from comment #2)
> it's in the URL field, copied here for completeness:
> 
> https://dev.gnupg.org/T4420
> 
> There is no patch (yet).  Upstream acknowledged the problem, so I expect
> this to be fixed for next release.  I don't know about their release
> schedule, but if isn't a year from now, I think we can wait (2.2.14 is
> masked for Solaris in the tree).

Thanks, had missed that, indeed. Releases are quite frequent (about once a month), so sounds good.