From: Henning Schild <henning.schild@siemens.com>
To: Baurzhan Ismagulov <ibr@radix50.net>
Cc: isar-users <isar-users@googlegroups.com>
Subject: Re: https://github.com/ilbers/hello conflicts with upstream hello
Date: Thu, 17 Jan 2019 17:10:02 +0100 [thread overview]
Message-ID: <20190117171002.3b6dfdac@md1za8fc.ad001.siemens.net> (raw)
In-Reply-To: <20190117152809.GK12226@yssyq.m.ilbers.de>
Am Thu, 17 Jan 2019 16:28:09 +0100
schrieb Baurzhan Ismagulov <ibr@radix50.net>:
> On Thu, Jan 17, 2019 at 04:03:01PM +0100, Henning Schild wrote:
> > i am building apt-get source support for Isar and am using "hello"
> > as an example application. Turn out that the upstream hello package
> > places /usr/bin/hello and example-hello from isar is doing the same.
> >
> > I suggest to update example-hello to choose another binary name and
> > resolve the collision.
>
> Conflicting packages are explicitly allowed in Debian. How can we
> reproduce your problem with /usr/bin/hello?
Yes, but conflicts that are known are mentioned in the metadata.
(debian/control)
So apt sees it before dpkg unpacks it and finds it.
I just sent a series that shows the problem. You can also see it if you
IMAGE_INSTALL=example-hello and IMAGE_PREINSTALL=hello
> > My series to Isar will just remove example-hello for now, it should
> > be re-added once the issue is solved.
>
> I don't have anything against renaming the binary to e.g. hello-isar,
> but I think the suggested approach is an unnecessary overkill.
That or the metadata should know about the conflict. We can not change
upstream metadata, maybe one side is good enough.
One way or another. My series adds the feature to rebuild an upstream
package, and hello is a very good example for that. A conflict would
mean we could not test example-hello and hello in the same image, so
avoiding the conflict will be useful for that case and not overkill.
Henning
>
> With kind regards,
> Baurzhan.
>
next prev parent reply other threads:[~2019-01-17 16:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-17 15:03 Henning Schild
2019-01-17 15:28 ` Baurzhan Ismagulov
2019-01-17 16:10 ` Henning Schild [this message]
2019-01-17 16:54 ` Baurzhan Ismagulov
2019-01-18 9:05 ` Henning Schild
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190117171002.3b6dfdac@md1za8fc.ad001.siemens.net \
--to=henning.schild@siemens.com \
--cc=ibr@radix50.net \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox