http://bugs.winehq.org/show_bug.cgi?id=18813
Summary: /usr/bin/../lib32/../share/wine/wine.inf not found Product: Wine Version: 1.1.23 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P3 Component: setupapi AssignedTo: wine-bugs@winehq.org ReportedBy: newsletter@Schiermeier-Software.de
After update to wine v1.1.23 i killed the $HOME/.wine directory and than I run
wine rundll32 setupapi.dll,InstallHinfSection DefaultInstall 128 /usr/share/wine/wine.inf
to create a new $HOME/.wine dir. The first line of the messages in the console window is:
wine: failed to update /<home>/.wine with /usr/bin/../lib32/../share/wine/wine.inf: No such file or directory
It works - but is weird. The folder $HOME/.wine is created also the subfolders.
-- This is debian 64bit - sidux. I use the Ubuntu-Package from Scott Ritchie. This procedure described above I did several times after update.
http://bugs.winehq.org/show_bug.cgi?id=18813
--- Comment #1 from Austin English austinenglish@gmail.com 2009-06-06 20:43:13 --- Does: $ rm -rf $HOME/.wine $ wineboot
work?
http://bugs.winehq.org/show_bug.cgi?id=18813
--- Comment #2 from Dmitry Timoshkov dmitry@codeweavers.com 2009-06-07 05:12:07 --- Are you using a prebuilt Wine package? If yes - which one?
http://bugs.winehq.org/show_bug.cgi?id=18813
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|setupapi |-unknown
http://bugs.winehq.org/show_bug.cgi?id=18813
--- Comment #3 from Joerg Schiermeier newsletter@Schiermeier-Software.de 2009-06-07 18:00:04 --- (In reply to comment #2)
Are you using a prebuilt Wine package? If yes - which one?
I use the Ubuntu-Package from Scott Ritchie (see winehq.org).
http://bugs.winehq.org/show_bug.cgi?id=18813
--- Comment #4 from Joerg Schiermeier newsletter@Schiermeier-Software.de 2009-06-07 18:05:29 --- (In reply to comment #1)
Does: $ rm -rf $HOME/.wine $ wineboot
work?
yes and no:
no (it show still this error or what it is): ============================================ joerg@Schiermeier:~$ rm -fR ~/.wine joerg@Schiermeier:~$ wineboot wine: created the configuration directory '/home/joerg/.wine' wine: failed to update /home/joerg/.wine with /usr/bin/../lib32/../share/wine/wine.inf: No such file or directory
yes (it built the directories and their files): =============================================== joerg@Schiermeier:~$ cd ~/.wine joerg@Schiermeier:~/.wine$ ls -l total 132 drwxr-xr-x 2 joerg joerg 96 Jun 8 00:57 dosdevices drwxr-xr-x 4 joerg joerg 96 Jun 8 00:57 drive_c -rw-r--r-- 1 joerg joerg 88626 Jun 8 00:57 system.reg -rw-r--r-- 1 joerg joerg 44810 Jun 8 00:57 user.reg joerg@Schiermeier:~/.wine$
http://bugs.winehq.org/show_bug.cgi?id=18813
--- Comment #5 from Joerg Schiermeier newsletter@Schiermeier-Software.de 2009-06-07 18:24:18 --- (In reply to comment #3)
(In reply to comment #2)
Are you using a prebuilt Wine package? If yes - which one?
I use the Ubuntu-Package from Scott Ritchie (see winehq.org).
See here - URL: http://www.winehq.org/download/deb
This DEB: http://wine.budgetdedicated.com/apt/pool/main/w/wine/wine_1.1.23~winehq0~ubu...
I did this also with the last versions. Now at v1.1.23 this message appears the first time. Never before.
I used also some monthes ago the pakage from Ben Klein and Maurilio Genovese but there I got something similar. I reported this to Ben Klein and he forwarded this issue to the mailinglist:
http://www.winehq.org/pipermail/wine-devel/2009-March/074097.html
http://bugs.winehq.org/show_bug.cgi?id=18813
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |scott@open-vote.org
--- Comment #6 from Dmitry Timoshkov dmitry@codeweavers.com 2009-06-08 02:27:10 --- (In reply to comment #3)
I use the Ubuntu-Package from Scott Ritchie (see winehq.org).
Looks like his package is broken, and doesn't ship wine.inf.
http://bugs.winehq.org/show_bug.cgi?id=18813
--- Comment #7 from Scott Ritchie scott@open-vote.org 2009-06-08 05:52:54 --- I don't know about that, /usr/share/wine/wine.inf is definitely provided by the package.
Maybe the breakage comes from using the Ubuntu package on Debian?
http://bugs.winehq.org/show_bug.cgi?id=18813
--- Comment #8 from Dmitry Timoshkov dmitry@codeweavers.com 2009-06-08 06:02:21 --- (In reply to comment #7)
I don't know about that, /usr/share/wine/wine.inf is definitely provided by the package.
From the original report:
wine: failed to update /<home>/.wine with /usr/bin/../lib32/../share/wine/wine.inf: No such file or directory
wine.inf cleary does not exist
Maybe the breakage comes from using the Ubuntu package on Debian?
How that could explain that wine.inf is not being installed?
http://bugs.winehq.org/show_bug.cgi?id=18813
--- Comment #9 from Scott Ritchie scott@open-vote.org 2009-06-08 07:14:18 --- I just checked the package archive directly, and it absolutely has /usr/share/wine/wine.inf included.
This error message: /usr/bin/../lib32/../share/wine/wine.inf: No such file or directory Can occur for some other reasons.
Do you have a /usr/lib32 directory? Are you sure you installed debian for amd64?
http://bugs.winehq.org/show_bug.cgi?id=18813
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2009-06-08 07:23:02 --- (In reply to comment #9)
I just checked the package archive directly, and it absolutely has /usr/share/wine/wine.inf included.
This error message: /usr/bin/../lib32/../share/wine/wine.inf: No such file or directory Can occur for some other reasons.
Do you have a /usr/lib32 directory? Are you sure you installed debian for amd64?
/usr/lib32 is a link to /emul/ia32-linux/usr/lib on Debian, so lib32/../share/wine won't resolve. Either the package needs to be built with the correct --libdir/--datadir, or it needs to create a symlink for /emul/ia32-linux/usr/share/wine.
http://bugs.winehq.org/show_bug.cgi?id=18813
--- Comment #11 from Joerg Schiermeier newsletter@Schiermeier-Software.de 2009-06-08 11:32:02 --- (In reply to comment #9)
I just checked the package archive directly, and it absolutely has /usr/share/wine/wine.inf included.
This error message: /usr/bin/../lib32/../share/wine/wine.inf: No such file or directory Can occur for some other reasons.
Do you have a /usr/lib32 directory?
Yes. Look:
-----<cite>----- joerg@Schiermeier:~$ cd /usr/lib32/wine joerg@Schiermeier:/usr/lib32/wine$ ls -l insgesamt 59048 -rw-r--r-- 1 root root 75564 5. Jun 22:59 acledit.dll.so -rw-r--r-- 1 root root 79508 5. Jun 22:59 aclui.dll.so (...) -rw-r--r-- 1 root root 76496 5. Jun 22:59 xinput9_1_0.dll.so -rw-r--r-- 1 root root 75576 5. Jun 22:59 xmllite.dll.so joerg@Schiermeier:/usr/lib32/wine$ -----</cite>-----
Are you sure you installed debian for amd64?
Yes - I download this file: http://wine.budgetdedicated.com/apt/pool/main/w/wine/wine_1.1.23~winehq0~ubuntu~8.10-0ubuntu1_amd64.deb
I didn't this the first time. It works over several monthes (years) and versions of wine (If I remember right I start with work in and use of wine in September 2004). But this is the first time this error message appears. After my installation I always use 'wine rundll32 setupapi.dll,InstallHinfSection DefaultInstall 128 /usr/share/wine/wine.inf' to create the basic files in $HOME/.wine.
My Linux is this -----<cite>----- joerg@Schiermeier:/usr/lib32/wine$ uname -a Linux Schiermeier 2.6.29-2.slh.1-sidux-amd64 #1 SMP PREEMPT Mon Apr 27 19:20:24 UTC 2009 x86_64 GNU/Linux -----</cite>-----
btw: What Alexandre wrote in his posting 'Comment #10' there I found this:
-----<cite>----- joerg@Schiermeier:/$ cd /usr joerg@Schiermeier:/usr$ ls -l insgesamt 523 drwxr-xr-x 3 root root 72 30. Apr 02:25 arm-linux-gnu drwxr-xr-x 4 root root 96 23. Jul 2006 arm-wince-pe drwxr-xr-x 3 root root 189912 8. Jun 04:13 bin drwxr-xr-x 2 root root 176 30. Dez 00:47 doc drwxr-xr-x 2 root root 5888 6. Jun 16:08 games drwxr-xr-x 10 root root 240 31. Dez 05:10 i386-mingw32msvc drwxr-xr-x 3 root root 72 30. Apr 02:25 i486-linux-gnu drwxr-xr-x 5 root root 120 31. Dez 02:32 i586-mingw32msvc drwxr-xr-x 455 root root 45352 8. Jun 04:13 include drwxr-xr-x 450 root root 259064 8. Jun 04:08 lib lrwxrwxrwx 1 root root 24 19. Jan 2008 lib32 -> /emul/ia32-linux/usr/lib lrwxrwxrwx 1 root root 3 19. Jan 2008 lib64 -> lib drwxr-xr-x 3 root root 72 31. Dez 02:32 libexec drwxrwsr-x 11 root staff 272 1. Jun 04:14 local drwxr-xr-x 3 root root 72 22. Jul 2006 man drwxr-xr-x 3 root root 72 30. Apr 02:25 mips-linux-gnu drwxr-xr-x 2 root root 14096 7. Jun 21:26 sbin drwxr-xr-x 791 root root 21800 8. Jun 04:13 share drwxrwsr-x 6 root src 544 15. Mai 01:55 src drwxr-xr-x 3 root root 120 12. Dez 21:39 X11R6 drwxr-xr-x 4 root root 96 30. Apr 02:25 x86_64-linux-gnu joerg@Schiermeier:/usr$ -----</cite>-----
So the '/usr/lib32' where the wine-directory lives is a link to '/emul/ia32-linux/usr/lib'. Like Alexandre wrote.
http://bugs.winehq.org/show_bug.cgi?id=18813
--- Comment #12 from Joerg Schiermeier newsletter@Schiermeier-Software.de 2009-06-08 11:37:51 --- (In reply to comment #6)
(In reply to comment #3)
I use the Ubuntu-Package from Scott Ritchie (see winehq.org).
Looks like his package is broken, and doesn't ship wine.inf.
I did 'apt-get --purge remove wine wine-dev' and than I examine the '/usr/share' and the '/usr/lib32' for wine - nothing. Than I dowload again the DEB-files an installed them again - some error.
http://bugs.winehq.org/show_bug.cgi?id=18813
--- Comment #13 from Joerg Schiermeier newsletter@Schiermeier-Software.de 2009-06-08 11:51:22 --- Sorry - bad English - again:
(In reply to comment #3)
I use the Ubuntu-Package from Scott Ritchie (see winehq.org).
Looks like his package is broken, and doesn't ship wine.inf.
I did 'apt-get --purge remove wine wine-dev' and than I examine the '/usr/share' and the '/usr/lib32' for wine - nothing. After this I download again the DEB-files and installed them again - same error.
But the registry-files are there - also the other directories.
-----<cite>----- joerg@Schiermeier:~$ cd ~/.wine joerg@Schiermeier:~/.wine$ ls -l insgesamt 132 drwxr-xr-x 2 joerg joerg 96 8. Jun 18:48 dosdevices drwxr-xr-x 3 joerg joerg 72 8. Jun 18:48 drive_c -rw-r--r-- 1 joerg joerg 89297 8. Jun 18:48 system.reg -rw-r--r-- 1 joerg joerg 44628 8. Jun 18:48 user.reg joerg@Schiermeier:~/.wine$ -----</cite>-----
Conclusion: ===========
If I'm the only one - I can live with this error. My wine is working ...
http://bugs.winehq.org/show_bug.cgi?id=18813
--- Comment #14 from Alexandre Julliard julliard@winehq.org 2009-06-08 13:37:43 --- The registry files will always be created, but if wine.inf was not found they will mostly be empty, and many things will fail to work.
http://bugs.winehq.org/show_bug.cgi?id=18813
--- Comment #15 from Scott Ritchie scott@open-vote.org 2009-06-08 17:10:49 --- The issue is that you're using Jaunty packages on a multiarch debian system. There's a reason I don't support this - debian unstable is a moving target.
Since you're on Debian unstable, I'm pretty sure that things have only recently become multiarch there - hence the reason this Wine broke and not previous ones. I'm 99% sure if you installed the Wine 1.1.22 package at this point you'd run into the same issues.
Ubuntu won't have proper multiarch support until Karmic, though I can't guarantee the Karmic Wine packages will work on Debian either. They're just not designed for Debian.
http://bugs.winehq.org/show_bug.cgi?id=18813
--- Comment #16 from Joerg Schiermeier newsletter@Schiermeier-Software.de 2009-06-08 20:59:36 --- Created an attachment (id=21665) --> (http://bugs.winehq.org/attachment.cgi?id=21665) Installation of wine v1.1.22
Sorry Scott - but this works....
http://bugs.winehq.org/show_bug.cgi?id=18813
--- Comment #17 from Joerg Schiermeier newsletter@Schiermeier-Software.de 2009-06-08 21:13:24 --- OK. I propose to stop the search at this point. To be sure that it isn't a regression I will do a regression test next weekend. Here in Germany Thursday is a bank holiday - so I will have time to test.
If I will find something I will report it than.
Thanks for your help.
http://bugs.winehq.org/show_bug.cgi?id=18813
--- Comment #18 from Alexandre Julliard julliard@winehq.org 2009-06-09 03:52:28 --- (In reply to comment #17)
OK. I propose to stop the search at this point. To be sure that it isn't a regression I will do a regression test next weekend.
It's not a regression, the behavior has always be the same. I just added the error message recently to make it easier to diagnose, so you won't get the error on older versions, but your prefix will still be broken.
http://bugs.winehq.org/show_bug.cgi?id=18813
--- Comment #19 from Joerg Schiermeier newsletter@Schiermeier-Software.de 2009-06-10 10:58:04 --- Result of my regression-test ende at 2009-06-10, 15:57 UTC: =========================================================== 8408e3a9551475a06e25b470ca5201935bf03478 is first bad commit commit 8408e3a9551475a06e25b470ca5201935bf03478 Author: Alexandre Julliard julliard@winehq.org Date: Sat May 23 11:06:29 2009 +0200
msvcrt: Add explicit 32- and 64-bit versions of the time functions.
:040000 040000 a223e89cc5c0b09845931a32b6e88c2d39fce933 76fa4ff2c16938b38d9a75f598883a8adefb4c85 M dlls :040000 040000 83b62fa5764008164d5584f4100e6e6d163dbbdf c2d3d7eb7966fc0e0a6c2897f3eb3e0bd0964526 M include
(In reply to comment #18)
It's not a regression, the behavior has always be the same. I just added the error message recently to make it easier to diagnose, so you won't get the error on older versions, but your prefix will still be broken.
If this is helpfull - is OK, if not - I will stop here.
My actual version of wine (v1.1.23) is working - it show always this error when I start an application but it works like before.
http://bugs.winehq.org/show_bug.cgi?id=18813
--- Comment #20 from Dmitry Timoshkov dmitry@codeweavers.com 2009-06-11 00:27:25 --- (In reply to comment #19)
Result of my regression-test ende at 2009-06-10, 15:57 UTC:
8408e3a9551475a06e25b470ca5201935bf03478 is first bad commit commit 8408e3a9551475a06e25b470ca5201935bf03478 Author: Alexandre Julliard julliard@winehq.org Date: Sat May 23 11:06:29 2009 +0200 msvcrt: Add explicit 32- and 64-bit versions of the time functions.
This doesn't look plausible, that patch has nothing to do with wine.inf handling.
My actual version of wine (v1.1.23) is working - it show always this error when I start an application but it works like before.
As Alexandre said even if it works for this application, the Wine environment/ registry is broken without wine.inf, and more complex applications won't work.
http://bugs.winehq.org/show_bug.cgi?id=18813
Roderick Colenbrander thunderbird2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thunderbird2k@gmail.com
--- Comment #21 from Roderick Colenbrander thunderbird2k@gmail.com 2009-06-11 13:11:04 --- Use e.g. this diff against the ubuntu script for compiling on 64-bit debian.
http://bugs.winehq.org/show_bug.cgi?id=18813
--- Comment #22 from Austin English austinenglish@gmail.com 2009-06-11 15:17:34 --- (In reply to comment #21)
Use e.g. this diff against the ubuntu script for compiling on 64-bit debian.
You forgot the diff.
http://bugs.winehq.org/show_bug.cgi?id=18813
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #23 from Dmitry Timoshkov dmitry@codeweavers.com 2009-08-24 00:40:20 --- This is a package problem. not a Wine bug.
http://bugs.winehq.org/show_bug.cgi?id=18813
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #24 from Dmitry Timoshkov dmitry@codeweavers.com 2009-08-24 00:40:58 --- Closing.