FS#71172 - poedit-1:3.0-1-x86_64.pkg.tar.zst contains /usr/share/icons/hicolor/icon-theme.cache

Attached to Project: Arch Linux
Opened by Rulatir (Rulatir) - Tuesday, 08 June 2021, 08:03 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 08 June 2021, 10:41 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

As per summary, poedit-1:3.0-1-x86_64.pkg.tar.zst (MD5 610390bb8b20363b496937326f6b13c7) contains /usr/share/icons/hicolor/icon-theme.cache, a file that AFAIU is locally generated and shouldn't be provided by any package. It exists on the filesystem, causing a conflict.

Additional info:

pacman 6.0.0-2

```
$ LANG=en sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
archlinuxfr is up to date
multilib is up to date
xyne-any is up to date
xyne-x86_64 is up to date
:: Starting full system upgrade...
warning: libmatio: local (1.5.17-1) is newer than archlinuxfr (1.5.2-3)
resolving dependencies...
looking for conflicting packages...

Packages (27) accounts-qml-module-0.7-4 firefox-developer-edition-90.0b4-1 git-2.32.0-1 gocryptfs-2.0.1-1 inetutils-2.0-1 isync-1.4.2-1 lib32-libgusb-0.3.7-1 lib32-libtirpc-1.3.2-1 lib32-libx11-1.7.2-1 lib32-zstd-1.5.0-2
libaccounts-glib-1.25-4 libaccounts-qt-1.16-3 libedit-20210522_3.1-1 libgusb-0.3.7-1 liblouis-3.18.0-1 libx11-1.7.2-1 meson-0.58.1-1 mpg123-1.28.0-1 openmpi-4.1.1-1 poedit-1:3.0-1 python-astroid-2.5.8-1
qt6-base-6.1.1-1 remmina-1:1.4.18-1 rubberband-1.9.2-1 sqlitebrowser-3.12.2-1 wireshark-cli-3.4.6-1 wireshark-qt-3.4.6-1

Total Installed Size: 508.69 MiB
Net Upgrade Size: 2.65 MiB

:: Proceed with installation? [Y/n] y
(27/27) checking keys in keyring [#########################################################################################] 100%
(27/27) checking package integrity [#########################################################################################] 100%
(27/27) loading package files [#########################################################################################] 100%
(27/27) checking for file conflicts [#########################################################################################] 100%
error: failed to commit transaction (conflicting files)
poedit: /usr/share/icons/hicolor/icon-theme.cache exists in filesystem
Errors occurred, no packages were upgraded.
```

Steps to reproduce:

1. `sudo pacman -Syu`
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 08 June 2021, 10:41 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#71170 
Comment by loqs (loqs) - Tuesday, 08 June 2021, 09:59 GMT
Probably caused by [1].
Replace the call to which gtk-update-icon-cache >/dev/null with false in ${pkgname}-${pkgver}/artwork/Makefile.in which causes gtk-update-icon-cache to be skipped as not present.
Using ${pkgname}-${pkgver}/artwork/Makefile.in saves having to regenerate all automakes outputs.

[1] https://github.com/vslavik/poedit/commit/4386237c481b567cf17d39466e1542e74dd74f46
[2] PKGBUILD.diff

Loading...