FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Build System

 
 
LinkBack Thread Tools
 
Old 02-25-2010, 12:12 PM
Doug Reiland
 
Default local koji server - packages repository

I am seeing my builds fail where it knows to pull a previous rpm
locally because it has already built it.
For example, I built kernel.

Now I try to build zlib, and from mock's root.log:

xz-lzma-compat i686 4.999.9-0.2.beta.20091007git.fc12 build 15 k
DEBUG util.py:256: zlib i686 1.2.3-23.fc12
build 69 k
DEBUG util.py:256: Transaction Summary
DEBUG util.py:256:
================================================== ==============================
DEBUG util.py:256: Install 102 Package(s)
DEBUG util.py:256: Upgrade 0 Package(s)
DEBUG util.py:256: Total download size: 78 M
DEBUG util.py:256:
http://localhost/koji/packages/kernel/2.6.31.5/127.fc12/i386/kernel-headers-2.6.31.5-127.fc12.i386.rpm:
[Errno 14] HTTP Error 403 :
http://localhost/koji/packages/kernel/2.6.31.5/127.fc12/i386/kernel-headers-2.6.31.5-127.fc12.i386.rpm
DEBUG util.py:256: Trying other mirror.
DEBUG util.py:256: Error Downloading Packages:
DEBUG util.py:256: kernel-headers-2.6.31.5-127.fc12.i386: failed to
retrieve kernel-headers-2.6.31.5-127.fc12.i386.rpm from build
DEBUG util.py:256: error was [Errno 14] HTTP Error 403 :
http://localhost/koji/packages/kernel/2.6.31.5/127.fc12/i386/kernel-headers-2.6.31.5-127.fc12.i386.rpm
DEBUG util.py:319: Child returncode was: 1

I am confused about where this is coming from and if koji serves those
web pages:
My directory is /mnt/koji
>From kojid/kojid.conf: pkgurl=http://localhost/koji/packages

>From /etc/httpd/conf.d/kojiweb.conf:
PythonOption KojiPackagesURL http://localhost/mnt/koji/packages

Any ideas?
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 02-25-2010, 12:31 PM
Jeroen van Meeuwen
 
Default local koji server - packages repository

On 02/25/2010 02:12 PM, Doug Reiland wrote:
> My directory is /mnt/koji
>>From kojid/kojid.conf: pkgurl=http://localhost/koji/packages
>
>>From /etc/httpd/conf.d/kojiweb.conf:
> PythonOption KojiPackagesURL http://localhost/mnt/koji/packages
>

I see a subtle mismatch between these two URLs.

-- Jeroen
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 02-25-2010, 12:37 PM
Doug Reiland
 
Default local koji server - packages repository

I changed the httpd/conf.d/kojiweb.conf to
http://localhost/koji/packages and it didn't help

If I goto http://koji.fedoraproject.org, and click a package, for
example 389-ds, I get to the package page without even logging into.

On my site,

https://localhost/koji/packages/packageinfo?packageID=6

Forbidden

You don't have permission to access /koji/packages/packageinfo on this server.
Apache/2.2.14 (Fedora) Server at localhost Port 443

On Thu, Feb 25, 2010 at 8:31 AM, Jeroen van Meeuwen <kanarip@kanarip.com> wrote:
> On 02/25/2010 02:12 PM, Doug Reiland wrote:
>> My directory is /mnt/koji
>>>From kojid/kojid.conf: pkgurl=http://localhost/koji/packages
>>
>>>From /etc/httpd/conf.d/kojiweb.conf:
>> PythonOption KojiPackagesURL http://localhost/mnt/koji/packages
>>
>
> I see a subtle mismatch between these two URLs.
>
> -- Jeroen
>
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 02-25-2010, 12:49 PM
Dan Horák
 
Default local koji server - packages repository

Doug Reiland p*še v Čt 25. 02. 2010 v 08:37 -0500:
> I changed the httpd/conf.d/kojiweb.conf to
> http://localhost/koji/packages and it didn't help
>
> If I goto http://koji.fedoraproject.org, and click a package, for
> example 389-ds, I get to the package page without even logging into.
>
> On my site,
>
> https://localhost/koji/packages/packageinfo?packageID=6
>
> Forbidden
>
> You don't have permission to access /koji/packages/packageinfo on this server.
> Apache/2.2.14 (Fedora) Server at localhost Port 443

I have this section in my kojiweb.conf (I use /opt/koji instead of /mnt/koji)

Alias /packages/ "/opt/koji/packages/"

<Directory "/opt/koji/packages/">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>


Dan


--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 

Thread Tools




All times are GMT. The time now is 07:29 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org