Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 483794

Summary: games-emulation/dolphin-9999 should depend on net-libs/polarssl[havege]
Product: Gentoo Linux Reporter: Michael Cook <mackal.cook>
Component: [OLD] GamesAssignee: Devan Franchini (RETIRED) <twitch153>
Status: RESOLVED FIXED    
Severity: normal CC: games, jb.faq
Priority: Normal Keywords: InVCS, PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 483784    
Bug Blocks: 503610    
Attachments: Add net-libs/polarssl[havege] DEPEND

Description Michael Cook 2013-09-05 19:35:39 UTC
Newer builds of dolphin require polarssl with havege support enabled.

Depends on bug #483792

Reproducible: Always
Comment 1 Michael Cook 2013-09-05 19:36:13 UTC
Created attachment 357966 [details, diff]
Add net-libs/polarssl[havege] DEPEND
Comment 2 Devan Franchini (RETIRED) gentoo-dev 2013-09-08 20:57:08 UTC
(In reply to Michael Cook from comment #1)
> Created attachment 357966 [details, diff] [details, diff]
> Add net-libs/polarssl[havege] DEPEND

Patch doesn't work for me. The only polarssl in the portage tree is 1.2.8 and there is no havege use flag for that package. What I will do is leave the external polarssl in the Externals directory, for now.
Comment 3 Devan Franchini (RETIRED) gentoo-dev 2013-09-08 20:57:39 UTC
If anyone has an alternative solution, please let me know in this bug :)
Comment 4 Michael Cook 2013-09-08 21:15:19 UTC
(In reply to Devan Franchini from comment #2)
> (In reply to Michael Cook from comment #1)
> > Created attachment 357966 [details, diff] [details, diff] [details, diff]
> > Add net-libs/polarssl[havege] DEPEND
> 
> Patch doesn't work for me. The only polarssl in the portage tree is 1.2.8
> and there is no havege use flag for that package. What I will do is leave
> the external polarssl in the Externals directory, for now.

If you see the bug this one depends on, that fixes that issue.
Comment 5 Devan Franchini (RETIRED) gentoo-dev 2013-09-08 21:23:13 UTC
(In reply to Michael Cook from comment #4)
> (In reply to Devan Franchini from comment #2)
> > (In reply to Michael Cook from comment #1)
> > > Created attachment 357966 [details, diff] [details, diff] [details, diff] [details, diff]
> > > Add net-libs/polarssl[havege] DEPEND
> > 
> > Patch doesn't work for me. The only polarssl in the portage tree is 1.2.8
> > and there is no havege use flag for that package. What I will do is leave
> > the external polarssl in the Externals directory, for now.
> 
> If you see the bug this one depends on, that fixes that issue.

Until that bug is resolved I will just preserve the bundled lib. When it is resolved (I'll add myself to the cc list), I'll add your patch.
Comment 6 Devan Franchini (RETIRED) gentoo-dev 2013-10-10 04:02:17 UTC
(In reply to Michael Cook from comment #4)
> (In reply to Devan Franchini from comment #2)
> > (In reply to Michael Cook from comment #1)
> > > Created attachment 357966 [details, diff] [details, diff] [details, diff] [details, diff]
> > > Add net-libs/polarssl[havege] DEPEND
> > 
> > Patch doesn't work for me. The only polarssl in the portage tree is 1.2.8
> > and there is no havege use flag for that package. What I will do is leave
> > the external polarssl in the Externals directory, for now.
> 
> If you see the bug this one depends on, that fixes that issue.

After installing the polarssl-1.3.0 with the havege USE flag and trying to compile dolphin-4.0 it still fails:

"-- Found the polarssl libraries at /usr/lib64/libpolarssl.so
-- Found the polarssl headers at /usr/include
-- Checking to see if system version contains necessary methods
-- Performing Test POLARSSL_WORKS
-- Performing Test POLARSSL_WORKS - Failed
"
After this it attempts to go to the external binaries which come bundled with the package (which I deleted in this particular case and causes a build failure).

Any idea why it fails on my end? Until we resolve this, I'm going to fall back on the bundled binaries.
Comment 7 Michael Cook 2013-10-10 04:04:59 UTC
There is a bug with zlib support in how polarssl is done.

https://bugs.gentoo.org/show_bug.cgi?id=487432
Comment 8 Devan Franchini (RETIRED) gentoo-dev 2013-10-10 04:10:33 UTC
(In reply to Michael Cook from comment #7)
> There is a bug with zlib support in how polarssl is done.
> 
> https://bugs.gentoo.org/show_bug.cgi?id=487432

Welp, looks like I'll have to wait until everything is resolved in order to add it to dolphin-4.0 and dolphin-9999. When it does happen, I'll be sure to add it to the ebuilds within the span of a few days (or the day of, depending on my schedule).
Comment 9 Julian Ospald 2014-03-06 02:12:21 UTC
seems fixed, no?
Comment 10 Devan Franchini (RETIRED) gentoo-dev 2014-03-06 04:39:15 UTC
(In reply to Julian Ospald (hasufell) from comment #9)
> seems fixed, no?

Unfortunately, no.

Upon compilation cmake will look to see if the libraries exist, and polarssl will then be ran through a few tests to see if it works for what dolphin is attempting to use it for:

-- Found the polarssl libraries at /usr/lib64/libpolarssl.so
-- Found the polarssl headers at /usr/include
-- Performing Test POLARSSL_WORKS
-- Performing Test POLARSSL_WORKS - Failed

Above is what happens when you try to use the external polarssl which is brought in from portage. With both havege and zlib use flags enabled.
Comment 11 Devan Franchini (RETIRED) gentoo-dev 2014-12-28 00:47:38 UTC
When the ebuild is on the tree, I will mark it resolved.