You are not logged in.

#1 2013-07-29 10:27:56

whoops
Member
Registered: 2009-03-19
Posts: 815

[solved]wine, debug symbols & nvidia build dependency conflicts

Hi!

Not sure how this is supposed to work:
- So, wine in the repos is built with debugging symbols stripped, right?
- And there is no extra package like the "wine-dbg" like some ditros offer?
- I need wine with debug symbols though to submit (meaningful) bug reports to winehq I guess?
- To build wine, I need mesa libgl etc which conflicts with nvidia libgl

So, what's the right thing to do here if I need debug symbols?

Putting !strip into makepkg options
+
Doing a dirty remove (pacman -Rdd) + install to temporarily replace nvidia with mesa (which temporarily breaks just about everything - or at least it would if I'd accidentally reboot before undoing the changes)
+
Recompiling wine

... is what I'm doing at the moment. That doesn't really seem right though. Or is it?


thx!

Last edited by whoops (2013-07-30 16:49:29)

Offline

#2 2013-07-29 12:07:29

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 4,214

Re: [solved]wine, debug symbols & nvidia build dependency conflicts


Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#3 2013-07-30 15:50:25

whoops
Member
Registered: 2009-03-19
Posts: 815

Re: [solved]wine, debug symbols & nvidia build dependency conflicts

Thanks!

One one side that looks more complicated (+ like more work) then what I've been doing...
On the other side that looks a lot less "wrong"...

Not sure which one's better for me, need to try the chroot the next few times wine is updated I guess to figure that out.

Offline

#4 2013-07-30 15:57:10

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,900

Re: [solved]wine, debug symbols & nvidia build dependency conflicts

Once you do it, it's actually very, very easy. A single command (extra-<arch>-build) sets up the chroot or cleans and updates it if it already exists, installs deps and makedeps, and builds the package.

Offline

#5 2013-07-30 16:02:11

Gusar
Member
Registered: 2009-08-25
Posts: 3,431

Re: [solved]wine, debug symbols & nvidia build dependency conflicts

The mesa-libgl package doesn't contain any headers or other dev stuff, so I don't know why wine has it in makedepends. Just remove mesa-libgl from the wine PKGBUILD, see if it builds. In theory, it should.

Offline

#6 2013-07-30 16:15:50

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,900

Re: [solved]wine, debug symbols & nvidia build dependency conflicts

If it needs to link to libGL.so.*, the file kind of needs to be there.

Offline

#7 2013-07-30 16:32:37

Gusar
Member
Registered: 2009-08-25
Posts: 3,431

Re: [solved]wine, debug symbols & nvidia build dependency conflicts

Nvidia provides a libGL.so. Other packages makedepend on libgl, which can be provided by either mesa-libgl or nvidia-libgl.

Offline

#8 2013-07-30 16:49:08

whoops
Member
Registered: 2009-03-19
Posts: 815

Re: [solved]wine, debug symbols & nvidia build dependency conflicts

Oh... hmm... right, I never really understood why it needs mesa-libgl instead of nvidia-libgl (which provides libgl / libgl.so.*)... no idea why I never got around to just *try* - definitely should have...

Anyway: test build just finished. wine seems to build fine with nvidia-libgl and the windows application I ran after that had no problems. Great, that solves this problem!

Does that sound like submission as a bug is justified?
I'm not sure what's the bug though - if there is one.

Should libgl (+lib32) not be a build dependency of wine?
Or should makepkg recognize that nvidia-libgl provides libgl and accept that instead?

Last edited by whoops (2013-07-30 16:50:25)

Offline

#9 2013-07-30 16:52:49

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,900

Re: [solved]wine, debug symbols & nvidia build dependency conflicts

What other packages? AFAIK, no packages in the main repos are set up like that, and they shouldn't be since a virtual dep as a makedep doesn't make much sense. PKGBUILDs in the main repos are specifically set up to be built in a chroot with devtools, since that's how every binary package in the official repos is built.

Offline

#10 2013-07-30 17:04:42

Gusar
Member
Registered: 2009-08-25
Posts: 3,431

Re: [solved]wine, debug symbols & nvidia build dependency conflicts

Go to the mesa-libgl page, check the "Required by" column for "(requires libgl) (make)". Those other packages. Then there's a lot packages that don't list libgl (any kind of libgl) in makedepends at all, they only have libgl in depends. It doesn't seem to be a problem for devtools. Not sure how exactly devtools deals with this, but if I were to guess, it simply automatically grabs the first libgl provider.

Last edited by Gusar (2013-07-30 17:12:08)

Offline

Board footer

Powered by FluxBB