Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1018560 > unrolled thread

Bug#965151: afdko-bin: /usr/bin/tx is already shipped by transifex-client

Started byBoyuan Yang <byang@debian.org>
First post2020-07-19 21:40 +0200
Last post2020-07-26 07:10 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.bugs.dist

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#965151: afdko-bin: /usr/bin/tx is already shipped by transifex-client Boyuan Yang <byang@debian.org> - 2020-07-19 21:40 +0200
    Bug#965151: /usr/bin/tx: transifex-client and afdko shipping binaries under the same name Paul Wise <pabs@debian.org> - 2020-07-26 07:10 +0200

#1018560 — Bug#965151: afdko-bin: /usr/bin/tx is already shipped by transifex-client

FromBoyuan Yang <byang@debian.org>
Date2020-07-19 21:40 +0200
SubjectBug#965151: afdko-bin: /usr/bin/tx is already shipped by transifex-client
Message-ID<Aunke-1Pe-11@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

X-Debbugs-CC: debian-fonts@lists.debian.org

On Sun, 19 Jul 2020 20:55:33 +0200 Adam Borowski <kilobyte@angband.pl> wrote:
> On Sat, Jul 18, 2020 at 03:36:48PM -0400, Boyuan Yang wrote:
> > X-Debbugs-CC: debian-fonts@lists.debian.org mwei@debian.org
> > 
> > On Thu, 16 Jul 2020 23:19:31 +0200 Andreas Beckmann <anbe@debian.org>
> > wrote:
> > > Package: afdko-bin
> > > Version: 3.4.0+dfsg1-2
> > > Severity: serious
> > > 
> > >   Preparing to unpack .../afdko-bin_3.4.0+dfsg1-2_amd64.deb ...
> > >   Unpacking afdko-bin (3.4.0+dfsg1-2) ...
> > >   dpkg: error processing archive /var/cache/apt/archives/afdko-
> > bin_3.4.0+dfsg1-2_amd64.deb (--unpack):
> > >    trying to overwrite '/usr/bin/tx', which is also in package
> > transifex-client 0.13.9-1
> > >   Errors were encountered while processing:
> > >    /var/cache/apt/archives/afdko-bin_3.4.0+dfsg1-2_amd64.deb
> > > 
> > > If the conflicting situation cannot be resolved then, as
> > > last resort, the two packages have to declare a mutual
> > > Conflict.
> > 
> > AFAICT a mutual conflict could be the only reasonable solution. @mwei
> > what do you think?
> 
> The policy is very clear: 
> 
> #10.1.
> 
> # Two different packages must not install programs with different
> # functionality but with the same filenames. (The case of two programs
> # having the same functionality but different implementations is handled
> # via “alternatives” or the “Conflicts” mechanism. See Maintainer
> # Scripts and Conflicting binary packages - Conflicts respectively.) If
> # this case happens, one of the programs must be renamed. The
> # maintainers should report this to the "debian-devel" mailing list and
> # try to find a consensus about which program will have to be renamed.
> # If a consensus cannot be reached, *both* programs must be renamed.
> 
> Thus, a mutual conflict is not allowed.  Two random packages without a
> relation are not expected to conflict: there's no reason someone who hacks
> on some software that uses Transifex to manage their translation wouldn't
> also want to deal with fonts -- we're in the "breaks unrelated software"
> land.
> 
> This issue pops up on debian-devel quite often, and the consensus is that
> exceptions shouldn't be given.  Major cases: "node": axnode vs node.js,
> "git" vs gnuit.

In this case a discussion on debian-devel may be needed.

Just FYI: SUSE chose to use the alternatives system to solve this problem as
can be seen in 
https://opensuse.pkgs.org/tumbleweed/opensuse-oss-x86_64/python3-afdko-3.4.0-2.1.i586.rpm.html
 .

-- 
Thanks,
Boyuan Yang

[toc] | [next] | [standalone]


#1019318 — Bug#965151: /usr/bin/tx: transifex-client and afdko shipping binaries under the same name

FromPaul Wise <pabs@debian.org>
Date2020-07-26 07:10 +0200
SubjectBug#965151: /usr/bin/tx: transifex-client and afdko shipping binaries under the same name
Message-ID<AwH57-5a3-1@gated-at.bofh.it>
In reply to#1018560
On Sun, Jul 26, 2020 at 4:03 AM Yao Wei wrote:

> Worked this around in 3.5.0+dfsg1-1 upload, by supplying a wrapper
> script `afdko`, and moving all the binaries into /usr/libexec/afdko/ .
>
> If a font needs afdko to build one need to put /usr/libexec/afdko/ into
> their PATH.

This sort of thing needs to happen upstream first.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web