[Bug 46471] amd k10 keepass2 dotnet472 divide by zero in encryption

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jan 18 14:25:59 CST 2019


https://bugs.winehq.org/show_bug.cgi?id=46471

--- Comment #8 from noabody at yahoo.com ---
Implausible as it might be, I worked around the problem by building keepass2
via msbuild provided by the mono-project.  This would suggest the divide by
zero was being requested by a keepass2 internal request based on the platform
that it was build on.


https://www.mono-project.com/download/stable

https://sourceforge.net/projects/keepass/files/KeePass%202.x/2.41/KeePass-2.41-Source.zip/download

(cd Build && sh PrepMonoDev.sh)
msbuild KeePass.sln /p:"Platform=Mixed Platforms" /p:"Configuration=Release"
/t:Clean,Build
mkdir -p "$HOME/.wine/drive_c/Program Files/keepass2" && find -regextype
posix-extended -type f \( -iregex
'.*/Build.*/Release.*(.exe|.config|.dll|.xml).*' \) -exec cp "{}"
"$HOME/.wine/drive_c/Program Files/keepass2" \;

Extract the source then shell navigate to the folder and use the commands to
build the project and copy it to a default wine prefix.  Or just run via mono. 
Anyone wishing to build a debian package can look into debuild/dget and use
sid's latest version
http://deb.debian.org/debian/pool/main/k/keepass2/keepass2_2.40+dfsg-1.dsc

sudo apt build-dep keepass2

sudo apt install $(apt -s install $(debuild -b -uc -us -j4 2>/dev/null | grep
-Pio '(?<=dependencies: ).*' | perl -pe 's| \(.+?\)||g') | grep -Pio '(?<=^inst
).+?\s' | tr '\n' ' ')

The first build-dep will setup for current distro.  The second gathers the
missing package list, from a failed build attempt, and installs them if the're
in the package management system.  It's a quick and dirty way to build packages
hosted by Debian on Ubuntu.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list