I've a question I hope someone can help me out with.
Quick background:
I have a sparc T3 box that I'm using for everything. I'm starting from
a F12 Beta ISO base as that is the only bootable ISO image I found that
would work which has been fully upgraded against the available f12
updates.
I've setup yum / http / postgresql / koji on this sparc and populated
it with src/sparcv9/sparc64 rpms that I pulled off
http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/12/Everything/.
# static master that I don't want any changes made to
koji lock-tag f12-ga-master --master
# *If* I am going to make changes to my base then tag them
here
koji add-tag --parent=f12-ga-master f12-ga-base
# f12-updates will be where any updates will land
koji add-tag --parent=f12-ga-base
f12-updates
# Make a f12-build build tag that draws it's rpms from
whatever the 'f12-updates' tag is associated with and all it's
inheritances from f12-ga-base
koji add-tag --parent f12-updates --arches
"sparc64 sparcv9" f12-build
#make the f12-build tag part of the build channel
koji add-group f12-build build
# create a list of the minimum rpms required in an initial
chroot
export DIST=f12-build
koji add-group-pkg $DIST build bash
koji add-group-pkg $DIST build bzip2
koji add-group-pkg $DIST build coreutils
.. etc
# when building to the tag 'f12-updates' use the f12-build environment
and tag the resultant rpms as being members of f12-updates
koji add-target f12-updates f12-build f12-updates
where I get a problem is that I cannot get it to build as sparcv9.
if I have
koji edit-host builder --arches="sparcv9
sparc64"
then it will build *sparc64.rpm fine but when it creates the sparcv9
environment, installs all the rpms and the dependancies, sets up the
mockbuild user/group stuff,.. mock never gets fired and the environment
collapses. If on the other hand I use:
koji edit-host builder --arches="sparc
sparc64"
then I get *.sparc.rpm and *.sparc64 rpms
So I'm unsure what to do here. I know this has got to be something
trivial / subtle.
Anyone got ideas? I didn't spot anything obvious in the
site-defaults.cfg for mock either.
# rpm -q mock koji
mock-1.0.11-1.fc12.noarch
koji-1.4.0-2.fc12.noarch
Phil
=--=
---[ sparcv9 ]-------------------
# koji mock-config --tag f12-build --arch=sparcv9
--topurl=http://127.0.0.1/ f12-updates
# Auto-generated by the Koji build system
config_opts['chroothome'] = '/builddir'
config_opts['use_host_resolv'] = False
config_opts['basedir'] = '/var/lib/mock'
config_opts['rpmbuild_timeout'] = 86400
config_opts['yum.conf'] =
'[main]\ncachedir=/var/cache/yum\ndebuglevel=1\nlogfile=/var/log/yum.log\nreposdir=/dev/null\nretries=20\nobsoletes=1\ngpgcheck=0\nassumeyes=1\n\n#
repos\n\n[build]\nname=build\nbaseurl=http://127.0.0.1//repos/f12-build/3/sparcv9\n'
config_opts['chroot_setup_cmd'] = 'groupinstall build'
config_opts['target_arch'] = 'sparcv9'
config_opts['root'] = 'f12-updates'
config_opts['plugin_conf']['root_cache_enable'] = False
config_opts['plugin_conf']['yum_cache_enable'] = False
config_opts['plugin_conf']['ccache_enable'] = False
config_opts['macros']['%_host'] = 'sparcv9-koji-linux-gnu'
config_opts['macros']['%_host_cpu'] = 'sparcv9'
config_opts['macros']['%vendor'] = 'Koji'
config_opts['macros']['%distribution'] = 'Koji Testing'
config_opts['macros']['%_topdir'] = '/builddir/build'
config_opts['macros']['%_rpmfilename'] =
'%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'
config_opts['macros']['%packager'] = 'Koji'
---[ sparc ]-------------------
# koji mock-config --tag f12-build --arch=sparc
--topurl=http://127.0.0.1/ f12-updates
# Auto-generated by the Koji build system
config_opts['chroothome'] = '/builddir'
config_opts['use_host_resolv'] = False
config_opts['basedir'] = '/var/lib/mock'
config_opts['rpmbuild_timeout'] = 86400
config_opts['yum.conf'] =
'[main]\ncachedir=/var/cache/yum\ndebuglevel=1\nlogfile=/var/log/yum.log\nreposdir=/dev/null\nretries=20\nobsoletes=1\ngpgcheck=0\nassumeyes=1\n\n#
repos\n\n[build]\nname=build\nbaseurl=http://127.0.0.1//repos/f12-build/3/sparc\n'
config_opts['chroot_setup_cmd'] = 'groupinstall build'
config_opts['target_arch'] = 'sparc'
config_opts['root'] = 'f12-updates'
config_opts['plugin_conf']['root_cache_enable'] = False
config_opts['plugin_conf']['yum_cache_enable'] = False
config_opts['plugin_conf']['ccache_enable'] = False
config_opts['macros']['%_host'] = 'sparc-koji-linux-gnu'
config_opts['macros']['%_host_cpu'] = 'sparc'
config_opts['macros']['%vendor'] = 'Koji'
config_opts['macros']['%distribution'] = 'Koji Testing'
config_opts['macros']['%_topdir'] = '/builddir/build'
config_opts['macros']['%_rpmfilename'] =
'%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'
config_opts['macros']['%packager'] = 'Koji'
|
_______________________________________________
sparc mailing list
sparc@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/sparc