[EPEL-devel] Re: Modules again

2020-07-06 Thread Paul Howarth
On Tue, 19 May 2020 19:00:25 +0100
Paul Howarth  wrote:

> On Tue, 19 May 2020 09:21:46 -0700
> Kevin Fenzi  wrote:
> 
> > On Tue, May 19, 2020 at 11:48:04AM -0400, Stephen John Smoogen
> > wrote:  
> > > On Tue, 19 May 2020 at 11:05, Paul Howarth 
> > > wrote:   
> > > > On Tue, 19 May 2020 09:07:30 -0400
> > > > Stephen John Smoogen  wrote:
> > > >
> > > > > On Tue, 19 May 2020 at 06:05, Paul Howarth 
> > > > > wrote:   
> > > >
> > > > Yes, I'm using vanilla configs straight from mock-core-configs
> > > > for this, and that has epel-8-x86_64.cfg, which pulls in
> > > > centos-8.tpl, which has the PowerTools repo defined and not
> > > > disabled.
> > > >
> > > > (I generally use my own configs and don't touch the original
> > > > ones, so I know that if I try the original ones from upstream
> > > > then they should work as intended)
> > > >
> > > > Note that the error message doesn't say it can't find
> > > > Judy-devel, it says that it (and Judy) is/are excluded. I don't
> > > > know why that is.
> > > >
> > > >
> > > Ohhh sorry. I missed the obvious. I am going to guess from past
> > > problems, the system is trying to pull in mariadb which filters it
> > > out and mariadb-devel which has it in. So when it sees the filters
> > > it says 'nope can't do this sorry'. I wish there was a 'no I know
> > > it might break my system do it anyway!' flag but I don't see one
> > > looking through /usr/share/doc/mock/site-defaults.cfg . This was
> > > one of the reasons for grobisplitter being used.
> > 
> > You should be able to set: 
> > 
> > module_hotfixes = True 
> > 
> > in your dnf/yum/mock config. 
> > 
> > From the dnf man page:
> > 
> > "Set this to True to disable module RPM filtering and make all RPMs
> > from the repository available. The default is False.  This allows
> > user to create a repository with cherry-picked hotfixes that are
> > included in a package set on a modular system."  
> 
> Ah, setting that option for the PowerTools repo allows the build to
> work. Now if only there was a way to do that from the command line so
> I didn't have to touch the mock config.

And now in CentOS 8.2 Judy-devel is missing from the PowerTools repo
and so it doesn't work again. Ho hum.

Paul.
___
epel-devel mailing list -- epel-devel@lists.fedoraproject.org
To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org


[EPEL-devel] Re: Modules again

2020-05-20 Thread Petr Pisar
On Wed, May 20, 2020 at 09:03:39AM +0100, Paul Howarth wrote:
> What host system are you running that on?

x86_64 Fedora 31 with updates-testing enabled.

After mock finishes bootstrapping DNF, it installs buildrooot and just before
it, it enables the modules:

Complete!
Finish(bootstrap): dnf install
Start(bootstrap): creating root cache
Finish(bootstrap): creating root cache
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 2.2
INFO: Mock Version: 2.2
Start: dnf install
No matches found for the following disable plugin patterns: local, spacewalk
CentOS-8 - Base 
   499 kB/s | 2.2 MB 00:04
CentOS-8 - AppStream
   1.0 MB/s | 7.0 MB 00:06
CentOS-8 - PowerTools   
   516 kB/s | 2.0 MB 00:03
CentOS-8 - Extras   
   6.5 kB/s | 5.9 kB 00:00
epel
   555 kB/s | 6.6 MB 00:12
Dependencies resolved.
===
 Package  ArchitectureVersion   
RepositorySize
===
Enabling module streams:
 mariadb  10.3  
  
 mariadb-devel10.3  
  

Transaction Summary
===

Complete!
No matches found for the following disable plugin patterns: local, spacewalk
CentOS-8 - Base 
11 kB/s | 3.9 kB 00:00
CentOS-8 - AppStream
11 kB/s | 4.3 kB 00:00
CentOS-8 - PowerTools   
   9.9 kB/s | 4.3 kB 00:00
