Help testing regression

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
User avatar
mildred
Level 1
Level 1
Posts: 5
Joined: Mon Jul 27, 2009 4:13 pm

Help testing regression

Post by mildred »

Hi,

I need help to find the commit when a regression happened: http://bugs.winehq.org/show_bug.cgi?id=18436

I know git, and I can run git bisect just fine. Wine compiles (even if I have to patch version 1.0 since freetype changed). But when I try to install my application or run it using the built wine, I got a problem.

the WINEPREFIX is an empty directory at the start, and when I run setup.exe, I just get:

Code: Select all

ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
Could not load 'WIN87EM.DLL' required by 'IS20INST', error=2
I remember at that time, the installation worked just well. If I install the program with the current wine version, it goes fine, and if I try to start it, I get a very similar and frustrating error (the last one):

Code: Select all

err:menubuilder:WinMain unknown option -a
err:menubuilder:WinMain unknown option -r
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
Could not load Mozilla. HTML rendering will be disabled.
wine: configuration in '/home/mildred/.local/opt/wine/root' has been updated.
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
[b]Could not load 'KEYBOARD.DLL' required by 'SUPERLEX', error=2[/b]
Long ago, I heard that sometimes application refused to run because they couldn't find the dll file. I did touch $WINEPREFIX/drive_c/windows/keyboard.dll with no result

I suppose the problem may be caused because wine is not installed, and so can't find KEYBOARD.DLL or keyboard.drv.so (or some similar fine, I don't know).

Does anybody have an idea on how I could continue to work on this problem?

Thanks.

Mildred
James McKenzie

Help testing regression

Post by James McKenzie »

mildred wrote:
Hi,

I need help to find the commit when a regression happened: http://bugs.winehq.org/show_bug.cgi?id=18436

I know git, and I can run git bisect just fine. Wine compiles (even if I have to patch version 1.0 since freetype changed). But when I try to install my application or run it using the built wine, I got a problem.

the WINEPREFIX is an empty directory at the start, and when I run setup.exe, I just get:


Code:
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
Could not load 'WIN87EM.DLL' required by 'IS20INST', error=2



I remember at that time, the installation worked just well. If I install the program with the current wine version, it goes fine, and if I try to start it, I get a very similar and frustrating error (the last one):


Code:
err:menubuilder:WinMain unknown option -a
err:menubuilder:WinMain unknown option -r
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
Could not load Mozilla. HTML rendering will be disabled.
wine: configuration in '/home/mildred/.local/opt/wine/root' has been updated.
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
Could not load 'KEYBOARD.DLL' required by 'SUPERLEX', error=2



Long ago, I heard that sometimes application refused to run because they couldn't find the dll file. I did touch $WINEPREFIX/drive_c/windows/keyboard.dll with no result

I suppose the problem may be caused because wine is not installed, and so can't find KEYBOARD.DLL or keyboard.drv.so (or some similar fine, I don't know).

Does anybody have an idea on how I could continue to work on this problem?


You do not have access to /dev/snd/seq.

Code: Select all


