Overview

Request 563232 superseded

No description set
Loading...

Dominique Leuenberger's avatar

sigh - I knew repo-checker would be complaining :(

found conflict of Mesa-17.3.2-764.1.x86_64 with Mesa-32bit-17.3.2-764.1.x86_64:
  - /etc/drirc

Stefan Dirsch's avatar

I haven't followed the discussion about /etc/drirc and cannot find it any longer. :-(


Michal Srb's avatar

In summary; after Mesa/Mesa-drivers split, the Mesa package no longer contains any binaries, only /etc/drirc and documentation. Because of that, the Mesa-32bit does not get generated. But we need it to exist because the 32bit OpenGL libraries require it and all the Mesa-dri and Mesa-gallium packages supplement it. So we needed to put some file in it.

Putting /etc/drirc in both Mesa and Mesa-32bit looked like natural choice. It has to be installed whether you have the 32 bit or 64 bit or both kind of packages installed. Having it in both works. I tested it, no conflicts, installation and uninstallation of both packages in any order works as expected.

Sadly repo-checker uses different logic to test for conflicts, so we must place some dummy file in Mesa-32bit.


Dominique Leuenberger's avatar

FYI: repo-checker uses /usr/bin/installcheck (from libsolv-tools) - which is the one complaining about the conflict.


Avindra Goolcharan's avatar

X11 fails to start on my system with this build. Here's the log:

https://paste.opensuse.org/22081084

It shows a seg fault near the bottom


Michal Srb's avatar

Probably the same as: https://bugzilla.opensuse.org/show_bug.cgi?id=1075901

Bug is in llvm, manifests itself since Mesa 17.3.2.


Dominique Leuenberger's avatar

with /etc/drirc in Mesa-32bit: won't Mesa conflict with Mesa-32bit then?


Michal Srb's avatar

It seems that it does not conflict. I don't know why, maybe because it is %config, but it works. I can install both in any order and there are no complains. If I uninstall them in any order, the last one uninstalled deletes the file.

Would there be a better way to get the Mesa-32bit to be still generated even that Mesa no longer has any binaries? It is still needed so the various GL libraries can depend on it and the Mesa-dri and Mesa-gallium can supplement it.


Dominique Leuenberger's avatar

hm.. the conflict might not trigger here as the files are equal; I somewhat recall there was some logic in that for rpm; not sure if zypp mimmicks this (did you install using zypper or plain rpm?)

An alternative might be for the package to put a README.%{_arch} into %doc - and take that file/directory as reference for baselibs.conf

Mesa-32bit would thus contain a README.i586 (since it is just a repackaged Mesa.i586 package) and Mesa would contain a Mesa.x86_64; granted, it's just a weird hack as well.


Michal Srb's avatar

It worked with both rpm and zypper. By the way, it also works if I modify the /etc/drirc file before installing the second package.

You have more experience packaging than me, so if you think the alternative way with README.%{_arch} file would be better, I'll change it.

Also, so far we did not actually installed the /etc/drirc file in case when user installed only the Mesa-32bit (and its 32bit dependencies) and none of the native Mesa packages. That was broken and I realized when looking for a file to use to get Mesa-32bit. So in case we go the README way, Mesa-32bit will have to depend on Mesa for the /etc/drirc file.


Dominique Leuenberger's avatar

It worked with both rpm and zypper. By the way, it also works if I modify the /etc/drirc file before installing the second package.

Ok, so the %config might indeed be the key in this case. Let's see what repo-checker comes back with in this case


Request History
Michal Srb's avatar

michalsrb created request


Saul Goodman's avatar

licensedigger accepted review

ok


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto added repo-checker as a reviewer

Please review build success


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Dominique Leuenberger's avatar

dimstar_suse set openSUSE:Factory:Staging:M as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:M"


Dominique Leuenberger's avatar

dimstar_suse accepted review

Picked openSUSE:Factory:Staging:M


Dominique Leuenberger's avatar

dimstar accepted review


Factory Repo Checker's avatar

factory-repo-checker superseded request

superseded by 565807

openSUSE Build Service is sponsored by