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

Bug 634570

Summary: net-misc/teamviewer - dependency on qtwebkit:4 is wrong
Product: Gentoo Linux Reporter: Denis Descheneaux <d.descheneaux>
Component: Current packagesAssignee: Wolfram Schlich (RETIRED) <wschlich>
Status: RESOLVED INVALID    
Severity: major CC: bkohler, np-hardass, wine
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=620736
Whiteboard:
Package list:
Runtime testing required: ---

Description Denis Descheneaux 2017-10-17 19:38:02 UTC
Package net-misc/teamviewer has been hard-masked after qtwebkit:4 was

Even though qtwebkit:4 is fully un-installed

Extracting the archive meant for other linux distributions and running the tool from it to verify the libraries are installed...

# ./tv-setup checklibs

    -=-   TeamViewer tar.gz check   -=-      

  In order to use the tar.gz version of TeamViewer, 
  you have to make sure that the necessary libraries are installed.
  NOTE: Most needed libraries are 32 bit libraries, even if you are on a 64 bit system!   

    Writing raw output to /home/denis/teamviewer/logfiles/DependencyCheck32.log
    Writing raw output to /home/denis/teamviewer/logfiles/DependencyCheck64.log

 Analyzing dependencies (64 bit)...    

	All 64 bit dependencies seem to be satisfied!

 Analyzing dependencies (32 bit)...    

	All 32 bit dependencies seem to be satisfied!


and qtwebkit:4 is indeed not installed...

Teamvieawer also test runned to connect to a host and back to itself from another host

# emerge -a1 teamviewer

These are the packages that would be merged, in order:

Calculating dependencies                          ... done!  
[ebuild  NS   #] dev-qt/qtwebkit-4.10.4:4::gentoo [5.9.1:5/5.9::gentoo] USE="-debug -gstreamer" ABI_X86="32 (64) (-x32)" 50 439 KiB
[ebuild  N    #] net-misc/teamviewer-12.0.85001:12::gentoo  USE="system-wine" 45 459 KiB

Total: 2 packages (1 new, 1 in new slot), Size of downloads: 95 897 KiB

The following mask changes are necessary to proceed:
 (see "package.unmask" in the portage(5) man page for more details)
# required by teamviewer (argument)
# /usr/portage/profiles/package.mask:
# Andreas Sturmlechner <asturm@gentoo.org> (16 Oct 2017)
# Reverse-deps on dead Qt4WebKit. Bug #620684
=net-misc/teamviewer-12.0.85001
# required by net-misc/teamviewer-12.0.85001::gentoo
# required by teamviewer (argument)
# /usr/portage/profiles/package.mask:
# Andreas Sturmlechner <asturm@gentoo.org> (16 Oct 2017)
# Qt4WebKit is ancient and is likely to have more holes
# in it than swiss cheese. Bug #620684
=dev-qt/qtwebkit-4.10.4

NOTE: The --autounmask-keep-masks option will prevent emerge
      from creating package.unmask or ** keyword changes.
Comment 1 Denis Descheneaux 2017-10-17 19:40:23 UTC
WINEINET
	linux-gate.so.1 (0xf7fa6000)
	libz.so.1 => /usr/lib32/libz.so.1 (0xf7e78000)
	libwine.so.1 => /home/denis/teamviewer/tv_bin/wine/lib/libwine.so.1 (0xf7cc6000)
	libc.so.6 => /lib32/libc.so.6 (0xf7afe000)
	libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/32/libgcc_s.so.1 (0xf7ae2000)
	libdl.so.2 => /lib32/libdl.so.2 (0xf7add000)
	/lib/ld-linux.so.2 (0xf7fa8000)
WINE_DLL
	linux-gate.so.1 (0xf7f1c000)
	libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7dad000)
	libdl.so.2 => /lib32/libdl.so.2 (0xf7da8000)
	libwine.so.1 => /home/denis/teamviewer/tv_bin/wine/lib/libwine.so.1 (0xf7bf6000)
	libc.so.6 => /lib32/libc.so.6 (0xf7a2e000)
	libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf7962000)
	/lib/ld-linux.so.2 (0xf7f1e000)
	libXau.so.6 => /usr/lib32/libXau.so.6 (0xf795d000)
	libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf7956000)
	libbsd.so.0 => /usr/lib32/libbsd.so.0 (0xf7939000)
	librt.so.1 => /lib32/librt.so.1 (0xf792f000)
	libpthread.so.0 => /lib32/libpthread.so.0 (0xf790e000)
