[oi-dev] onu seems broke (well, pkg actually)

Alexander Pyhalov alp at rsu.ru
Sat Dec 21 22:06:16 UTC 2013


Helllo, Richar.

Richard PALO писал 21.12.2013 21:54:
> Le 21/12/13 18:19, Richard PALO a écrit :
>>>> richard at devzone:~/src/illumos-gate$ pkg version
>>>> c6127c3
>>>> richard at devzone:~/src/illumos-gate$ pkgrepo version
>>>> c6127c3
>>>> richard at devzone:~/src/illumos-gate$ LANG=C pkgrepo list -s
>>>> $HOME/src/illumos-gate/packages/i386/nightly/repo.redist
>>>> PUBLISHER  NAME                                          O VERSION
>>>> richard at devzone:~/src/illumos-gate$ ls
>>>> $HOME/src/illumos-gate/packages/i386/nightly/repo.redist
>>>> catalog/    file/       pkg/        trans/
>>>> cfg_cache   index/      tmp/
>>> 
>>> Just to make sure, I built again after blowing away the packages
>>> directory, but the result is the same.
>>> 
>>> Is there some magic needed to get the new 'pkg' to work?
>> 
>> Looked again, and found the following:
>>> Creating repository metadata
>>> Traceback (most recent call last):
>>>   File "/usr/lib/pkg.depotd", line 800, in <module>
>>>     cherrypy.config.update(gconf)
>>>   File "/usr/lib/python2.6/vendor-packages/cherrypy/_cpconfig.py",
>>> line 286, in update
>>>     self.namespaces(config)
>>>   File "/usr/lib/python2.6/vendor-packages/cherrypy/_cpconfig.py",
>>> line 222, in __call__
>>>     handler(k, v)
>>>   File "/usr/lib/python2.6/vendor-packages/cherrypy/_cpconfig.py",
>>> line 246, in <lambda>
>>>     "log": lambda k, v: setattr(cherrypy.log, k, v),
>>>   File "/usr/lib/python2.6/vendor-packages/cherrypy/_cplogging.py",
>>> line 176, in _set_error_file
>>>     self._set_file_handler(self.error_log, newvalue)
>>>   File "/usr/lib/python2.6/vendor-packages/cherrypy/_cplogging.py",
>>> line 164, in _set_file_handler
>>>     self._add_builtin_file_handler(log, filename)
>>>   File "/usr/lib/python2.6/vendor-packages/cherrypy/_cplogging.py",
>>> line 150, in _add_builtin_file_handler
>>>     h = logging.FileHandler(fname)
>>>   File "/usr/lib/python2.6/logging/__init__.py", line 827, in 
>>> __init__
>>>     StreamHandler.__init__(self, self._open())
>>>   File "/usr/lib/python2.6/logging/__init__.py", line 846, in _open
>>>     stream = open(self.baseFilename, self.mode)
>>> IOError: [Errno 29] Illegal seek: '/dev/fd/2'
>>> *** Error code 1
>>> The following command caused the error:
>>> for r in redist; do \
>>>     /usr/lib/pkg.depotd -d
>>> /home/richard/src/illumos-gate/packages/i386/nightly/repo.$r \
>>>         --add-content --exit-ready; \
>>> done
>>> dmake: Warning: Target `install' not remade because of errors
>>> Current working directory /home/richard/src/illumos-gate/usr/src/pkg
> 

I remember we had similar problems. IIRC, it seems that "pkgrepo 
rebuild" helped.






More information about the oi-dev mailing list