Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90914 - WINE-20050419 and WINE-20050310-r1: Cannot install Win apps / regedit crashes
Summary: WINE-20050419 and WINE-20050310-r1: Cannot install Win apps / regedit crashes
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-29 16:06 UTC by Joerg Schaible
Modified: 2005-07-16 03:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg Schaible 2005-04-29 16:06:33 UTC
Using winetools with WINE-20050419 and WINE-20050310-r1 it is not possible to install IE6. Installation works fine with WINE-20050310 though (resurrected the ebuild from the CVS).

With newer ebuilds any Windows software creates following error on the console:
========= %< ============
regedit: Can't export. Registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall' does not exist!
========= %< ============

Also running regedit to add the above key manually results in a crash of regedit stopping in windbg with following exception:

========= %< ============
bash-2.05b$ wine regedit
err:module:import_dll Library ole32.dll (which is needed by L"c:\\windows\\system\\shlwapi.dll") not found
wine: Unhandled exception (thread 0009), starting debugger...
WineDbg starting on pid 0x8
Unhandled exception: unimplemented function shlwapi.dll.SHCopyKeyA called in 32-bit code (0x77a6a0fa).
In 32 bit mode.
========= %< ============
bash-2.05b$ find .wine -name "ole32*"
.wine/drive_c/windows/system/ole32.dll
========= %< ============

BTW: Adding a new key in regedit works, but not renaming it to the right name!
Don't know, what is different for wine20050310-r1 and newer version.


Reproducible: Always
Steps to Reproduce:
1. emerge wine
2. wine regedit
3. Add key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall'

Actual Results:  
Crash of regedit 

Expected Results:  
New key 
'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall' in 
registry.  

