Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 767430 - app-emulation/crossover-bin-20.0.2 Some errors may prevent CrossOver Linux from working correctly.
Summary: app-emulation/crossover-bin-20.0.2 Some errors may prevent CrossOver Linux fr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-27 10:36 UTC by urcindalo
Modified: 2021-01-29 19:15 UTC (History)
2 users (show)

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


Attachments
build.log + emerge --info.txt (build.log-emerge-info.txt,143.46 KB, text/plain)
2021-01-27 19:50 UTC, Ionen Wolkens
Details
outputs.txt (outputs.txt,3.85 KB, text/plain)
2021-01-28 00:19 UTC, Ionen Wolkens
Details

Note You need to log in before you can comment on or make changes to this bug.
Description urcindalo 2021-01-27 10:36:39 UTC
I can't launch crossover-bin anymore. This is the error I'm getting:
-----
$ /opt/bin/crossover
crossover:error: Could not identify the distribution
crossover:error: Could not identify the distribution
crossover:error: Could not identify the distribution
Could not install some Unix packages
Some errors may prevent CrossOver Linux from working correctly.

The following issues have no known automated fix for your platform but the fixes for other platforms may help you:
* https://www.codeweavers.com/support/wiki/Diag/python-vte-2-91 (32-bit)
----

The fixes for other platforms in the URL also fail:
-----
$ /opt/cxoffice/bin/cxfix --show-all
cxfix:error: Could not identify the distribution
Distribution: None 64-bit (None)
Product: cx20
cxfix:error: Could not identify the distribution
cxfix:error: Could not identify the distribution
cxfix:error: Could not identify the distribution
Traceback (most recent call last):
  File "/opt/cxoffice/bin/cxfix", line 279, in <module>
    sys.exit(main())
  File "/opt/cxoffice/bin/cxfix", line 273, in main
    cxfixes.report_errors(prefix=False, gui=False, verbose=options.show_all or options.verbose)
  File "/opt/cxoffice/lib/python/cxfixes.py", line 770, in report_errors
    message = get_error_message(prefix, verbose)
  File "/opt/cxoffice/lib/python/cxfixes.py", line 719, in get_error_message
    lines.append(get_fix_message(distfixes, other_distroid, other_bitness))
  File "/opt/cxoffice/lib/python/cxfixes.py", line 675, in get_fix_message
    msg = ' '.join(args)
TypeError: sequence item 0: expected str instance, NoneType found
-----

My crossover-bin installation:
-----
$ eix -I crossover-bin
[I] app-emulation/crossover-bin
     Available versions:  (~)19.0.1-r1^td (~)19.0.2^td (~)20.0.2^td {+capi +cups doc +gphoto2 +gsm +gstreamer +jpeg +lcms ldap +mp3 +nls +openal +opencl +opengl osmesa +pcap +png +scanner +ssl +v4l +vulkan PYTHON_SINGLE_TARGET="python3_7 python3_8 python3_9"}
     Installed versions:  20.0.2^td(10:28:10 27/01/21)(capi cups gphoto2 gsm gstreamer jpeg lcms mp3 nls openal opencl opengl pcap png scanner ssl v4l vulkan -doc -ldap -osmesa PYTHON_SINGLE_TARGET="python3_8 -python3_7 -python3_9")
     Homepage:            https://www.codeweavers.com/products/
     Description:         Commercial version of app-emulation/wine with paid support
-----


My emerge --info:
-----
$ emerge --info
Portage 3.0.13 (python 3.8.7-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-9.3.0, glibc-2.32-r5, 5.4.80-gentoo-r1 x86_64)
=================================================================
System uname: Linux-5.4.80-gentoo-r1-x86_64-AMD_Ryzen_7_3700X_8-Core_Processor-with-glibc2.2.5
KiB Mem:    32874172 total,   6868972 free
KiB Swap:   33554428 total,  33543256 free
Timestamp of repository gentoo: Wed, 27 Jan 2021 08:00:01 +0000
Head commit of repository gentoo: 9475b6f680eb9b45bb63d660d1f2b2695b4c73d8
Timestamp of repository 4nykey: Sat, 23 Jan 2021 10:41:38 +0000
Head commit of repository 4nykey: 08aad243ff03ec0bb7aa7a2e15559f8a31fd5d0c

Timestamp of repository fol4: Sat, 23 Jan 2021 10:41:58 +0000
Head commit of repository fol4: 76def702d8d764dcd44d4f4fd2b06341a35d0af8

Timestamp of repository torbrowser: Sat, 23 Jan 2021 10:41:11 +0000
Head commit of repository torbrowser: 3aa3e5638aec17296b93e830e2407ec8db896177