CentOS-8 - Extras   
   3.5 kB/s | 1.5 kB 00:00
epel
   4.4 kB/s | 4.7 kB 00:01
epel
   726 kB/s | 6.6 MB 00:09
Dependencies resolved.
===
 Package  ArchitectureVersion   
  Repository  Size
===
Installing:
 bash x86_64  4.4.19-10.el8 
  BaseOS 1.5 M

After installing the buildroot, it installs the Judy-devel package.

I cannot speak much about a mock configuration, because I had my own changes
in the defaults.cfg and site-defaults.cfg, but when mock introduced the
templates I thrown my configuration away. I don't have any changes in
epel-8-x86_64.cfg and the templates.

-- Petr


signature.asc
Description: PGP signature
___
epel-devel mailing list -- epel-devel@lists.fedoraproject.org
To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org


[EPEL-devel] Re: Modules again

2020-05-20 Thread Paul Howarth
On Wed, 20 May 2020 08:10:42 +0200
Petr Pisar  wrote:

> On Tue, May 19, 2020 at 04:05:02PM +0100, Paul Howarth wrote:
> > On Tue, 19 May 2020 09:07:30 -0400
> > Stephen John Smoogen  wrote:
> >   
> > > On Tue, 19 May 2020 at 06:05, Paul Howarth 
> > > wrote: 
> > > > On Mon, 18 May 2020 22:29:54 -0600
> > > > Orion Poplawski  wrote:
> > > >
> > > > > On 5/17/20 6:34 AM, Paul Howarth wrote:
> > > > > > I'm trying to do a local build of gtkwave for EPEL-8.
> > > > > >
> > > > > > A koji scratch build somehow works:
> > > > > > http://koji.fedoraproject.org/koji/taskinfo?taskID=44609837
> > > > > >
> > > > > > But a local build does not:
> > > > > >
> > > > > > $ mock -r epel-8-x86_64 gtkwave-3.3.104-2.fc31.src.rpm
> > > > > > ...
> > > > > > Error:
> > > > > >   Problem: conflicting requests
> > > > > >- package
> > > > > > Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.i686 is
> > > > > > excluded
> > > > > >- package
> > > > > > Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64 is
> > > > > > excluded
> > > > > >
> > > > > > Adding a repo with a local build of Judy doesn't help; that
> > > > > > gets excluded too.
> > > > > >
> > > > > > Any clues?
> > > > > >
> > > > > > Paul.
> > > > >
> > > > > Judy-devel appears to be part of the mariadb-devel module.
> > > > > Locally I can do:
> > > > >
> > > > > dnf module enable mariadb-devel
> > > > > dnf install Judy-devel
> > > > >
> > > > > This was discovered with:
> > > > >
> > > > > dnf module provides Judy-devel
> > > > >
> > > > > on RHEL 8.2, though that does not appear to work on CentOS
> > > > > 8.1.
> > > > >
> > > > > For mock, this seems to work:
> > > > >
> > > > > mock -r epel-8-x86_64 --config-opts
> > > > > module_enable=mariadb-devel --config-opts module_enable=
> > > > > gtkwave-3.3.104-2.el8.src.rpm
> > > >
> > > > I tried that and it didn't make any difference for me (building
> > > > on F-31). Maybe I need to wait for CentOS 8.2?
> > > >
> > > >
> > > Hmm do you have the Powertools enabled in that Mock? I see
> > > Judy-devel in the CentOS-8.1 tree in Powertools.  
> > 
> > Yes, I'm using vanilla configs straight from mock-core-configs for
> > this, and that has epel-8-x86_64.cfg, which pulls in centos-8.tpl,
> > which has the PowerTools repo defined and not disabled.
> > 
> > (I generally use my own configs and don't touch the original ones,
> > so I know that if I try the original ones from upstream then they
> > should work as intended)
> > 
> > Note that the error message doesn't say it can't find Judy-devel, it
> > says that it (and Judy) is/are excluded. I don't know why that is.
> >   
> The message means that the Judy-devel package exists in a repository,
> but is not available for an installation, because a module it belongs
> to is not active (i.e. not enabled nor default). The correct
> procedure is enable the module it belongs to.
> 
> "dnf module provides Judy-devel" command returns mariadb-devel:10.3
> module. After enabling that module you get another error message that
> Judy package is excluded. That's because Judy package belongs to
> mariadb:10.3 module. You also need to enable that module. Then it
> works. It also works in mock:
> 
> $ mock -r epel-8-x86_64 --config-opts module_enable=mariadb-devel
> --config-opts module_enable=mariadb install Judy-devel [...]
> INFO: installing package(s): Judy-devel
> No matches found for the following disable plugin patterns: local,
> spacewalk CentOS-8 - Base
>539 kB/s | 2.2 MB
> 00:04 CentOS-8 - AppStream
>1.3 MB/s | 7.0 MB
> 00:05 CentOS-8 - PowerTools
>442 kB/s | 2.0 MB
> 00:04 CentOS-8 - Extras
>5.7 kB/s | 5.9 kB
> 00:01 epel
>5.2 kB/s | 4.7 kB
> 00:00 Dependencies resolved.
> ===
> PackageArchitecture   Version
>Repository  Size
> ===
> Installing: Judy-devel x86_64
> 1.0.5-18.module_el8.1.0+217+4d875839   PowerTools
>  76 k Installing dependencies: Judy
> x86_64 1.0.5-18.module_el8.1.0+217+4d875839
> AppStream  131 k
> 
> Transaction Summary
> ===
> Install  2 Packages
> [...]
> Installed:
>   Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64
> Judy-1.0.5-18.module_el8.1.0+217+4d875839.x86_64 
> 
> Complete!

What host system are you runn

[EPEL-devel] Re: Modules again

2020-05-19 Thread Petr Pisar
On Wed, May 20, 2020 at 08:10:42AM +0200, Petr Pisar wrote:
> Now you can ask why enabling mariadb-devel:10.3 does not enable mariadb:10.3
> automatically. Especially when mariadb-devel:10.3 run-requires mariadb:10.3
> according to "dnf module info mariadb-devel:10.3" command. The answer is a bug
> in DNF. I think I recall the bugs has already been fixed, but apparantly it's
> still (or again) there.
> 
https://bugzilla.redhat.com/show_bug.cgi?id=1837841

-- Petr


signature.asc
Description: PGP signature
___
epel-devel mailing list -- epel-devel@lists.fedoraproject.org
To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org


[EPEL-devel] Re: Modules again

2020-05-19 Thread Petr Pisar
On Tue, May 19, 2020 at 04:05:02PM +0100, Paul Howarth wrote:
> On Tue, 19 May 2020 09:07:30 -0400
> Stephen John Smoogen  wrote:
> 
> > On Tue, 19 May 2020 at 06:05, Paul Howarth  wrote:
> > 
> > > On Mon, 18 May 2020 22:29:54 -0600
> > > Orion Poplawski  wrote:
> > >  
> > > > On 5/17/20 6:34 AM, Paul Howarth wrote:  
> > > > > I'm trying to do a local build of gtkwave for EPEL-8.
> > > > >
> > > > > A koji scratch build somehow works:
> > > > > http://koji.fedoraproject.org/koji/taskinfo?taskID=44609837
> > > > >
> > > > > But a local build does not:
> > > > >
> > > > > $ mock -r epel-8-x86_64 gtkwave-3.3.104-2.fc31.src.rpm
> > > > > ...
> > > > > Error:
> > > > >   Problem: conflicting requests
> > > > >- package
> > > > > Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.i686 is excluded
> > > > >- package
> > > > > Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64 is
> > > > > excluded
> > > > >
> > > > > Adding a repo with a local build of Judy doesn't help; that gets
> > > > > excluded too.
> > > > >
> > > > > Any clues?
> > > > >
> > > > > Paul.  
> > > >
> > > > Judy-devel appears to be part of the mariadb-devel module.
> > > > Locally I can do:
> > > >
> > > > dnf module enable mariadb-devel
> > > > dnf install Judy-devel
> > > >
> > > > This was discovered with:
> > > >
> > > > dnf module provides Judy-devel
> > > >
> > > > on RHEL 8.2, though that does not appear to work on CentOS 8.1.
> > > >
> > > > For mock, this seems to work:
> > > >
> > > > mock -r epel-8-x86_64 --config-opts module_enable=mariadb-devel
> > > > --config-opts module_enable= gtkwave-3.3.104-2.el8.src.rpm  
> > >
> > > I tried that and it didn't make any difference for me (building on
> > > F-31). Maybe I need to wait for CentOS 8.2?
> > >
> > >  
> > Hmm do you have the Powertools enabled in that Mock? I see Judy-devel
> > in the CentOS-8.1 tree in Powertools.
> 
> Yes, I'm using vanilla configs straight from mock-core-configs for
> this, and that has epel-8-x86_64.cfg, which pulls in centos-8.tpl,
> which has the PowerTools repo defined and not disabled.
> 
> (I generally use my own configs and don't touch the original ones, so I
> know that if I try the original ones from upstream then they should
> work as intended)
> 
> Note that the error message doesn't say it can't find Judy-devel, it
> says that it (and Judy) is/are excluded. I don't know why that is.
> 
The message means that the Judy-devel package exists in a repository, but is
not available for an installation, because a module it belongs to is not
active (i.e. not enabled nor default). The correct procedure is enable
the module it belongs to.

"dnf module provides Judy-devel" command returns mariadb-devel:10.3 module.
After enabling that module you get another error message that Judy package is
excluded. That's because Judy package belongs to mariadb:10.3 module. You also
need to enable that module. Then it works. It also works in mock:

$ mock -r epel-8-x86_64 --config-opts module_enable=mariadb-devel --config-opts 
module_enable=mariadb install Judy-devel
[...]
INFO: installing package(s): Judy-devel
No matches found for the following disable plugin patterns: local, spacewalk
CentOS-8 - Base 
   539 kB/s | 2.2 MB 00:04
CentOS-8 - AppStream
   1.3 MB/s | 7.0 MB 00:05
CentOS-8 - PowerTools   
   442 kB/s | 2.0 MB 00:04
CentOS-8 - Extras   
   5.7 kB/s | 5.9 kB 00:01
epel
   5.2 kB/s | 4.7 kB 00:00
Dependencies resolved.
===
 PackageArchitecture   Version  
  Repository  Size
===
Installing:
 Judy-devel x86_64 
1.0.5-18.module_el8.1.0+217+4d875839   PowerTools   
   76 k
Installing dependencies:
 Judy   x86_64 
1.0.5-18.module_el8.1.0+217+4d875839   AppStream
  131 k

Transaction Summary
===
Install  2 Packages
[...]
Installed:
  Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64  
Judy-1.0.5-18.module_el8.1.0+217+4d875839.x86_64 

Compl

[EPEL-devel] Re: Modules again

2020-05-19 Thread Ken Dreyer
It is amazing to me how often this setting makes things work.

It seems like we're hard-coding this to "1" more widely.

On Tue, May 19, 2020, 12:01 PM Paul Howarth  wrote:

