Re: [Rpm-maint] [rpm-software-management/rpm] %transfiletriggerin does not work on Fedora 33 (#1260)

2020-06-10 Thread Panu Matilainen
Thanks @ignatenkobrain for spotting and reporting!

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1260#issuecomment-641869253___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] %transfiletriggerin does not work on Fedora 33 (#1260)

2020-06-10 Thread Florian Festi
Closed #1260 via #1265.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1260#event-3428649168___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] %transfiletriggerin does not work on Fedora 33 (#1260)

2020-06-08 Thread Panu Matilainen
Just to record my findings so far:
- *some* %transfiletriggerin scripts do run, but not all
- on erasure, the triggers on the very same conditions that miss on install do 
run, eg

```
$ rpm -q --filetriggers hicolor-icon-theme
transfiletriggerin scriptlet (using /bin/sh) -- /usr/share/icons/hicolor
gtk-update-icon-cache --force /usr/share/icons/hicolor &>/dev/null || :
transfiletriggerpostun scriptlet (using /bin/sh) -- /usr/share/icons/hicolor
gtk-update-icon-cache --force /usr/share/icons/hicolor &>/dev/null || :
```



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1260#issuecomment-640518161___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] %transfiletriggerin does not work on Fedora 33 (#1260)

2020-06-08 Thread Panu Matilainen
Okay, quite easily reproduced. Looks like our first reported bug in sqlite 
:beetle: 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1260#issuecomment-640420247___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


[Rpm-maint] [rpm-software-management/rpm] %transfiletriggerin does not work on Fedora 33 (#1260)

2020-06-07 Thread Igor Raits
```
❯ sudo rpm -ivh 
/home/brain/rpmbuild/RPMS/x86_64/newsflash-1.0~rc1-1.fc33.x86_64.rpm --debug 
--rpmfcdebug
[sudo] password for brain: 
D: == 
/home/brain/rpmbuild/RPMS/x86_64/newsflash-1.0~rc1-1.fc33.x86_64.rpm
D: loading keyring from pubkeys in /var/lib/rpm/pubkeys/*.key
D: couldn't find any keys in /var/lib/rpm/pubkeys/*.key
D: loading keyring from rpmdb
D: PRAGMA secure_delete = OFF: 0
D: PRAGMA case_sensitive_like = ON: 0
D:  read h#1690 
Header SHA256 digest: OK
Header SHA1 digest: OK
D: added key gpg-pubkey-9570ff31-5e3006fb to keyring
D: Using legacy gpg-pubkey(s) from rpmdb
D: /home/brain/rpmbuild/RPMS/x86_64/newsflash-1.0~rc1-1.fc33.x86_64.rpm: Header 
SHA256 digest: OK
D: /home/brain/rpmbuild/RPMS/x86_64/newsflash-1.0~rc1-1.fc33.x86_64.rpm: Header 
SHA1 digest: OK
ufdio:   6 reads,11265 total bytes in 0.09 secs
D: Plugin: calling hook init in systemd_inhibit plugin
D:  added binary package [0]
D: found 0 source and 1 binary packages
D: == +++ newsflash-1.0~rc1-1.fc33 x86_64/linux 0x2
D:  read h# 209 
Header V3 RSA/SHA256 Signature, key ID 9570ff31: OK
Header SHA256 digest: OK
Header SHA1 digest: OK
D:  Requires: ld-linux-x86-64.so.2()(64bit) YES (db provides)
D:  Requires: ld-linux-x86-64.so.2(GLIBC_2.3)(64bit)YES (db provides)
D:  Requires: libc.so.6()(64bit)YES (db provides)
D:  Requires: libc.so.6(GLIBC_2.14)(64bit)  YES (db provides)
D:  Requires: libc.so.6(GLIBC_2.17)(64bit)  YES (db provides)
D:  Requires: libc.so.6(GLIBC_2.18)(64bit)  YES (db provides)
D:  Requires: libc.so.6(GLIBC_2.2.5)(64bit) YES (db provides)
D:  Requires: libc.so.6(GLIBC_2.3.2)(64bit) YES (db provides)
D:  Requires: libc.so.6(GLIBC_2.3.4)(64bit) YES (db provides)
D:  Requires: libc.so.6(GLIBC_2.4)(64bit)   YES (db provides)
D:  read h# 444 
Header V3 RSA/SHA256 Signature, key ID 9570ff31: OK
Header SHA256 digest: OK
Header SHA1 digest: OK
D:  Requires: libcairo-gobject.so.2()(64bit)YES (db provides)
D:  read h# 443 
Header V3 RSA/SHA256 Signature, key ID 9570ff31: OK
Header SHA256 digest: OK
Header SHA1 digest: OK
D:  Requires: libcairo.so.2()(64bit)YES (db provides)
D:  read h#1997 
Header V3 RSA/SHA256 Signature, key ID 9570ff31: OK
Header SHA256 digest: OK
Header SHA1 digest: OK
D:  Requires: libcrypto.so.1.1()(64bit) YES (db provides)
D:  Requires: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit)YES (db provides)
D:  Requires: libdl.so.2()(64bit)   YES (db provides)
D:  Requires: libdl.so.2(GLIBC_2.2.5)(64bit)YES (db provides)
D:  read h#   1 
Header V3 RSA/SHA256 Signature, key ID 9570ff31: OK
Header SHA256 digest: OK
Header SHA1 digest: OK
D:  Requires: libgcc_s.so.1()(64bit)YES (db provides)
D:  Requires: libgcc_s.so.1(GCC_3.0)(64bit) YES (db provides)
D:  Requires: libgcc_s.so.1(GCC_3.3)(64bit) YES (db provides)
D:  Requires: libgcc_s.so.1(GCC_4.2.0)(64bit)   YES (db provides)
D:  read h#1349 
Header V3 RSA/SHA256 Signature, key ID 9570ff31: OK
Header SHA256 digest: OK
Header SHA1 digest: OK
D:  Requires: libgdk-3.so.0()(64bit)YES (db provides)
D:  read h# 269 
Header V3 RSA/SHA256 Signature, key ID 9570ff31: OK
Header SHA256 digest: OK
Header SHA1 digest: OK
D:  Requires: libgdk_pixbuf-2.0.so.0()(64bit)   YES (db provides)
D:  read h# 224 
Header V3 RSA/SHA256 Signature, key ID 9570ff31: OK
Header SHA256 digest: OK
Header SHA1 digest: OK
D:  Requires: libgio-2.0.so.0()(64bit)  YES (db provides)
D:  Requires: libglib-2.0.so.0()(64bit) YES (db provides)
D:  Requires: libgobject-2.0.so.0()(64bit)  YES (db provides)
D:  Requires: libgtk-3.so.0()(64bit)YES (db provides)
D:  read h#1370 
Header V3 RSA/SHA256 Signature, key ID 9570ff31: OK
Header SHA256 digest: OK
Header SHA1 digest: OK
D:  Requires: libhandy-0.0.so.0()(64bit)YES (db provides)
D:  Requires: libhandy-0.0.so.0(LIBHANDY_0_0_0)(64bit)  YES (db provides)
D:  read h# 532 
Header V3 RSA/SHA256 Signature, key ID 9570ff31: OK
Header SHA256 digest: OK
Header SHA1 digest: OK
D:  Requires: libjavascriptcoregtk-4.0.so.18()(64bit)   YES (db provides)
D:  Requires: libm.so.6()(64bit)YES (db provides)
D:  Requires: libm.so.6(GLIBC_2.2.5)(64bit) YES (db provides)
D:  Requires: libm.so.6(GLIBC_2.27)(64bit)  YES (db provides)
D:  read h# 935 
Header V3 RSA/SHA256 Signature, key ID 9570ff31: OK
Header SHA256 digest: OK
Header SHA1 digest: OK
D:  Requires: libpango-1.0.so.0()(64bit)YES (db provides)
D:  Requires: libpthread.so.0()(64bit)  

Re: [Rpm-maint] [rpm-software-management/rpm] %transfiletriggerin does not work on Fedora 33 (#1260)

2020-06-07 Thread Igor Raits
Also I checked `stat /usr/share/icons/hicolor/icon-theme.cache` and that does 
not change during the RPM run. But if I run command from trigger manually, it 
updates that file.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1260#issuecomment-640221416___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint