[cancelled] Re: dropping autogenerated dependency on pkg-config

2019-05-06 Thread Zbigniew Jędrzejewski-Szmek
Due to lack of popular support for the idea (to put it mildly), I won't be doing this. Thank you all for participating in the discussion and good arguments (both pro and con). Zbyszek On Sun, Apr 28, 2019 at 08:55:56PM +, Zbigniew Jędrzejewski-Szmek wrote: > Hi everyone, > > currently, we

Re: dropping autogenerated dependency on pkg-config

2019-05-03 Thread Dridi Boukelmoune
On Fri, May 3, 2019 at 8:18 PM Nicolas Mailhot via devel wrote: > > Le vendredi 03 mai 2019 à 19:59 +0200, Dridi Boukelmoune a écrit : > > On Fri, May 3, 2019 at 1:45 PM Nicolas Mailhot via devel > > wrote: > > > Le vendredi 03 mai 2019 à 12:04 +0100, Tomasz Kłoczko a écrit : > > > > On Fri, 3 Ma

Re: dropping autogenerated dependency on pkg-config

2019-05-03 Thread James Cassell
On Tue, Apr 30, 2019, at 10:14 PM, Neal Gompa wrote: > > Second, do you not even know that Mock passes --nodeps to rpmbuild > because the rpmdb in the chroot isn't necessarily compatible with rpm > in the chroot? We currently don't allow rpmbuild to evaluate > dependencies at all. We may change th

Re: dropping autogenerated dependency on pkg-config

2019-05-03 Thread Nicolas Mailhot via devel
Le vendredi 03 mai 2019 à 19:59 +0200, Dridi Boukelmoune a écrit : > On Fri, May 3, 2019 at 1:45 PM Nicolas Mailhot via devel > wrote: > > Le vendredi 03 mai 2019 à 12:04 +0100, Tomasz Kłoczko a écrit : > > > On Fri, 3 May 2019 at 11:04, Nicolas Mailhot via devel > > > wrote: > > > [..] > > > > Y

Re: dropping autogenerated dependency on pkg-config

2019-05-03 Thread Dridi Boukelmoune
On Fri, May 3, 2019 at 1:45 PM Nicolas Mailhot via devel wrote: > > Le vendredi 03 mai 2019 à 12:04 +0100, Tomasz Kłoczko a écrit : > > On Fri, 3 May 2019 at 11:04, Nicolas Mailhot via devel > > wrote: > > [..] > > > You're assuming the only use is roolback. It's not > > > > Point taken. Can you

Re: dropping autogenerated dependency on pkg-config

2019-05-03 Thread Neal Gompa
On Fri, May 3, 2019 at 8:26 AM Tomasz Kłoczko wrote: > > On Fri, 3 May 2019 at 12:44, Nicolas Mailhot > wrote: > [..] > > > Point taken. Can you shortly describe other use cases? > > > > You use apps in one of those languages that static build by default. > > There is a security alert in one cod

Re: dropping autogenerated dependency on pkg-config

2019-05-03 Thread Tomasz Kłoczko
On Fri, 3 May 2019 at 12:44, Nicolas Mailhot wrote: [..] > > Point taken. Can you shortly describe other use cases? > > You use apps in one of those languages that static build by default. > There is a security alert in one code component. You want to know which > packages in your repo/mirror have

Re: dropping autogenerated dependency on pkg-config

2019-05-03 Thread Nicolas Mailhot via devel
Le vendredi 03 mai 2019 à 12:04 +0100, Tomasz Kłoczko a écrit : > On Fri, 3 May 2019 at 11:04, Nicolas Mailhot via devel > wrote: > [..] > > You're assuming the only use is roolback. It's not > > Point taken. Can you shortly describe other use cases? You use apps in one of those languages that s

Re: dropping autogenerated dependency on pkg-config

2019-05-03 Thread Tomasz Kłoczko
On Fri, 3 May 2019 at 11:04, Nicolas Mailhot via devel wrote: [..] > You're assuming the only use is roolback. It's not Point taken. Can you shortly describe other use cases? kloczek -- Tomasz Kłoczko | LinkedIn: http://lnkd.in/FXPWxH ___ devel mailin

Re: dropping autogenerated dependency on pkg-config

2019-05-03 Thread Nicolas Mailhot via devel
Le vendredi 03 mai 2019 à 09:46 +0100, Tomasz Kłoczko a écrit : > ial today, because the storage part has not been streamlined. > > As I wrote problem only is that without possibility really rollback > to > the full state described in set of exact N-E:V-Rs packages recorded > data such auditing da

Re: dropping autogenerated dependency on pkg-config

