Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 596558 - net-misc/teamviewer - app-emulation/wine update triggers preserved-rebuild
Summary: net-misc/teamviewer - app-emulation/wine update triggers preserved-rebuild
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Wolfram Schlich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-08 18:47 UTC by Peter Asplund
Modified: 2017-12-19 00:24 UTC (History)
3 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 Peter Asplund 2016-10-08 18:47:07 UTC
When updating wine, teamviewer is added to the preserved-rebuild list, even though it is a binary package (and a rebuild is useless). No matter how many times I run emerge @preserved-rebuild (and it re-installs teamviewer), the message is still shown.


I don't know how it is supposed to work, but it feels like binary packages should be excluded from preserved-rebuilds.

Reproducible: Always

Steps to Reproduce:
1. Install teamviewer (which has a dependency on wine)
2. Update Wine version
3. Every time you run an emerge, a message about @preserved-rebuild is printed, no matter how many times you run it.
Comment 1 Adam Feldman gentoo-dev 2016-10-16 14:32:37 UTC
emerge --info teamviewer wine please
Comment 2 Peter Asplund 2016-10-16 19:32:21 UTC
root@skare$ emerge --info teamviewer wine
Portage 2.3.2 (python 3.5.2-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-5.4.0, glibc-2.23-r2, 4.7.4-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.7.4-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.3
KiB Mem:    12303368 total,   1138012 free
KiB Swap:   12418208 total,  12393880 free
Timestamp of repository gentoo: Sat, 15 Oct 2016 11:00:01 +0000
sh bash 4.4-r1
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
ccache version 3.2.7 [disabled]
app-shells/bash:          4.4-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.0-r1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo, 3.5.2::gentoo
dev-util/ccache:          3.2.7::gentoo
dev-util/cmake:           3.6.2::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.22.2::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            5.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.7::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo
Repositories:

AzP
    location: /usr/local/portage
    masters: gentoo

dotnet
    location: /var/lib/layman/dotnet
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/dotnet.git
    masters: gentoo
    priority: 50

gnome
    location: /var/lib/layman/gnome
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/gnome.git
    masters: gentoo
    priority: 50

java
    location: /var/lib/layman/java
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/java.git
    masters: gentoo
    priority: 50

multimedia
    location: /var/lib/layman/multimedia
    sync-type: laymansync
    sync-uri: https://github.com/gentoo/multimedia.git
    masters: gentoo
    priority: 50

pg_overlay
    location: /var/lib/layman/pg_overlay
    sync-type: laymansync
    sync-uri: https://github.com/perfect7gentleman/pg_overlay.git
    masters: gentoo
    priority: 50

seden
    location: /var/lib/layman/seden
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/user/seden.git
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: laymansync
    sync-uri: git://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

sunrise
    location: /var/lib/layman/sunrise
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/sunrise-reviewed.git
    masters: gentoo
    priority: 50

x11
    location: /var/lib/layman/x11
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/x11
    masters: gentoo
    priority: 50

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: 9999

Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=3 --with-bdeps=y --load-average=50 --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ ftp://ftp.linux.ee/pub/gentoo/distfiles/ http://ftp.uoi.gr/mirror/OS/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="24bpp 256-color 3dnow 3dnowext 64bit S3TC X a52 aac aacplus aalib accessibility acl acpi aio alsa amazon amd64 amr amrnb amrwb apng asf aspell autoipd avahi avi bash-completion bidi binary-drivers bineditor bluetooth bookmarks branding btrfs bzip2 c++0x cairo ccache cdda cdr cg cgi clang cleartype cleartype_hinting cli clutter cmake colord cover coverart cracklib crypt css cue cups curl custom-optimization cxx daap dbus dconf debugger device-mapper devil dga dhclient dirac divx dmx dns dri dri3 drm dts dvd dvdr dvdread egl eglfs emboss encode evo exif f2fs fakevim fam fastcgi fat fbcon ffmpeg firefox flac fluidsynth fontconfig fortran fpm freeimage freerdp ftp fuse g3dvl gaim gbm gd gdbm gdu gflags ggi gif gimp git glamor glew glib glut gmail gmailtimestamps gmedia gnome gnome-keyring gnome-online-accounts gnome-shell gold google gpm gstreamer gtk gtk2 gtk3 gtkhtml gvim gzip h224 h281 h323 howl-compat hpijs hwdb iconv icq icu idn imap inotify introspection iphone ipv6 jabber java java6 jingle jpeg jpeg2k kde kdrive lame lcms ldap libnotify libsecret libsexy libssh2 libv4l libv4l2 llvm llvm-shared-libs lm_sensors mad madwifi mbox md5sum mdnsresponder-compat mh midi mikmod mime minizip mmx mmxext mng moc mod modplug modules mozembed mozilla moznocompose moznoirc moznomail moznoroaming mozsha1 mozsvg mp2 mp3 mp4 mp4live mpeg msn multimedia musepack musicbrainz nas nautilus ncurses nemesi networkmanager new-hpcups nfsv41 nls nptl nsplugin ntfs ntfsprogs nx ofa ogg openal opencl opencore-amr opengl openmp openssl opensslcrypt optimization pam pango pcntl pcre pdf pdflib perl php pidgin pipechan png pnm policykit pop ppds private-headers pulseaudio pvr python python3 qml qt3support qt4 qt5 qtscript quicktime radio raw rdesktop rdp readline realmedia reiser4 reiserfs rtc s3tc samba sasl schroedinger scintilla sdl seccomp secure-delete session sid sip sndfile sockets spell sql sqlite srt sse sse2 sse3 sse4 sse4.1 sse4.2 sse4_1 sse4_2 ssh ssl ssse3 staging startup-notification static-analyzer steamruntime subtitles subversion suid svg systemd tcpd telepathy teletext tga theora threads tiff tls tracker transcode truetype udev udisks unicode upcall upnp upower usb v4l v4l2 vaapi valgrind vdpau video videos vim vim-pager vim-syntax vim-with-x vorbis vte wav wavpack wayland webdav webdav-neon webdav-serf webkit webkit2 webm webp webphoto webstart wifi winbind wma wma-fixed wmf wmp wxwidgets x264 x265 xanim xattr xcb xcomposite xdmcp xext xfs xinerama xkb xml xrandr xv xvid xvmc zeitgeist zeroconf zip zlib zoran" ABI_X86="64" ALSA_CARDS="emu10k1 hda_intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev roccat_konextd" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en sv" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_5" QEMU_SOFTMMU_TARGETS="i386 arm x86_64" QEMU_USER_TARGETS="i386 arm x86_64" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.5"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

net-misc/teamviewer-11.0.57095-r1::gentoo was built with the following:
USE="-system-wine" ABI_X86="64"
Comment 3 Peter Asplund 2016-10-16 19:35:24 UTC
root@skare$ eix teamviewer
[I] net-misc/teamviewer
     Available versions:  
     (8)    (~)8.0.20931-r2^m[1]
     (9)    (~)9.0.32150^m
     (10)   (~)10.0.41499-r1^md
     (11)   (~)11.0.57095-r1^md
       {(+-)system-wine}
     Installed versions:  11.0.57095-r1(11)^md(11:32:20 AM 10/16/2016)(-system-wine)
     Homepage:            https://www.teamviewer.com
     Description:         All-In-One Solution for Remote Access and Support over the Internet
Comment 4 Peter Asplund 2016-10-16 19:35:41 UTC
So Wine is not installed...

root@skare$ eix app-emulation/wine
* app-emulation/wine
     Available versions:  (~)1.8-r3^t (~)1.8.1-r3^t (~)1.8.2-r2^t 1.8.3^t (~)1.8.3-r1^t (~)1.8.4^t (~)1.9.4-r3^t (~)1.9.5-r3^t (~)1.9.6-r3^t (~)1.9.7-r3^t (~)1.9.8-r2^t (~)1.9.9-r3^t (~)1.9.10-r3^t (~)1.9.11-r3^t (~)1.9.12-r2^t (~)1.9.13-r2^t (~)1.9.14-r2^t (~)1.9.15-r1^t (~)1.9.16^t (~)1.9.17^t (~)1.9.18^t (~)1.9.19-r1^t (~)1.9.20^t **9999^t {+X +alsa capi cups custom-cflags d3d9 dos +fontconfig +gecko gphoto2 gsm gstreamer +jpeg +lcms ldap +mono mp3 ncurses netapi nls odbc openal opencl +opengl osmesa oss pcap +perl pipelight +png prelink pulseaudio +realtime +run-exes s3tc samba scanner selinux +ssl staging test themes +threads +truetype udev +udisks v4l vaapi +xcomposite xinerama +xml ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="(+)32 (+)64 x32" ELIBC="glibc" KERNEL="FreeBSD" LINGUAS="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru sk sl sr_RS@cyrillic sr_RS@latin sv te th tr uk wa zh_CN zh_TW"}
     Homepage:            http://www.winehq.org/
     Description:         Free implementation of Windows(tm) on Unix
Comment 5 Peter Asplund 2017-03-11 11:52:35 UTC
The issue is still present. This is the result of my last try:

root@skare$ emerge @preserved-rebuild
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 2) sys-fs/f2fs-tools-1.8.0::pg_overlay
>>> Emerging (2 of 2) net-misc/teamviewer-12.0.71510::gentoo
>>> Installing (2 of 2) net-misc/teamviewer-12.0.71510::gentoo
>>> Installing (1 of 2) sys-fs/f2fs-tools-1.8.0::pg_overlay
>>> Jobs: 2 of 2 complete                           Load avg: 2.75, 1.46, 1.80

 * Messages for package net-misc/teamviewer-12.0.71510:

 * TeamViewer from upstream uses an overly-complicated set of bash
 * scripts to start the program.  This has been simplified for Gentoo
 * use.  Any issues should be reported via bugzilla.
 * 
 * The end-user client requires running the accompanying daemon,
 * available via init-scripts.
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

