Seth,
Using your mach SRPM and buildroots file, I had to actually pull down all the packages locally and place the buildroots.xml file in the same dir as the packages, then run createrepo on it before it would take (obviously pointing mach to the local files as the yumsource).
It seems that (unless I'm mistaken) the buildroots.xml file needs to be in any repo that I'd point mach to? Is that correct? Is there no way of keeping the buildroots.xml file locally, or at some other site, separate from the actual packages?
Anyway, once everything was in the same place it seemed to work fine.
Note: This FC3 (well, Aurora "corona" on Sparc, which is == FC3).
mach: mach-0.4.6.1-0.fdr.0.20050314.000733 yum: yum-2.2.0-0.fc3
Dan
On Tue, 2005-03-15 at 08:13 -0500, Dan Williams wrote:
Seth,
Using your mach SRPM and buildroots file, I had to actually pull down all the packages locally and place the buildroots.xml file in the same dir as the packages, then run createrepo on it before it would take (obviously pointing mach to the local files as the yumsource).
It seems that (unless I'm mistaken) the buildroots.xml file needs to be in any repo that I'd point mach to? Is that correct? Is there no way of keeping the buildroots.xml file locally, or at some other site, separate from the actual packages?
did you look at the 'buildgroups' repo I have in the fedore core development mach dist.d file?
You can simply list them there, in a repository empty of files, and yum pulls it in.
-sv
On Tue, 2005-03-15 at 09:27 -0500, seth vidal wrote:
On Tue, 2005-03-15 at 08:13 -0500, Dan Williams wrote:
Seth,
Using your mach SRPM and buildroots file, I had to actually pull down all the packages locally and place the buildroots.xml file in the same dir as the packages, then run createrepo on it before it would take (obviously pointing mach to the local files as the yumsource).
It seems that (unless I'm mistaken) the buildroots.xml file needs to be in any repo that I'd point mach to? Is that correct? Is there no way of keeping the buildroots.xml file locally, or at some other site, separate from the actual packages?
did you look at the 'buildgroups' repo I have in the fedore core development mach dist.d file?
You can simply list them there, in a repository empty of files, and yum pulls it in.
I tried doing exactly that:
(from dist.d/aurora-2-sparc) yumsources['aurora-2-sparc'] = { 'core': 'rpm ' + aurora + ' / core', 'buildgroups': 'rpm ' + buildgroups + ' /i386/ groups', }
(from location) # Fedora Core; this location should contain versioned directions aurora = 'http://download.wpi.edu/pub/linux/distributions/aurora/corona/sparc/os/Fedor...'
# build groups buildgroups = 'http://linux.duke.edu/~skvidal/mach/'
but this results in the following error:
Preparing root Installing group 'minimal' ...! error: /usr/sbin/mach-helper yum --installroot /build/lib/mach/roots/aurora-2-sparc-core -c /build/lib/mach/states/aurora-2-sparc-core/yum.conf groupinstall build-minimal failed. Setting up Group Process Setting up Repos core 100% |=========================| 903 B 00:00 Error: No Groups on which to run command
ERROR: Could not get build-minimal
The yum.repo file that the config file points to looks like this: [core] name=core baseurl=http://download.wpi.edu/pub/linux/distributions/aurora/corona/sparc/os/Fedor... enabled=1 gpgcheck=0
How is yum going to find the group information at Duke if its not anywhere in the yum.repo file?
Dan
On Tue, 2005-03-15 at 10:37 -0500, Dan Williams wrote:
On Tue, 2005-03-15 at 09:27 -0500, seth vidal wrote:
On Tue, 2005-03-15 at 08:13 -0500, Dan Williams wrote:
Seth,
Using your mach SRPM and buildroots file, I had to actually pull down all the packages locally and place the buildroots.xml file in the same dir as the packages, then run createrepo on it before it would take (obviously pointing mach to the local files as the yumsource).
It seems that (unless I'm mistaken) the buildroots.xml file needs to be in any repo that I'd point mach to? Is that correct? Is there no way of keeping the buildroots.xml file locally, or at some other site, separate from the actual packages?
did you look at the 'buildgroups' repo I have in the fedore core development mach dist.d file?
You can simply list them there, in a repository empty of files, and yum pulls it in.
I tried doing exactly that:
(from dist.d/aurora-2-sparc) yumsources['aurora-2-sparc'] = { 'core': 'rpm ' + aurora + ' / core', 'buildgroups': 'rpm ' + buildgroups + ' /i386/ groups', }
(from location) # Fedora Core; this location should contain versioned directions aurora = 'http://download.wpi.edu/pub/linux/distributions/aurora/corona/sparc/os/Fedor...'
# build groups buildgroups = 'http://linux.duke.edu/~skvidal/mach/'
but this results in the following error:
Preparing root Installing group 'minimal' ...! error: /usr/sbin/mach-helper yum --installroot /build/lib/mach/roots/aurora-2-sparc-core -c /build/lib/mach/states/aurora-2-sparc-core/yum.conf groupinstall build-minimal failed. Setting up Group Process Setting up Repos core 100% |=========================| 903 B 00:00 Error: No Groups on which to run command
ERROR: Could not get build-minimal
The yum.repo file that the config file points to looks like this: [core] name=core baseurl=http://download.wpi.edu/pub/linux/distributions/aurora/corona/sparc/os/Fedor... enabled=1 gpgcheck=0
How is yum going to find the group information at Duke if its not anywhere in the yum.repo file?
let me see the rest of your dist.d file. I think you left out a section.
-sv
On Tue, 2005-03-15 at 10:44 -0500, seth vidal wrote:
let me see the rest of your dist.d file. I think you left out a section.
# mach dist configuration -*- python -*-
# aurora-2-sparc: configuration for Aurora 2
# yum sources layout: # 'key': 'rpm ' + locationkey + ' path/to/repo reponame'
yumsources['aurora-2-sparc'] = { 'core': 'rpm ' + aurora + ' /sparc/os/Fedora/RPMS/ core', 'buildgroups': 'rpm ' + buildgroups + ' /i386/ groups', }
# Aurora Development groups['aurora-2-sparc-core'] = { 'minimal': 'build-minimal', 'base': 'build-base', 'build': 'build', }
# Aurora 2 Core packages['aurora-2-sparc-core'] = { 'dir': 'aurora-2-sparc', }
sourceslist['aurora-2-sparc-core'] = { 'aurora-2-sparc': ('core', ) }
# Aurora2 roots should use runuser instead of su config['aurora-2-sparc-core'] = {'runuser': '/sbin/runuser'}
Dan
On Tue, 2005-03-15 at 10:46 -0500, Dan Williams wrote:
On Tue, 2005-03-15 at 10:44 -0500, seth vidal wrote:
let me see the rest of your dist.d file. I think you left out a section.
sourceslist['aurora-2-sparc-core'] = { 'aurora-2-sparc': ('core', )
^^^ Adding "buildgroups" here doesn't work either
Dan
On Tue, 2005-03-15 at 10:51 -0500, Dan Williams wrote:
On Tue, 2005-03-15 at 10:46 -0500, Dan Williams wrote:
On Tue, 2005-03-15 at 10:44 -0500, seth vidal wrote:
let me see the rest of your dist.d file. I think you left out a section.
sourceslist['aurora-2-sparc-core'] = { 'aurora-2-sparc': ('core', )
^^^ Adding "buildgroups" here doesn't work either
odd, works for me for i386 and x86_64.
you did a mach clean after adding that, right?
-sv
On Tue, 15 Mar 2005, seth vidal wrote:
On Tue, 2005-03-15 at 10:51 -0500, Dan Williams wrote:
On Tue, 2005-03-15 at 10:46 -0500, Dan Williams wrote:
On Tue, 2005-03-15 at 10:44 -0500, seth vidal wrote:
let me see the rest of your dist.d file. I think you left out a section.
sourceslist['aurora-2-sparc-core'] = { 'aurora-2-sparc': ('core', )
^^^ Adding "buildgroups" here doesn't work either
odd, works for me for i386 and x86_64.
you did a mach clean after adding that, right?
Yeah... It appears that mach is not adding the [buildgroups] repo info to yum.repo. Once I add a section for that, it appears to work. I'll have to debug and find out what's going on.
Dan
odd, works for me for i386 and x86_64.
you did a mach clean after adding that, right?
Yeah... It appears that mach is not adding the [buildgroups] repo info to yum.repo. Once I add a section for that, it appears to work. I'll have to debug and find out what's going on.
Can you post your dist.d config file or a link to it - i'd like to see if there's anything missing.
-sv
On Tue, 15 Mar 2005, seth vidal wrote:
odd, works for me for i386 and x86_64.
you did a mach clean after adding that, right?
Yeah... It appears that mach is not adding the [buildgroups] repo info to yum.repo. Once I add a section for that, it appears to work. I'll have to debug and find out what's going on.
Can you post your dist.d config file or a link to it - i'd like to see if there's anything missing.
The last message I sent with the dist.d file in it should be exactly what you're asking for, right? It hasn't really changed...
Dan
On Tue, 2005-03-15 at 12:38 -0500, seth vidal wrote:
The last message I sent with the dist.d file in it should be exactly what you're asking for, right? It hasn't really changed...
except for the addition of 'buildgroups' to the sourceslist for your root definition, right?
Moral of the story:
Don't have:
dist.d/aurora-2-sparc dist.d/aurora-2-sparc.good
when you make changes to the first, mach doesn't pick them up because it seems to be reading from the second, or at least mashing the two together.
Dan
On Tue, 2005-03-15 at 10:46 -0500, Dan Williams wrote:
On Tue, 2005-03-15 at 10:44 -0500, seth vidal wrote:
let me see the rest of your dist.d file. I think you left out a section.
# mach dist configuration -*- python -*-
# aurora-2-sparc: configuration for Aurora 2
# yum sources layout: # 'key': 'rpm ' + locationkey + ' path/to/repo reponame'
yumsources['aurora-2-sparc'] = { 'core': 'rpm ' + aurora + ' /sparc/os/Fedora/RPMS/ core', 'buildgroups': 'rpm ' + buildgroups + ' /i386/ groups', }
# Aurora Development groups['aurora-2-sparc-core'] = { 'minimal': 'build-minimal', 'base': 'build-base', 'build': 'build', }
# Aurora 2 Core packages['aurora-2-sparc-core'] = { 'dir': 'aurora-2-sparc', }
sourceslist['aurora-2-sparc-core'] = { 'aurora-2-sparc': ('core', ) }
In your sourceslist for 'aurora-2-sparc-core' you're never specifying 'buildgroups'.
so the above needs to read like: sourceslist['aurora-2-sparc-core'] = { 'aurora-2-sparc': ('core', 'buildgroups', ) }
-sv
buildsys@lists.fedoraproject.org