su -
[enter root's password]
cd /dev/snd
ls -l seq

and report back what you get.

DO NOT RUN WINE AS ROOT TO GET AROUND THIS PROBLEM.

James McKenzie
walt

Help testing regression

Post by walt »

On 07/27/2009 02:26 PM, mildred wrote:
Hi,

I need help to find the commit when a regression happened:
http://bugs.winehq.org/show_bug.cgi?id=18436

I know git, and I can run git bisect just fine.
Good, that's exactly where I start, too. But didn't git bisect give you
an answer?
Wine compiles (even if I have to patch version 1.0 since freetype changed).
But when I try to install my application or run it using the built wine,
I got a problem.

the WINEPREFIX is an empty directory at the start, and when I run setup.exe,
Just to clarify: did you make an empty directory and then set your WINEPREFIX
to point to it? Was the directory /home/mildred/.local/opt/wine/root ? I'm
asking because I have no such directory in my ~/.local/.

By the way, did you run winecfg using the same WINEPREFIX before running setup.exe?
...
I suppose the problem may be caused because wine is not installed, and so
can't find KEYBOARD.DLL or keyboard.drv.so...
I'm sorry Mildred, I'm confused by 'wine is not installed'. Is that a typo?
Did you mean to say something else?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Help testing regression

Post by vitamin »

mildred wrote:Could not load 'KEYBOARD.DLL' required by 'SUPERLEX', error=2
Something isn't right with your build. Please make sure you have all required development packages installed: http://wiki.winehq.org/Recommended_Packages
User avatar
mildred
Level 1
Level 1
Posts: 5
Joined: Mon Jul 27, 2009 4:13 pm

Post by mildred »

James,

I don't really care about the ALSA problem, and I don't even think it's a problem, last time I checked (that was long ago, agreed) sound worked. Anyway:

Code: Select all

cannot open `/dev/snd/seq' (No such file or directory)
(the file doesn't exist)


[quote=walt]Just to clarify: did you make an empty directory and then set your WINEPREFIX
to point to it? Was the directory /home/mildred/.local/opt/wine/root ? I'm
asking because I have no such directory in my ~/.local/.[/quote]

I use WINEPREFIX for just about anything. Every application has its own WINEPREFIX and there is nothing interesting for me in ~/.wine.

So yes, I created an empty directory ~/.local/opt/wine/root and set WINEPREFIX to point to it. In fact, my ~/.local directory is where I put anything, I have a ~/.local/bin that is added to my $PATH and a ~/.local/lib added to my $LD_LIBRARY_PATH, .... I also have ~/.local/opt that works like /opt (more or less i suppose)

[quote=walt]By the way, did you run winecfg using the same WINEPREFIX before running setup.exe?[/quote]

No, I did not. But doing it doesn't changes anything.

What I did was (with anything cleared in $WINEPREFIX):

Code: Select all

mildred@kylae:wine/wine-git$ ./wine winecfg (to use winecfg of the version of wine I built)
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
Could not load Mozilla. HTML rendering will be disabled.
wine: configuration in '/home/mildred/.local/opt/wine/root' has been updated.
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
mildred@kylae:wine/wine-git$ ./wine ../...../SETUP.EXE
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
Could not load 'WIN87EM.DLL' required by 'IS20INST', error=2
[quote=walt]I'm sorry Mildred, I'm confused by 'wine is not installed'. Is that a typo?
Did you mean to say something else?[/quote]

No, I was saying that I did a ./configure && make depend && make but I didn't do a make install. Perhaps the wine I just built (./wine) can't find its file because they are not in the standard locations (say /usr) but are still in the build directory.

But I can't really install wine over my existing installation (rpm from fedora). Can I ?
User avatar
mildred
Level 1
Level 1
Posts: 5
Joined: Mon Jul 27, 2009 4:13 pm

Re: Help testing regression

Post by mildred »

vitamin wrote:
mildred wrote:Could not load 'KEYBOARD.DLL' required by 'SUPERLEX', error=2
Something isn't right with your build. Please make sure you have all required development packages installed: http://wiki.winehq.org/Recommended_Packages
I didn't use the apt-get install command line that was on the wiki page for regression testing because I use Fedora, and I thought that if ./configure had finished, that was ok.

But ./configure --verbose I got:

Code: Select all

configure: libhal development files not found, no dynamic device support.
configure: lib(n)curses development files not found, curses won't be supported.
configure: libsane development files not found, scanners won't be supported.
configure: libgphoto2 development files not found, digital cameras won't be supported.
configure: libldap (OpenLDAP) development files not found, LDAP won't be supported.
configure: libcapi20 development files not found, ISDN won't be supported.
configure: libcups development files not found, CUPS won't be supported.

configure: WARNING: libxslt development files not found, xslt won't be supported.

configure: WARNING: OpenSSL development files not found, SSL won't be supported.
So I installed devel packages until all of these messages disappeared.

But that doesn't seem to solve anything :-/


I tried to use the --prefix option to install wine somewhere and make install, I got a strange error:

Code: Select all

/usr/bin/install -c  -m 644  `basename __install__/avifile.dll16` /home/mildred/.local/opt/wine/lib/wine/`basename __install__/avifile.dll16`
/usr/bin/install: omitting directory `avifile.dll16'
Then i remembered that some time ago, trying to run bisect, I had a problem because files ere replaced by directories (or the contrary). Producing a compilation error (can't create file)

I removed the directory avifile.dll16, checked out again the current version and compiled, and I got an error for the next directory. I suppose I'll just remove the entire dlls directory to clean it and rebuild it entirely. This should work I hope.
User avatar
mildred
Level 1
Level 1
Posts: 5
Joined: Mon Jul 27, 2009 4:13 pm

Post by mildred »

that was it

probably, keyboard.dll was a directory, and so it couldn't be found. What I wonder is why there was no error at build time ...
User avatar
mildred
Level 1
Level 1
Posts: 5
Joined: Mon Jul 27, 2009 4:13 pm

Post by mildred »

It seems I got it :)

Code: Select all

a0053ab9aa526ab2141e4655f97f796e386bbdf0 is first bad commit
commit a0053ab9aa526ab2141e4655f97f796e386bbdf0
Author: Eric Pouech <[email protected]>
Date:   Tue May 5 21:25:32 2009 +0200

    user32: Make ddeml.dll into a stand-alone 16bit module.

:100644 100644 96eb69d4b629799eb971f996f4f632afd3ff382b 3ce8388768fa8252123ce72a2d86f63a237a3c2b M	.gitignore
:100755 100755 ce18e5c541e13c32f82c49141de1aab4f7409d28 e6459d65d6809a69bc294802b8e2630aaba1d729 M	configure
:100644 100644 5f8b86f31c2252df7161c6ea3b4c910f8a0db8d8 7ab7077cc7b57d258328e50ad9d68df64596b9e8 M	configure.ac
:040000 040000 8d0bfc687df339668e1c2991f9f30995e289822c 81be5fb0774da87212f0c2ce7585fe1c2e6e33a1 M	dlls
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Help testing regression

Post by austin987 »

On Tue, Jul 28, 2009 at 5:17 PM, mildred<[email protected]> wrote:
It seems I got it :)


Code:
a0053ab9aa526ab2141e4655f97f796e386bbdf0 is first bad commit
commit a0053ab9aa526ab2141e4655f97f796e386bbdf0
Author: Eric Pouech <[email protected]>
Date:   Tue May 5 21:25:32 2009 +0200

   user32: Make ddeml.dll into a stand-alone 16bit module.

:100644 100644 96eb69d4b629799eb971f996f4f632afd3ff382b 3ce8388768fa8252123ce72a2d86f63a237a3c2b M      .gitignore
:100755 100755 ce18e5c541e13c32f82c49141de1aab4f7409d28 e6459d65d6809a69bc294802b8e2630aaba1d729 M      configure
:100644 100644 5f8b86f31c2252df7161c6ea3b4c910f8a0db8d8 7ab7077cc7b57d258328e50ad9d68df64596b9e8 M      configure.ac
:040000 040000 8d0bfc687df339668e1c2991f9f30995e289822c 81be5fb0774da87212f0c2ce7585fe1c2e6e33a1 M      dlls
Does reverting it help? Is this a 16-bit program?

--
-Austin
Locked