2019-05-03 Thread Tomasz Kłoczko
On Thu, 2 May 2019 at 20:29, Nicolas Mailhot via devel wrote: [..] > > IMO maintainer in this case is 100% right because all properties of > > the build env already can be described in with enough precision. > > Providing more details about build env will be duplicating current > > build dependenc

Re: dropping autogenerated dependency on pkg-config

2019-05-03 Thread Tomasz Kłoczko
On Fri, 3 May 2019 at 09:46, Tomasz Kłoczko wrote: [..] > http://pkg.oracle.com/solaris/release/en/ URL correction: http://pkg.oracle.com/solaris/release/ kloczek -- Tomasz Kłoczko | LinkedIn: http://lnkd.in/FXPWxH ___ devel mailing list -- devel@list

Re: dropping autogenerated dependency on pkg-config

2019-05-02 Thread Nicolas Mailhot via devel
Le mercredi 01 mai 2019 à 13:12 +0100, Tomasz Kłoczko a écrit : > On Wed, 1 May 2019 at 09:04, Nicolas Mailhot < > nicolas.mail...@laposte.net> wrote: > [..] > > > One of those specs is elfutils.spec in which is: > > > > > > %check > > > # Record some build root versions in build.log > > > uname -

Re: dropping autogenerated dependency on pkg-config

2019-05-01 Thread William Pitcock
On Wed, May 1, 2019, 6:15 AM Zbigniew Jędrzejewski-Szmek wrote: > On Tue, Apr 30, 2019 at 10:04:55PM -0500, William Pitcock wrote: > > On Tue, Apr 30, 2019 at 8:50 AM Neal Gompa wrote: > > > > > > On Tue, Apr 30, 2019 at 9:47 AM Tomasz Kłoczko < > kloczko.tom...@gmail.com> wrote: > > > > > > > >

Re: dropping autogenerated dependency on pkg-config

2019-05-01 Thread Tomasz Kłoczko
On Wed, 1 May 2019 at 09:04, Nicolas Mailhot wrote: [..] > > One of those specs is elfutils.spec in which is: > > > > %check > > # Record some build root versions in build.log > > uname -r; rpm -q glibc > > Funny; that’s pretty much > https://github.com/rpm-software-management/rpm/issues/607 > >

Re: dropping autogenerated dependency on pkg-config

2019-05-01 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Apr 30, 2019 at 10:04:55PM -0500, William Pitcock wrote: > On Tue, Apr 30, 2019 at 8:50 AM Neal Gompa wrote: > > > > On Tue, Apr 30, 2019 at 9:47 AM Tomasz Kłoczko > > wrote: > > > > > > On Mon, 29 Apr 2019 at 20:09, Rex Dieter wrote: > > > [..] > > >> > > >> The work required to fix pa

Re: dropping autogenerated dependency on pkg-config

2019-05-01 Thread Nicolas Mailhot
Le mercredi 01 mai 2019 à 08:18 +0100, Tomasz Kłoczko a écrit : > On Wed, 1 May 2019 at 03:24, Neal Gompa wrote: > [..] > > > Just checked all Fedora spec files to find few of them which are > using straight rpm command in %build or %check. > One of those specs is elfutils.spec in which is: >

Re: dropping autogenerated dependency on pkg-config

2019-05-01 Thread Tomasz Kłoczko
On Wed, 1 May 2019 at 03:24, Neal Gompa wrote: [..] > Second, do you not even know that Mock passes --nodeps to rpmbuild > because the rpmdb in the chroot isn't necessarily compatible with rpm > in the chroot? We currently don't allow rpmbuild to evaluate > dependencies at all. We may change this

Re: dropping autogenerated dependency on pkg-config

2019-04-30 Thread William Pitcock
On Tue, Apr 30, 2019 at 8:50 AM Neal Gompa wrote: > > On Tue, Apr 30, 2019 at 9:47 AM Tomasz Kłoczko > wrote: > > > > On Mon, 29 Apr 2019 at 20:09, Rex Dieter wrote: > > [..] > >> > >> The work required to fix packages affected by this disadvantage > >> (potentially) far outweighs any advantage

Re: dropping autogenerated dependency on pkg-config

2019-04-30 Thread Neal Gompa
On Tue, Apr 30, 2019 at 6:42 PM Tomasz Kłoczko wrote: > > On Tue, 30 Apr 2019 at 21:04, Neal Gompa wrote: >> >> > And what is wrong with just "BuildRequires: pkgconfig"? >> >> That is no guarantee that '/usr/bin/pkg-config' will be provided, >> which is required by the dep generator and various t

Re: dropping autogenerated dependency on pkg-config

