2021-05-14 10:43 AM
Hello,
I'm trying to create the Distribution package for my STM32MP157D-DK1.
When I first installed and ran, it said it was running, It stayed that way for the afternoon. I let it 'run' overnight to the same line. I ^C'd out of it. Since then I get this (I just gave the last try)
NOTE: Retrying server connection (#7)... (Traceback (most recent call last):
File "/mnt/c/projects/Distribution-Package/openstlinux-5.10-dunfell-mp1-21-03-31/layers/openembedded-core/bitbake/lib/bb/main.py", line 438, in setup_bitbake
server = bb.server.process.BitBakeServer(lock, sockname, configuration, featureset)
File "/mnt/c/projects/Distribution-Package/openstlinux-5.10-dunfell-mp1-21-03-31/layers/openembedded-core/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/c/projects/Distribution-Package/openstlinux-5.10-dunfell-mp1-21-03-31/layers/openembedded-core/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).
I have deleted Distribution-Package and reloaded to the same end.
I am running ubuntu WSL on Windows 10.
Thanks in advance,
George Roessner
2021-05-16 11:55 PM
Hi @GeorgeR ,
As you may read here https://wiki.st.com/stm32mpu/wiki/PC_prerequisites#WSL2_-28experimental-29
WSL support is only experimental for our distribution.
Please confirm you are using WSL2.
Olivier
2021-05-18 05:08 AM
Hi Olivier,
Thanks for the answer. Yes, I am using WSL2.
It seems that Linux is needed though. Can this all be done in Windows 10 environment?
Regards,
George
2021-05-19 01:49 AM
Hi @Guenther Roider ,
Ok this issue can happen and seems decoralated from WLS2.
To solve it our expert usually remove build folder (build-***) and check no-more process 'bitbake' are running then retry.
Hope it help,
Olivier