DEPEND
	linux-gate.so.1 (0xf7f85000)
	libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0xf7e95000)
	libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf7dd4000)
	libSM.so.6 => /usr/lib32/libSM.so.6 (0xf7dca000)
	libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf7dbe000)
	libXdamage.so.1 => /usr/lib32/libXdamage.so.1 (0xf7dba000)
	libXext.so.6 => /usr/lib32/libXext.so.6 (0xf7da5000)
	libXfixes.so.3 => /usr/lib32/libXfixes.so.3 (0xf7d9e000)
	libXinerama.so.1 => /usr/lib32/libXinerama.so.1 (0xf7d9a000)
	libXrandr.so.2 => /usr/lib32/libXrandr.so.2 (0xf7d8d000)
	libXtst.so.6 => /usr/lib32/libXtst.so.6 (0xf7d85000)
	libc.so.6 => /lib32/libc.so.6 (0xf7bbb000)
	libexpat.so.1 => /usr/lib32/libexpat.so.1 (0xf7b89000)
	libpthread.so.0 => /lib32/libpthread.so.0 (0xf7b6a000)
	libbz2.so.1 => /usr/lib32/libbz2.so.1 (0xf7b56000)
	libpng16.so.16 => /usr/lib32/libpng16.so.16 (0xf7b14000)
	libz.so.1 => /usr/lib32/libz.so.1 (0xf7afb000)
	libharfbuzz.so.0 => /usr/lib32/libharfbuzz.so.0 (0xf7a59000)
	libICE.so.6 => /usr/lib32/libICE.so.6 (0xf7a3c000)
	libuuid.so.1 => /usr/lib32/libuuid.so.1 (0xf7a36000)
	libX11.so.6 => /usr/lib32/libX11.so.6 (0xf78e8000)
	/lib/ld-linux.so.2 (0xf7f87000)
	libm.so.6 => /lib32/libm.so.6 (0xf788b000)
	libglib-2.0.so.0 => /usr/lib32/libglib-2.0.so.0 (0xf775b000)
	libgraphite2.so.3 => /usr/lib32/libgraphite2.so.3 (0xf772a000)
	libbsd.so.0 => /usr/lib32/libbsd.so.0 (0xf770d000)
	libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf76e1000)
	libdl.so.2 => /lib32/libdl.so.2 (0xf76dc000)
	libpcre.so.1 => /usr/lib32/libpcre.so.1 (0xf7661000)
	librt.so.1 => /lib32/librt.so.1 (0xf7657000)
	libXau.so.6 => /usr/lib32/libXau.so.6 (0xf7652000)
	libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf764b000)
TV_DMN
	linux-gate.so.1 (0xf7f4e000)
	libdbus-1.so.3 => /usr/lib32/libdbus-1.so.3 (0xf7e59000)
	librt.so.1 => /lib32/librt.so.1 (0xf7e4f000)
	libdl.so.2 => /lib32/libdl.so.2 (0xf7e4a000)
	libm.so.6 => /lib32/libm.so.6 (0xf7ded000)
	libpthread.so.0 => /lib32/libpthread.so.0 (0xf7dce000)
	libc.so.6 => /lib32/libc.so.6 (0xf7c06000)
	/lib/ld-linux.so.2 (0xf7f50000)
