Mock SCM Issue
by Jarod Watkins
Hello,
I am trying to build an RPM with Mock via a git repo. It seems like I
run into an issue with the Sources option inside my spec file:
DEBUG: Initializing SCM integration...
DEBUG: SCM checkout command: git clone git://gitrepo reponame
DEBUG: SCM checkout post command: git checkout master
DEBUG: SCM checkout directory: /tmp/tmp2178L4.mock-scm.reponame
DEBUG: Executing command: ['git', 'clone', 'git://gitrepo', 'reponame']
DEBUG: Cloning into reponame...
DEBUG: Child returncode was: 0
DEBUG: Executing command: ['git', 'checkout', 'master']
DEBUG: Already on 'master'
DEBUG: Child returncode was: 0
DEBUG: Fetched sources from SCM
DEBUG: Preparing SCM sources
ERROR: iteration over non-sequence
Traceback (most recent call last):
File "/usr/sbin/mock", line 864, in ?
main(retParams)
File "/usr/sbin/mock", line 672, in main
(options.sources, options.spec) = scmWorker.prepare_sources()
File "/usr/lib/python2.4/site-packages/mockbuild/scm.py", line 111,
in prepare_sources
for (filename, num, flags) in rpm_spec.sources:
TypeError: iteration over non-sequence
My spec file is a normal spec file that can be built via Mock when not
attempting to use it from Git. My Mock version is 1.0.22 from EPEL on
a CentOS 5 box.
Is this a known issue or am I doing something wrong?
Thanks,
Jarod
11 years, 11 months
mock questions
by Sérgio Basto
Hi,
how I can save or get all shell scripts generated by rpmbuild
like /var/tmp/rpm-tmp.Alfd0Z (%build)
I got a build prepare , build compile ,
Thanks in advance.
--
Sérgio M. B.
11 years, 11 months
something wrong with muti koji builder
by Robin YB(yang)
I have a question here.
If I want to run koji in more than one host, how can I setup the configure file kojid.conf in host other than the host where kojihub runs?
For example, if I setup the topdir in kojid.conf in kojibuilder2's host the same as kojibuilder1's:
[kojid]
...
; The directory root where work data can be found from the koji hub
topdir=/localdir/koji
...
When kojibuilder2 works, it can not find the correct koji work directory.
Can anyone tell me how to setup kojid.conf ,or give me an example about this?
Best Regards
11 years, 11 months
RE: This action requires admin privileges
by Vijay N. Majagaonkar
Hi Mike,
My apologize for delay in reply.
Now I am able to connect the server and run admin commands/actions ...
Issue was with ssl certificate generation process, I was using different
name to generate certificate for kojiadmin user and that was causing me to
run admin commands/actions
Thanks to koji source code helped me to debug the issue
Thanks for the help
:)
-----Original Message-----
From: buildsys-bounces(a)lists.fedoraproject.org [mailto:
buildsys-bounces(a)lists.fedoraproject.org] On Behalf Of Mike McLean
Sent: Wednesday, October 12, 2011 2:28 AM
To: buildsys(a)lists.fedoraproject.org
Subject: Re: This action requires admin privileges
On 09/28/2011 11:42 AM, Vijay N. Majagaonkar wrote:
> I am not able to perform any admin actions on koji server.
Most likely your client is not authenticating. Did you set up
~/.koji/config? What does 'koji call getLoggedInUser' report?
...
> [kojiadmin@kojiblr ~]$ koji -d list-tags successfully connected to hub
>
> *[**kojiadmin**@kojiblr ~]$ koji -d add-tag dist-panthor*
> *successfully connected to hub* *This action requires admin
> privileges*
--
buildsys mailing list
buildsys(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
11 years, 11 months
Is ther a means to list previous commands used?
by Bryce
Is there a means to list the koji commands that were used in the
construction the system?
Just I've a colleague that has been editing away changing bits while I
was away and I'm not actually sure /what/ they have changed
it would be nice to be able to dump out all the currently enacted or in
place koji commands and compare against a previous list.
11 years, 11 months
new koji-web error
by Michael Cronenworth
I have a koji instance running on Fedora 14 that has been running great.
Last week I ran about 150 updates and now when I click on any new log
file to view it I get this message:
An error has occurred while processing your request.
Fault: <Fault 1: "<type 'exceptions.OverflowError'>: int exceeds XML-RPC
limits">
Traceback (most recent call last):
File "/usr/share/koji-web/lib/kojiweb/publisher.py", line 16, in publish_object
return old_publish_object(req, object)
File "/usr/lib64/python2.7/site-packages/mod_python/publisher.py", line 425, in publish_object
return publish_object(req,util.apply_fs_data(object, req.form, req=req))
File "/usr/lib64/python2.7/site-packages/mod_python/util.py", line 554, in apply_fs_data
return object(**args)
File "/usr/share/koji-web/scripts/index.py", line 668, in getfile
output = server.listTaskOutput(taskID, stat=True)
File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1510, in __call__
return self.__func(self.__name,args,opts)
File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1760, in _callMethod
raise err
Fault:<Fault 1: "<type 'exceptions.OverflowError'>: int exceeds XML-RPC limits">
Please note: Old tasks (prior to the 150 pkg update) are not affected. I can view their logs without this error.
koji was not updated. mock was, but downgrading it and running another task did not fix this.
Any ideas?
11 years, 11 months
This action requires admin privileges
by Vijay N. Majagaonkar
I am not able to perform any admin actions on koji server.
I started setting up local koji server using
http://fedoraproject.org/wiki/Koji/ServerHowTo this as help page and
following is my current environment.
fedora 12 x86_64 bit
koji pkgs -
koji-hub-1.4.0-2.fc12.noarch
koji-1.4.0-2.fc12.noarch
I have configured system till hub setup where we can perform command line
actions, and here I am able to connect to server but failed to add user or
new tag to koji server.
[kojiadmin@kojiblr ~]$ koji -d list-pkgs
successfully connected to hub
(no matching packages)
[kojiadmin@kojiblr ~]$ koji -d list-tags
successfully connected to hub
*[**kojiadmin**@kojiblr ~]$ koji -d add-tag dist-panthor*
*successfully connected to hub*
*This action requires admin privileges*
*[kojiadmin@kojiblr ~]$ koji -d add-user kojira*
*successfully connected to hub*
*This action requires admin privileges*
I have added kojiadmin into DB as admin user,
koji=> select * from users;
id | name | password | status | usertype | krb_principal
----+-------------------+----------+--------+----------+---------------
2 | kojiadmin | | 0 | 0 |
koji=> select * from user_perms;
user_id | perm_id | create_event | revoke_event | creator_id | revoker_id |
active
---------+---------+--------------+--------------+------------+------------+--------
2 | 1 | 5 | | 2 | |
t
Can someone point me where missed any configuration that causing me to run
an admin commands on koji.
Thanks for the help
;)
11 years, 11 months
questions about koji system
by Robin YB(yang)
I have a question here, if I have imported a built RPM/SRPM package into koji system , how can I rebuild it?
And if I have mistakenly imported a built RPM/SRPM into koji system ,how can I move it out?
Best Regards
William
11 years, 11 months
Fwd: Broken dependencies: gstreamer-java
by Farkas Levente
hi,
can anybody tell meg why i get these mails for all fedora release?
imho on all fedora version eclipse-swt provides libswt3-gtk2 (and even
you think so):
---------------------------
yum --disablerepo=\* --enablerepo=fedora-rawhide provides libswt3-gtk2
Loaded plugins: aliases, downloadonly, list-data,
post-transaction-actions, priorities, refresh-packagekit, versionlock
1:eclipse-swt-3.7.0-1.3.fc16.x86_64 : SWT Library for GTK+-2.0
Repo : fedora-rawhide
Matched from:
Other : libswt3-gtk2
---------------------------
so what can be the problem???
thanks.
-------- Original Message --------
Subject: Broken dependencies: gstreamer-java
Date: Mon, 10 Oct 2011 13:20:08 +0000 (UTC)
From: buildsys(a)fedoraproject.org
To: gstreamer-java-owner(a)fedoraproject.org
gstreamer-java has broken dependencies in the rawhide tree:
On x86_64:
gstreamer-java-swt-1.5-1.fc16.x86_64 requires libswt3-gtk2
On i386:
gstreamer-java-swt-1.5-1.fc16.i686 requires libswt3-gtk2
Please resolve this as soon as possible.
11 years, 11 months