Dependency Errors on Ubuntu 13.10 x64

Questions about Wine on Linux
Locked
User avatar
UbuntuSupahFly
Level 2
Level 2
Posts: 23
Joined: Thu May 30, 2013 8:29 pm

Dependency Errors on Ubuntu 13.10 x64

Post by UbuntuSupahFly »

I'm attempting to build from source so as to incorporate the 1.6 patch from bug 18070, but I'm getting problems when using build-dep. I can't install something because it can't install something else and when I trace it through the list, I eventually get to a bunch of things that are the current version, leaving me scratching my head and wondering why there's a problem. This is copied from my terminal:

Code: Select all

ubuntusupahfly@OptiPlex-GX620:~$ sudo apt-get update
(--- snipped to save space ---)
Reading package lists... Done

ubuntusupahfly@OptiPlex-GX620:~$ sudo apt-get build-dep wine1.6
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have unmet dependencies:
 libgl1-mesa-dev : Depends: mesa-common-dev (= 9.2.1-1ubuntu3) but it is not going to be installed
                   Depends: libdrm-dev (>= 2.4.45) but it is not going to be installed
E: Build-dependencies for wine1.6 could not be satisfied.

ubuntusupahfly@OptiPlex-GX620:~$ sudo apt-get install libgl1-mesa-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libgl1-mesa-dev : Depends: mesa-common-dev (= 9.2.1-1ubuntu3) but it is not going to be installed
                   Depends: libdrm-dev (>= 2.4.45) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

ubuntusupahfly@OptiPlex-GX620:~$ sudo apt-get install mesa-common-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mesa-common-dev : Depends: libdrm-dev (>= 2.4.45) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

ubuntusupahfly@OptiPlex-GX620:~$ sudo apt-get install libdrm-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libdrm-dev : Depends: libdrm2 (= 2.4.49+git20131202.c3d96897-0ubuntu0sarvatt~raring) but 2.4.49+git20131202.c3d96897-0ubuntu0sarvatt is to be installed
              Depends: libdrm-intel1 (= 2.4.49+git20131202.c3d96897-0ubuntu0sarvatt~raring) but 2.4.49+git20131202.c3d96897-0ubuntu0sarvatt is to be installed
              Depends: libdrm-radeon1 (= 2.4.49+git20131202.c3d96897-0ubuntu0sarvatt~raring) but 2.4.49+git20131202.c3d96897-0ubuntu0sarvatt is to be installed
              Depends: libdrm-nouveau2 (= 2.4.49+git20131202.c3d96897-0ubuntu0sarvatt~raring) but 2.4.49+git20131202.c3d96897-0ubuntu0sarvatt is to be installed
E: Unable to correct problems, you have held broken packages.

ubuntusupahfly@OptiPlex-GX620:~$ sudo apt-get install libdrm2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libdrm2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

ubuntusupahfly@OptiPlex-GX620:~$ sudo apt-get install libdrm-intel1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libdrm-intel1 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

ubuntusupahfly@OptiPlex-GX620:~$ sudo apt-get install libdrm-radeon1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libdrm-radeon1 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

ubuntusupahfly@OptiPlex-GX620:~$ sudo apt-get install libdrm-nouveau2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libdrm-nouveau2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
And, in case it helps:

Code: Select all

ubuntusupahfly@OptiPlex-GX620:~$ uname -a
Linux OptiPlex-GX620 3.13.6-031306-generic #201403070154 SMP Fri Mar 7 06:55:03 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Dependency Errors on Ubuntu 13.10 x64

Post by dimesio »

Ask on the Ubuntu forum. Sorting out what is/isn't in your distro's repositories is not a Wine question.
User avatar
UbuntuSupahFly
Level 2
Level 2
Posts: 23
Joined: Thu May 30, 2013 8:29 pm

Re: Dependency Errors on Ubuntu 13.10 x64

Post by UbuntuSupahFly »

... OK. Thanks.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Dependency Errors on Ubuntu 13.10 x64

Post by Bob Wya »

@UbuntuSupahFly

There are WineHQ FAQ pages for this issue.
SysWow Multiarch 32-bit/64-bit Wine on 64-bit OS
32-bit Wine on 64-bit Linux

If you stuck then I would ask on LQ or the Ubuntu forums.

You should be warned that it's quite an advanced/fiddly process now that Canonical/Debian do not ship the build dependencies for 32-bit Wine on 64-bit versions of the OS (since Ubuntu 12.04). When it's easier to install different versions of Wine on 64-bit Gentoo - you know you've got a problem!! I certainly can't be bothered with using Debian as a testing base, for Wine patches, anymore.

Bob
User avatar
UbuntuSupahFly
Level 2
Level 2
Posts: 23
Joined: Thu May 30, 2013 8:29 pm

Re: Dependency Errors on Ubuntu 13.10 x64

Post by UbuntuSupahFly »

I'm following the lxc meathod of chroot jailing listed in the Wiki.
User avatar
UbuntuSupahFly
Level 2
Level 2
Posts: 23
Joined: Thu May 30, 2013 8:29 pm

Re: Dependency Errors on Ubuntu 13.10 x64

Post by UbuntuSupahFly »

Bob Wya wrote:@UbuntuSupahFly

There are WineHQ FAQ pages for this issue.
SysWow Multiarch 32-bit/64-bit Wine on 64-bit OS
32-bit Wine on 64-bit Linux

If you stuck then I would ask on LQ or the Ubuntu forums.

You should be warned that it's quite an advanced/fiddly process now that Canonical/Debian do not ship the build dependencies for 32-bit Wine on 64-bit versions of the OS (since Ubuntu 12.04). When it's easier to install different versions of Wine on 64-bit Gentoo - you know you've got a problem!! I certainly can't be bothered with using Debian as a testing base, for Wine patches, anymore.

Bob
Following the directions for Multi-Arch has put me much further ahead than I ever was before, and for simplicity's sake, I've created the directory structure exactly as the guide has so all my pathnames match letter for letter, except now when I get to this part:
Still inside the container, do it again, this time pointing to the 64 bit build for data, and the 32 bit tools build for tools:

Code: Select all

cd $HOME
mkdir wine32
cd wine32
~/wine-git/configure --with-wine64=$HOME/wine64 --with-wine-tools=$HOME/wine32-tools
make -j4
I get hung up on ~/wine-git/configure --with-wine64=$HOME/wine64 --with-wine-tools=$HOME/wine32-tools with this:

Code: Select all

ubuntusupahfly@my32bitbox:~/wine32-tools$ ~/wine-git/configure --with-wine64=$HOME/wine64 --with-wine-tools=$HOME/wine32-tools/tools
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for cpp... cpp
checking for the directory containing the Wine tools... configure: error: could not find Wine tools in /home/ubuntusupahfly/wine32-tools/tools
What am I missing?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Dependency Errors on Ubuntu 13.10 x64

Post by dimesio »

The instructions say:

Code: Select all

~/wine-git/configure --with-wine64=$HOME/wine64 --with-wine-tools=$HOME/wine32-tools
What you say you did:

Code: Select all

~/wine-git/configure --with-wine64=$HOME/wine64 --with-wine-tools=$HOME/wine32-tools/tools
See the difference?
User avatar
UbuntuSupahFly
Level 2
Level 2
Posts: 23
Joined: Thu May 30, 2013 8:29 pm

Re: Dependency Errors on Ubuntu 13.10 x64

Post by UbuntuSupahFly »

Still doesn't work.

Code: Select all

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes

{snip}

checking for the directory containing the Wine tools... configure: error: could not find Wine tools in /home/ubuntusupahfly/wine32-tools
User avatar
UbuntuSupahFly
Level 2
Level 2
Posts: 23
Joined: Thu May 30, 2013 8:29 pm

Re: Dependency Errors on Ubuntu 13.10 x64

Post by UbuntuSupahFly »

I'm just going to delete everything and start over. Seems easier that way.
Locked