Mailinglist Archive: opensuse-buildservice (158 mails)

< Previous Next >
[opensuse-buildservice] osc error (build locally)
  • From: Kyrill Detinov <lazy.kent@xxxxxxxxxxxx>
  • Date: Sat, 11 Dec 2010 16:15:32 +0300
  • Message-id: <201012111615.32238.lazy.kent@xxxxxxxxxxxx>

Saturday 11 December 2010

Hello.

I can't build packages locally. osc doesn't download packages to cache.
Log attached.


--
WBR
Kyrill
% osc --http-full-debug build


-- GET https://api.opensuse.org/source/home:Lazy_Kent/_meta
GET https://api.opensuse.org/source/home:Lazy_Kent/_meta
send: 'GET /source/home:Lazy_Kent/_meta HTTP/1.1\r\nAccept-Encoding:
identity\r\nHost: api.opensuse.org\r\nCookie:
IPCZQX018ef15359=000079002dd6b31b1e8eb768; ZNPCQ002-api=V001d93b35d9;
_frontend_session=BAh7BjoPc2Vzc2lvbl9pZCIlZTcwNzQ3NDFjOWQ3NWZiZDBhNWQzMTcyZTMwM2E1ZDg%3D--88caaa614a89b77ca579fdd88efdeb0e297a4543\r\nConnection:
close\r\nUser-agent: osc/0.130\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: ETag: "e1654ab56694251ea94081344f8144da"
header: X-Opensuse-Apiversion: 2.1.0.git201012061052
header: X-Runtime: 5
header: Cache-Control: private, max-age=0, must-revalidate
header: Server: thin 1.2.5 codename This Is Not A Web Server
header: Date: Sat, 11 Dec 2010 12:27:21 GMT
header: Content-Type: text/xml; charset=utf-8
header: Connection: close
header: Content-Length: 995
header: Via: 1.1 ICS_SERVER (iChain 2.3.419)
Building cksfv.spec for openSUSE_Factory/x86_64
Getting buildinfo from server and store to
/home/kent/rpmbuild/projects/home:Lazy_Kent/cksfv/.osc/_buildinfo-openSUSE_Factory-x86_64.xml


