Re: [packages/libidn2] Use lua in %post scripts to break dependency loop

2019-02-19 Thread Elan Ruusamäe
On 19/02/2019 16:59, Arkadiusz Miśkiewicz wrote: On 19/02/2019 15:37, Jacek Konieczny wrote: Adding external libidn2 dependency to glibc was a very bad idea and should be reverted. glibc must not have any 'heavy' external dependencies. That's why it is "Suggests" not "Requires". it's rpm imp

Re: [packages/libidn2] Use lua in %post scripts to break dependency loop

2019-02-19 Thread Arkadiusz Miśkiewicz
On 19/02/2019 15:37, Jacek Konieczny wrote: > Adding external libidn2 dependency to glibc was a very bad idea and > should be reverted. glibc must not have any 'heavy' external > dependencies. That's why it is "Suggests" not "Requires". -- Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.o

Re: [packages/libidn2] Use lua in %post scripts to break dependency loop

2019-02-19 Thread glen
On 2/19/19 4:37 PM, Jacek Konieczny wrote: Adding external libidn2 dependency to glibc was a very bad idea and should be reverted. glibc must not have any 'heavy' external dependencies. And libidn2 is not even a single library, as it pulls libunistring. perhaps pld should go alpine? use musl a

Re: [packages/libidn2] Use lua in %post scripts to break dependency loop

2019-02-19 Thread Jacek Konieczny
On 19/02/2019 15.23, glen wrote: > the behaviour is not identical: > > 1. previous code did not hide ldconfig errors Which should not bother us. Even if ldconfig does not work we need this installed if we want glibc installed properly > 2. previous code skipped invocation if /usr/sbin/fix-info-d

Re: [packages/libidn2] Use lua in %post scripts to break dependency loop

2019-02-19 Thread glen
On 2/19/19 2:16 PM, jajcus wrote: -%post -/sbin/ldconfig -[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 +%post -p +os.execute("/sbin/ldconfig >/dev/null 2>&1") +os.execute("/usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1") -%postun -/sbin/ldconf