2019-04-30 Thread Tomasz Kłoczko
On Tue, 30 Apr 2019 at 21:04, Neal Gompa wrote: > > And what is wrong with just "BuildRequires: pkgconfig"? > > That is no guarantee that '/usr/bin/pkg-config' will be provided, > which is required by the dep generator and various tools. > You just put in my hand +1 to not use paths in BuildRequ

Re: dropping autogenerated dependency on pkg-config

2019-04-30 Thread Neal Gompa
On Tue, Apr 30, 2019 at 3:49 PM Tomasz Kłoczko wrote: > > On Tue, 30 Apr 2019 at 18:19, Neal Gompa wrote: > [..] >> >> If we're going to go down this road, it should be >> >> BuildRequires: /usr/bin/pkg-config >> >> That's what's required for the dep generator to work, too. > > > And what is wron

Re: dropping autogenerated dependency on pkg-config

2019-04-30 Thread Tomasz Kłoczko
On Tue, 30 Apr 2019 at 18:19, Neal Gompa wrote: [..] > If we're going to go down this road, it should be > > BuildRequires: /usr/bin/pkg-config > > That's what's required for the dep generator to work, too. > And what is wrong with just "BuildRequires: pkgconfig"? Don't you see that this forces

Re: dropping autogenerated dependency on pkg-config

2019-04-30 Thread Neal Gompa
On Tue, Apr 30, 2019 at 12:38 PM Kalev Lember wrote: > > On Mon, Apr 29, 2019 at 9:20 PM Zbigniew Jędrzejewski-Szmek > wrote: >> >> On Mon, Apr 29, 2019 at 02:00:41PM -0500, Rex Dieter wrote: >> > Zbigniew Jędrzejewski-Szmek wrote: >> > >> > >> > > Proposal: let's drop the autogenerated dependen

Re: dropping autogenerated dependency on pkg-config

2019-04-30 Thread Kalev Lember
On Mon, Apr 29, 2019 at 9:20 PM Zbigniew Jędrzejewski-Szmek < zbys...@in.waw.pl> wrote: > On Mon, Apr 29, 2019 at 02:00:41PM -0500, Rex Dieter wrote: > > Zbigniew Jędrzejewski-Szmek wrote: > > > > > > > Proposal: let's drop the autogenerated dependency on > /usr/bin/pkg-config > > > (this would re

Re: dropping autogenerated dependency on pkg-config

2019-04-30 Thread Tomasz Kłoczko
On Tue, 30 Apr 2019 at 14:59, Neal Gompa wrote: [,,] > > Bollocks .. just sed/perl oneliner which will add BuildRequires: > pkgconfig if in package is used any "BuildRequires: pkgconfig() and > remove from rpmdependencies autogenerator add "Requires: pkgconfig" if > package has any on the list an

Re: dropping autogenerated dependency on pkg-config

2019-04-30 Thread Neal Gompa
On Tue, Apr 30, 2019 at 9:47 AM Tomasz Kłoczko wrote: > > On Mon, 29 Apr 2019 at 20:09, Rex Dieter wrote: > [..] >> >> The work required to fix packages affected by this disadvantage >> (potentially) far outweighs any advantage > > > Bollocks .. just sed/perl oneliner which will add BuildRequires

Re: dropping autogenerated dependency on pkg-config

2019-04-30 Thread Tomasz Kłoczko
On Mon, 29 Apr 2019 at 20:09, Rex Dieter wrote: [..] > The work required to fix packages affected by this disadvantage > (potentially) far outweighs any advantage > Bollocks .. just sed/perl oneliner which will add BuildRequires: pkgconfig if in package is used any "BuildRequires: pkgconfig() an

Re: dropping autogenerated dependency on pkg-config

2019-04-30 Thread Neal Gompa
On Tue, Apr 30, 2019 at 2:34 AM Vít Ondruch wrote: > > > Dne 28. 04. 19 v 22:55 Zbigniew Jędrzejewski-Szmek napsal(a): > > Hi everyone, > > > > currently, we autogenerate a dependency on pkg-config for all rpms > > that ship a .pc file. "dnf repoquery --whatrequires /usr/bin/pkg-config" > > return

Re: dropping autogenerated dependency on pkg-config

2019-04-29 Thread Vít Ondruch
Dne 28. 04. 19 v 22:55 Zbigniew Jędrzejewski-Szmek napsal(a): > Hi everyone, > > currently, we autogenerate a dependency on pkg-config for all rpms > that ship a .pc file. "dnf repoquery --whatrequires /usr/bin/pkg-config" > returns 4632 entries on my laptop. > > This has always felt backward to m

Re: dropping autogenerated dependency on pkg-config

