Reconnecting to bitbake server

hi! i tried to build a new image
but something error come and i dont know how to solve it.. :frowning:

dy@Daeyong:/mnt/d/webos/build-webos$ make webos-image
for MACHINE in raspberrypi4 ; do . ./oe-init-build-env && bitbake webos-image; done
Altered environment for raspberrypi4@webos development
NOTE: Retrying server connection (#1)... (Traceback (most recent call last):
File "/mnt/d/webos/build-webos/bitbake/lib/bb/main.py", line 438, in setup_bitbake
server = bb.server.process.BitBakeServer(lock, sockname, configuration, featureset)
File "/mnt/d/webos/build-webos/bitbake/lib/bb/server/process.py", line 407, in init
self.sock.bind(os.path.basename(sockname))
OSError: [Errno 95] Operation not supported
)
WARNING: /mnt/d/webos/build-webos/bitbake/lib/bb/main.py:469: ResourceWarning: unclosed <socket.socket fd=6, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0>
logger.info("Retrying server connection (#%d)... (%s)" % (tryno, traceback.format_exc()))

WARNING: /mnt/d/webos/build-webos/bitbake/lib/bb/main.py:427: ResourceWarning: unclosed file <_io.TextIOWrapper name='/mnt/d/webos/build-webos/bitbake.lock' mode='a+' encoding='UTF-8'>
topdir, lock = lockBitbake()

NOTE: Reconnecting to bitbake server...
NOTE: Previous bitbake instance shutting down?, waiting to retry...
NOTE: Retrying server connection (#2)...
NOTE: Retrying server connection (#3)... (Traceback (most recent call last):
File "/mnt/d/webos/build-webos/bitbake/lib/bb/main.py", line 438, in setup_bitbake
server = bb.server.process.BitBakeServer(lock, sockname, configuration, featureset)
File "/mnt/d/webos/build-webos/bitbake/lib/bb/server/process.py", line 407, in init
self.sock.bind(os.path.basename(sockname))
OSError: [Errno 95] Operation not supported
)
WARNING: /mnt/d/webos/build-webos/bitbake/lib/bb/main.py:469: ResourceWarning: unclosed <socket.socket fd=8, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0>
logger.info("Retrying server connection (#%d)... (%s)" % (tryno, traceback.format_exc()))

NOTE: Reconnecting to bitbake server...
NOTE: Previous bitbake instance shutting down?, waiting to retry...
NOTE: Retrying server connection (#4)...
NOTE: Retrying server connection (#5)... (Traceback (most recent call last):
File "/mnt/d/webos/build-webos/bitbake/lib/bb/main.py", line 438, in setup_bitbake
server = bb.server.process.BitBakeServer(lock, sockname, configuration, featureset)
File "/mnt/d/webos/build-webos/bitbake/lib/bb/server/process.py", line 407, in init
self.sock.bind(os.path.basename(sockname))
OSError: [Errno 95] Operation not supported
)
WARNING: /mnt/d/webos/build-webos/bitbake/lib/bb/main.py:469: ResourceWarning: unclosed <socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0>
logger.info("Retrying server connection (#%d)... (%s)" % (tryno, traceback.format_exc()))

NOTE: Reconnecting to bitbake server...
NOTE: Previous bitbake instance shutting down?, waiting to retry...
NOTE: Retrying server connection (#6)...
NOTE: Retrying server connection (#7)... (Traceback (most recent call last):
File "/mnt/d/webos/build-webos/bitbake/lib/bb/main.py", line 438, in setup_bitbake
server = bb.server.process.BitBakeServer(lock, sockname, configuration, featureset)
File "/mnt/d/webos/build-webos/bitbake/lib/bb/server/process.py", line 407, in init
self.sock.bind(os.path.basename(sockname))
OSError: [Errno 95] Operation not supported
)
WARNING: /mnt/d/webos/build-webos/bitbake/lib/bb/main.py:469: ResourceWarning: unclosed <socket.socket fd=12, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0>
logger.info("Retrying server connection (#%d)... (%s)" % (tryno, traceback.format_exc()))

NOTE: Reconnecting to bitbake server...
NOTE: Previous bitbake instance shutting down?, waiting to retry...
NOTE: Retrying server connection (#8)...
ERROR: Unable to connect to bitbake server, or start one (server startup failures would be in bitbake-cookerdaemon.log).
Makefile:42: recipe for target 'webos-image' failed
make: *** [webos-image] Error 1

Hi @wannabeCoding, welcome to the forum!

Could you do the following things?

  • Try build again.
    Some open sources libraries or packages can be disconnected temporariliy.
  • Use lower values to mcf command.
    Too high values for mcf -p and -b options might generate the build errors. Use very low values for the command (ex. Try with 1 or 2. Don't use 0.)

Thanks,

i try lower version but error is same. :frowning:
try build again <- mean remove entrie build-webos and reinstall? ill try thanks

Yes, delete all the files and restart from the cloning.
If same bitbake server error show again, please let me know.