> On Tue, 19 May 2020 09:21:46 -0700
> Kevin Fenzi  wrote:
>
> > On Tue, May 19, 2020 at 11:48:04AM -0400, Stephen John Smoogen wrote:
> > > On Tue, 19 May 2020 at 11:05, Paul Howarth 
> > > wrote:
> > > > On Tue, 19 May 2020 09:07:30 -0400
> > > > Stephen John Smoogen  wrote:
> > > >
> > > > > On Tue, 19 May 2020 at 06:05, Paul Howarth 
> > > > > wrote:
> > > >
> > > > Yes, I'm using vanilla configs straight from mock-core-configs for
> > > > this, and that has epel-8-x86_64.cfg, which pulls in centos-8.tpl,
> > > > which has the PowerTools repo defined and not disabled.
> > > >
> > > > (I generally use my own configs and don't touch the original
> > > > ones, so I know that if I try the original ones from upstream
> > > > then they should work as intended)
> > > >
> > > > Note that the error message doesn't say it can't find Judy-devel,
> > > > it says that it (and Judy) is/are excluded. I don't know why that
> > > > is.
> > > >
> > > >
> > > Ohhh sorry. I missed the obvious. I am going to guess from past
> > > problems, the system is trying to pull in mariadb which filters it
> > > out and mariadb-devel which has it in. So when it sees the filters
> > > it says 'nope can't do this sorry'. I wish there was a 'no I know
> > > it might break my system do it anyway!' flag but I don't see one
> > > looking through /usr/share/doc/mock/site-defaults.cfg . This was
> > > one of the reasons for grobisplitter being used.
> >
> > You should be able to set:
> >
> > module_hotfixes = True
> >
> > in your dnf/yum/mock config.
> >
> > From the dnf man page:
> >
> > "Set this to True to disable module RPM filtering and make all RPMs
> > from the repository available. The default is False.  This allows
> > user to create a repository with cherry-picked hotfixes that are
> > included in a package set on a modular system."
>
> Ah, setting that option for the PowerTools repo allows the build to
> work. Now if only there was a way to do that from the command line so I
> didn't have to touch the mock config.
>
> Thanks!
>
> Paul.
> ___
> epel-devel mailing list -- epel-devel@lists.fedoraproject.org
> To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org
>
___
epel-devel mailing list -- epel-devel@lists.fedoraproject.org
To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org


[EPEL-devel] Re: Modules again

2020-05-19 Thread Paul Howarth
On Tue, 19 May 2020 09:21:46 -0700
Kevin Fenzi  wrote:

> On Tue, May 19, 2020 at 11:48:04AM -0400, Stephen John Smoogen wrote:
> > On Tue, 19 May 2020 at 11:05, Paul Howarth 
> > wrote: 
> > > On Tue, 19 May 2020 09:07:30 -0400
> > > Stephen John Smoogen  wrote:
> > >  
> > > > On Tue, 19 May 2020 at 06:05, Paul Howarth 
> > > > wrote: 
> > >
> > > Yes, I'm using vanilla configs straight from mock-core-configs for
> > > this, and that has epel-8-x86_64.cfg, which pulls in centos-8.tpl,
> > > which has the PowerTools repo defined and not disabled.
> > >
> > > (I generally use my own configs and don't touch the original
> > > ones, so I know that if I try the original ones from upstream
> > > then they should work as intended)
> > >
> > > Note that the error message doesn't say it can't find Judy-devel,
> > > it says that it (and Judy) is/are excluded. I don't know why that
> > > is.
> > >
> > >  
> > Ohhh sorry. I missed the obvious. I am going to guess from past
> > problems, the system is trying to pull in mariadb which filters it
> > out and mariadb-devel which has it in. So when it sees the filters
> > it says 'nope can't do this sorry'. I wish there was a 'no I know
> > it might break my system do it anyway!' flag but I don't see one
> > looking through /usr/share/doc/mock/site-defaults.cfg . This was
> > one of the reasons for grobisplitter being used.  
> 
> You should be able to set: 
> 
> module_hotfixes = True 
> 
> in your dnf/yum/mock config. 
> 
> From the dnf man page:
> 
> "Set this to True to disable module RPM filtering and make all RPMs
> from the repository available. The default is False.  This allows
> user to create a repository with cherry-picked hotfixes that are
> included in a package set on a modular system."

Ah, setting that option for the PowerTools repo allows the build to
work. Now if only there was a way to do that from the command line so I
didn't have to touch the mock config.

Thanks!

Paul.
___
epel-devel mailing list -- epel-devel@lists.fedoraproject.org
To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org


