mash documentation
by Nathan Blackham
I am trying to get mash running to be able to pull the packages I have
in koji out into a sane repo for publishing, but I can't find any good
documentation on what the config files are supposed to look like.
Does anyone know where any documentation for it is?
Also, I think I have a config based off the ones included but I am
getting an error when I am building the repo. I am including it
below.
Thanks,
Nathan
Traceback (most recent call last):
File "/usr/bin/mash", line 97, in ?
main()
File "/usr/bin/mash", line 77, in main
rc = themash.doCompose()
File "/usr/lib/python2.4/site-packages/mash/__init__.py", line 400,
in doCompose
repocache = repocache, comps = True, arch = arch)
File "/usr/lib/python2.4/site-packages/mash/__init__.py", line 237,
in _write_files
status = self._makeMetadata(repo_path, repocache, arch, comps,
previous = previous_path)
File "/usr/lib/python2.4/site-packages/mash/__init__.py", line 128,
in _makeMetadata
md.run(path)
File "/usr/lib/python2.4/site-packages/mash/metadata.py", line 247, in run
self.obj.run(path)
File "/usr/lib/python2.4/site-packages/mash/metadata.py", line 199, in run
self.repomatic.doPkgMetadata()
File "/usr/lib/python2.4/site-packages/createrepo/__init__.py", line
356, in doPkgMetadata
self.writeMetadataDocs(packages)
File "/usr/lib/python2.4/site-packages/createrepo/__init__.py", line
495, in writeMetadataDocs
po = self.read_in_package(pkg, pkgpath=pkgpath, reldir=reldir)
File "/usr/lib/python2.4/site-packages/createrepo/__init__.py", line
451, in read_in_package
if po.checksum in (None, ""):
File "/usr/lib/python2.4/site-packages/yum/packages.py", line 1046,
in __getattr__
return self.hdr[thing]
KeyError: 'unknown header tag'
13 years, 6 months
[PATCH] koji - print reason of failed task in output of taskinfo command
by Dan Horák
During the running the mass-rebuild for Fedora/s390x I have found that
it would be useful if koji-cli could return also the reason for failed
task. Same information can be seen in taskinfo web interface. Usually
build failure with details in root.log means some missing/broken
dependency in buildroot, details in build.log mean a real failure where
a manual inspection is needed, etc.
The result is in the attached patch.
Dan
13 years, 6 months
Koji repos and external repos with mixed 64bit and 32 bit packages
by Alan Franzoni
Hello,
I've just discovered a rather strange glitch with koji, used for
internal builds.
I've set it up by following the wiki instructions, and it seems to work
pretty well, but I've found out a strange behaviour.
I've set up a build tag (something like myproject-build) for arch x86_64
only, and I've added some externals repo to it (notably
centos-x86_64-updates and centos-x86_64-os).
Centos/RHEL (not sure about Fedora) does something tricky BTW: on 64 bit
systems, some packages (notably glibc and other low-level system
packages) are installed for both supported archs (x86_64 and i386). But
the koji "merged" repository xml only includes x86_64 packages; this is
a problem when trying to build some packages explicitly relying on the
presence of such i386 version.
Also, I sometimes use the koji repo on testing machines to fetch the
latest version of my development packages along with os deps. Even tough
mash is probably the best tool for such job, it was quite useful, but
this is impossible when glibc updates happen -> trying to upgrade the 64
bit glibc version but retaining the old version for 32 bit generates a
rpm conflict.
Any clue? Is such behaviour intentional?
Thanks in advance.
--
Alan Franzoni
contact me at public(a)[mysurname].eu
13 years, 6 months
koji/mock - rpm/macros.dist
by Doug Reiland
Who/how does /etc/rpm.macros.dist get built in the mock environment?
I am building from scm and it doesn't match what I think it should.
For example,
%fedora 12
%dist .fc12
%fc12 1
instead of
$fedora 13
%dist .fc13
%fc13 1
common/branches and rpms/<package>/*/branch look ok.
13 years, 6 months
cvs lock
by Doug Reiland
I don't know if this is the correct place, but "laxathom" has held a lock under rpms/gshutdown for several days.
13 years, 6 months
planning to merge mead branch
by Mike McLean
I'm planning to merge the mead branch into the master koji branch in the
near future. This branch contains the changes that allow Koji to handle
Maven builds (still within a mock chroot) and track the resulting
(non-rpm) output. We've kept this work on a separate branch for over two
years and the code is stable.
Of course, not everyone wants to allow Maven builds in their Koji
instance. As part of the merge, we will add controls that allow the
Maven functionality to be disabled.
If you have any comments or concerns, please let me know.
13 years, 6 months
php not updated in fedora 13
by Sergio Monteiro Basto
Hi,
After upgrade to fedora 13 , with preupdate
yum install -y rb_libtorrent php-snmp rb_libtorrent usb_modeswitch-data
cacti.noarch
Error: Package: php-snmp-5.3.1-3.fc13.i686 (fedora_respin)
Requires: php-common = 5.3.1-3.fc13
Installed: php-common-5.3.2-1.fc12.i686 (@fedora_respin/12)
Available: php-common-5.3.1-3.fc13.i686 (fedora_respin)
pm -qa | grep ^php | grep fc12
php-common-5.3.2-1.fc12.i686
php-pgsql-5.3.2-1.fc12.i686
php-pear-HTTP-Request-1.4.4-1.fc12.noarch
php-cli-5.3.2-1.fc12.i686
php-mysql-5.3.2-1.fc12.i686
php-mcrypt-5.3.2-1.fc12.i686
php-pear-Net-Socket-1.0.9-3.fc12.noarch
php-pear-Cache-1.5.5-3.fc12.noarch
php-5.3.2-1.fc12.i686
php-mbstring-5.3.2-1.fc12.i686
php-pear-Net-URL-1.0.15-3.fc12.noarch
php-pecl-memcache-3.0.4-3.fc12.i686
php-pdo-5.3.2-1.fc12.i686
but fedora 13 have just 5.3.1, this is a problem on upgrading or am I
missing something ?
Should open a bug ?
Thanks,
--
Sérgio M. B.
13 years, 7 months
koji - local server "serveroffline" issues
by Doug Reiland
I had to reinstall and now attempting to setup a local koji server again.
I am probably using a different version of koji than before, 1.2.6 rings a bell.
Anyway, I now have:
koji-hub-1.3.2-1.fc12.noarch
koji-web-1.3.2-1.fc12.noarch
koji-builder-1.3.2-1.fc12.noarch
koji-1.3.2-1.fc12.noarch
I am just starting the process, but seeing database issues.
running koj cli, I see "ServerOffline: database outage"
BUT, not every time. For example,
koji list-hosts
ServerOffline: database outage
koji list-hosts
ServerOffline: database outage
koji list-hosts
Hostname Enb Rdy Load/Cap Arches Last Update
kojibuilder Y N 0.0/2.0 i386 -
kojibuilder1 Y N 0.0/2.0 i386 -
kojibuilder2 Y N 0.0/2.0 i386 -
Also, hub and database are on small system.
Currently, web site is showing:
Error
The web interface is having difficulty communicating with the main
server. This most likely indicates a network issue.
gaierror: [Errno -2] Name or service not known
Thoughts?
13 years, 7 months