[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Mock for EPEL



Tanguy Eric wrote:
> Le jeudi 17 mai 2007 à 11:16 +0200, Thorsten Leemhuis a écrit :
>> On 17.05.2007 11:00, Remi Collet wrote:
>>> Tanguy Eric a écrit :
>>>> I would like to use mock on my fc6 to test build for epel 4 and 5 but i
>>>> don't have any cfg file in /etc/mock about this.
>>>> How can i do this ?
>>> # rpm -qf /etc/mock/*epel*
>>> mock-0.6.11-1.fc6
>>>
>>> You probably should update your mock version.
>>>
>>> And use, p.e.  mock -r fedora-4-ppc-epel
>>>
>>> You can create a fedora-5-ppc-epel using the model.
>> Or use those attached to this mail -- I send them here past week already
>> and we'll make sure they'll get integrated into mock soon.
>>
>> CU
>> thl
> Thanks but i seem to have problem with mirrorlist for epel4 :
> $ mock -r fedora-4-i386-epel drgeo-1.1.0-5.el4.src.rpm 
> init
> clean
> prep
> This may take a while
> not using ftp, http[s], or file for repos, skipping - <!DOCTYPE HTML
> PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
> not using ftp, http[s], or file for repos, skipping - <html>
> not using ftp, http[s], or file for repos, skipping -  <head>
> not using ftp, http[s], or file for repos, skipping -   <title>Index
> of /</title>
> not using ftp, http[s], or file for repos, skipping -  </head>
> not using ftp, http[s], or file for repos, skipping -  <body>
> not using ftp, http[s], or file for repos, skipping - <table
> bgcolor=#3399FF text=#000000 cellSpacing=0 cellPadding=0 width="100%"
> border=0 align="center">
> not using ftp, http[s], or file for repos, skipping -   <tbody> 
> not using ftp, http[s], or file for repos, skipping -   <tr> 
> not using ftp, http[s], or file for repos, skipping -     <td
> vAlign=top> 
> not using ftp, http[s], or file for repos, skipping -       <table
> width="100%" border="0" cellspacing="0" cellpadding="0" height="66">
> not using ftp, http[s], or file for repos, skipping -         <tr>
> not using ftp, http[s], or file for repos, skipping -           <td
> colspan="1" rowspan="1" style="vertical-align: middle; text-align: left;
> width: 63px"> 
> not using ftp, http[s], or file for repos, skipping -              <a
> href="http://www.centos.org/";><img
> src="/HEADER.images/centos_icon_60.png" alt="CentOS Icon"
> border="0" /></a>
> not using ftp, http[s], or file for repos, skipping -           </td>
> not using ftp, http[s], or file for repos, skipping -           <td
> colspan="1" rowspan="1" style="vertical-align: middle; text-align: left;
> ">  
> not using ftp, http[s], or file for repos, skipping -              <a
> href="http://www.centos.org/";><img
> src="/HEADER.images/centos_logo_45.png" alt="CentOS Logo"
> border="0" /></a>
> not using ftp, http[s], or file for repos, skipping -           </td>
> not using ftp, http[s], or file for repos, skipping -           <td
> width="100%" align="right">
> not using ftp, http[s], or file for repos, skipping - <script
> type="text/javascript"><!--
> not using ftp, http[s], or file for repos, skipping - google_ad_client =
> "pub-6973128787810819";
> not using ftp, http[s], or file for repos, skipping - google_ad_width =
> 728;
> not using ftp, http[s], or file for repos, skipping - google_ad_height =
> 90;
> not using ftp, http[s], or file for repos, skipping - google_ad_format =
> "728x90_as";
> not using ftp, http[s], or file for repos, skipping - google_ad_type =
> "text";
> not using ftp, http[s], or file for repos, skipping - google_ad_channel
> ="";
> not using ftp, http[s], or file for repos, skipping -
> google_color_border = "336699";
> not using ftp, http[s], or file for repos, skipping - google_color_bg =
> "FFFFFF";
> not using ftp, http[s], or file for repos, skipping - google_color_link
> = "0000FF";
> not using ftp, http[s], or file for repos, skipping - google_color_url =
> "008000";
> not using ftp, http[s], or file for repos, skipping - google_color_text
> = "000000";
> not using ftp, http[s], or file for repos, skipping - //--></script>
> not using ftp, http[s], or file for repos, skipping - <script
> type="text/javascript"
> not using ftp, http[s], or file for repos, skipping -
> src="http://pagead2.googlesyndication.com/pagead/show_ads.js";>
> not using ftp, http[s], or file for repos, skipping - </script>
> not using ftp, http[s], or file for repos, skipping -           </td>
> not using ftp, http[s], or file for repos, skipping -         </tr>
> not using ftp, http[s], or file for repos, skipping -       </table>
> not using ftp, http[s], or file for repos, skipping -     </td>
> not using ftp, http[s], or file for repos, skipping -   </tr>
> not using ftp, http[s], or file for repos, skipping -   </tbody> 
> not using ftp, http[s], or file for repos, skipping - </table>
> not using ftp, http[s], or file for repos, skipping - <table
> bgcolor="#e0d2e3" text=#5e5e5e cellSpacing=0 cellPadding=0 width="100%"
> border=0 align="center">
> not using ftp, http[s], or file for repos, skipping -   <tbody> 
> not using ftp, http[s], or file for repos, skipping -   <tr> 
> not using ftp, http[s], or file for repos, skipping -     <td
> vAlign=top> 
> not using ftp, http[s], or file for repos, skipping -       <table
> width="100%" border="0" cellspacing="0" cellpadding="0" height="25">
> not using ftp, http[s], or file for repos, skipping -         <tr> 
> not using ftp, http[s], or file for repos, skipping -     <td
> valign=center>&nbsp;<font size=4 face="Verdana, Arial, Helvetica,
> sans-serif" color=#000000><b>CentOS on the Web: <a
> href="http://www.centos.org/modules/tinycontent/index.php?id=16";>Mailing
> Lists</a> | <a
> href="http://www.centos.org/modules/tinycontent/index.php?id=13";>Mirror
> List</a> | <a
> href="http://www.centos.org/modules/tinycontent/index.php?id=8";>IRC</a>
> | <a href="http://www.centos.org/modules/newbb/";>Forums</a> | <a
> href="http://bugs.centos.org/";>Bugs</a> | <a
> href="http://www.centos.org/modules/tinycontent/index.php?id=23";>Donate</a>  </b></font></td>
> not using ftp, http[s], or file for repos, skipping -         </tr>
> not using ftp, http[s], or file for repos, skipping -       </table>
> not using ftp, http[s], or file for repos, skipping -     </td>
> not using ftp, http[s], or file for repos, skipping -   </tr>
> not using ftp, http[s], or file for repos, skipping -   </tbody> 
> not using ftp, http[s], or file for repos, skipping - </table>
> not using ftp, http[s], or file for repos, skipping -
> <table><tr><th><img src="/icons/blank.gif" alt="[ICO]"></th><th><a
> href="?C=N;O=D">Name</a></th><th><a href="?C=M;O=A">Last
> modified</a></th><th><a href="?C=S;O=A">Size</a></th><th><a
> href="?C=D;O=A">Description</a></th></tr><tr><th
> colspan="5"><hr></th></tr>
> not using ftp, http[s], or file for repos, skipping - <tr><td
> valign="top"><img src="/icons/unknown.gif" alt="[   ]"></td><td><a
> href="TIME">TIME</a></td><td align="right">17-May-2007 09:10  </td><td
> align="right"> 11 </td></tr>
> not using ftp, http[s], or file for repos, skipping - <tr><td
> valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a
> href="centos-2/">centos-2/</a></td><td align="right">15-Sep-2005 23:34
> </td><td align="right">  - </td></tr>
> not using ftp, http[s], or file for repos, skipping - <tr><td
> valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a
> href="centos-3/">centos-3/</a></td><td align="right">06-Sep-2006 11:31
> </td><td align="right">  - </td></tr>
> not using ftp, http[s], or file for repos, skipping - <tr><td
> valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a
> href="centos-4/">centos-4/</a></td><td align="right">15-May-2007 20:47
> </td><td align="right">  - </td></tr>
> not using ftp, http[s], or file for repos, skipping - <tr><td
> valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a
> href="centos-5/">centos-5/</a></td><td align="right">15-Apr-2007 11:46
> </td><td align="right">  - </td></tr>
> not using ftp, http[s], or file for repos, skipping - <tr><td
> valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a
> href="centos/">centos/</a></td><td align="right">15-May-2007 11:47
> </td><td align="right">  - </td></tr>
> not using ftp, http[s], or file for repos, skipping - <tr><td
> valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a
> href="mirrorscripts/">mirrorscripts/</a></td><td
> align="right">12-Apr-2006 08:42  </td><td align="right">  - </td></tr>
> not using ftp, http[s], or file for repos, skipping - <tr><td
> valign="top"><img src="/icons/text.gif" alt="[TXT]"></td><td><a
> href="server.id">server.id</a></td><td align="right">22-Sep-2004 15:24
> </td><td align="right">  0 </td><td>centosc2</td></tr>
> not using ftp, http[s], or file for repos, skipping - <tr><td
> valign="top"><img src="/icons/text.gif" alt="[TXT]"></td><td><a
> href="timestamp.txt">timestamp.txt</a></td><td align="right">17-May-2007
> 09:10  </td><td align="right"> 29 </td></tr>
> not using ftp, http[s], or file for repos, skipping - <tr><th
> colspan="5"><hr></th></tr>
> not using ftp, http[s], or file for repos, skipping - </table>
> not using ftp, http[s], or file for repos, skipping - <table
> bgcolor="#e0d2e3" text=#5e5e5e cellSpacing=0 cellPadding=0 width="100%"
> border=0 align="center">
> not using ftp, http[s], or file for repos, skipping -   <tbody>
> not using ftp, http[s], or file for repos, skipping -   <tr>
> not using ftp, http[s], or file for repos, skipping -     <td
> vAlign=top>
> not using ftp, http[s], or file for repos, skipping -       <table
> width="100%" border="0" cellspacing="0" cellpadding="0" height="25">
> not using ftp, http[s], or file for repos, skipping -         <tr>
> not using ftp, http[s], or file for repos, skipping -           <td
> valign=center align=left>&nbsp;<font size=2 face="Verdana, Arial,
> Helvetica, sans-serif" color=#000000><b>This CentOS server donated by:
> <a href="http://www.fasthosts.co.uk/";>Fasthosts Internet
> Ltd</a></b></font></td>
> not using ftp, http[s], or file for repos, skipping -           <td
> valign=center align=right>&nbsp;<font size=2 face="Verdana, Arial,
> Helvetica, sans-serif" color=#000000><b>I want to donate a server: <a
> href="mailto:donate centos org?subject=Server Donation">Contact
> us</a></b></font></td>
> not using ftp, http[s], or file for repos, skipping -         </tr>
> not using ftp, http[s], or file for repos, skipping -       </table>
> not using ftp, http[s], or fiError: Cannot find a valid baseurl for
> repo: core
> le for repos, skipping -     </td>
> not using ftp, http[s], or file for repos, skipping -   </tr>
> not using ftp, http[s], or file for repos, skipping -   </tbody>
> not using ftp, http[s], or file for repos, skipping - </table>
> not using ftp, http[s], or file for repos, skipping - </body></html>
> 
> Error performing yum command: /usr/sbin/mock-helper yum
> --installroot /var/lib/mock/epel-4-i386/root install buildsys-build
> ending
> done
> 
I ended up by hard setting them to:
[core]
name=base
baseurl=http://mirror.pacific.net.au/linux/CentOS/4.4/os/i386/

[update]
name=updates
baseurl=http://mirror.pacific.net.au/linux/CentOS/4.4/updates/i386/

[groups]
name=groups
baseurl=http://buildsys.fedoraproject.org/buildgroups/rhel4/i386/

[extras]
name=epel
baseurl=http://ftp-stud.hs-esslingen.de/pub/epel/4/i386

[local]
name=local
baseurl=http://buildsys.fedoraproject.org/plague-results/fedora-4-epel/


You might wish to set them to closer locations though.  The HTML output
is an oversight of CentOS I think though.

N.J.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]