[EPEL-devel] Re: Modules again

2020-05-19 Thread Kevin Fenzi
On Tue, May 19, 2020 at 11:48:04AM -0400, Stephen John Smoogen wrote:
> On Tue, 19 May 2020 at 11:05, Paul Howarth  wrote:
> 
> > On Tue, 19 May 2020 09:07:30 -0400
> > Stephen John Smoogen  wrote:
> >
> > > On Tue, 19 May 2020 at 06:05, Paul Howarth  wrote:
> > >
> >
> > Yes, I'm using vanilla configs straight from mock-core-configs for
> > this, and that has epel-8-x86_64.cfg, which pulls in centos-8.tpl,
> > which has the PowerTools repo defined and not disabled.
> >
> > (I generally use my own configs and don't touch the original ones, so I
> > know that if I try the original ones from upstream then they should
> > work as intended)
> >
> > Note that the error message doesn't say it can't find Judy-devel, it
> > says that it (and Judy) is/are excluded. I don't know why that is.
> >
> >
> Ohhh sorry. I missed the obvious. I am going to guess from past problems,
> the system is trying to pull in mariadb which filters it out and
> mariadb-devel which has it in. So when it sees the filters it says 'nope
> can't do this sorry'. I wish there was a 'no I know it might break my
> system do it anyway!' flag but I don't see one looking
> through /usr/share/doc/mock/site-defaults.cfg . This was one of the reasons
> for grobisplitter being used.

You should be able to set: 

module_hotfixes = True 

in your dnf/yum/mock config. 

From the dnf man page:

"Set this to True to disable module RPM filtering and make all RPMs from the 
repository available. The default
is False.  This allows user to create a repository with cherry-picked hotfixes 
that are included in a package
set on a modular system."

kevin


signature.asc
Description: PGP signature
___
epel-devel mailing list -- epel-devel@lists.fedoraproject.org
To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org


[EPEL-devel] Re: Modules again

2020-05-19 Thread Stephen John Smoogen
On Tue, 19 May 2020 at 11:05, Paul Howarth  wrote:

> On Tue, 19 May 2020 09:07:30 -0400
> Stephen John Smoogen  wrote:
>
> > On Tue, 19 May 2020 at 06:05, Paul Howarth  wrote:
> >
>
> Yes, I'm using vanilla configs straight from mock-core-configs for
> this, and that has epel-8-x86_64.cfg, which pulls in centos-8.tpl,
> which has the PowerTools repo defined and not disabled.
>
> (I generally use my own configs and don't touch the original ones, so I
> know that if I try the original ones from upstream then they should
> work as intended)
>
> Note that the error message doesn't say it can't find Judy-devel, it
> says that it (and Judy) is/are excluded. I don't know why that is.
>
>
Ohhh sorry. I missed the obvious. I am going to guess from past problems,
the system is trying to pull in mariadb which filters it out and
mariadb-devel which has it in. So when it sees the filters it says 'nope
can't do this sorry'. I wish there was a 'no I know it might break my
system do it anyway!' flag but I don't see one looking
through /usr/share/doc/mock/site-defaults.cfg . This was one of the reasons
for grobisplitter being used.



> Paul.
> ___
> epel-devel mailing list -- epel-devel@lists.fedoraproject.org
> To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org
>


-- 
Stephen J Smoogen.
___
epel-devel mailing list -- epel-devel@lists.fedoraproject.org
To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org


[EPEL-devel] Re: Modules again

2020-05-19 Thread Paul Howarth
On Tue, 19 May 2020 09:07:30 -0400
Stephen John Smoogen  wrote:

