<font size=2 face="sans-serif">I guess you are using external-repos, right
?</font>
<br><font size=2 face="sans-serif">Are your external repos configured rightly
?</font>
<br>
<br><font size=2 face="sans-serif">Or, the external repo was updated and
koji still has the old versions and links of the rpms from there.</font>
<br><font size=2 face="sans-serif">Try regen the repo &nbsp;( koji regen-repo
&lt;build-tag&gt;).</font>
<br>
<br><font size=2 face="sans-serif">Rodrigo</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">Doug Reiland &lt;dreiland@gmail.com&gt;</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">Discussion of Fedora build system &lt;buildsys@lists.fedoraproject.org&gt;</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">23/02/2010 13:49</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">Re: workflow help</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Sent by:</font>
<td><font size=1 face="sans-serif">buildsys-bounces@lists.fedoraproject.org</font></table>
<br>
<br>
<br><tt><font size=2>It was a problem with the yum groupinstall build not
doing anything.<br>
I deleted all my dist-f12 stuff and removed the external repos,, and redid.<br>
<br>
I resubmitted the job after a regen-repo and package is now building.<br>
Cool!!<br>
<br>
<br>
On Tue, Feb 23, 2010 at 9:25 AM, Doug Reiland &lt;dreiland@gmail.com&gt;
wrote:<br>
&gt; OK, I am trying this again.<br>
&gt;<br>
&gt; It looks like the process is:<br>
&gt;<br>
&gt; koji add-pkg --owner &lt;some_owner&gt; dist-f12 zsh<br>
&gt; koji build dist-f12 zsh*.src.rpm<br>
&gt;<br>
&gt; I got this working at home.<br>
&gt; However, at work. I am having mock issues. It doesn't look like any<br>
&gt; build group packages get installed:<br>
&gt;<br>
&gt; redhat-rpm-config-9.0.3-18.fc12.noarch from build has depsolving problems<br>
&gt; DEBUG util.py:256: &nbsp; &nbsp;--&gt; Missing Dependency: /bin/bash
is needed by<br>
&gt; package redhat-rpm-config-9.0.3-18.fc12.noarch (build)<br>
&gt; DEBUG util.py:256: &nbsp;redhat-rpm-config-9.0.3-18.fc12.noarch from
build<br>
&gt; has depsolving problems<br>
&gt; DEBUG util.py:256: &nbsp; &nbsp;--&gt; Missing Dependency: /usr/bin/perl
is needed<br>
&gt; by package redhat-rpm-config-9.0.3-18.fc12.noarch (build)<br>
&gt; DEBUG util.py:256: &nbsp;redhat-rpm-config-9.0.3-18.fc12.noarch from
build<br>
&gt; has depsolving problems<br>
&gt; DEBUG util.py:256: &nbsp; &nbsp;--&gt; Missing Dependency: /bin/sh
is needed by<br>
&gt; package redhat-rpm-config-9.0.3-18.fc12.noarch (build)<br>
&gt; DEBUG util.py:256: &nbsp;redhat-rpm-config-9.0.3-18.fc12.noarch from
build<br>
&gt; has depsolving problems<br>
&gt; DEBUG util.py:256: &nbsp; &nbsp;--&gt; Missing Dependency: mktemp
is needed by<br>
&gt; package redhat-rpm-config-9.0.3-18.fc12.noarch (build)<br>
&gt; DEBUG util.py:256: &nbsp;redhat-rpm-config-9.0.3-18.fc12.noarch from
build<br>
&gt; has depsolving problems<br>
&gt; DEBUG util.py:256: &nbsp; &nbsp;--&gt; Missing Dependency: perl(Getopt::Long)
is<br>
&gt; needed by package redhat-rpm-config-9.0.3-18.fc12.noarch (build)<br>
&gt; DEBUG util.py:256: &nbsp;Error: Missing Dependency: /bin/bash is needed
by<br>
&gt; package redhat-rpm-config-9.0.3-18.fc12.noarch (build)<br>
&gt; DEBUG util.py:256: &nbsp;Error: Missing Dependency: /bin/sh is needed
by<br>
&gt; package redhat-rpm-config-9.0.3-18.fc12.noarch (build)<br>
&gt; DEBUG util.py:256: &nbsp;Error: Missing Dependency: mktemp is needed
by<br>
&gt; package redhat-rpm-config-9.0.3-18.fc12.noarch (build)<br>
&gt; DEBUG util.py:256: &nbsp;Error: Missing Dependency: perl(Getopt::Long)
is<br>
&gt; needed by package redhat-rpm-config-9.0.3-18.fc12.noarch (build)<br>
&gt;<br>
&gt; I do koji list-groups dist-f12-build and it shows:<br>
&gt;<br>
&gt; build &nbsp;[dist-f12-build]<br>
&gt; &nbsp;bash: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;bc: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;bzip2: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;coreutils: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;cpio: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;diffutils: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;fedora-release: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;findutils: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;gawk: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;gcc: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;gcc-c++: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;grep: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;gzip: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;info: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;make: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;patch: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;redhat-rpm-config: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;rpm-build: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;sed: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;shadow-utils: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;tar: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;unzip: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;util-linux-ng: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;which: None, default &nbsp;[dist-f12-build]<br>
&gt; srpm-build &nbsp;[dist-f12-build]<br>
&gt; &nbsp;bash: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;curl: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;cvs: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;fedora-release: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;gnupg: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;make: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;redhat-rpm-config: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;rpm-build: None, default &nbsp;[dist-f12-build]<br>
&gt; &nbsp;shadow-utils: None, default &nbsp;[dist-f12-build]<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Mon, Feb 22, 2010 at 12:02 PM, Mike McLean &lt;mikem@redhat.com&gt;
wrote:<br>
&gt;&gt; On 02/22/2010 09:27 AM, Doug Reiland wrote:<br>
&gt;&gt;&gt; So, I import a src.rpm. What is the process for generating
the binary rpms?<br>
&gt;&gt;&gt; I was assuming koji would do a rpnmbuild --rebuild via mock??
somehow.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; How are updates managed in fedora? I was assuming packages
were always<br>
&gt;&gt;&gt; getting rebuilt based on some kind of trigger (source update,
...),<br>
&gt;&gt;&gt; and tagged, after testing or time-frame moved to an update
repository.<br>
&gt;&gt;&gt; Is this or something like it done in koji or outside koji.<br>
&gt;&gt;<br>
&gt;&gt; For a &quot;how to use koji&quot; doc from the building perspective,
you should<br>
&gt;&gt; read the Fedora developer docs:<br>
&gt;&gt; </font></tt><a href=http://fedoraproject.org/wiki/Koji><tt><font size=2>http://fedoraproject.org/wiki/Koji</font></tt></a><tt><font size=2><br>
&gt;&gt; Some of it is specific to their setup, but most of it is generic.<br>
&gt;&gt;<br>
&gt;&gt; In Koji, a build is the set set of rpms that originate from a
single<br>
&gt;&gt; source rpm. All the binary and/or noarch packages and subpackages,
as<br>
&gt;&gt; well as the srpm itself, are part of the build. Since the srpm
is the<br>
&gt;&gt; defining element, the build is referred to by the name of the
srpm.<br>
&gt;&gt;<br>
&gt;&gt; Koji only knows about rpms that is tracks in its database. There
are two<br>
&gt;&gt; ways to get a build into koji:<br>
&gt;&gt; &nbsp;1) build it in koji (koji build)<br>
&gt;&gt; &nbsp;2) manually import an entire external build (koji import)<br>
&gt;&gt;<br>
&gt;&gt; In the course of normal operation, manual imports should be rare.<br>
&gt;&gt;<br>
&gt;&gt; To build from a source rpm, you simply need to pass that file
to the<br>
&gt;&gt; build command. When you imported your source rpm before, you were<br>
&gt;&gt; creating a manually imported build that consisted solely of that
source<br>
&gt;&gt; rpm. Because Koji enforces N-V-R uniqueness you will not be able
to<br>
&gt;&gt; build that srpm normally; Koji thinks it's already been built.<br>
&gt;&gt; --<br>
&gt;&gt; buildsys mailing list<br>
&gt;&gt; buildsys@lists.fedoraproject.org<br>
&gt;&gt; </font></tt><a href=https://admin.fedoraproject.org/mailman/listinfo/buildsys><tt><font size=2>https://admin.fedoraproject.org/mailman/listinfo/buildsys</font></tt></a><tt><font size=2><br>
&gt;&gt;<br>
&gt;<br>
--<br>
buildsys mailing list<br>
buildsys@lists.fedoraproject.org<br>
</font></tt><a href=https://admin.fedoraproject.org/mailman/listinfo/buildsys><tt><font size=2>https://admin.fedoraproject.org/mailman/listinfo/buildsys</font></tt></a><tt><font size=2><br>
</font></tt>
<br>