Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 580066 - net-misc/teamviewer-11.0.57095 cannot connect when USE="-system-wine"
Summary: net-misc/teamviewer-11.0.57095 cannot connect when USE="-system-wine"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Wolfram Schlich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-15 09:27 UTC by DrSlony
Modified: 2016-06-29 15:45 UTC (History)
3 users (show)

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


Attachments
screenshot (scrot_2016-04-15 112609.png,30.01 KB, image/png)
2016-04-15 09:27 UTC, DrSlony
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DrSlony 2016-04-15 09:27:26 UTC
I installed net-misc/teamviewer-11.0.57095 using USE="-system-wine", ran "sudo /etc/init.d/teamviewerd11 start" and ran teamviewer11, but there is no "Connect to partner" button, and if I enter their ID and hit enter nothing happens.

Haven't and won't try using USE="system-wine".

Reproducible: Always
Comment 1 DrSlony 2016-04-15 09:27:53 UTC
Created attachment 430590 [details]
screenshot
Comment 2 Adam Feldman gentoo-dev 2016-04-19 17:28:27 UTC
I also experience this issue with -system-wine, but do not experience this issue with system-wine
Comment 3 Adam Feldman gentoo-dev 2016-04-19 19:12:23 UTC
Looks like we are missing a dependency (new?) on media-libs/libpng:1.2[abi_x86_32(-)], presumably my system-wine is OK because of the png USE flag for that
Comment 4 DrSlony 2016-04-19 19:26:50 UTC
I have media-libs/libpng-1.6.19 (0) emerged.
Comment 5 Adam Feldman gentoo-dev 2016-04-19 19:46:47 UTC
(In reply to DrSlony from comment #4)
> I have media-libs/libpng-1.6.19 (0) emerged.

I said media-libs/libpng:1.2 with USE=abi_x86_32
Comment 6 DrSlony 2016-04-19 21:40:58 UTC
Yes I saw you say that :) I'm saying that I don't have that, to add support to your claim.
Comment 7 Wolfram Schlich (RETIRED) gentoo-dev 2016-04-22 08:03:17 UTC
(In reply to DrSlony from comment #6)
> Yes I saw you say that :) I'm saying that I don't have that, to add support
> to your claim.

Can you please try whether emerging media-libs/libpng:1.2 with USE=abi_x86_32 fixes the issue for you?
Comment 8 DrSlony 2016-05-06 09:38:51 UTC
Hello

Apologies for the delay, I will not be able to test this for another two weeks. Please ping me if I still haven't gotten back to you in three weeks
Comment 9 Ladislav Laska 2016-05-16 20:30:49 UTC
I was unable to fix it using +system-wine (but I have really old version 1.7.11).

Emerging media-libs/libpng:1.2 with USE=abi_x86_32 fixed the same issue for me.
Comment 10 Fitzcarraldo 2016-06-28 12:57:56 UTC
I can confirm the bug and the solution given by  NP-Hardass. Until the ebuild in the main Portage tree is fixed, I have created an ebuild for TeamViewer 11.0.57095 in the local overlay on my laptop, with the following extra line:

RDEPEND="
        system-wine? ( app-emulation/wine[abi_x86_32(-)] )
        sys-apps/dbus[abi_x86_32(-)]
        dev-qt/qtcore:4[abi_x86_32(-)]
        dev-qt/qtgui:4[abi_x86_32(-)]
        dev-qt/qtwebkit:4[abi_x86_32(-)]
        media-libs/alsa-lib[abi_x86_32(-)]
+       media-libs/libpng:1.2[abi_x86_32(-)]
        x11-libs/libICE[abi_x86_32(-)]
        x11-libs/libSM[abi_x86_32(-)]
        x11-libs/libX11[abi_x86_32(-)]
        x11-libs/libXau[abi_x86_32(-)]
        x11-libs/libXdamage[abi_x86_32(-)]
        x11-libs/libXdmcp[abi_x86_32(-)]
        x11-libs/libXext[abi_x86_32(-)]
        x11-libs/libXfixes[abi_x86_32(-)]
        x11-libs/libXrandr[abi_x86_32(-)]
        x11-libs/libXtst[abi_x86_32(-)]"
Comment 11 Adam Feldman gentoo-dev 2016-06-29 02:58:15 UTC
Thank you for confirming the fix.


Resolved in 1213177dcd9da5b2997efabbbbe599e343f8a394.
Comment 12 Andrea Bartoli 2016-06-29 09:24:25 UTC
When installed months ago, I had to use -system-wine in order to have teamviewer working. And now it's set the same way.
That's odd.

All's well that ends well.
Comment 13 Fitzcarraldo 2016-06-29 15:17:09 UTC
(In reply to NP-Hardass from comment #11)
> Thank you for confirming the fix.
> 
> 
> Resolved in 1213177dcd9da5b2997efabbbbe599e343f8a394.

Hi. Thanks for updating the ebuild so quickly. I have a quick non-rhetorical question regarding that commit:

 RDEPEND="
-	system-wine? ( app-emulation/wine[abi_x86_32(-)] )
+	system-wine? ( app-emulation/wine[abi_x86_32(-),png] )
+	!system-wine? ( media-libs/libpng:1.2[abi_x86_32(-)] )
 	sys-apps/dbus[abi_x86_32(-)]
 	dev-qt/qtcore:4[abi_x86_32(-)]
 	dev-qt/qtgui:4[abi_x86_32(-)]

I already had the png flag set for app-emulation/wine but it didn't pull in libpng:1.2, it pulled in libpng:0 with ABI_X86="32 64 -x32". Isn't it still necessary to have libpng:1.2 when TeamViewer is built with USE="system-wine"?
Comment 14 Adam Feldman gentoo-dev 2016-06-29 15:45:03 UTC
(In reply to Fitzcarraldo from comment #13)
> (In reply to NP-Hardass from comment #11)
> > Thank you for confirming the fix.
> > 
> > 
> > Resolved in 1213177dcd9da5b2997efabbbbe599e343f8a394.
> 
> Hi. Thanks for updating the ebuild so quickly. I have a quick non-rhetorical
> question regarding that commit:
> 
>  RDEPEND="
> -	system-wine? ( app-emulation/wine[abi_x86_32(-)] )
> +	system-wine? ( app-emulation/wine[abi_x86_32(-),png] )
> +	!system-wine? ( media-libs/libpng:1.2[abi_x86_32(-)] )
>  	sys-apps/dbus[abi_x86_32(-)]
>  	dev-qt/qtcore:4[abi_x86_32(-)]
>  	dev-qt/qtgui:4[abi_x86_32(-)]
> 
> I already had the png flag set for app-emulation/wine but it didn't pull in
> libpng:1.2, it pulled in libpng:0 with ABI_X86="32 64 -x32". Isn't it still
> necessary to have libpng:1.2 when TeamViewer is built with USE="system-wine"?

Honestly, its been two and a half months since I last looked at it, (and requested that the fix be tested) so it isn't fresh in my mind. What I remember discovering was that there was PNG support added to the windows binary. The need for libpng:1.2 is due to the fact that the dinky, years old, bundled wine-1.6 was built against that old version. I had confirmed at the time in NY end that an updated wine, built against modern libpng displayed the missing buttons, thus the core issue was PNG support for wine, with the prebuilt binary requiring ,,1.2 specifically.