> On Tue, 19 May 2020 at 06:05, Paul Howarth  wrote:
> 
> > On Mon, 18 May 2020 22:29:54 -0600
> > Orion Poplawski  wrote:
> >  
> > > On 5/17/20 6:34 AM, Paul Howarth wrote:  
> > > > I'm trying to do a local build of gtkwave for EPEL-8.
> > > >
> > > > A koji scratch build somehow works:
> > > > http://koji.fedoraproject.org/koji/taskinfo?taskID=44609837
> > > >
> > > > But a local build does not:
> > > >
> > > > $ mock -r epel-8-x86_64 gtkwave-3.3.104-2.fc31.src.rpm
> > > > ...
> > > > Error:
> > > >   Problem: conflicting requests
> > > >- package
> > > > Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.i686 is excluded
> > > >- package
> > > > Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64 is
> > > > excluded
> > > >
> > > > Adding a repo with a local build of Judy doesn't help; that gets
> > > > excluded too.
> > > >
> > > > Any clues?
> > > >
> > > > Paul.  
> > >
> > > Judy-devel appears to be part of the mariadb-devel module.
> > > Locally I can do:
> > >
> > > dnf module enable mariadb-devel
> > > dnf install Judy-devel
> > >
> > > This was discovered with:
> > >
> > > dnf module provides Judy-devel
> > >
> > > on RHEL 8.2, though that does not appear to work on CentOS 8.1.
> > >
> > > For mock, this seems to work:
> > >
> > > mock -r epel-8-x86_64 --config-opts module_enable=mariadb-devel
> > > --config-opts module_enable= gtkwave-3.3.104-2.el8.src.rpm  
> >
> > I tried that and it didn't make any difference for me (building on
> > F-31). Maybe I need to wait for CentOS 8.2?
> >
> >  
> Hmm do you have the Powertools enabled in that Mock? I see Judy-devel
> in the CentOS-8.1 tree in Powertools.

Yes, I'm using vanilla configs straight from mock-core-configs for
this, and that has epel-8-x86_64.cfg, which pulls in centos-8.tpl,
which has the PowerTools repo defined and not disabled.

(I generally use my own configs and don't touch the original ones, so I
know that if I try the original ones from upstream then they should
work as intended)

Note that the error message doesn't say it can't find Judy-devel, it
says that it (and Judy) is/are excluded. I don't know why that is.

Paul.
___
epel-devel mailing list -- epel-devel@lists.fedoraproject.org
To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org


[EPEL-devel] Re: Modules again

2020-05-19 Thread Stephen John Smoogen
On Tue, 19 May 2020 at 06:05, Paul Howarth  wrote:

> On Mon, 18 May 2020 22:29:54 -0600
> Orion Poplawski  wrote:
>
> > On 5/17/20 6:34 AM, Paul Howarth wrote:
> > > I'm trying to do a local build of gtkwave for EPEL-8.
> > >
> > > A koji scratch build somehow works:
> > > http://koji.fedoraproject.org/koji/taskinfo?taskID=44609837
> > >
> > > But a local build does not:
> > >
> > > $ mock -r epel-8-x86_64 gtkwave-3.3.104-2.fc31.src.rpm
> > > ...
> > > Error:
> > >   Problem: conflicting requests
> > >- package Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.i686 is
> > > excluded
> > >- package Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64
> > > is excluded
> > >
> > > Adding a repo with a local build of Judy doesn't help; that gets
> > > excluded too.
> > >
> > > Any clues?
> > >
> > > Paul.
> >
> > Judy-devel appears to be part of the mariadb-devel module.  Locally I
> > can do:
> >
> > dnf module enable mariadb-devel
> > dnf install Judy-devel
> >
> > This was discovered with:
> >
> > dnf module provides Judy-devel
> >
> > on RHEL 8.2, though that does not appear to work on CentOS 8.1.
> >
> > For mock, this seems to work:
> >
> > mock -r epel-8-x86_64 --config-opts module_enable=mariadb-devel
> > --config-opts module_enable= gtkwave-3.3.104-2.el8.src.rpm
>
> I tried that and it didn't make any difference for me (building on
> F-31). Maybe I need to wait for CentOS 8.2?
>
>
Hmm do you have the Powertools enabled in that Mock? I see Judy-devel in
the CentOS-8.1 tree in Powertools.