!!! existing preserved libs:
>>> package: app-emulation/wine-1.7.55
 *  - /usr/lib32/libwine.so.1
 *  - /usr/lib32/libwine.so.1.0
 *      used by /opt/teamviewer12/tv_bin/wine/lib/wine/advapi32.dll.so (net-misc/teamviewer-12.0.71510)
 *      used by /opt/teamviewer12/tv_bin/wine/lib/wine/atl100.dll.so (net-misc/teamviewer-12.0.71510)
 *      used by /opt/teamviewer12/tv_bin/wine/lib/wine/avicap32.dll.so (net-misc/teamviewer-12.0.71510)
 *      used by 63 other files
Use emerge @preserved-rebuild to rebuild packages using these libraries
Comment 6 Daniel Augustin 2017-04-16 18:33:22 UTC
This also happens when removing app-emulation/wine and installing app-emulation/wine-* (the new wine builds).

!!! existing preserved libs:
>>> package: app-emulation/wine-2.5
 *  - /usr/lib32/libwine.so.1
 *  - /usr/lib32/libwine.so.1.0
 *      used by /opt/teamviewer12/tv_bin/wine/lib/wine/advapi32.dll.so (net-misc/teamviewer-12.0.71510)
 *      used by /opt/teamviewer12/tv_bin/wine/lib/wine/atl100.dll.so (net-misc/teamviewer-12.0.71510)
 *      used by /opt/teamviewer12/tv_bin/wine/lib/wine/avicap32.dll.so (net-misc/teamviewer-12.0.71510)
 *      used by 1710 other files
