Re: rpm4 on carme*
On Fri, 18 Dec 2020, Jan Palus wrote: > On 18.12.2020 20:31, Jan Rękorajski wrote: > > On Sun, 13 Dec 2020, Jan Palus via pld-devel-en wrote: > > > > > Looks like poldek does not recognize R:(post, postun) and fails to > > > install packages even though dependencies are present: > > > > > > $ ag '^R.*post' mpd.spec > > > 86:Requires(post,postun): gtk-update-icon-cache > > > 87:Requires(post,preun,postun): systemd-units >= 38 > > > > > > $ poldek --cmd desc -r mpd |grep gtk-update-icon-cache > > > Requires(pre): /bin/sh, /bin/sh, gtk-update-icon-cache, systemd-units >= > > > 38 > > > Requires(un): /bin/sh, /bin/sh, gtk-update-icon-cache, systemd-units >= > > > 38 > > > > > > $ poldek -u mpd > > > ... > > > Processing dependencies... > > > There are 1 package to install: > > > A mpd-0.22.3-1 > > > This operation will use 1.4MB of disk space. > > > Need to get 507.6KB of archives. > > > mpd-0.22.3-1.armv6hl.rpm: digests OK > > > Executing pm-command.sh --upgrade -vh --root / --define > > > _check_dirname_deps 1... > > > error: Failed dependencies: > > > gtk-update-icon-cache is needed by mpd-0.22.3-1.armv6hl > > > > > > Manual installation of gtk-update-icon-cache followed by installation of > > > mpd is all fine. > > > > Works for me. > > Maybe it's rpm4 that does not produce deps for R:(post, postun)? > > > > [r...@pldmachine-rpm.org ~]# rpm -q rpm poldek > > rpm-4.16.0-0.12.x86_64 > > poldek-0.42.2-3.5.x86_64 > > > > > > poldek:/all-avail> install -t mpd-0.22.3-2.x86_64 > > Processing dependencies... > > mpd-0.22.3-2.x86_64 marks gtk-update-icon-cache-3.24.23-1.x86_64 (cap > > gtk-update-icon-cache) > > Is this by any chance mpd from main th repo built with rpm5? The > difference is most likely here: > > > > $ poldek --cmd desc -r mpd |grep gtk-update-icon-cache > > > Requires(pre): /bin/sh, /bin/sh, gtk-update-icon-cache, systemd-units >= > > > 38 > > With rpm4 + poldek(rpm4) gtk-update-icon-cache lands in Requires(pre): > while with rpm5 + poldek(rpm5) it's just in Requires:. I suppose poldek > ignores Requires(pre). I can't figure out what's missing there, opened poldek bug https://github.com/poldek-pm/poldek/issues/17 -- Jan Rękorajski| PLD/Linux SysAdm | bagginspld-linux.org | http://www.pld-linux.org/ ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: rpm4 on carme*
On 18.12.2020 20:31, Jan Rękorajski wrote: > On Sun, 13 Dec 2020, Jan Palus via pld-devel-en wrote: > > > Looks like poldek does not recognize R:(post, postun) and fails to > > install packages even though dependencies are present: > > > > $ ag '^R.*post' mpd.spec > > 86:Requires(post,postun): gtk-update-icon-cache > > 87:Requires(post,preun,postun): systemd-units >= 38 > > > > $ poldek --cmd desc -r mpd |grep gtk-update-icon-cache > > Requires(pre): /bin/sh, /bin/sh, gtk-update-icon-cache, systemd-units >= 38 > > Requires(un): /bin/sh, /bin/sh, gtk-update-icon-cache, systemd-units >= 38 > > > > $ poldek -u mpd > > ... > > Processing dependencies... > > There are 1 package to install: > > A mpd-0.22.3-1 > > This operation will use 1.4MB of disk space. > > Need to get 507.6KB of archives. > > mpd-0.22.3-1.armv6hl.rpm: digests OK > > Executing pm-command.sh --upgrade -vh --root / --define _check_dirname_deps > > 1... > > error: Failed dependencies: > > gtk-update-icon-cache is needed by mpd-0.22.3-1.armv6hl > > > > Manual installation of gtk-update-icon-cache followed by installation of > > mpd is all fine. > > Works for me. > Maybe it's rpm4 that does not produce deps for R:(post, postun)? > > [r...@pldmachine-rpm.org ~]# rpm -q rpm poldek > rpm-4.16.0-0.12.x86_64 > poldek-0.42.2-3.5.x86_64 > > > poldek:/all-avail> install -t mpd-0.22.3-2.x86_64 > Processing dependencies... > mpd-0.22.3-2.x86_64 marks gtk-update-icon-cache-3.24.23-1.x86_64 (cap > gtk-update-icon-cache) Is this by any chance mpd from main th repo built with rpm5? The difference is most likely here: > > $ poldek --cmd desc -r mpd |grep gtk-update-icon-cache > > Requires(pre): /bin/sh, /bin/sh, gtk-update-icon-cache, systemd-units >= 38 With rpm4 + poldek(rpm4) gtk-update-icon-cache lands in Requires(pre): while with rpm5 + poldek(rpm5) it's just in Requires:. I suppose poldek ignores Requires(pre). ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: rpm4 on carme*
On Sun, 13 Dec 2020, Jan Palus via pld-devel-en wrote: > Looks like poldek does not recognize R:(post, postun) and fails to > install packages even though dependencies are present: > > $ ag '^R.*post' mpd.spec > 86:Requires(post,postun): gtk-update-icon-cache > 87:Requires(post,preun,postun): systemd-units >= 38 > > $ poldek --cmd desc -r mpd |grep gtk-update-icon-cache > Requires(pre): /bin/sh, /bin/sh, gtk-update-icon-cache, systemd-units >= 38 > Requires(un): /bin/sh, /bin/sh, gtk-update-icon-cache, systemd-units >= 38 > > $ poldek -u mpd > ... > Processing dependencies... > There are 1 package to install: > A mpd-0.22.3-1 > This operation will use 1.4MB of disk space. > Need to get 507.6KB of archives. > mpd-0.22.3-1.armv6hl.rpm: digests OK > Executing pm-command.sh --upgrade -vh --root / --define _check_dirname_deps > 1... > error: Failed dependencies: > gtk-update-icon-cache is needed by mpd-0.22.3-1.armv6hl > > Manual installation of gtk-update-icon-cache followed by installation of > mpd is all fine. Works for me. Maybe it's rpm4 that does not produce deps for R:(post, postun)? [r...@pldmachine-rpm.org ~]# rpm -q rpm poldek rpm-4.16.0-0.12.x86_64 poldek-0.42.2-3.5.x86_64 poldek:/all-avail> install -t mpd-0.22.3-2.x86_64 Processing dependencies... mpd-0.22.3-2.x86_64 marks gtk-update-icon-cache-3.24.23-1.x86_64 (cap gtk-update-icon-cache) There are 2 packages to install (1 marked by dependencies): A gtk-update-icon-cache-3.24.23-1.x86_64 mpd-0.22.3-2.x86_64 This operation will use 1.8MB of disk space. Need to get 661.4KB of archives (661.4KB to download). poldek:/all-avail> install mpd-0.22.3-2.x86_64 Processing dependencies... mpd-0.22.3-2.x86_64 marks gtk-update-icon-cache-3.24.23-1.x86_64 (cap gtk-update-icon-cache) There are 2 packages to install (1 marked by dependencies): A gtk-update-icon-cache-3.24.23-1.x86_64 mpd-0.22.3-2.x86_64 This operation will use 1.8MB of disk space. Need to get 661.4KB of archives (661.4KB to download). [1/2] th::gtk-update-icon-cache-3.24.23-1.x86_64.rpm [20.7K (20.7K/s)] gtk-update-icon-cache-3.24.23-1.x86_64.rpm: digests OK [2/2] th-test::mpd-0.22.3-2.x86_64.rpm [640.6K (640.6K/s)] mpd-0.22.3-2.x86_64.rpm: digests OK Executing pm-command.sh --upgrade -vh --root / --define _check_dirname_deps 1... warning: /root/.poldek-cache/ftp_ftp1.pld-linux.org.dists.th.PLD.x86.64.RPMS/gtk-update-icon-cache-3.24.23-1.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID e4f1bc2d: NOKEY warning: /root/.poldek-cache/ftp_ftp1.pld-linux.org.dists.th.test.x86.64.RPMS/mpd-0.22.3-2.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 857607c0: NOKEY Verifying... # [100%] Preparing... # [100%] Updating / installing... 1:gtk-update-icon-cache-3.24.23-1 # [ 50%] Adding group mpd GID=204. Adding user mpd UID=204. 2:mpd-0.22.3-2 # [100%] poldek:/all-avail> -- Jan Rękorajski| PLD/Linux SysAdm | bagginspld-linux.org | http://www.pld-linux.org/ ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: rpm4 on carme*
On Mon, 14 Dec 2020, Elan Ruusamäe wrote: > On 12/14/20 5:20 PM, Jan Palus wrote: > > > If commit message includes '%' then rpmbuild spawned by builder script > > fails. See ie test.spec which includes '%prep': > > > > error: line 40: second %prep > > > > builder creates spec copy with %changelog appended. Apparently rpm.org > > evaluates macros in %changelog while rpm5 does not. Not sure whether > > we're supposed to escape macros in changelog now or whether rpm.org > > should read %changelog as is. > > looks like we're back to 10+ years old issues that pld solved. 20. commit 0a6e9fd18fb9abecd65b1b8e94de0fa0a27415ba Author: filon Date: Thu Aug 30 22:42:55 2001 + disables expanding of rpm macros in %changelog and %description section Rebased for 4.16. -- Jan Rękorajski| PLD/Linux SysAdm | bagginspld-linux.org | http://www.pld-linux.org/ ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: rpm4 on carme*
On 12/13/20 10:30 PM, Jan Palus via pld-devel-en wrote: Looks like poldek does not recognize R:(post, postun) and fails to install packages even though dependencies are present: $ ag '^R.*post' mpd.spec 86:Requires(post,postun): gtk-update-icon-cache 87:Requires(post,preun,postun): systemd-units >= 38 $ poldek --cmd desc -r mpd |grep gtk-update-icon-cache Requires(pre): /bin/sh, /bin/sh, gtk-update-icon-cache, systemd-units >= 38 Requires(un): /bin/sh, /bin/sh, gtk-update-icon-cache, systemd-units >= 38 $ poldek -u mpd ... Processing dependencies... There are 1 package to install: A mpd-0.22.3-1 This operation will use 1.4MB of disk space. Need to get 507.6KB of archives. mpd-0.22.3-1.armv6hl.rpm: digests OK Executing pm-command.sh --upgrade -vh --root / --define _check_dirname_deps 1... error: Failed dependencies: gtk-update-icon-cache is needed by mpd-0.22.3-1.armv6hl Manual installation of gtk-update-icon-cache followed by installation of mpd is all fine. another 10+ year old issue, the feature that landed on rpm5 ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: rpm4 on carme*
On 12/14/20 5:20 PM, Jan Palus wrote: If commit message includes '%' then rpmbuild spawned by builder script fails. See ie test.spec which includes '%prep': error: line 40: second %prep builder creates spec copy with %changelog appended. Apparently rpm.org evaluates macros in %changelog while rpm5 does not. Not sure whether we're supposed to escape macros in changelog now or whether rpm.org should read %changelog as is. looks like we're back to 10+ years old issues that pld solved. pld (and later rpm5) had a patch to disable macro expansion in %changelog section ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: rpm4 on carme*
On Mon, Dec 14, 2020 at 10:21 AM Jan Palus wrote: > > If commit message includes '%' then rpmbuild spawned by builder script > fails. See ie test.spec which includes '%prep': > > error: line 40: second %prep > > builder creates spec copy with %changelog appended. Apparently rpm.org > evaluates macros in %changelog while rpm5 does not. Not sure whether > we're supposed to escape macros in changelog now or whether rpm.org > should read %changelog as is. Macros are supposed to be escaped. -- 真実はいつも一つ!/ Always, there's only one truth! ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: rpm4 on carme*
If commit message includes '%' then rpmbuild spawned by builder script fails. See ie test.spec which includes '%prep': error: line 40: second %prep builder creates spec copy with %changelog appended. Apparently rpm.org evaluates macros in %changelog while rpm5 does not. Not sure whether we're supposed to escape macros in changelog now or whether rpm.org should read %changelog as is. ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: rpm4 on carme*
Looks like poldek does not recognize R:(post, postun) and fails to install packages even though dependencies are present: $ ag '^R.*post' mpd.spec 86:Requires(post,postun): gtk-update-icon-cache 87:Requires(post,preun,postun): systemd-units >= 38 $ poldek --cmd desc -r mpd |grep gtk-update-icon-cache Requires(pre): /bin/sh, /bin/sh, gtk-update-icon-cache, systemd-units >= 38 Requires(un): /bin/sh, /bin/sh, gtk-update-icon-cache, systemd-units >= 38 $ poldek -u mpd ... Processing dependencies... There are 1 package to install: A mpd-0.22.3-1 This operation will use 1.4MB of disk space. Need to get 507.6KB of archives. mpd-0.22.3-1.armv6hl.rpm: digests OK Executing pm-command.sh --upgrade -vh --root / --define _check_dirname_deps 1... error: Failed dependencies: gtk-update-icon-cache is needed by mpd-0.22.3-1.armv6hl Manual installation of gtk-update-icon-cache followed by installation of mpd is all fine. ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: rpm4 on carme*
On 11/27/20 4:57 PM, Elan Ruusamäe wrote: On 10/28/20 12:21 AM, Jan Rękorajski wrote: All carme machines are now running rpm 4.16.0. Please test and report any issues. can't install packages built with 4.15 to install upgrade packages on rpm 4.5 error: php53-zip-5.3.29-51.1.x86_64: req rpmlib(FileDigests) <= 4.6.0-1 not found, upgrade rpm error: php53-common-5.3.29-51.1.x86_64: req rpmlib(FileDigests) <= 4.6.0-1 not found, upgrade rpm it was possible to upgrade ac->th using rpm/poldek on ac pointing poldek to th repos and run poldek --upgrade-dist i guess have to use ac->th-2019->th in the future if distro packages built with rpm 4.16 to revert to previous state: # Algorithm to use for generating file checksum digests on build. # If not specified or 0, MD5 is used. # WARNING: non-MD5 is backwards incompatible with rpm < 4.6! # The supported algorithms may depend on the underlying crypto # implementation but generally at least the following are supported: # 1 MD5 # 2 SHA1 # 8 SHA256 (default) # 9 SHA384 # 10 SHA512 # %_source_filedigest_algorithm 1 %_binary_filedigest_algorithm 1 ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: rpm4 on carme*
On 10/28/20 12:21 AM, Jan Rękorajski wrote: All carme machines are now running rpm 4.16.0. Please test and report any issues. can't install packages built with 4.15 to install upgrade packages on rpm 4.5 error: php53-zip-5.3.29-51.1.x86_64: req rpmlib(FileDigests) <= 4.6.0-1 not found, upgrade rpm error: php53-common-5.3.29-51.1.x86_64: req rpmlib(FileDigests) <= 4.6.0-1 not found, upgrade rpm it was possible to upgrade ac->th using rpm/poldek on ac pointing poldek to th repos and run poldek --upgrade-dist i guess have to use ac->th-2019->th in the future if distro packages built with rpm 4.16 ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: rpm4 on carme*
On 10/28/20 12:21 AM, Jan Rękorajski wrote: All carme machines are now running rpm 4.16.0. Please test and report any issues. the "Obsoletes: foo" pattern to replace a package does longer seem to work. php*-devel packages obsolete each other, so if you install php70-devel it will remove installed php74-devel, etc but now it fails, because it does not like the reverse dependency (php74-devel also obsoletes php70-devel). Processing dependencies... php74-devel-7.4.12-2.x86_64 obsoleted by php70-devel-7.0.33-8.x86_64 There are 1 package to install, 1 to remove: A php70-devel-7.0.33-8.x86_64 R php74-devel-7.4.12-2.x86_64 This operation will free 1.3MB of disk space. Need to get 463.0KB of archives (463.0KB to download). th-arch::php70-devel-7.0.33-8.x86_64.rpm [463.0K (133.9K/s)] php70-devel-7.0.33-8.x86_64.rpm: digests OK Executing pm-command.sh --upgrade -vh --root / --define _check_dirname_deps 1... warning: /root/.poldek-cache/ftp_ftp1.pld-linux.org.dists.th.PLD.x86.64.RPMS/php70-devel-7.0.33-8.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID e4f1bc2d: NOKEY error: Failed dependencies: php70-devel is obsoleted by (installed) php74-devel-4:7.4.12-2.x86_64 There were errors poldek:/all-avail> ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: rpm4 on carme*
On Sun, Nov 22, 2020 at 11:34 AM Arkadiusz Miśkiewicz via pld-devel-en wrote: > > W dniu 22.11.2020 o 17:00, Jan Palus pisze: > > * adding to the list of invalid chars in Obsoletes: '/' (msmtp: Obsoletes: > > /usr/lib/sendmail) > > > > * python-Cython built with rpm.org has weird unsatisfied R: > > python2.7dist(setuptools) / python3.8dist(setuptools) > > Could these be https://rpm.org/user_doc/boolean_dependencies.html that > are not handled by poldek ? > > And "/" could be forbidden due to that. I don't think Cython has a ranged dependency to trigger a boolean dependency expression. At least in Fedora, Cython generates a "python3.9dist(setuptools)" dependency. I would expect python3-setuptools to have a generated "Provides: python3.8dist(setuptools)" stanza from the pythondist generator. -- 真実はいつも一つ!/ Always, there's only one truth! ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: rpm4 on carme*
W dniu 22.11.2020 o 17:00, Jan Palus pisze: > * adding to the list of invalid chars in Obsoletes: '/' (msmtp: Obsoletes: > /usr/lib/sendmail) > > * python-Cython built with rpm.org has weird unsatisfied R: > python2.7dist(setuptools) / python3.8dist(setuptools) Could these be https://rpm.org/user_doc/boolean_dependencies.html that are not handled by poldek ? And "/" could be forbidden due to that. -- Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org ) ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: rpm4 on carme*
* adding to the list of invalid chars in Obsoletes: '/' (msmtp: Obsoletes: /usr/lib/sendmail) * python-Cython built with rpm.org has weird unsatisfied R: python2.7dist(setuptools) / python3.8dist(setuptools) python-setuptools built with rpm.org does not have such P: ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: rpm4 on carme*
On 10.11.2020 18:18, Jan Palus wrote: > On 06.11.2020 20:49, Jan Palus wrote: > > On 27.10.2020 23:21, Jan Rękorajski wrote: > > > All carme machines are now running rpm 4.16.0. Please test and report > > > any issues. > > > > * poldek appears to still enforce directory deps while rpms does not > > (that concerns mainly /usr/lib/.build-id subdirs) > > > > * rpm.org is missing %{__ln} macro. spotted only single occurrence in > > xrdp.spec > > * missing __bash macro > > * most noarch conditions stopped working now since 4.16 < 4.6 * Provides for libraries are not populated if %install does not set executable bit on ELF file. One such notable example is libgcc_s installed with mode 644 by `make install`: rpm5: $ rpm -q --provides libgcc | grep libgcc_s libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.3) libgcc_s.so.1(GCC_3.3.1) libgcc_s.so.1(GCC_3.4) libgcc_s.so.1(GCC_3.4.2) libgcc_s.so.1(GCC_4.0.0) libgcc_s.so.1(GCC_4.2.0) libgcc_s.so.1(GCC_4.3.0) libgcc_s.so.1(GCC_4.4.0) libgcc_s.so.1(GCC_4.5.0) libgcc_s.so.1(GCC_4.7.0) libgcc_s.so.1(GCC_4.8.0) libgcc_s.so.1(GCC_7.0.0) libgcc_s.so.1(GLIBC_2.0) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libgcc_s.so.1(GCC_3.4)(64bit) libgcc_s.so.1(GCC_3.4.2)(64bit) libgcc_s.so.1(GCC_3.4.4)(64bit) libgcc_s.so.1(GCC_4.0.0)(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) libgcc_s.so.1(GCC_4.3.0)(64bit) libgcc_s.so.1(GCC_4.7.0)(64bit) libgcc_s.so.1(GCC_4.8.0)(64bit) libgcc_s.so.1(GCC_7.0.0)(64bit) rpm4: $ rpm -q --provides -p libgcc-10.2.0-1.x86_64.rpm | grep libgcc_s (empty) Aa a workaround we could remove "exeonly" from %__elf_flags in /usr/lib/rpm/fileattrs/elf.attr but ideally RPM should not look at actual file mode on disk but rather on mode configured in %files. Other such example: ossp-uuid * possibly similar case but I haven't debugged it: perl-modules does not provide perl(unicore::Name) * Requires(triggerpostun) is not supported (pam.spec) * Obsoletes fails if it does not contain "package name only" examples: systemd.spec: Obsoletes: virtual(init-daemon) (illegal char '(') perl.spec: Obsoletes: perl-Params::Check < %perl_modverrel Params::Check 99 (illegal char ':') * similar thing in Provides: perl.spec: Provides: perldoc = 3.14_02@5.30.3 (illegal char '@') ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: rpm4 on carme*
On 10/28/20 12:21 AM, Jan Rękorajski wrote: All carme machines are now running rpm 4.16.0. Please test and report any issues. hrmib integration seems to be missing. ➔ l -rt /var/cache/hrmib/ -rt|tail -rw-r--r-- 1 root root 0 Oct 26 10:23 rpm-perlprov-4.16.0-0.1-th.x86_64 -rw-r--r-- 1 root root 0 Oct 26 10:23 rpm-lib-4.16.0-0.1-th.x86_64 -rw-r--r-- 1 root root 0 Oct 26 10:23 rpm-devel-4.16.0-0.1-th.x86_64 -rw-r--r-- 1 root root 0 Oct 26 10:23 rpm-build-4.16.0-0.1-th.x86_64 -rw-r--r-- 1 root root 0 Oct 26 10:23 rpm-base-4.16.0-0.1-th.x86_64 -rw-r--r-- 1 root root 0 Oct 26 10:23 rpm-4.16.0-0.1-th.x86_64 -rw-r--r-- 1 root root 0 Oct 26 10:23 python3-rpm-4.16.0-0.1-th.x86_64 -rw-r--r-- 1 root root 0 Oct 26 10:23 poldek-libs-0.42.2-3.1-th.x86_64 -rw-r--r-- 1 root root 0 Oct 26 10:23 poldek-0.42.2-3.1-th.x86_64 -rw-r--r-- 1 root root 0 Oct 26 10:23 lua54-libs-5.4.1-2.x86_64 ➔ needed for net-snmp hrSWInstalledTable: - http://www.net-snmp.org/docs/mibs/host.html#hrSWInstalledTable it can be queried with something like this: $ snmpwalk -v 1 -c public localhost hrSWInstalledTable ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: rpm4 on carme*
On 06.11.2020 20:49, Jan Palus wrote: > On 27.10.2020 23:21, Jan Rękorajski wrote: > > All carme machines are now running rpm 4.16.0. Please test and report > > any issues. > > * poldek appears to still enforce directory deps while rpms does not > (that concerns mainly /usr/lib/.build-id subdirs) > > * rpm.org is missing %{__ln} macro. spotted only single occurrence in > xrdp.spec * missing __bash macro * most noarch conditions stopped working now since 4.16 < 4.6 ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: rpm4 on carme*
On 27.10.2020 23:21, Jan Rękorajski wrote: > All carme machines are now running rpm 4.16.0. Please test and report > any issues. * poldek appears to still enforce directory deps while rpms does not (that concerns mainly /usr/lib/.build-id subdirs) * rpm.org is missing %{__ln} macro. spotted only single occurrence in xrdp.spec ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: rpm4 on carme*
On 28.10.2020 00:21, Jan Rękorajski wrote: All carme machines are now running rpm 4.16.0. Please test and report any issues. --blink option is gone. the option was useful to tell what was previous version installed of the same package. $ rpm -q libvterm --blink rpm: --blink: unknown option ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: rpm4 on carme*
More differences/issues: * patch run with different args: --no-backup-if-mismatch '--fuzz=0' - there is no .orig file when patching fails, so updating patches needs more effort - fuzz=0 will require updating many patches in repo * rpmbuild with non-UTF-8 locale in environment fails on some packages with gettext catalogs, e.g.: Pakiet libreoffice-i18n-cs: nieprawidłowe kodowanie utf-8 w| Classdict: GNU message catalog (little endian), revision 0.0, 674 messages, Project-Id-Version: PACKAGE VERSION 'Barva textu aktivnĂho vĂ˝bÄ\233ru' -- Błędny lub niepełny znak wielobajtowy It's side effect of libmagic trying to extract too many information in rules for "gnu" files; I'm going to patch Magdir/gnu rules and disable printing of text next to Project-Id-Version. I don't know what it was meant for, but it doesn't show anything useful now (just some semi-random translation). * absolute symlinks are reported as warning (even if they cross /) (my personal preference is to use relative symlinks unless they cross /, in which case I prefer absolute ones) * symlinks are always packaged with 777 mode and using %attr() for symlink is reported as warning -- Jakub Boguszhttp://qboosh.pl/ ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: rpm4 on carme*
On Sun, Nov 01, 2020 at 09:23:36AM +0200, Elan Ruusamäe wrote: > > On 10/28/20 12:21 AM, Jan Rękorajski wrote: > >All carme machines are now running rpm 4.16.0. Please test and report > >any issues. > > i've created wiki section for this topic. > > > https://www.pld-linux.org/packages/rpm#rpm_416_porting_status > > > perhaps we can keep it updated, with documenting at least incompatible > changes (changes we have no plans to fix) One such change, just found accidentally (libreoffice.spec) - spaces around operators in BR were used because of preferred style, in rpm.org they are obligatory: -%{?with_system_hunspell:BuildRequires: hunspell-devel >=1.2.2} +%{?with_system_hunspell:BuildRequires: hunspell-devel >= 1.2.2} Original notation caused parse error. (no need to change anything in rpm, just fix a few(?) specs in repo) -- Jakub Boguszhttp://qboosh.pl/ ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: rpm4 on carme*
On 10/28/20 12:21 AM, Jan Rękorajski wrote: All carme machines are now running rpm 4.16.0. Please test and report any issues. i've created wiki section for this topic. https://www.pld-linux.org/packages/rpm#rpm_416_porting_status perhaps we can keep it updated, with documenting at least incompatible changes (changes we have no plans to fix) ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: rpm4 on carme*
On 10/28/20 12:21 AM, Jan Rękorajski wrote: All carme machines are now running rpm 4.16.0. Please test and report any issues. [~/rpm/packages/php(ERR) (PHP_5_6)★] ➔ rpm --version RPM version 4.16.0 [~/rpm/packages/php(ERR) (PHP_5_6)★] ➔ rpm -q rpm rpm-4.16.0-0.4.x86_64 php.spec @PHP_5_6: warning: line 423: It's not recommended to have unversioned Obsoletes: Obsoletes: phpfi warning: line 439: It's not recommended to have unversioned Obsoletes: Obsoletes: phpfi error: line 527: Illegal char '/' (0x2f) in: Obsoletes: /usr/bin/php error: line 527: Only package names are allowed in Obsoletes: Obsoletes: /usr/bin/php error: query of specfile php.spec failed, can't parse php.spec @master: warning: Macro expanded in comment on line 161: %{orgname}-%{version}.tar.xz warning: line 378: It's not recommended to have unversioned Obsoletes: Obsoletes: phpfi error: line 466: Illegal char '/' (0x2f) in: Obsoletes: /usr/bin/php error: line 466: Only package names are allowed in Obsoletes: Obsoletes: /usr/bin/php error: query of specfile php.spec failed, can't parse [~/rpm/packages/php(ERR) (master)★] ➔ ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: rpm4 on carme*
On Tue, Oct 27, 2020 at 11:21:17PM +0100, Jan Rękorajski wrote: > All carme machines are now running rpm 4.16.0. Please test and report > any issues. One so far (very short testing): rpm -qi prints summaries/decriptions in UTF-8 regardless of current locale encoding. (anyway, great work with bringing rpm.org!) -- Jakub Boguszhttp://qboosh.pl/ ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
rpm4 on carme*
All carme machines are now running rpm 4.16.0. Please test and report any issues. -- Jan Rękorajski| PLD/Linux SysAdm | bagginspld-linux.org | http://www.pld-linux.org/ ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en