termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
13.15k stars 3.02k forks source link

[Bug]: at-spi2-atk is not installable #11965

Closed kawanakaiku closed 2 years ago

kawanakaiku commented 2 years ago

Problem description

Installation of at-spi2-atk (2.38.0-5) fails as following.

dpkg: error processing archive /data/data/com.termux/files/usr/tmp/apt-dpkg-install-Xtqvn7/10-at-spi2-atk_2.38.0-5_aarch64.deb (--unpack):
 trying to overwrite '/data/data/com.termux/files/usr/include/atk-1.0/atk/atksocket.h', which is also in package atk 2.38.0

What steps will reproduce the bug?

pkg update
pkg install at-spi2-atk

What is the expected behavior?

Installation succeeds

System information

termux-info:

Termux Variables:
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://packages-cf.termux.org/apt/termux-main stable main
# root-repo (sources.list.d/root.list)
deb https://packages.termux.dev/apt/termux-root root stable
# x11-repo (sources.list.d/x11.list)
deb https://packages.termux.dev/apt/termux-x11 x11 main
Updatable packages:
All packages up to date
termux-tools version:
1.29.2
Android version:
11
Kernel build information:
Linux localhost 4.19.136+ #1 SMP PREEMPT Thu Feb 24 13:33:40 JST 2022 aarch64 Android
Device manufacturer:
FUJITSU
Device model:
F-51A
xtkoba commented 2 years ago

Commit 0754641ea46469b43b752f16cc941592740b5f99 indicates subproject fallback is happening which should not. Probably we should package at-spi2-core and make at-spi2-atk depend on it.

Smells similar to #10941.