> > koji does some magic to essentially auto-enable some modules that I
> > don't believe mock has.
>
> It writes its own mock configs, that I know. After that, I'm in the
> dark...
>
> Thanks for trying.
>

Koji for EPEL does it by ugly magic (or fantastic if you love Rube Goldberg
devices) ... we strip off all the module data using a program called
grobisplitter and say do your best dnf versus using koji's built in
determinator like we do for EPEL-5/6/7 and most Fedora.


-- 
Stephen J Smoogen.
___
epel-devel mailing list -- epel-devel@lists.fedoraproject.org
To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org


[EPEL-devel] Re: Modules again

2020-05-19 Thread Paul Howarth
On Mon, 18 May 2020 22:29:54 -0600
Orion Poplawski  wrote:

> On 5/17/20 6:34 AM, Paul Howarth wrote:
> > I'm trying to do a local build of gtkwave for EPEL-8.
> > 
> > A koji scratch build somehow works:
> > http://koji.fedoraproject.org/koji/taskinfo?taskID=44609837
> > 
> > But a local build does not:
> > 
> > $ mock -r epel-8-x86_64 gtkwave-3.3.104-2.fc31.src.rpm
> > ...
> > Error:
> >   Problem: conflicting requests
> >- package Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.i686 is
> > excluded
> >- package Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64
> > is excluded
> > 
> > Adding a repo with a local build of Judy doesn't help; that gets
> > excluded too.
> > 
> > Any clues?
> > 
> > Paul.  
> 
> Judy-devel appears to be part of the mariadb-devel module.  Locally I 
> can do:
> 
> dnf module enable mariadb-devel
> dnf install Judy-devel
> 
> This was discovered with:
> 
> dnf module provides Judy-devel
> 
> on RHEL 8.2, though that does not appear to work on CentOS 8.1.
> 
> For mock, this seems to work:
> 
> mock -r epel-8-x86_64 --config-opts module_enable=mariadb-devel 
> --config-opts module_enable= gtkwave-3.3.104-2.el8.src.rpm

I tried that and it didn't make any difference for me (building on
F-31). Maybe I need to wait for CentOS 8.2?

> koji does some magic to essentially auto-enable some modules that I 
> don't believe mock has.

It writes its own mock configs, that I know. After that, I'm in the
dark...

Thanks for trying.

Paul.
___
epel-devel mailing list -- epel-devel@lists.fedoraproject.org
To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org


[EPEL-devel] Re: Modules again

2020-05-18 Thread Orion Poplawski

On 5/17/20 6:34 AM, Paul Howarth wrote:

I'm trying to do a local build of gtkwave for EPEL-8.

A koji scratch build somehow works:
http://koji.fedoraproject.org/koji/taskinfo?taskID=44609837

But a local build does not:

$ mock -r epel-8-x86_64 gtkwave-3.3.104-2.fc31.src.rpm
...
Error:
  Problem: conflicting requests
   - package Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.i686 is
excluded
   - package Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64 is
 excluded

Adding a repo with a local build of Judy doesn't help; that gets
excluded too.

Any clues?

Paul.


Judy-devel appears to be part of the mariadb-devel module.  Locally I 
can do:


dnf module enable mariadb-devel
dnf install Judy-devel

This was discovered with:

dnf module provides Judy-devel

on RHEL 8.2, though that does not appear to work on CentOS 8.1.

For mock, this seems to work:

mock -r epel-8-x86_64 --config-opts module_enable=mariadb-devel 
--config-opts module_enable= gtkwave-3.3.104-2.el8.src.rpm


or add to /etc/mock/templates/centos-8.tpl:

config_opts['module_enable'] = ['mariadb-devel']

koji does some magic to essentially auto-enable some modules that I 
don't believe mock has.


--
Orion Poplawski
Manager of NWRA Technical Systems  720-772-5637
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane   or...@nwra.com
Boulder, CO 80301 https://www.nwra.com/



smime.p7s
Description: S/MIME Cryptographic Signature
___
epel-devel mailing list -- epel-devel@lists.fedoraproject.org
To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org