sh bash 5.0_p18
ld GNU ld (Gentoo 2.34 p6) 2.34.0
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          3.7.9-r2::gentoo, 3.8.7-r1::gentoo, 3.9.1-r1::gentoo
dev-util/cmake:           3.17.4-r1::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2-r1::gentoo
sys-devel/binutils:       2.34-r2::gentoo
sys-devel/gcc:            9.3.0-r2::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 

4nykey
    location: /var/db/repos/4nykey
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/4nykey.git
    masters: gentoo

fol4
    location: /var/db/repos/fol4
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/fol4.git
    masters: gentoo

local
    location: /var/db/repos/local
    masters: gentoo
    priority: 0

torbrowser
    location: /var/db/repos/torbrowser
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/torbrowser.git
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/cxoffice/etc/cxoffice.conf /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=znver2 -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=znver2 -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=znver2 -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="/usr/share/locale -/usr/share/locale/es -/usr/share/locale/es_ES -/usr/share/locale/en_US -/usr/share/locale/en /usr/share/gcc-data/x86_64-pc-linux-gnu/*/locale -/usr/share/gcc-data/x86_64-pc-linux-gnu/*/locale/es /usr/share/man/de /usr/share/man/el /usr/share/man/fr /usr/share/man/hu /usr/share/man/ja /usr/share/man/jp /usr/share/man/sk /usr/share/man/zh_TW"
LANG="es_ES.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="es_ES es en_US en"
MAKEOPTS="-j16"
PKGDIR="/var/cache/binpkgs"
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="X a52 aac aalib acl acpi activities alsa amd64 amr atm berkdb bluetooth branding btrfs bzip2 cairo cdda cddb cdr cli contrib crypt cups curl daemon dbus declarative dga djvu dri dts dv dvd dvdr emboss encode exif fbcon ffmpeg fftw flac fontconfig fortran ftp fuse gdbm geolocation gif gimp gmp gnome-keyring gphoto2 gpm grub gstreamer gtk gui iconv icu idn imagemagick imlib ipv6 jack java jbig jpeg jpeg2k kde kipi kwallet lame lapack latex lcms libass libcaca libglvnd libkms libnotify libtirpc lm-sensors lzma lzo mad mmap mng modplug mono mp3 mp4 mpeg mtp multilib musepack nas ncurses network networkmanager nls nptl ogg openal opencl openexr opengl openmp oss pam pango pcre pdf phonon pkcs11 plasma png policykit portaudio postscript ppds qml qt5 rar raw readline ruby samba sasl scanner sdl seccomp semantic-desktop slang smartcard spell split-usr ssl startup-notification svg syslog systemd taglib tcl tcpd theora threads tiff tk truetype twolame udev udisks unicode upnp upower usb v4l vaapi vcd vdpau vnc vorbis wavpack wayland widgets wmf wxwidgets x264 xattr xcb xml xmp xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon krita" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="synaptics evdev" KERNEL="linux" L10N="es-ES es en-US en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python2_7 python3_8" RUBY_TARGETS="ruby26" SANE_BACKENDS="epson2 hp" USERLAND="GNU" VIDEO_CARDS="radeonsi amdgpu" 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"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
-----
Comment 1 Ionen Wolkens gentoo-dev 2021-01-27 13:13:49 UTC
Observing the same behavior on ~amd64 with 20.0.2, 19.0.2 still works fine.
Comment 2 Pacho Ramos gentoo-dev 2021-01-27 19:36:06 UTC
I cannot reproduce. The problem is that it's hard to know from that error what lib is missing... but maybe build.log logged some missing things. Can you attach the full build.log please?

Thanks
Comment 3 Ionen Wolkens gentoo-dev 2021-01-27 19:50:10 UTC
Created attachment 684918 [details]
build.log + emerge --info.txt

I'll provide mine, but unfortunately "build" log doesn't look helpful to me.