2019-04-29 Thread Neal Gompa
On Mon, Apr 29, 2019 at 3:20 PM Zbigniew Jędrzejewski-Szmek wrote: > > On Mon, Apr 29, 2019 at 02:00:41PM -0500, Rex Dieter wrote: > > Zbigniew Jędrzejewski-Szmek wrote: > > > > > > > Proposal: let's drop the autogenerated dependency on /usr/bin/pkg-config > > > (this would require a trivial chang

Re: dropping autogenerated dependency on pkg-config

2019-04-29 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Apr 29, 2019 at 02:00:41PM -0500, Rex Dieter wrote: > Zbigniew Jędrzejewski-Szmek wrote: > > > > Proposal: let's drop the autogenerated dependency on /usr/bin/pkg-config > > (this would require a trivial change in /usr/lib/rpm/pkgconfigdeps.sh). > > > > Note: autogenerated Provides/Requi

Re: dropping autogenerated dependency on pkg-config

2019-04-29 Thread Rex Dieter
Zbigniew Jędrzejewski-Szmek wrote: > Proposal: let's drop the autogenerated dependency on /usr/bin/pkg-config > (this would require a trivial change in /usr/lib/rpm/pkgconfigdeps.sh). > > Note: autogenerated Provides/Requires like pkgconfig(foo) are not > part of this proposal. > > Advantages:

Re: dropping autogenerated dependency on pkg-config

2019-04-29 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Apr 29, 2019 at 06:29:06AM -0400, Neal Gompa wrote: > On Mon, Apr 29, 2019 at 5:04 AM Lennart Poettering > wrote: > > > > On So, 28.04.19 20:55, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) > > wrote: > > > > > Hi everyone, > > > > > > currently, we autogenerate a dependency on pkg-co

Re: dropping autogenerated dependency on pkg-config

2019-04-29 Thread Neal Gompa
On Mon, Apr 29, 2019 at 8:05 AM Zbigniew Jędrzejewski-Szmek wrote: > > On Mon, Apr 29, 2019 at 06:29:06AM -0400, Neal Gompa wrote: > > On Mon, Apr 29, 2019 at 5:04 AM Lennart Poettering > > wrote: > > > > > > On So, 28.04.19 20:55, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) > > > wrote: >

Re: dropping autogenerated dependency on pkg-config

2019-04-29 Thread Neal Gompa
On Mon, Apr 29, 2019 at 5:04 AM Lennart Poettering wrote: > > On So, 28.04.19 20:55, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > > > Hi everyone, > > > > currently, we autogenerate a dependency on pkg-config for all rpms > > that ship a .pc file. "dnf repoquery --whatrequires /usr/bin

Re: dropping autogenerated dependency on pkg-config

2019-04-29 Thread Lennart Poettering
On So, 28.04.19 20:55, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > Hi everyone, > > currently, we autogenerate a dependency on pkg-config for all rpms > that ship a .pc file. "dnf repoquery --whatrequires /usr/bin/pkg-config" > returns 4632 entries on my laptop. You probably need som

Re: dropping autogenerated dependency on pkg-config

2019-04-28 Thread Igor Gnatenko
On Sun, Apr 28, 2019 at 11:04 PM Zbigniew Jędrzejewski-Szmek < zbys...@in.waw.pl> wrote: > Hi everyone, > > currently, we autogenerate a dependency on pkg-config for all rpms > that ship a .pc file. "dnf repoquery --whatrequires /usr/bin/pkg-config" > returns 4632 entries on my laptop. > > This ha

Re: dropping autogenerated dependency on pkg-config

2019-04-28 Thread Igor Gnatenko
On Sun, Apr 28, 2019 at 11:34 PM Neal Gompa wrote: > On Sun, Apr 28, 2019 at 4:57 PM Zbigniew Jędrzejewski-Szmek > wrote: > > > > Hi everyone, > > > > currently, we autogenerate a dependency on pkg-config for all rpms > > that ship a .pc file. "dnf repoquery --whatrequires /usr/bin/pkg-config" >

Re: dropping autogenerated dependency on pkg-config

2019-04-28 Thread Neal Gompa
On Sun, Apr 28, 2019 at 4:57 PM Zbigniew Jędrzejewski-Szmek wrote: > > Hi everyone, > > currently, we autogenerate a dependency on pkg-config for all rpms > that ship a .pc file. "dnf repoquery --whatrequires /usr/bin/pkg-config" > returns 4632 entries on my laptop. > > This has always felt backwa

dropping autogenerated dependency on pkg-config

2019-04-28 Thread Zbigniew Jędrzejewski-Szmek
Hi everyone, currently, we autogenerate a dependency on pkg-config for all rpms that ship a .pc file. "dnf repoquery --whatrequires /usr/bin/pkg-config" returns 4632 entries on my laptop. This has always felt backward to me: those packages *provide* something that is used by pkg-config, they don'