https://bugs.winehq.org/show_bug.cgi?id=50460
Bug ID: 50460 Summary: Regression on installing mdac28 on 6.0-rc5 was ok in 5.0.4 Product: Wine Version: 6.0-rc5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: pierre@couderc.eu Distribution: ---
Created attachment 69085 --> https://bugs.winehq.org/attachment.cgi?id=69085 log of the trial
Using : sudo rm -rI .wine/ WINEARCH=win32 winecfg winetricks mdac28 wine .wine/drive_c/windows/system32/odbcad32.exe
fails on last version (from winehq-devel from deb https://dl.winehq.org/wine-builds/debian/ bullseye main debian) and is ok with default bullseye release (5.0.4).
odbcad32.exe box is not displayed.
Full (small...) listing in attachment
I am not able to know if the problem is wine or winetricks. But I am surprised that msado15 is installed as ado is not needed for mdac adn odbs...
https://bugs.winehq.org/show_bug.cgi?id=50460
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Regression on installing |Some MDAC/ODBC applications |mdac28 on 6.0-rc5 was ok in |installed by 'winetricks |5.0.4 |mdac28' don't work | |('odbccp32.dll' needs | |'native,builtin' override | |setting in 'winetricks' | |MDAC verbs) URL| |https://web.archive.org/web | |/20200811072134/https://dow | |nload.microsoft.com/downloa | |d/4/a/a/4aafff19-9d21-4d35- | |ae81-02c48dcbbbff/MDAC_TYP. | |EXE Ever confirmed|0 |1 Version|6.0-rc5 |5.0 Status|UNCONFIRMED |NEW CC| |focht@gmx.net Keywords| |download, Installer
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello Pierre,
confirming, although the issue has been known for some time.
https://source.winehq.org/git/wine.git/commitdiff/45ea03c8a70240e2081ddc87b2... ("odbccp32: Build with msvcrt.")
Part of Wine 4.11 release.
There is no Wine 5.0.4. I assume you meant Wine 5.0-4 where '4' stands for some distro specific version appendix.
The relevant issue in 'winetricks' project is here:
https://github.com/Winetricks/winetricks/issues/1637
I commented some time ago but apparently there is no priority in fixing this (read: to few people complained). Maybe this changes now.
You can work around by setting 'odbccp32' to 'native,builtin' via 'winecfg'.
Regards
https://bugs.winehq.org/show_bug.cgi?id=50460
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |45ea03c8a70240e2081ddc87b28 | |65861bb853c2f Keywords| |regression Version|5.0 |4.0.4
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello again,
checking the distro link:
https://dl.winehq.org/wine-builds/debian/dists/bullseye/main/binary-i386/
https://dl.winehq.org/wine-builds/debian/dists/bullseye/main/binary-i386/win...
It was probably Wine 4.0.4 that worked for you. The "regression" was introduced with Wine 4.11, hence anything earlier works.
The ticket will be resolved as 'NOTOUTBUG' when 'winetricks' project fixes it.
Regards
https://bugs.winehq.org/show_bug.cgi?id=50460
--- Comment #3 from Pierre Couderc pierre@couderc.eu --- Thank you very much. For the
https://bugs.winehq.org/show_bug.cgi?id=50460
--- Comment #4 from Pierre Couderc pierre@couderc.eu --- Thank you very much. For this so quick answer. And for the tip in case my debian updates to a newer version... ;)
https://bugs.winehq.org/show_bug.cgi?id=50460
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|4.0.4 |4.11
https://bugs.winehq.org/show_bug.cgi?id=50460
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- (In reply to Anastasius Focht from comment #1)
Hello Pierre,
confirming, although the issue has been known for some time.
https://source.winehq.org/git/wine.git/commitdiff/ 45ea03c8a70240e2081ddc87b2865861bb853c2f ("odbccp32: Build with msvcrt.")
Why would this make a difference? Builtin has never worked AFAICT.
https://bugs.winehq.org/show_bug.cgi?id=50460
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Some MDAC/ODBC applications |MDAC/ODBC applications |installed by 'winetricks |installed by 'winetricks |mdac28' don't work |mdac28' don't work since |('odbccp32.dll' needs |Wine 5.0 ('winetricks' MDAC |'native,builtin' override |verbs no longer set |setting in 'winetricks' |'odbccp32.dll' override to |MDAC verbs) |'native,builtin') Regression SHA1|45ea03c8a70240e2081ddc87b28 | |65861bb853c2f | Keywords|regression | Version|4.11 |5.0
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello Alexandre,
--- quote --- Why would this make a difference? Builtin has never worked AFAICT. --- quote ---
the regression commit was indeed incorrect. I got things mixed up with default DllMain (and later call through _DllMainCRTStartup) implementations. Builtin 'odbccp32' doesn't provide an own 'DllMain' implementation hence DLL_WINE_PREATTACH case is not handled.
The only regression would have been if Pierre claimed it worked with Wine < 0.9 - before the builtin 'odbccp32' was introduced (https://source.winehq.org/git/wine.git/commitdiff/b5c63ed4918eac5dbb2a412c89...). I doubt that Pierre runs a Wine from early 2000s.
I found the relevant 'winetricks' issue, explaining the behaviour with different Wine 4.x and 5.x versions: https://github.com/Winetricks/winetricks/issues/1448
Alistair wrote:
--- quote --- I've been working on this a quite some time and there isnt a bug associated with it. This is the commit makes it no longer required. https://source.winehq.org/git/wine.git/?a=commit;h=8f0057699e141a90f7ed4bb00... --- quote ---
Starting with Wine 5.0, 'winetricks' no longer sets a native override:
https://github.com/Winetricks/winetricks/commit/bf2ae6222d26b9048855cff87e8f...
While adding 'DllMain' with DLL_WINE_PREATTACH handler is a solution it's not deemed justified anymore according to Alistair's comment.
The question now is what this bug should be about. Implementing the missing functionality to make the GUI tools from native MDAC work certainly requires some effort.
My proposal would be to close this one as 'WONTFIX' - mainly for documentation - and create new tickets about the missing functionality to make the UI tools to play nice with builtin.
Regards
https://bugs.winehq.org/show_bug.cgi?id=50460
--- Comment #7 from Pierre Couderc pierre@couderc.eu --- No, these days my wine is no so old...
The story is that I use as most as possible the standard debian packages (for bullseye in the current case) for the easiness of maintenance (apt upgrade...) which installs wine-5.0 (Debian 5.0-4).
But as I got a problem ( https://forum.winehq.org/viewtopic.php?f=8&t=34726 ), it was suggested to me to install winehq-devel.
Not only winehq-devel does not solve my problem (for which I have no solution and I am obliged to turn back to qemu...) but it makes me fail mdac...
So I have turned back to wine-5.0 of debian, but I feeled necessary to help by reporting the problem.
Abot the solutions you propose, I am not able to comment as I ma not competent...
https://bugs.winehq.org/show_bug.cgi?id=50460
--- Comment #8 from Austin English austinenglish@gmail.com --- This was reverted in winetricks in https://github.com/Winetricks/winetricks/commit/094a4d8552587fca12a101b6a110...