-- POST
https://api.opensuse.org/build/home:Lazy_Kent/openSUSE_Factory/x86_64/cksfv/_buildinfo
POST
https://api.opensuse.org/build/home:Lazy_Kent/openSUSE_Factory/x86_64/cksfv/_buildinfo
send: 'POST /build/home:Lazy_Kent/openSUSE_Factory/x86_64/cksfv/_buildinfo
HTTP/1.1\r\nAccept-Encoding: identity\r\nContent-length: 1280\r\nHost:
api.opensuse.org\r\nUser-agent: osc/0.130\r\nConnection: close\r\nCookie:
IPCZQX018ef15359=000079002dd6b31b1e8eb768; ZNPCQ002-api=V001d93b35d9;
_frontend_session=BAh7BjoPc2Vzc2lvbl9pZCIlZTcwNzQ3NDFjOWQ3NWZiZDBhNWQzMTcyZTMwM2E1ZDg%3D--88caaa614a89b77ca579fdd88efdeb0e297a4543\r\nContent-type:
application/octet-stream\r\n\r\n#\n# spec file for package cksfv (Version
1.3.14)\n#\n# Copyright (c) 2009 Kyrill Detinov\n# This file and all
modifications and additions to the pristine\n# package are under the same
license as the package itself.\n#\n\n# norootforbuild\n\nName:
cksfv\nVersion:\t1.3.14\nRelease:\t0\nURL:\t\thttp://zakalwe.fi/~shd/foss/cksfv/\nLicense:\tGPLv2\nSource:\t\t%{name}-%{version}.tar.bz2\nGroup:\t\tProductivity/File
utilities\nSummary:\tTest Archives Using Information from .sfv\nBuildRoot:
%{_tmppath}/%{name}-%{version}-build\n\n%description\nUtility to test .sfv
files. These files are commonly used to ensure the correct\nretrieval or
storage of data.\n\nAuthors:\n--------\n Heikki Orsila
<heikki.orsila@xxxxxx>\n\n%prep\n%setup -q\n\n%build\n%{configure}
--package-prefix=%{buildroot}\n%{__make} %{?jobs:-j
%jobs}\n\n%install\n%{makeinstall}\n%{__install} -Dpm 0755 scripts/CheckSFV
examples/CheckSFV\n\n%clean\n[ "%{buildroot}" != "/" ] && %{__rm} -rf
%{buildroot}\n\n%files\n%defattr(-,root,root)\n%doc ChangeLog README TODO
AUTHORS examples\n%{_bindir}/*\n%{_mandir}/man1/*\n\n%changelog\n* Wed Oct 14
2009 Kyrill Detinov <lazy.kent.suse@xxxxxxxxx> - 1.3.14\n- added GNOME Nautilus
script to examples dir\n- spec-file corrected\n* Thu Apr 16 2009 Kyrill Detinov
<lazy.kent.suse@xxxxxxxxx> - 1.3.14\n- update to 1.3.14\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: ETag: "0f2f84ac3dd6435be9740f25fd1fff18"
header: X-Opensuse-Apiversion: 2.1.0.git201012061052
header: Content-Transfer-Encoding: binary
header: X-Runtime: 1055
header: Content-Disposition: inline
header: Cache-Control: private
header: Server: thin 1.2.5 codename This Is Not A Web Server
header: Date: Sat, 11 Dec 2010 12:27:22 GMT
header: Content-Type: text/xml
header: Connection: close
header: Content-Length: 14783
header: Via: 1.1 ICS_SERVER (iChain 2.3.419)
Getting buildconfig from server and store to
/home/kent/rpmbuild/projects/home:Lazy_Kent/cksfv/.osc/_buildconfig-openSUSE_Factory-x86_64


-- GET
https://api.opensuse.org/build/home:Lazy_Kent/openSUSE_Factory/_buildconfig
GET https://api.opensuse.org/build/home:Lazy_Kent/openSUSE_Factory/_buildconfig
send: 'GET /build/home:Lazy_Kent/openSUSE_Factory/_buildconfig
HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: api.opensuse.org\r\nCookie:
IPCZQX018ef15359=000079002dd6b31b1e8eb768; ZNPCQ002-api=V001d93b35d9;
_frontend_session=BAh7BjoPc2Vzc2lvbl9pZCIlZTcwNzQ3NDFjOWQ3NWZiZDBhNWQzMTcyZTMwM2E1ZDg%3D--88caaa614a89b77ca579fdd88efdeb0e297a4543\r\nConnection:
close\r\nUser-agent: osc/0.130\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Cache-Control: no-cache
header: Date: Sat, 11 Dec 2010 12:27:22 GMT
header: Server: lighttpd/1.5.0
header: Content-Type: text/plain
header: Connection: close
header: Content-Length: 26542
header: Via: 1.1 ICS_SERVER (iChain 2.3.419)
Updating cache of required packages
19.0% cache miss. 85/105 dependencies cached.


URLs to try for package 'libgcc45':
file:///home/kent/rpmbuild/osbuild-packagecache/openSUSE:Factory/standard/x86_64/libgcc45-4.5.1_20101208-2.1.x86_64.rpm
http://download.opensuse.org/repositories/openSUSE:/Factory/standard/x86_64/libgcc45-4.5.1_20101208-2.1.x86_64.rpm



-- GET
http://download.opensuse.org/repositories/openSUSE:/Factory/standard/x86_64/libgcc45-4.5.1_20101208-2.1.x86_64.rpm
GET
http://download.opensuse.org/repositories/openSUSE:/Factory/standard/x86_64/libgcc45-4.5.1_20101208-2.1.x86_64.rpm
send: 'GET
/repositories/openSUSE:/Factory/standard/x86_64/libgcc45-4.5.1_20101208-2.1.x86_64.rpm
HTTP/1.1\r\nAccept-Encoding: identity\r\nHost:
download.opensuse.org\r\nCookie:
IPCZQX018ef15359=000079002dd6b31b1e8eb768\r\nConnection: close\r\nUser-Agent:
osc/0.130\r\n\r\n'
reply: 'HTTP/1.1 302 Found\r\n'
header: Date: Sat, 11 Dec 2010 12:27:22 GMT
header: Server: Apache/2.2.10 (Linux/SUSE)
header: Location:
http://download.opensuse.org/factory/repo/oss/suse/x86_64/libgcc45-4.5.1_20101208-2.1.x86_64.rpm
header: Content-Length: 371
header: Connection: close
header: Content-Type: text/html; charset=iso-8859-1
send: 'GET /factory/repo/oss/suse/x86_64/libgcc45-4.5.1_20101208-2.1.x86_64.rpm
HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: download.opensuse.org\r\nCookie:
IPCZQX018ef15359=000079002dd6b31b1e8eb768\r\nConnection: close\r\nUser-Agent:
osc/0.130\r\n\r\n'
reply: ''
Traceback (most recent call last):
File "/usr/bin/osc", line 21, in <module>
r = babysitter.run(osccli)
File "/usr/lib/python2.7/site-packages/osc/babysitter.py", line 50, in run
return prg.main()
File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 309, in main
return self.cmd(args)
File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 332, in cmd
retval = self.onecmd(argv)
File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 448, in onecmd
return self._dispatch_cmd(handler, argv)
File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 1178, in
_dispatch_cmd
return handler(argv[0], opts, *args)
File "/usr/lib/python2.7/site-packages/osc/commandline.py", line 4260, in
do_build
return osc.build.main(self.get_api_url(), opts, args)
File "/usr/lib/python2.7/site-packages/osc/build.py", line 656, in main
fetcher.run(bi)
File "/usr/lib/python2.7/site-packages/osc/fetch.py", line 208, in run
self.fetch(i)
File "/usr/lib/python2.7/site-packages/osc/fetch.py", line 149, in fetch
text = '%s(%s) %s' %(prefix, pac.project, pac.filename))
File "/usr/lib/python2.7/site-packages/urlgrabber/mirror.py", line 411, in
urlgrab
return self._mirror_try(func, url, kw)
File "/usr/lib/python2.7/site-packages/urlgrabber/mirror.py", line 397, in
_mirror_try
return func_ref( *(fullurl,), **kwargs )
File "/usr/lib/python2.7/site-packages/osc/fetch.py", line 41, in urlgrab
for i in streamfile(url, progress_obj=self.progress_obj, text=text):
File "/usr/lib/python2.7/site-packages/osc/core.py", line 4497, in streamfile
f = http_meth.__call__(url, data = data)
File "/usr/lib/python2.7/site-packages/osc/core.py", line 2649, in http_GET
def http_GET(*args, **kwargs): return http_request('GET', *args,
**kwargs)
File "/usr/lib/python2.7/site-packages/osc/core.py", line 2637, in
http_request
fd = urllib2.urlopen(req, data=data)
File "/usr/lib64/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib64/python2.7/urllib2.py", line 397, in open
response = meth(req, response)
File "/usr/lib64/python2.7/urllib2.py", line 510, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib64/python2.7/urllib2.py", line 429, in error
result = self._call_chain(*args)
File "/usr/lib64/python2.7/urllib2.py", line 369, in _call_chain
result = func(*args)
File "/usr/lib64/python2.7/urllib2.py", line 605, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/usr/lib64/python2.7/urllib2.py", line 391, in open
response = self._open(req, data)
File "/usr/lib64/python2.7/urllib2.py", line 409, in _open
'_open', req)
File "/usr/lib64/python2.7/urllib2.py", line 369, in _call_chain
result = func(*args)
File "/usr/lib64/python2.7/urllib2.py", line 1178, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib64/python2.7/urllib2.py", line 1149, in do_open
r = h.getresponse(buffering=True)
File "/usr/lib64/python2.7/httplib.py", line 1025, in getresponse
response.begin()
File "/usr/lib64/python2.7/httplib.py", line 401, in begin
version, status, reason = self._read_status()
File "/usr/lib64/python2.7/httplib.py", line 365, in _read_status
raise BadStatusLine(line)
httplib.BadStatusLine: ''
% rpm -q osc
osc-0.130-23.3.noarch
< Previous Next >
Follow Ups