Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
issue with trying to get 64 and 32 bit wine
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
berardel
n00b
n00b


Joined: 03 Mar 2018
Posts: 23
Location: United States

PostPosted: Fri Aug 10, 2018 12:13 am    Post subject: issue with trying to get 64 and 32 bit wine Reply with quote

im trying to install wine so that i can run both 64 bit and 32 bit programs, currently i have the 64 bit version working(it can only run 64 bit programs), but when i try to install a 32 bit version portage is asking me if i want to recompile 70 packages to be only 32 bit. of course i dont want to recompile that many packages to be 32 bit when i use some of them for other things too. can someone tell me what im doing wrong please?

when i execute
Code:
ABI_X86="32 64" emerge -a wine-vanilla

the vast majority of the packages contain this to the left:
Code:
[ebuild   R    ]


and i also get this problem
Code:
Total: 70 packages (1 new, 69 reinstalls), Size of downloads: 48,893 KiB

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

app-emulation/wine-vanilla:3.13

  (app-emulation/wine-vanilla-3.13:3.13/3.13::gentoo, ebuild scheduled for merge) conflicts with
    app-emulation/wine-vanilla[-abi_x86_32,abi_x86_64] required by (virtual/wine-0-r5:0/0::gentoo, installed)
                               ^^^^^^^^^^^


when i was installing gentoo, i did make sure to do a multilib install

also i have this in my /etc/portage/make.conf file
Code:
USE="alsa bindist ffmpeg ipv6 jpeg libinput png pulseaudio X -se1linux -systemd -avahi"
ABI_X86="64"
and this in my /etc/portage/package.accept_keywords/zz-autounmask file
Code:
>=app-emulation/wine-vanilla-3.13 ~amd64
my /etc/portage/package.use/wine-vanilla contained this
Code:
>=app-emulation/wine-vanilla-3.13 fontconfig gecko mono mp3 openal run-exes vulkan realtime udisks udev
Back to top
View user's profile Send private message
duane
n00b
n00b


Joined: 03 Jun 2002
Posts: 22
Location: Oklahoma City

PostPosted: Fri Aug 10, 2018 12:26 am    Post subject: Reply with quote

All I did was add the abi_x86_32 use flag to my make.conf and I got all the 32 and 64 bit libraries necessary. Of course it triggers a lot of recompiles for the 32 bit versions, but that's to be expected.
Back to top
View user's profile Send private message
berardel
n00b
n00b


Joined: 03 Mar 2018
Posts: 23
Location: United States

PostPosted: Fri Aug 10, 2018 12:28 am    Post subject: Reply with quote

duane wrote:
All I did was add the abi_x86_32 use flag to my make.conf and I got all the 32 and 64 bit libraries necessary. Of course it triggers a lot of recompiles for the 32 bit versions, but that's to be expected.
but is that really the only way? i dont want to replace my 64 bit packages with 32 bit ones if i dont have to. do you know if theres a way i could install 32 bit packages alongside the 64 bit versions?
Back to top
View user's profile Send private message
duane
n00b
n00b


Joined: 03 Jun 2002
Posts: 22
Location: Oklahoma City

PostPosted: Fri Aug 10, 2018 12:40 am    Post subject: Reply with quote

berardel wrote:
but is that really the only way? i dont want to replace my 64 bit packages with 32 bit ones if i dont have to. do you know if theres a way i could install 32 bit packages alongside the 64 bit versions?


That didn't replace anything. It added 32 bit libraries. I have both versions, one in lib32 and one in lib64. I can run both 32 bit and 64 bit windoze programs. (I don't think I've tried any 32 bit linux programs yet.)
Back to top
View user's profile Send private message
berardel
n00b
n00b


Joined: 03 Mar 2018
Posts: 23
Location: United States

PostPosted: Fri Aug 10, 2018 12:48 am    Post subject: Reply with quote

duane wrote:
That didn't replace anything. It added 32 bit libraries. I have both versions, one in lib32 and one in lib64. I can run both 32 bit and 64 bit windoze programs. (I don't think I've tried any 32 bit linux programs yet.)

really? so even though it says
Code:
[ebuild   R    ]
it still wont replace them? i would expect there to be like N or at least S somewhere.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 12805

PostPosted: Fri Aug 10, 2018 12:51 am    Post subject: Reply with quote

Your first mistake is using ABI_X86 on the command line. That is a temporary override, suitable for --pretend, but not advisable for long term use, since it will be reversed the first time you fail to specify it.

You should use package.use, not make.conf, if you want to change the ABI_X86 setting for selected packages only.

I read that output to mean that you have a virtual/wine that wants Wine to be 64-bit only, so you cannot rebuild with 32-bit enabled. The fix is to enable 32-bit on the virtual as well, then rebuild with --newuse so that it and affected supporting packages are all switched.

