Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DietPi-Software | Home Assistant: Redo dependencies depending on architecture #4812

Merged
merged 2 commits into from
Oct 8, 2021

Conversation

MichaIng
Copy link
Owner

@MichaIng MichaIng commented Oct 7, 2021

Status: Ready

ToDo:

Commit list/description:

  • DietPi-Software | Home Assistant: Redo dependencies depending on architecture

+ DietPi-Software | Home Assistant: Redo dependencies depending on architecture
@MichaIng MichaIng added this to the v7.7 milestone Oct 7, 2021
@MichaIng MichaIng requested a review from Joulinar October 7, 2021 22:14
@MichaIng
Copy link
Owner Author

MichaIng commented Oct 7, 2021

x86_64 and I guess aarch64 do not require any of these runtime libraries. I guess Pillow from PyPI has those libraries statically linked, which also explains the significantly larger wheel size (compared to piwheels builds):

piwheels also lists those as dependencies, even more (likely not strictly linked but required for additional image type support).

So far I however could not find a case where libxcb1 was required 🤔.

@Joulinar
Copy link
Collaborator

Joulinar commented Oct 7, 2021

side node. I guess pre-patch for the Debian SSL issue is obsolet?

 DietPi-Update
─────────────────────────────────────────────────────
 Phase: Applying pre-patches

[  OK  ] DietPi-Update | Downloading pre-patches
[  OK  ] DietPi-Update | Applying execute permission
[ INFO ] DietPi-Pre-patches | Connecting to deb.debian.org via plain HTTP once until latest OpenSSL has been installed: https://github.com/MichaIng/DietPi/issues/4795
[  OK  ] DietPi-Pre-patches | sed -i s|https://deb.debian.org|http://deb.debian.org| /etc/apt/sources.list
[  OK  ] DietPi-Update | Successfully applied pre-patches

@MichaIng
Copy link
Owner Author

MichaIng commented Oct 7, 2021

side node. I guess pre-patch for the Debian SSL issue is obsolet?

Yes, I'll replace it with Mosquitto and/or Webmin repo(s), if they do not solve it until Saturday. Report on Webmin btw has been done as well, so all we can do has been done: webmin/webmin#1533

@Joulinar
Copy link
Collaborator

Joulinar commented Oct 7, 2021

hmm replicated again in my RPi3B+ ARMv7 Bullseye

Oct 08 00:37:05 DietPi3 systemd[1]: Started Home Assistant (DietPi).
Oct 08 00:37:22 DietPi3 homeassistant[16330]: 2021-10-08 00:37:22 ERROR (MainThread) [homeassistant.setup] Setup failed for image: Unable to import component: libxcb.so.1: cannot open shared object file: No such file or directory

@MichaIng
Copy link
Owner Author

MichaIng commented Oct 7, 2021

Same one ARMv6.

+ DietPi-Software | Home Assistant: Add libxcb1 required on ARMv6/7
@MichaIng
Copy link
Owner Author

MichaIng commented Oct 8, 2021

Okay, required on all ARMv6 and ARMv7, I seemed to have checked it wrong on first test iteration.

@MichaIng MichaIng merged commit c748f5f into dev Oct 8, 2021
@MichaIng MichaIng deleted the homeassistant branch October 8, 2021 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants