←  [EN] Third-Party Development

Forums

»

image building xp100

addybo's Photo addybo 10 May 2013

i try to build an image for xp1000

but ecerytime i get this message:

 

Building image for xp1000
Traceback (most recent call last):
  File "/home/user/systemmips/bitbake/bin/bitbake", line 258, in <module>
    ret = main()
  File "/home/user/systemmips/bitbake/bin/bitbake", line 226, in main
    server.initServer()
  File "/home/user/systemmips/bitbake/lib/bb/server/process.py", line 245,     in initServer
    self.event_queue = ProcessEventQueue(0)
  File "/usr/lib/python2.7/multiprocessing/queues.py", line 63, in __init__
    self._rlock = Lock()
  File "/usr/lib/python2.7/multiprocessing/synchronize.py", line 147, in __init_    _
    SemLock.__init__(self, SEMAPHORE, 1, 1)
OSError: [Errno 13] Permission denied
Pseudo is not present but is required, building this first before the main build
Traceback (most recent call last):
  File "/home/user/systemmips/bitbake/bin/bitbake", line 258, in <module>
    ret = main()
  File "/home/user/systemmips/bitbake/bin/bitbake", line 226, in main
    server.initServer()
  File "/home/user/systemmips/bitbake/lib/bb/server/process.py", line 245,     in initServer
    self.event_queue = ProcessEventQueue(0)
  File "/usr/lib/python2.7/multiprocessing/queues.py", line 63, in __init__
    self._rlock = Lock()
  File "/usr/lib/python2.7/multiprocessing/synchronize.py", line 147, in __init_    _
    SemLock.__init__(self, SEMAPHORE, 1, 1)
OSError: [Errno 13] Permission denied
DEBUG: Removed the following variables from the environment: LESSOPEN, SSH_CLIEN    T, MAKEFLAGS, SHLVL, MFLAGS, BBFETCH2, SSH_CONNECTION, LESSCLOSE, SSH_TTY, MAKEL    EVEL, MAIL, LS_COLORS

 

any solution ?


Edited by addybo, 10 May 2013 - 23:57.
Quote

Sjaaky's Photo Sjaaky 11 May 2013

Access denied.
Advice: don't mix up users. Do everything as one user, building, git, etc. In this case probably the systemmips user, or the user "user"?
Solution: man chmod; man su
Edited by Sjaaky, 11 May 2013 - 08:56.
Quote

addybo's Photo addybo 12 May 2013

my solution  was to remove /dev/shm and create a symlink from /dev/shm to /run/shm

now it works

Quote