[ebuild R] means it is a reinstall of the same version. Yes, it replaces your 64-bit only version with a version that is both 32-bit and 64-bit, in one package.
Back to top
View user's profile Send private message
berardel
n00b
n00b


Joined: 03 Mar 2018
Posts: 23
Location: United States

PostPosted: Sat Aug 11, 2018 4:59 am    Post subject: Reply with quote

Hu wrote:
Your first mistake is using ABI_X86 on the command line. That is a temporary override, suitable for --pretend, but not advisable for long term use, since it will be reversed the first time you fail to specify it.

You should use package.use, not make.conf, if you want to change the ABI_X86 setting for selected packages only.

I read that output to mean that you have a virtual/wine that wants Wine to be 64-bit only, so you cannot rebuild with 32-bit enabled. The fix is to enable 32-bit on the virtual as well, then rebuild with --newuse so that it and affected supporting packages are all switched.

[ebuild R] means it is a reinstall of the same version. Yes, it replaces your 64-bit only version with a version that is both 32-bit and 64-bit, in one package.

oh i see, thanks for your help
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 6839

PostPosted: Sat Aug 11, 2018 3:43 pm    Post subject: Reply with quote

if it help you, here's my package.use file for them (yep there's dup... i have generate it dirty)
Code:
virtual/wine abi_x86_32
app-emulation/wine-staging abi_x86_32
app-emulation/wine-vanilla abi_x86_32

