[oi-dev] pkgrepo issue

Alexander Pyhalov alp at rsu.ru
Mon Dec 23 08:20:43 UTC 2013


Hello.
Yesterday Yuri drew my attention to the following issue.
During illumos-gate build dmake install generates error in pkg directory 
for system-kernel:

Publishing system-kernel to redist repository
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/yuri/ws/il-1787/packages/i386/nightly/repo.$r \
                 --add-content --exit-ready; \
done
dmake: Warning: Target `install' not remade because of errors
Current working directory /home/yuri/ws/il-1787/usr/src/pkg


I can reproduce error running nightly.sh, but can't reproduce it, doing 
just pure dmake install.

Does someone have any ideas about this?
-- 
Best regards,
Alexander Pyhalov,
system administrator of Computer Center of Southern Federal University




More information about the oi-dev mailing list