I'm using a fairly minimal test env which initially made me run into a build failure due to missing cpio dependency.
Comment 4 Ionen Wolkens gentoo-dev 2021-01-27 20:15:27 UTC
I don't think it's complete but may have figured one dep out, vte[introspection]. Still gives errors but it at least starts now.
Comment 5 Ionen Wolkens gentoo-dev 2021-01-27 20:19:25 UTC
(In reply to Ionen Wolkens from comment #4)
> I don't think it's complete but may have figured one dep out,
> vte[introspection]. Still gives errors but it at least starts now.
Also dbus-python

reporter's /opt/cxoffice/bin/cxfix --show-all still gives errors, but /opt/bin/crossover is good now
Comment 6 Pacho Ramos gentoo-dev 2021-01-27 22:48:20 UTC
Yeah, those deps make sense... Regarding /opt/cxoffice/bin/cxfix --show-all, what is it showing now with that extra deps installed?

For me it simply shows:
$ /opt/cxoffice/bin/cxfix --show-all
cxfix:error: Could not identify the distribution
Distribution: None 64-bit (None)
Product: cx20
There is no issue to fix
Comment 7 Pacho Ramos gentoo-dev 2021-01-27 22:53:19 UTC
/opt/cxoffice/bin/cxdiag should also help
Comment 8 Larry the Git Cow gentoo-dev 2021-01-27 23:03:53 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faee4423a93554833e744581df942fded9728591

commit faee4423a93554833e744581df942fded9728591
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2021-01-27 23:03:24 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2021-01-27 23:03:24 +0000

    app-emulation/crossover-bin: Fix runtime deps
    
    Add deps as specified in checkgtk.py and checkreq.py
    
    Thanks-to: Ionen Wolkens
    Thanks-to: urcindalo
    Bug: https://bugs.gentoo.org/767430
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 .../crossover-bin/crossover-bin-20.0.2-r1.ebuild   | 220 +++++++++++++++++++++
 1 file changed, 220 insertions(+)
Comment 9 Ionen Wolkens gentoo-dev 2021-01-28 00:19:08 UTC
Created attachment 684933 [details]
outputs.txt

Still no different than first reported for --show-all

--show seems to work, cxdiag as well (all 3 outputs attached)

That the cannot verify message is repeated does seem odd.
Comment 10 urcindalo 2021-01-28 18:51:33 UTC
(In reply to Ionen Wolkens from comment #9)
> Created attachment 684933 [details]
> outputs.txt
> 
> Still no different than first reported for --show-all
> 
> --show seems to work, cxdiag as well (all 3 outputs attached)
> 
> That the cannot verify message is repeated does seem odd.

Thanks both of you for your help!

The new crossover-bin-20.0.2-r1 seems to solve the problem; at least it launches and allows for Windows apps to run.

However, there are still some oddities. In my case, the outputs of "cxfix --show" and "cxdiag" are somewhat different than Ionen's (I only show the [Missing] parts):
------
$ /opt/cxoffice/bin/cxfix --show
cxfix:error: Could not identify the distribution
Distribution: None 64-bit (None)
Product: cx20
cxfix:error: Could not identify the distribution
cxfix:error: Could not identify the distribution
cxfix:error: Could not identify the distribution

The following issues have no known automated fix for your platform but the fixes for other platforms may help you:
* https://www.codeweavers.com/support/wiki/Diag/missinggstreamer1good2 (32-bit)
* https://www.codeweavers.com/support/wiki/Diag/missinggstreamer1good2 (64-bit)

--------------------

$ /opt/cxoffice/bin/cxdiag
[MissingLibOdbc]
"Title"="Missing 32-bit libodbc.so.2 library"

[MissingLibOsmesa8]
"Title"="Missing 32-bit libOSMesa.so.8 library"

[MissingLibPcap]
"Title"="Missing 32-bit libpcap.so.0.8 library"

[Properties]
"vulkan.present"="yes"

[MissingGStreamer1Good2]
"Title"="The gst-plugins-good 32-bit GStreamer plugins appear to be missing vp9dec"
----------------

In Ionen's case there are more [Missing]'s and a different [MissingGStreamer1Good2]. I guess this is due to some incomplete DEPS in the crossover-bin ebuild which maybe provided, or not, through other installed packages in the world file, but I don't know to what extent they are important to its correct behavior.

However, I DO know that I have had to manually add USE="abi_x86_32" for media-sound/pulseaudio, x11-libs/libXinerama and dev-libs/libxslt because of a warning from crossover-bin, when installing QtiPlot, of a potential misbehavior.
Comment 11 Pacho Ramos gentoo-dev 2021-01-28 20:42:05 UTC
Well... the problem is that not all that deps are really hard requirements and always required (it depends on the software you are trying to run with crossover)... that is the reason many of them are under USE flags (default enabled). You should maybe try to let all that flags enabled if you don't want any warning about missing libs.

Regarding concrete gst plugins, that will depend on the USE flags of your gst-plugins-meta
Comment 12 Ionen Wolkens gentoo-dev 2021-01-29 00:27:37 UTC
Yeah I think it's fine, only dbus-python/vte were a real problem preventing it from working altogether and that looks sorted.

I normally don't use this minimal'ish environment either, I just use it to find those issues.
Comment 13 Pacho Ramos gentoo-dev 2021-01-29 19:15:26 UTC
I will close this then

Thanks for your help!