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

Bug 898952

Summary: =app-eselect/eselect-wine-2.0.2 Install Error: Missing listing of man symlinks
Product: Gentoo Linux Reporter: Conrad <conrad_bugtracker>
Component: Current packagesAssignee: Wine Maintainers <wine>
Status: RESOLVED CANTFIX    
Severity: normal CC: ionen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Conrad 2023-03-02 18:49:11 UTC
Created attachment 855870 [details]
build.log

=app-eselect/eselect-wine-2.0.2 fails in install phase for me with "!!! Error: Missing listing of man symlinks"

USE=xdg and USE=-xdg does not make any difference

currently I have installed eselect-wine-1.2.2-r1

before emerging 2.0.2:

$ eselect wine list
Available wine versions:
  [1]   wine-staging-7.15
  [2]   wine-staging-7.19
  [3]   wine-staging-7.21 *
$ cat /etc/eselect/wine/links/wine
# Configuration file for eselect
# This file has been automatically generated.
symlink_dirs="bin man include"
bin=" /usr/bin/msidb /usr/bin/msiexec /usr/bin/notepad /usr/bin/regedit /usr/bin/regsvr32 /usr/bin/widl /usr/bin/wine /usr/bin/wine64 /usr/bin/wine64-preloader /usr/bin/wineboot /usr/bin/winebuild /usr/bin/winecfg /usr/bin/wineconsole /usr/bin/winecpp /usr/bin/winedbg /usr/bin/winefile /usr/bin/wineg++ /usr/bin/winegcc /usr/bin/winemine /usr/bin/winepath /usr/bin/wine-preloader /usr/bin/wineserver /usr/bin/wmc /usr/bin/wrc"
man="/usr/share/man/de.UTF-8/man1/wine.1 /usr/share/man/de.UTF-8/man1/winemaker.1 /usr/share/man/de.UTF-8/man1/wineserver.1 /usr/share/man/fr.UTF-8/man1/wine.1 /usr/share/man/fr.UTF-8/man1/winemaker.1 /usr/share/man/fr.UTF-8/man1/wineserver.1 /usr/share/man/man1/msiexec.1 /usr/share/man/man1/notepad.1 /usr/share/man/man1/regedit.1 /usr/share/man/man1/regsvr32.1 /usr/share/man/man1/widl.1 /usr/share/man/man1/wine.1 /usr/share/man/man1/wineboot.1 /usr/share/man/man1/winebuild.1 /usr/share/man/man1/winecfg.1 /usr/share/man/man1/wineconsole.1 /usr/share/man/man1/winecpp.1 /usr/share/man/man1/winedbg.1 /usr/share/man/man1/winefile.1 /usr/share/man/man1/wineg++.1 /usr/share/man/man1/winegcc.1 /usr/share/man/man1/winemine.1 /usr/share/man/man1/winepath.1 /usr/share/man/man1/wineserver.1 /usr/share/man/man1/wmc.1 /usr/share/man/man1/wrc.1 /usr/share/man/pl.UTF-8/man1/wine.1"
include="/usr/include/wine"

after trying to emerge 2.0.2, the selected wine version is reset (none is selected) and the install fails with the reason mentioned above.

$ eselect wine list               
Available wine versions:
  [1]   wine-staging-7.15
  [2]   wine-staging-7.19
  [3]   wine-staging-7.21
$ cat /etc/eselect/wine/links/wine
# Configuration file for eselect
# This file has been automatically generated.
symlink_dirs=""
bin=""
man=""
include=""
Comment 1 Ionen Wolkens gentoo-dev 2023-03-02 19:06:47 UTC
Sounds it's coming from the ebuild running `eselect wine unset --all` which normally "should" work. Unfortunately the old eselect-wine had horrible states that could easily break, and in this situation it may need manual intervention.

Does it work if you try to run that command manually? Ultimately you just need to get rid of it (links and all of /etc/eselect/wine), then the ebuild for eselect-wine-2 won't have to try to clean up the mess.
Comment 2 Conrad 2023-03-02 19:16:14 UTC
Thanks for your response! Indeed that command is the culprit. Running it manually results in the same error:

$ eselect wine unset --all
!!! Error: Missing listing of man symlinks
exiting

rm -r /etc/eselect/wine

fixed the problem.
Comment 3 Ionen Wolkens gentoo-dev 2023-03-02 19:21:17 UTC
Cool, hopefully nothing else it left behind (e.g. links in /usr/bin). The new eselect-wine-2 no longer creates orphaned files all over the place (/only/ in /etc/eselect/wine which is easy to track), and auto-detects installed wines rather than have register them, so there's no real "states" that can end up messed up.

Loosely marking CANTFIX given I don't have a real ebuild solution to old eselect-wine acting up, worst case it needs a manual cleanup.