[opensuse-factory] conflicting files and directories
Hi, I found some of my packages failing in Factory because of the new conflicting files check. While I think this is basically a "good" check I found that in my case it makes sense. ERROR: /usr/lib/xulrunner-9 is packaged in both mozilla-js and xulrunner, and the packages do not conflict I've thought about doing it differently for a moment but still I think this is the correct way of packaging in that case. Also I remember we have tons of packages installing the same directories because it just makes sense but this. Therefore the question how can I disable that check and if I cannot, I'd need a recommendation what to do instead. Thanks, Wolfgang -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Monday 19 December 2011 11:31:45 Wolfgang Rosenauer wrote:
I found some of my packages failing in Factory because of the new conflicting files check.
While I think this is basically a "good" check I found that in my case it makes sense. ERROR: /usr/lib/xulrunner-9 is packaged in both mozilla-js and xulrunner, and the packages do not conflict I've thought about doing it differently for a moment but still I think this is the correct way of packaging in that case.
So you think it is correct when presense of the file on your system depends on the sequence in which you installed the packages? You install only xulrunner -> you have this file You install mozilla-js and xulrunner, then remove mozilla-js -> you have not this file. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am 19.12.2011 08:51, schrieb Ilya Chernykh:
On Monday 19 December 2011 11:31:45 Wolfgang Rosenauer wrote:
I found some of my packages failing in Factory because of the new conflicting files check.
While I think this is basically a "good" check I found that in my case it makes sense. ERROR: /usr/lib/xulrunner-9 is packaged in both mozilla-js and xulrunner, and the packages do not conflict I've thought about doing it differently for a moment but still I think this is the correct way of packaging in that case.
So you think it is correct when presense of the file on your system depends on the sequence in which you installed the packages?
You install only xulrunner -> you have this file
You install mozilla-js and xulrunner, then remove mozilla-js -> you have not this file.
I'm talking about a directory here. This will not go away when I remove mozilla-js. Also xulrunner requires mozilla-js. So this would suggest to only have it in mozilla-js but then the ordering for installation and removal must be exactly correct and for removal I don't think that RPM supports it correctly. I cannot come up with a good example where we share the same directory between several packages at the moment but I know they exist (or existed?). Now we throw an error but only if it's used from the same source package. Wolfgang -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi, Le lundi 19 décembre 2011, à 08:31 +0100, Wolfgang Rosenauer a écrit :
Hi,
I found some of my packages failing in Factory because of the new conflicting files check.
While I think this is basically a "good" check I found that in my case it makes sense. ERROR: /usr/lib/xulrunner-9 is packaged in both mozilla-js and xulrunner, and the packages do not conflict I've thought about doing it differently for a moment but still I think this is the correct way of packaging in that case. Also I remember we have tons of packages installing the same directories because it just makes sense but this. Therefore the question how can I disable that check and if I cannot, I'd need a recommendation what to do instead.
Isn't the issue here that the file is a symlink and not a directory? (At least, from quickly reading the spec file) Cheers, Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am 19.12.2011 10:02, schrieb Vincent Untz:
Hi,
Le lundi 19 décembre 2011, à 08:31 +0100, Wolfgang Rosenauer a écrit :
Hi,
I found some of my packages failing in Factory because of the new conflicting files check.
While I think this is basically a "good" check I found that in my case it makes sense. ERROR: /usr/lib/xulrunner-9 is packaged in both mozilla-js and xulrunner, and the packages do not conflict I've thought about doing it differently for a moment but still I think this is the correct way of packaging in that case. Also I remember we have tons of packages installing the same directories because it just makes sense but this. Therefore the question how can I disable that check and if I cannot, I'd need a recommendation what to do instead.
Isn't the issue here that the file is a symlink and not a directory? (At least, from quickly reading the spec file)
oh, you are right. I was missing that point. So in that case it really could make sense to remove it from one sub package. Thanks, Wolfgang -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 19.12.2011 10:08, Wolfgang Rosenauer wrote:
Am 19.12.2011 10:02, schrieb Vincent Untz:
Hi,
Le lundi 19 décembre 2011, à 08:31 +0100, Wolfgang Rosenauer a écrit :
Hi,
I found some of my packages failing in Factory because of the new conflicting files check.
While I think this is basically a "good" check I found that in my case it makes sense. ERROR: /usr/lib/xulrunner-9 is packaged in both mozilla-js and xulrunner, and the packages do not conflict I've thought about doing it differently for a moment but still I think this is the correct way of packaging in that case. Also I remember we have tons of packages installing the same directories because it just makes sense but this. Therefore the question how can I disable that check and if I cannot, I'd need a recommendation what to do instead.
Isn't the issue here that the file is a symlink and not a directory? (At least, from quickly reading the spec file)
oh, you are right. I was missing that point. So in that case it really could make sense to remove it from one sub package.
And for completeness: directories _are_ ignored by the check Greetings, Stephan -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am 19.12.2011 10:48, schrieb Stephan Kulow:
On 19.12.2011 10:08, Wolfgang Rosenauer wrote:
Am 19.12.2011 10:02, schrieb Vincent Untz:
Hi,
Le lundi 19 décembre 2011, à 08:31 +0100, Wolfgang Rosenauer a écrit :
Hi,
I found some of my packages failing in Factory because of the new conflicting files check.
While I think this is basically a "good" check I found that in my case it makes sense. ERROR: /usr/lib/xulrunner-9 is packaged in both mozilla-js and xulrunner, and the packages do not conflict I've thought about doing it differently for a moment but still I think this is the correct way of packaging in that case. Also I remember we have tons of packages installing the same directories because it just makes sense but this. Therefore the question how can I disable that check and if I cannot, I'd need a recommendation what to do instead.
Isn't the issue here that the file is a symlink and not a directory? (At least, from quickly reading the spec file)
oh, you are right. I was missing that point. So in that case it really could make sense to remove it from one sub package.
And for completeness: directories _are_ ignored by the check
Thanks, sorry for the noise. If directories are ignored it's ok. I have one issue with an older package where I have the same file in two subpackages and there it is really necessary. Actually I can handle that in %post scripts too ;-) Wolfgang -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (4)
-
Ilya Chernykh
-
Stephan Kulow
-
Vincent Untz
-
Wolfgang Rosenauer