Bug#933386: ncurses-term: Packaged alacritty terminfo file conflicts with official one

2019-08-03 Thread Thomas Dickey
On Thu, Aug 01, 2019 at 07:46:30PM +0200, Sven Joachim wrote:
> Control: severity -1 wishlist

:-)

> As mentioned by Christian Duerr in that bug report, this is not a bug in
> ncurses-term, since we cannot possibly monitor random github
> repositories.  In any case, it has been agreed that alacritty's .deb

There appears to be no Debian package for alacritty.

I've done testing against the one in Arch (which appears
to have the only package for it - and that's what I base the
terminal description on).

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#933386: ncurses-term: Packaged alacritty terminfo file conflicts with official one

2019-08-01 Thread Sven Joachim
Control: severity -1 wishlist

On 2019-07-30 13:25 +0800, Ryan Lue wrote:

> Package: ncurses-term
> Version: 6.1+20190713-1
> Severity: important
>
> Dear Maintainer,
>
> The latest version of this package bundles a terminfo file for the
> alacritty terminal emulator (/usr/share/terminfo/a/alacritty).
> This terminfo file is also provided by the official alacritty repo,
> when built and installed with cargo-deb:
>
> $ cargo deb --install --manifest-path alacritty/Cargo.toml
> ...
> Preparing to unpack .../alacritty_0.3.3_amd64.deb ...
> Unpacking alacritty (0.3.3) ...
> dpkg: error processing archive 
> /home/rlue/tmp/alacritty/target/debian/alacritty_0.3.3_amd64.deb (--install):
>  trying to overwrite '/usr/share/terminfo/a/alacritty', which is also in 
> package ncurses-term 6.1+20190713-1
> Processing triggers for mime-support (3.62) ...
> Errors were encountered while processing:
>  /home/rlue/tmp/alacritty/target/debian/alacritty_0.3.3_amd64.deb
> cargo-deb: installation failed, because dpkg -i returned error
>
> I am not sure whether this constitutes an issue in the official
> ncurses-term debian package or in alacritty’s cargo-deb packaging
> configuration, but I am assuming it is the former. In any case, I have
> filed an issue on alacritty’s GitHub tracker for cross-referencing
> purposes:
>
> https://github.com/jwilm/alacritty/issues/2685

As mentioned by Christian Duerr in that bug report, this is not a bug in
ncurses-term, since we cannot possibly monitor random github
repositories.  In any case, it has been agreed that alacritty's .deb
needs to move its file out of the way.  Once that has been accomplished,
I will probably add a versioned Replaces on alacritty to ncurses-term so
that other users do not stumble upon this issue.

In the meantime, you can

- add a diversion for the conflicting file so that ncurses-term and
  alacritty can peacefully coexist:

# dpkg-divert --package ncurses-term --rename --add 
/usr/share/terminfo/a/alacritty

- test the patch which I pushed to github[1] and comment on the issue
  you opened.

Cheers,
   Sven


1. 
https://github.com/zwenna/alacritty/commit/95982960f61f160b05cbb49185dfc2788eb40a8a



Bug#933386: ncurses-term: Packaged alacritty terminfo file conflicts with official one

2019-07-30 Thread Thomas Dickey
On Tue, Jul 30, 2019 at 01:25:33PM +0800, Ryan Lue wrote:
> Package: ncurses-term
> Version: 6.1+20190713-1
> Severity: important
> 
> Dear Maintainer,
> 
> The latest version of this package bundles a terminfo file for the
> alacritty terminal emulator (/usr/share/terminfo/a/alacritty).
> This terminfo file is also provided by the official alacritty repo,
> when built and installed with cargo-deb:

That's actually a bug report against the alacritty package.

If there are differences between the version provided in that package
and ncurses, that's possibly of interest.  For updates to ncurses,
see

https://invisible-island.net/ncurses/ncurses.faq.html#dbupdate

(by the way, don't use "official" in this manner - it detracts from the report).

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#933386: ncurses-term: Packaged alacritty terminfo file conflicts with official one

2019-07-29 Thread Ryan Lue
Package: ncurses-term
Version: 6.1+20190713-1
Severity: important

Dear Maintainer,

The latest version of this package bundles a terminfo file for the
alacritty terminal emulator (/usr/share/terminfo/a/alacritty).
This terminfo file is also provided by the official alacritty repo,
when built and installed with cargo-deb:

$ cargo deb --install --manifest-path alacritty/Cargo.toml
...
Preparing to unpack .../alacritty_0.3.3_amd64.deb ...
Unpacking alacritty (0.3.3) ...
dpkg: error processing archive 
/home/rlue/tmp/alacritty/target/debian/alacritty_0.3.3_amd64.deb (--install):
 trying to overwrite '/usr/share/terminfo/a/alacritty', which is also in 
package ncurses-term 6.1+20190713-1
Processing triggers for mime-support (3.62) ...
Errors were encountered while processing:
 /home/rlue/tmp/alacritty/target/debian/alacritty_0.3.3_amd64.deb
cargo-deb: installation failed, because dpkg -i returned error

I am not sure whether this constitutes an issue in the official
ncurses-term debian package or in alacritty’s cargo-deb packaging
configuration, but I am assuming it is the former. In any case, I have
filed an issue on alacritty’s GitHub tracker for cross-referencing
purposes:

https://github.com/jwilm/alacritty/issues/2685

Thanks for your time and consideration.

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ncurses-term depends on:
ii  ncurses-base  6.1+20190713-1

ncurses-term recommends no packages.

ncurses-term suggests no packages.

-- no debconf information