Comment 7 Greg Turner 2017-08-21 00:05:11 UTC
(In reply to Daniel Augustin from comment #6)
> This also happens when removing app-emulation/wine and installing
> app-emulation/wine-* (the new wine builds).
> 
> !!! existing preserved libs:
> >>> package: app-emulation/wine-2.5
>  *  - /usr/lib32/libwine.so.1
>  *  - /usr/lib32/libwine.so.1.0
>  *      used by /opt/teamviewer12/tv_bin/wine/lib/wine/advapi32.dll.so
> (net-misc/teamviewer-12.0.71510)
>  *      used by /opt/teamviewer12/tv_bin/wine/lib/wine/atl100.dll.so
> (net-misc/teamviewer-12.0.71510)
>  *      used by /opt/teamviewer12/tv_bin/wine/lib/wine/avicap32.dll.so
> (net-misc/teamviewer-12.0.71510)
>  *      used by 1710 other files

I saw this too fwiw.  Easy enough to fix without hacking portage internals by uninstalling and reinstalling teamviewer, but, surely, there must be some way to fix this in the app-emulation/wine-* ebuilds?
Comment 8 Andreas Sturmlechner gentoo-dev 2017-12-19 00:24:42 UTC
This version of net-misc/teamviewer was removed in git commit 10c2ceaeed402f8f73447dbac9a1bfceb00aef02