TV_DESK
	linux-gate.so.1 (0xf7fa6000)
	libdbus-1.so.3 => /usr/lib32/libdbus-1.so.3 (0xf7eb1000)
	librt.so.1 => /lib32/librt.so.1 (0xf7ea7000)
	libdl.so.2 => /lib32/libdl.so.2 (0xf7ea2000)
	libm.so.6 => /lib32/libm.so.6 (0xf7e45000)
	libpthread.so.0 => /lib32/libpthread.so.0 (0xf7e26000)
	libc.so.6 => /lib32/libc.so.6 (0xf7c5e000)
	/lib/ld-linux.so.2 (0xf7fa8000)
TV_DELEG
	linux-gate.so.1 (0xf7ef6000)
	libQtWebKit.so.4 => /home/denis/teamviewer/tv_bin/RTlib/libQtWebKit.so.4 (0xf6ece000)
	libQtGui.so.4 => /home/denis/teamviewer/tv_bin/RTlib/libQtGui.so.4 (0xf6697000)
	libQtNetwork.so.4 => /home/denis/teamviewer/tv_bin/RTlib/libQtNetwork.so.4 (0xf636e000)
	libQtCore.so.4 => /home/denis/teamviewer/tv_bin/RTlib/libQtCore.so.4 (0xf6104000)
	libdbus-1.so.3 => /usr/lib32/libdbus-1.so.3 (0xf6014000)
	librt.so.1 => /lib32/librt.so.1 (0xf600a000)
	libdl.so.2 => /lib32/libdl.so.2 (0xf6005000)
	libm.so.6 => /lib32/libm.so.6 (0xf5fa8000)
	libpthread.so.0 => /lib32/libpthread.so.0 (0xf5f89000)
	libc.so.6 => /lib32/libc.so.6 (0xf5dbf000)
	/lib/ld-linux.so.2 (0xf7ef8000)
	libXinerama.so.1 => /usr/lib32/libXinerama.so.1 (0xf5dbb000)
	libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0xf5d70000)
	libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf5caf000)
	libXext.so.6 => /usr/lib32/libXext.so.6 (0xf5c9a000)
	libX11.so.6 => /usr/lib32/libX11.so.6 (0xf5b4c000)
	libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf5b40000)
	libjpeg.so.62 => /usr/lib32/libjpeg.so.62 (0xf5ac3000)
	libpng12.so.0 => /usr/lib32/libpng12.so.0 (0xf5a95000)
	libz.so.1 => /usr/lib32/libz.so.1 (0xf5a7c000)
	libexpat.so.1 => /usr/lib32/libexpat.so.1 (0xf5a48000)
	libbz2.so.1 => /usr/lib32/libbz2.so.1 (0xf5a34000)
	libpng16.so.16 => /usr/lib32/libpng16.so.16 (0xf59f2000)
	libharfbuzz.so.0 => /usr/lib32/libharfbuzz.so.0 (0xf5950000)
	libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf5924000)
	libglib-2.0.so.0 => /usr/lib32/libglib-2.0.so.0 (0xf57f6000)
	libgraphite2.so.3 => /usr/lib32/libgraphite2.so.3 (0xf57c5000)
	libXau.so.6 => /usr/lib32/libXau.so.6 (0xf57c0000)
	libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf57b9000)
	libpcre.so.1 => /usr/lib32/libpcre.so.1 (0xf573e000)
	libbsd.so.0 => /usr/lib32/libbsd.so.0 (0xf5721000)
Comment 2 Denis Descheneaux 2017-10-17 19:45:05 UTC
As seen from the libraries above, it does not rely on system installed libraries for qt, it has them already within its directory structure
Comment 3 Ben Kohler gentoo-dev 2017-10-18 13:12:55 UTC
The gentoo ebuild doesn't install the bundled copy, it relies on the system qtwebkit4.  But whether you use the bundled one or system one, it's a big security problem and the mask reason applies.