[Bug 462586] New: wine doesn't build on x86_64
https://bugzilla.novell.com/show_bug.cgi?id=462586 Summary: wine doesn't build on x86_64 Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: contact@philipashmore.com QAContact: qa@suse.de Found By: --- I eventually downloaded wine-1.1.9-1.18.src.rpm - see https://bugzilla.novell.com/show_bug.cgi?id=462576 for the details. As a regular user I installed it with rpm -i. $ cd ~/rpmbuild/wine-1.1.9 $ rpmbuild -ba --target i686-unknown-linux-gnu wine.spec This revealed a list of missing build dependencies that I dutifully installed. The build failed with configure: error: X development files not found. Wine will be built without X support, which probably isn't what you want. You will need to install development packages of Xlib/Xfree86 at the very least. Use the --without-x option if you really want this. error: Bad exit status from ~/rpmbuild/tmp/rpm-tmp.969 (%build) RPM build errors: Bad exit status from ~/rpmbuild/tmp/rpm-tmp.969 (%build) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462586 User meissner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462586#c1 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |meissner@novell.com Status|NEW |ASSIGNED --- Comment #1 from Marcus Meissner <meissner@novell.com> 2008-12-26 12:56:28 MST --- you need quite a bit of -32bit-devel and -32bit packages. Better is if you build in a 32bit chroot altogether, using "osc build" or lbuild or build. And why do you need to rebuild? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462586 User contact@philipashmore.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462586#c2 --- Comment #2 from Philip Ashmore <contact@philipashmore.com> 2008-12-27 09:21:20 MST ---
you need quite a bit of -32bit-devel and -32bit packages I think that's what the buildrequires section of the rpm spec file is for. Basically rpmbuild should report missing dependencies rather than obscure configure errors - it didn't tell me to "install xyz" to set up the build environment.
And why do you need to rebuild? What I really want is a portable com/ole2/atl development environment. I looks like Wine has to do some of this stuff already, but my requirement looks like a re-task of what's there.
With a common com/ole2 toolchain allowing wine/windows com components running on Wine/Linux to talk to native Linux com components on the same machine or on different machines - great for development / testing. To complete the picture, this would require porting to cygwin so that development / testing could take place on Windows as well. But initially to see if it's possible to compile/run the "Inside Ole2" MSPress book examples. That would be a great start. 64 bit Wine would also help. I'm a software developer and would be willing to assist in this effort. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462586 User meissner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462586#c3 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |INVALID --- Comment #3 from Marcus Meissner <meissner@novell.com> 2009-01-05 08:50:40 MST --- Wine is a special package here, where we cannot fix the buildrequires correctly for such case. (even on 64bit it tries to build itself in 32bit mode). But as help: http://wiki.winehq.org/WineOn64bit has the packages that need to be installed on a 64bit system for it to build. See the "Building WINE on 64bit SUSE" section. 64bit Wine is currently in development and not working well enough for such purposes. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462586 User contact@philipashmore.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462586#c4 --- Comment #4 from Philip Ashmore <contact@philipashmore.com> 2009-01-10 07:10:51 MST --- I followed the http://wiki.winehq.org/WineOn64bit instructions and at least now it's compiling, but I'm still getting build errors - see attachment to follow. Notes: 1. Should I take it that obs doesn't use this approach? 2. Wouldn't it be possible within the wine.spec to detect the host architecture as well as the build architecture and express the build dependencies as appropriate for the host platform? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462586 User contact@philipashmore.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462586#c5 --- Comment #5 from Philip Ashmore <contact@philipashmore.com> 2009-01-10 07:12:58 MST --- Created an attachment (id=264305) --> (https://bugzilla.novell.com/attachment.cgi?id=264305) Compressed output of rpmbuild --target i686-unknown-linux-gnu -ba wine.spec 2>&1 | tee make.txt -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462586 User contact@philipashmore.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462586#c6 --- Comment #6 from Philip Ashmore <contact@philipashmore.com> 2009-01-10 07:25:58 MST --- I just downloaded wine-1.1.12-2.1.src.rpm from http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_11.1/repo... Build (failure) output attachment to follow. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462586 User contact@philipashmore.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462586#c7 --- Comment #7 from Philip Ashmore <contact@philipashmore.com> 2009-01-10 07:27:39 MST --- Created an attachment (id=264306) --> (https://bugzilla.novell.com/attachment.cgi?id=264306) Compressed output of rpmbuild -ba wine.spec 2>&1 | tee make.txt Note that this build is for x86_64 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462586 User meissner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462586#c8 --- Comment #8 from Marcus Meissner <meissner@novell.com> 2009-01-13 07:00:11 MST --- the x86_64 64bit wine build needs GCC TRUNK currently. I will add it once we have gcc 4.4 released and in Factory. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=462586 User meissner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462586#c9 --- Comment #9 from Marcus Meissner <meissner@novell.com> 2009-01-13 09:58:03 MST --- for the i586 build is missing that the "update-desktop-files" RPM is installed I think, this causes the failing macro. (If you want to, you could even remove this line. It is not necessary for your purposes.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com