bash-2.05b$ emerge info 
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, 
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 i686) 
================================================================= 
System uname: 2.6.11-gentoo-r6 i686 AMD Athlon(tm) XP 2700+ 
Gentoo Base System version 1.4.16 
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.5 [2.3.5 
(#1, Apr 27 2005, 20:57:32)] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.2.3-r5, 2.3.5 
sys-apps/sandbox:    [Not Present] 
sys-devel/autoconf:  2.59-r6, 2.13 
sys-devel/automake:  1.8.5-r3, 1.7.9-r1, 1.9.4, 1.4_p6, 1.5, 1.6.3 
sys-devel/binutils:  2.15.92.0.2-r7 
sys-devel/libtool:   1.5.16 
virtual/os-headers:  2.6.8.1-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe 
-fomit-frame-pointer -foptimize-sibling-calls -fprefetch-loop-arrays 
-falign-functions=32 -fforce-mem -floop-optimize" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control /var/www/localhost/htdocs/phpmyadmin" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe 
-fomit-frame-pointer -foptimize-sibling-calls -fprefetch-loop-arrays 
-falign-functions=32 -fforce-mem -floop-optimize -fno-default-inline" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict 
userpriv" 
GENTOO_MIRRORS="http://gentoo.inode.at/ 
http://sunsite.cnlab-switch.ch/mirror/gentoo/ 
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ 
http://ftp.uni-erlangen.de/pub/mirrors/gentoo 
http://ftp.heanet.ie/pub/gentoo/" 
LANG="de_DE" 
LINGUAS="de en_GB" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/volatile" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="3dnow 3dnowex X Xaw3d a52 aac aalib acl alsa apache2 apm arts 
artswrappersuid asm audiofile avi bash-completion bdf berkdb bitmap-fonts 
blender-game bmp bonobo bzip2 bzlib calendar caps cdda cddb cdio cdparanoia 
cdr cdrom cgi codecs cross crypt cscope css ctype cups curl curlwrappers cyrus 
dbase dbm dga dict dio directfb divx4linux dnd doc dts dv dvd dvdr dvdread edl 
emboss emoticon encode esd ethereal exif expat faad fam fame fastcgi fb fbcon 
fbdev ffmpeg fftw flac flash fltk foomaticdb foreign-package fortran fpx gcj 
gd gdbm ggi gif gimp glut gnuplot gphoto2 gpm graphviz gstreamer gtk gtk2 
guile httpd iconv idled ieee1394 image imagemagick imap imlib innodb intl 
iodbc j2ee jai java javacomm javadoc javamail javascript jbig jce jp2 jpeg 
jpeg2k junit jython kde lcms libcaca libdsk libg++ libwww live lua lzo lzw 
lzw-tiff mad maildir mailwrapper maps mcal md5sum mdb mhash mikmod mime ming 
mixer mjpeg mmap mmx mng monkey mono motif mozcalendar mozdevelop mozilla 
moznoirc mozsvg mozxmlterm mp3 mpeg mpeg2 mpeg4 mpi mplayer mysql nas ncurses 
netcdf network nls nntp nptl nvidia oav odbc ofx ogg oggvorbis openal 
openglopenssh operanom2 oss pam parse-clocks pcap pcre pdf pdflib perl php pic 
plotutils png posix povray ppds python qt quicktime quotes readline real 
recode rhino rtc ruby samba scanner sdk sdl server servlet slang slp smartcard 
sndfile soap sockets softmmu sounds soundtouch sox speex spell spl sse ssl 
stream svg svga tcltk tcpd tetex tidy tiff tokenizer transcode truetype 
truetype-fonts type1-fonts unicode usb userlocales utf8 v4l v4l2 videos vidix 
vim-with-x vnc vorbis wmf wxwindowsx86 xanim xbase xfs xine xml xml2 xmms xosd 
xpm xscreensaver xv xvid xvmc yv12 zlib video_cards_nvidia linguas_de 
linguas_en_GB" 
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 1 SpanKY gentoo-dev 2005-04-29 17:04:07 UTC
the only difference between 20050310 and 20050310-r1 is the wine-20050310-upstream-colortable.patch

so try editing the 20050310-r1 and removing that patch and see if that helps
Comment 2 Joerg Schaible 2005-04-29 17:16:24 UTC
There have been more changes:

====== %< =========
bash-2.05b$ diff -u /usr/local/portage/app-emulation/wine/wine-20050310.ebuild /usr/portage/app-emulation/wine/wine-20050310-r1.ebuild
--- /usr/local/portage/app-emulation/wine/wine-20050310.ebuild  2005-04-18 20:07:26.048961594 +0200
+++ /usr/portage/app-emulation/wine/wine-20050310-r1.ebuild     2005-04-19 19:05:20.000000000 +0200
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/www/www.gentoo.org/raw_cvs/gentoo-x86/app-emulation/wine/Attic/wine-20050310.ebuild,v 1.7 2005/04/07 22:59:51 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-20050310-r1.ebuild,v1.2 2005/04/19 16:40:13 herbs Exp $

 inherit eutils flag-o-matic

@@ -58,8 +58,8 @@

        epatch "${FILESDIR}"/winearts-kdecvs-fix.patch
        sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in
-
-       test_flag -fstack-protector && epatch "${FILESDIR}"/20041019-no-stack.patch #66002
+       epatch "${FILESDIR}"/wine-20050310-upstream-colortable.patch #88715
+       epatch "${FILESDIR}"/20041019-no-stack.patch #66002
 }

 config_cache() {
@@ -95,6 +95,7 @@
        #       $(use_enable amd64 win64)
        # USE=debug is broken in this release
        econf \
+               CC=$(tc-getCC) \
                --sysconfdir=/etc/wine \
                $(use_with ncurses curses) \
                $(use_with opengl) \
====== %< =========

I'll investigate further tomorrow and give feedback.
Comment 3 SpanKY gentoo-dev 2005-05-28 20:57:56 UTC
any luck ?
Comment 4 Joerg Schaible 2005-07-16 03:58:31 UTC
Sorry, was pulled away by other tasks and for the app I had to run (tax helper) 
I used meanwhile a real Windows installation. When I try it the next time, I'll 
be a newer WINE version anyway, so keeping this bug open is pointless. Thanks 
anyway. 
Comment 5 Joerg Schaible 2005-07-16 03:59:56 UTC
Ups ... "s/I'll be/it'll be/". Personally I hope not to become a WINE 
version ;-)