Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 810877 - app-emulation/wine-staging-6.16: Failed to execute prerm: eselect wine update --all --if-unset fails
Summary: app-emulation/wine-staging-6.16: Failed to execute prerm: eselect wine update...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-29 07:46 UTC by HougeLangley
Modified: 2022-06-01 08:09 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge --info,9.47 KB, text/plain)
2021-08-29 07:48 UTC, HougeLangley
Details
emerge --info (info,21.80 KB, text/plain)
2022-05-30 23:18 UTC, mantidmantodea
Details
build log (wine-vanilla-7.0-r2:20220530-224755.log.gz,428.70 KB, application/gzip)
2022-05-30 23:19 UTC, mantidmantodea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description HougeLangley 2021-08-29 07:46:46 UTC
* ERROR: app-emulation/wine-staging-6.16::gentoo failed (prerm phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 127:  Called pkg_prerm
 *   environment, line 3903:  Called die
 * The specific snippet of code:
 *       eselect wine update --all --if-unset || die
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/wine-staging-6.16::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/wine-staging-6.16::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/._unmerge_/app-emulation/wine-staging-6.16/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/._unmerge_/app-emulation/wine-staging-6.16/temp/environment'.
 * Working directory: '/var/tmp/portage/._unmerge_/app-emulation/wine-staging-6.16/empty'
 * S: '/var/tmp/portage/._unmerge_/app-emulation/wine-staging-6.16/work/wine-staging-6.16'

 * Messages for package app-emulation/wine-staging-6.16:

 * Applying the Wine-Staging patchset. Any bug reports to the
 * Wine bugzilla should explicitly state that staging was used.
 * FAILED postinst: 1
 * ERROR: app-emulation/wine-staging-6.16::gentoo failed (postinst phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 127:  Called pkg_postinst
 *   environment, line 3875:  Called die
 * The specific snippet of code:
 *       eselect wine update --all --if-unset || die;
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/wine-staging-6.16::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/wine-staging-6.16::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/wine-staging-6.16/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-staging-6.16/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/wine-staging-6.16/empty'
 * S: '/var/tmp/portage/app-emulation/wine-staging-6.16/work/wine-6.16'
 * 
 * The following package has failed to build, install, or execute postinst:
 * 
 *  (app-emulation/wine-staging-6.16:6.16/6.16::gentoo, ebuild scheduled for merge) (postinst failed)
 *
Comment 1 HougeLangley 2021-08-29 07:48:48 UTC
Created attachment 736567 [details]
emerge --info
Comment 2 HougeLangley 2021-08-29 07:50:13 UTC
emerge -pqv '=app-emulation/wine-staging-6.16::gentoo'
[ebuild   R   ] app-emulation/wine-staging-6.16  USE="X alsa cups faudio fontconfig gcrypt gecko gstreamer jpeg lcms mono mp3 netapi nls openal opencl opengl osmesa perl pipelight png prelink pulseaudio realtime run-exes sdl ssl (staging) threads truetype udev udisks unwind usb v4l vaapi vkd3d vulkan xcomposite xml -capi -custom-cflags -dos -gphoto2 -gsm -gssapi -kerberos -ldap -mingw -odbc -oss -pcap -samba -scanner (-selinux) -test -themes -xinerama" ABI_X86="32 64 (-x32)"
Comment 3 Chris Faulkner 2021-08-29 17:50:48 UTC
Also, eselect wine list shows wine-staging:6.16 in the list.  Setting it to 6.16 provides another error:

eselect wine set 2
!!! Warning: do_set(): Symbolic link target ('/usr/bin/function_grep-staging-6.16.pl') does not exist - for 'wine' ... Cleaning up.
!!! Error: set_symlinks(): Missing listing of 'binaries' symbolic links for 'wine'
exiting
Comment 4 Nick Sarnie gentoo-dev 2022-05-23 22:27:36 UTC
Can you still reproduce this?
Comment 5 mantidmantodea 2022-05-30 23:17:48 UTC
(In reply to Nick Sarnie from comment #4)
> Can you still reproduce this?

I also have the exact same issue albeit with a different version of wine. It happens with both 7.0 vanilla and 7.8 staging. Same eselect issue too. It's been happening for a few months.

~ sudo eselect wine set 1
!!! Warning: do_set(): Symbolic link (/usr/share/applications/wine.desktop) already exists, overwriting
!!! Warning: do_set(): Symbolic link (/usr/bin/winecfg) already exists, overwriting
!!! Warning: do_set(): Symbolic link (/usr/bin/wineg++) already exists, overwriting
!!! Warning: do_set(): Symbolic link (/usr/bin/winedbg) already exists, overwriting
!!! Warning: do_set(): Symbolic link (/usr/bin/winedump) already exists, overwriting
!!! Warning: do_set(): Symbolic link (/usr/bin/winemine) already exists, overwriting
!!! Warning: do_set(): Symbolic link target ('/usr/bin/function_grep-vanilla-7.0.pl') does not exist - for 'wine' ... Cleaning up.
!!! Error: set_symlinks(): Missing listing of 'binaries' symbolic links for 'wine'
exiting

➜  ~ sudo eselect wine set 2
!!! Warning: do_set(): Symbolic link (/usr/share/applications/wine.desktop) already exists, overwriting
!!! Warning: do_set(): Symbolic link (/usr/bin/winecfg) already exists, overwriting
!!! Warning: do_set(): Symbolic link (/usr/bin/wineg++) already exists, overwriting
!!! Warning: do_set(): Symbolic link (/usr/bin/winedbg) already exists, overwriting
!!! Warning: do_set(): Symbolic link (/usr/bin/winedump) already exists, overwriting
!!! Warning: do_set(): Symbolic link (/usr/bin/winemine) already exists, overwriting
!!! Warning: do_set(): Symbolic link target ('/usr/bin/function_grep-staging-7.8.pl') does not exist - for 'wine' ... Cleaning up.
!!! Error: set_symlinks(): Missing listing of 'binaries' symbolic links for 'wine'
Comment 6 mantidmantodea 2022-05-30 23:18:07 UTC
Created attachment 781511 [details]
emerge --info
Comment 7 mantidmantodea 2022-05-30 23:19:11 UTC
Created attachment 781514 [details]
build log
Comment 8 mantidmantodea 2022-05-30 23:21:11 UTC
emerge -pqv '=app-emulation/wine-vanilla-7.0-r2::gentoo' 
[ebuild   R   ] app-emulation/wine-vanilla-7.0-r2  USE="X alsa cups fontconfig gecko mono mp3 nls opengl perl pulseaudio realtime run-exes sdl ssl threads truetype udev udisks unwind usb vulkan xcomposite -capi -crossdev-mingw -custom-cflags -dos -gphoto2 -gssapi -gstreamer -kerberos -ldap -mingw -netapi -odbc -openal -opencl -osmesa -oss -pcap -samba -scanner (-selinux) -test -v4l -vkd3d -xinerama" ABI_X86="32 64 (-x32)"

 emerge -pqv '=app-emulation/wine-staging-7.8::gentoo'   
[ebuild   R   ] app-emulation/wine-staging-7.8  USE="X alsa cups fontconfig gecko mono mp3 nls opengl perl pulseaudio realtime run-exes sdl ssl (staging) threads truetype udev udisks unwind usb vulkan xcomposite -capi -crossdev-mingw% -custom-cflags -dos -gphoto2 -gssapi -gstreamer -kerberos -ldap -mingw -netapi -odbc -openal -opencl -osmesa -oss -pcap -pipelight -samba -scanner (-selinux) -test -v4l -xinerama" ABI_X86="32 64 (-x32)"
Comment 9 Chiitoo gentoo-dev 2022-05-31 04:12:03 UTC
There's been a couple of reports where something under '/etc/eselect/wine/' got broken, and while this does seem a bit different, it might be worth moving that directory away and re-emerging the Wine package(s) to test if it helps.
Comment 10 mantidmantodea 2022-06-01 08:09:19 UTC
(In reply to Chiitoo from comment #9)
> There's been a couple of reports where something under '/etc/eselect/wine/'
> got broken, and while this does seem a bit different, it might be worth
> moving that directory away and re-emerging the Wine package(s) to test if it
> helps.

That seemed to do it, I removed /etc/eselect/wine/links, and edited the 'installed' file, which had wine-6.0 set in one of the fields. I also had eselect-wine version 1.5.5 from bobwya's overlay, so I downgraded to 1.2.2 and my issues were solved. IDK if OP has bobwya's wine-eselect, but looking at the ebuild it does warn about non-compatibility with ::gentoo versions of wine. I never saw the warning though, maybe I just overlooked it.