sys-libs/ncurses abi_x86_32
app-arch/bzip2 abi_x86_32
virtual/libiconv abi_x86_32
virtual/libintl abi_x86_32
dev-libs/lzo abi_x86_32
media-libs/libogg abi_x86_32
 app-emulation/wine-gecko abi_x86_32
 media-libs/fdk-aac abi_x86_32
 media-libs/x264 abi_x86_32
 dev-libs/gmp abi_x86_32
 dev-libs/libunistring abi_x86_32
 dev-libs/libffi abi_x86_32
 app-arch/xz-utils abi_x86_32
 media-libs/libdvdcss abi_x86_32
 virtual/libffi abi_x86_32
 dev-lang/orc abi_x86_32
 sys-libs/zlib abi_x86_32
 x11-libs/libICE abi_x86_32
 dev-libs/icu abi_x86_32
 x11-libs/libXau abi_x86_32
 x11-libs/pixman abi_x86_32
 x11-libs/libXdmcp abi_x86_32
 dev-libs/expat abi_x86_32
 x11-libs/libxshmfence abi_x86_32
 dev-libs/libpthread-stubs abi_x86_32
 dev-libs/nettle abi_x86_32
 media-libs/libvorbis abi_x86_32
 media-libs/libdvdread abi_x86_32
 media-sound/lame abi_x86_32
 media-libs/libmodplug abi_x86_32
 media-sound/wavpack abi_x86_32
 media-libs/a52dec abi_x86_32
 media-libs/faad2 abi_x86_32
 media-libs/libpng abi_x86_32
 dev-libs/libpcre abi_x86_32
 media-libs/libtheora abi_x86_32
 media-libs/libdvdnav abi_x86_32
 media-libs/freetype abi_x86_32
 media-libs/alsa-lib abi_x86_32
 x11-libs/libdrm abi_x86_32
 dev-libs/libxml2 abi_x86_32
 media-libs/xvid abi_x86_32
 x11-base/xcb-proto abi_x86_32
 media-sound/cdparanoia abi_x86_32
 sys-devel/gettext abi_x86_32
 media-libs/libjpeg-turbo abi_x86_32
 virtual/jpeg abi_x86_32
 sys-apps/util-linux abi_x86_32
 sys-apps/attr abi_x86_32
 sys-libs/binutils-libs abi_x86_32
 dev-libs/libgpg-error abi_x86_32
 media-libs/flac abi_x86_32
 dev-libs/libcdio abi_x86_32
 media-libs/tiff abi_x86_32
 x11-libs/libSM abi_x86_32
 dev-libs/libgcrypt abi_x86_32
 media-libs/libv4l abi_x86_32
 sys-libs/libcap abi_x86_32
 dev-libs/libcdio-paranoia abi_x86_32
 media-libs/audiofile abi_x86_32
 sys-fs/eudev abi_x86_32
 media-libs/lcms abi_x86_32
 dev-libs/libtasn1 abi_x86_32
 net-dns/libidn2 abi_x86_32
 dev-libs/libxslt abi_x86_32
 virtual/libudev abi_x86_32
 x11-libs/libxcb abi_x86_32
 x11-libs/libX11 abi_x86_32
 x11-libs/libXext abi_x86_32
 x11-libs/libXfixes abi_x86_32
 x11-libs/libXrender abi_x86_32
 x11-libs/libXt abi_x86_32
 media-libs/aalib abi_x86_32
 x11-libs/libXi abi_x86_32
 x11-libs/libXrandr abi_x86_32
 x11-libs/libXxf86vm abi_x86_32
 x11-libs/libXinerama abi_x86_32
 x11-libs/libXcomposite abi_x86_32
 x11-libs/libXcursor abi_x86_32
 x11-libs/libXmu abi_x86_32
 x11-libs/libXdamage abi_x86_32
 x11-libs/libvdpau abi_x86_32
 x11-libs/libXv abi_x86_32
 x11-libs/libXtst abi_x86_32
 dev-libs/glib abi_x86_32
 dev-libs/fribidi abi_x86_32
 dev-util/pkgconfig abi_x86_32
 virtual/pkgconfig abi_x86_32
 net-libs/gnutls abi_x86_32
 dev-libs/atk abi_x86_32
 dev-libs/libcroco abi_x86_32
 media-libs/gstreamer abi_x86_32
 dev-libs/libgudev abi_x86_32
 virtual/libgudev abi_x86_32
 sys-apps/dbus abi_x86_32
 app-accessibility/at-spi2-core abi_x86_32
 app-accessibility/at-spi2-atk abi_x86_32
 media-libs/fontconfig abi_x86_32
 x11-libs/libXft abi_x86_32
 net-print/cups abi_x86_32
 media-libs/openjpeg abi_x86_32
 sys-devel/llvm abi_x86_32
 media-gfx/graphite2 abi_x86_32
 media-libs/x265 abi_x86_32
 media-libs/game-music-emu abi_x86_32
 media-libs/mesa abi_x86_32
 virtual/opengl abi_x86_32
 x11-libs/cairo abi_x86_32
 media-libs/libepoxy abi_x86_32
 media-libs/harfbuzz abi_x86_32
 media-libs/glu abi_x86_32
 virtual/glu abi_x86_32
 x11-libs/pango abi_x86_32
 media-libs/libass abi_x86_32
 media-libs/freeglut abi_x86_32
 media-libs/gst-plugins-base abi_x86_32
 media-libs/libsdl2 abi_x86_32
 media-libs/jasper abi_x86_32
 media-libs/gst-plugins-good abi_x86_32
 media-libs/gst-plugins-ugly abi_x86_32
 media-libs/libwebp abi_x86_32
 media-plugins/gst-plugins-cdparanoia abi_x86_32
 x11-libs/gdk-pixbuf abi_x86_32
 media-libs/libcaca abi_x86_32
 media-plugins/gst-plugins-lame abi_x86_32
 media-plugins/gst-plugins-x264 abi_x86_32
 media-plugins/gst-plugins-dvdread abi_x86_32
 media-plugins/gst-plugins-v4l2 abi_x86_32
 media-plugins/gst-plugins-a52dec abi_x86_32
 media-plugins/gst-plugins-flac abi_x86_32
 gnome-base/librsvg abi_x86_32
 media-libs/libsdl abi_x86_32
 x11-libs/gtk+ abi_x86_32
 media-sound/mpg123 abi_x86_32
 media-video/mjpegtools abi_x86_32
 media-libs/libmpeg2 abi_x86_32
 media-plugins/gst-plugins-mpg123 abi_x86_32
 media-plugins/gst-plugins-mpeg2dec abi_x86_32
 media-plugins/gst-plugins-gtk abi_x86_32
 media-libs/gst-plugins-bad abi_x86_32
 media-libs/openal abi_x86_32
 media-plugins/gst-plugins-faad abi_x86_32
 media-plugins/gst-plugins-modplug abi_x86_32
 media-plugins/gst-plugins-mplex abi_x86_32
 media-plugins/gst-plugins-resindvd abi_x86_32
 x11-libs/libva abi_x86_32
 x11-libs/libva-vdpau-driver abi_x86_32
 media-video/ffmpeg abi_x86_32
 media-plugins/gst-plugins-libav abi_x86_32
 media-plugins/gst-plugins-meta abi_x86_32
 app-emulation/wine-vanilla abi_x86_32
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 1591
Location: Here and Away Again

PostPosted: Sat Aug 11, 2018 6:53 pm    Post subject: ><)))°€ Reply with quote

As a sidey-note, you seem to have USE="bindist" in your 'make.conf' (possibly a remnant of when you installed the base system; it's required for the Stage3 to be redistributable).

Usually for normal use, users want to disable said USE. It's often seen as a cause for confusion arising from package conflicts, and I, too, have been somewhat unsure of what it does in the past.

Having it enabled allows you to redistribute a package built with it, because certain parts of the code are disabled, which would not allow for it (for example Firefox will be branded as Aurora instead).
_________________
Kind Regards,
~ The Noob Unlimited ~

Sore wa sore, kore wa kore.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum