aports issueshttps://gitlab.alpinelinux.org/alpine/aports/-/issues2023-12-07T17:15:50Zhttps://gitlab.alpinelinux.org/alpine/aports/-/issues/15412community/firefox-119.0-r0: cannot find llvm-objdump on riscv642023-12-07T17:15:50ZKevin Daudtcommunity/firefox-119.0-r0: cannot find llvm-objdump on riscv64`firefox` fails to build on ~"arch:riscv64" with:
```plaintext
1:59.41 checking for llvm_profdata... not found
1:59.98 checking for llvm-objdump... not found
1:59.99 DEBUG: llvm_objdump: Looking for llvm-objdump
1:59.99 ERROR: Canno...`firefox` fails to build on ~"arch:riscv64" with:
```plaintext
1:59.41 checking for llvm_profdata... not found
1:59.98 checking for llvm-objdump... not found
1:59.99 DEBUG: llvm_objdump: Looking for llvm-objdump
1:59.99 ERROR: Cannot find llvm-objdump
Config object not found by mach.
*** Fix above errors and then restart with "./mach build"
```
See:
- https://build.alpinelinux.org/buildlogs//build-edge-riscv64/community/firefox/firefox-119.0-r0.logPatrycja Rosaalpine@ptrcnull.mePatrycja Rosaalpine@ptrcnull.mehttps://gitlab.alpinelinux.org/alpine/aports/-/issues/15411community/opencv-4.8.1-r0: linking error, unknown relocation (60) against sym...2023-10-28T11:40:31ZKevin Daudtcommunity/opencv-4.8.1-r0: linking error, unknown relocation (60) against symbol on riscv64`openvcv` fails to build on ~"arch:riscv64" with:
```
ninja: job failed: : && /usr/bin/clang++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIB...`openvcv` fails to build on ~"arch:riscv64" with:
```
ninja: job failed: : && /usr/bin/clang++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -g -g1 -Wl,--as-needed,-O1,--sort-common -fuse-ld=lld CMakeFiles/cmTC_e63de.dir/testCXXCompiler.cxx.o -o cmTC_e63de && :
ld.lld: error: /usr/lib/Scrt1.o:(.debug_rnglists+0x15): unknown relocation (60) against symbol .LFE0
ld.lld: error: /usr/lib/Scrt1.o:(.debug_loclists+0x16): unknown relocation (60) against symbol .LVL0
ld.lld: error: /usr/lib/Scrt1.o:(.debug_loclists+0x16): unknown relocation (61) against symbol .LVL0
ld.lld: error: /usr/lib/Scrt1.o:(.debug_rnglists+0x15): unknown relocation (61) against symbol .LFB0
ld.lld: error: /usr/lib/Scrt1.o:(.debug_loclists+0x17): unknown relocation (60) against symbol .LVL2
ld.lld: error: /usr/lib/Scrt1.o:(.debug_loclists+0x17): unknown relocation (61) against symbol .LVL0
ld.lld: error: /usr/lib/Scrt1.o:(.debug_loclists+0x1b): unknown relocation (60) against symbol .LVL2
ld.lld: error: /usr/lib/Scrt1.o:(.debug_loclists+0x1b): unknown relocation (61) against symbol .LVL0
ld.lld: error: /usr/lib/Scrt1.o:(.debug_loclists+0x1c): unknown relocation (60) against symbol .LVL3
ld.lld: error: /usr/lib/Scrt1.o:(.debug_loclists+0x1c): unknown relocation (61) against symbol .LVL0
ld.lld: error: /usr/lib/Scrt1.o:(.debug_loclists+0x22): unknown relocation (60) against symbol .LVL3
ld.lld: error: /usr/lib/Scrt1.o:(.debug_loclists+0x22): unknown relocation (61) against symbol .LVL0
ld.lld: error: /usr/lib/Scrt1.o:(.debug_loclists+0x23): unknown relocation (60) against symbol .LFE0
ld.lld: error: /usr/lib/Scrt1.o:(.debug_loclists+0x23): unknown relocation (61) against symbol .LVL0
ld.lld: error: /usr/lib/Scrt1.o:(.debug_loclists+0x34): unknown relocation (60) against symbol .LVL0
ld.lld: error: /usr/lib/Scrt1.o:(.debug_loclists+0x34): unknown relocation (61) against symbol .LVL0
ld.lld: error: /usr/lib/Scrt1.o:(.debug_loclists+0x35): unknown relocation (60) against symbol .LVL2
ld.lld: error: /usr/lib/Scrt1.o:(.debug_loclists+0x35): unknown relocation (61) against symbol .LVL0
ld.lld: error: /usr/lib/Scrt1.o:(.debug_loclists+0x3a): unknown relocation (60) against symbol .LVL2
ld.lld: error: /usr/lib/Scrt1.o:(.debug_loclists+0x3a): unknown relocation (61) against symbol .LVL0
ld.lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
```
See:
- https://build.alpinelinux.org/buildlogs//build-edge-riscv64/community/opencv/opencv-4.8.1-r0.logBart RibbersBart Ribbershttps://gitlab.alpinelinux.org/alpine/aports/-/issues/14565[PDNS] [3.17 & Edge] - could not open certificate file "/root/.postgresql/pos...2024-01-30T14:14:22ZTuran Asikoglu[PDNS] [3.17 & Edge] - could not open certificate file "/root/.postgresql/postgresql.crt": Permission deniedSince updating to Alpine 3.17 from 3.16, PowerDNS is not able to connect to my Postgres backend via SSL causing it to retry using cleartext which also fails due to our db denying cleartext connectivity.
```
Caught an exception instantia...Since updating to Alpine 3.17 from 3.16, PowerDNS is not able to connect to my Postgres backend via SSL causing it to retry using cleartext which also fails due to our db denying cleartext connectivity.
```
Caught an exception instantiating a backend: Unable to launch gpgsql connection: Unable to connect to database, connect string: dbname='<HIDDEN>' user='<HIDDEN>' host='<HIDDEN>' port='5432' password=<HIDDEN>: connection to server at "<HIDDEN>" (<HIDDEN>), port <HIDDEN> failed: could not open certificate file "/root/.postgresql/postgresql.crt": Permission denied
connection to server at "<HIDDEN>" (<HIDDEN>), port <HIDDEN> failed: FATAL: pg_hba.conf rejects connection for host "<HIDDEN>", user "<HIDDEN>", database "<HIDDEN>", no encryption
```
An educated guess is that in an update to libpq an exception is now generated if it unable to determine if client authentication is needed (by verifying the path "/root/.postgresql/postgresql.crt"). As PowerDNS runs as pdns user, it can not access this folder and SSL connectivity will fail.
A workaround has been to set PGSSLCERT envar in the dockerfile to override the default to a folder the pdns user has access to (such as /tmp).
https://www.postgresql.org/docs/current/libpq-envars.htmlPeter van DijkPeter van Dijkhttps://gitlab.alpinelinux.org/alpine/aports/-/issues/12416netatalk 3.1.12-r3 cant write to afp share2021-02-24T09:28:17ZMaltenetatalk 3.1.12-r3 cant write to afp shareHey there,
with the new 3.1.12-r3 package from the community repo in Alpine 3.1.13 I'm not able to write to my share anymore as a guest user. Reading is working fine.
Below are the config. I'm not sure how to give a more detailed inform...Hey there,
with the new 3.1.12-r3 package from the community repo in Alpine 3.1.13 I'm not able to write to my share anymore as a guest user. Reading is working fine.
Below are the config. I'm not sure how to give a more detailed information because I'm not so familiar with debugging afp stuff.
I solved this temporarily with installing the 3.1.12-r2 package from the Alpine 3.1.12 community repo. The package R2 is working fine.
Let me know if you need more detailed information.
```
[Global]
; output log entries to stdout instead of syslog
; it is the docker way where the engine in turn
; can direct the log output to a storage backend
log file = /var/log/netatalk
; enable guest access as well as user accounts
uam list = uams_guest.so uams_dhx2.so uams_dhx.so
[Share]
path = /opt/share
; when the environment variable `AFP_USER` is not
; provided valid users list will be empty and
; thus be available for both guests and
; authenticated users
; valid users = %USER%
[Time Machine]
path = /opt/timemachine
time machine = yes
```https://gitlab.alpinelinux.org/alpine/aports/-/issues/12030all java version: Using AWT in non-headless JRE yields NPE in internal class2021-06-07T05:07:52ZSimon Fsimon-alpine@fraho.euall java version: Using AWT in non-headless JRE yields NPE in internal classInstalling the non-headless version of a JRE should include everything needed to run applications in non-headless modes. This mainly affects drawing / printing applications using `jfreechart` or `batik`.
This is not the case with current...Installing the non-headless version of a JRE should include everything needed to run applications in non-headless modes. This mainly affects drawing / printing applications using `jfreechart` or `batik`.
This is not the case with current java packages in alpine, but also affects other vendors like AdoptOpenJDK (https://github.com/AdoptOpenJDK/openjdk-docker/issues/75).
The stacktrace differes between Java-Version, but looks like this:
```
Caused by: java.lang.NullPointerException
at sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1264)
at sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:219)
at sun.awt.FontConfiguration.init(FontConfiguration.java:107)
at sun.awt.X11FontManager.createFontConfiguration(X11FontManager.java:774)
at sun.font.SunFontManager$2.run(SunFontManager.java:431)
at java.security.AccessController.doPrivileged(Native Method)
at sun.font.SunFontManager.<init>(SunFontManager.java:376)
at sun.awt.FcFontManager.<init>(FcFontManager.java:35)
at sun.awt.X11FontManager.<init>(X11FontManager.java:57)
and
Caused by: java.lang.NullPointerException
at java.desktop/sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1262)
at java.desktop/sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:225)
at java.desktop/sun.awt.FontConfiguration.init(FontConfiguration.java:107)
at java.desktop/sun.awt.X11FontManager.createFontConfiguration(X11FontManager.java:719)
```
The error can be reproduced with the following class:
```java
import java.awt.image.BufferedImage;
public class Test {
public static void main(String[] args) {
BufferedImage image = new BufferedImage(10, 10, BufferedImage.TYPE_INT_RGB);
System.out.println(image.getGraphics());
}
}
```
The issue can be fixed quite easily by installing a font. But as this error is not intuitive we should install some font by default wehn installing the JRE.
- [ ] openjdk7
- [x] openjdk8 (!13758)
- [ ] openjdk9
- [ ] openjdk10
- [ ] openjdk11
- [ ] openjdk12
- [ ] openjdk13
- [ ] openjdk14
- [ ] openjdk15
- [ ] openjdk16https://gitlab.alpinelinux.org/alpine/aports/-/issues/11907weston: system freeze on launch2020-09-01T13:34:45Zshumweston: system freeze on launch`Alpine Edge, x86_64`
Weston freezes the system upon launch with `weston-launch`.
Steps to reproduce:
1. `apk add weston weston-backend-drm weston-shell-desktop weston-xwayland weston-clients`
2. `addgroup $(whoami) weston-launch`
3. D...`Alpine Edge, x86_64`
Weston freezes the system upon launch with `weston-launch`.
Steps to reproduce:
1. `apk add weston weston-backend-drm weston-shell-desktop weston-xwayland weston-clients`
2. `addgroup $(whoami) weston-launch`
3. Do not forget to [set XDG_RUNTIME_DIR](https://wiki.alpinelinux.org/wiki/Wayland).
4. Logout from your session and log back in.
5. Run `weston-launch 2> 1.log` from TTY.
After this, system just hangs. To unfreeze the system, one can switch to another TTY and kill the weston process.
The thing is – `sway` starts perfectly fine.
Here is a log file from fifth step: [1.log](/uploads/d89952d72c7d8bc6217787e1731082f2/1.log)https://gitlab.alpinelinux.org/alpine/aports/-/issues/11904Xorg server segfaults2020-11-29T17:41:48Zalex14frXorg server segfaultsX.org worked until I apk upgraded yesterday. When launching startx I get segmentation fault from the X server. Attached are the X server log and the gdb stacktrace, the segfault appears [here](https://cgit.freedesktop.org/xorg/xserver/tr...X.org worked until I apk upgraded yesterday. When launching startx I get segmentation fault from the X server. Attached are the X server log and the gdb stacktrace, the segfault appears [here](https://cgit.freedesktop.org/xorg/xserver/tree/hw/xfree86/common/xf86platformBus.c#n367).[typescript2](/uploads/66f00d11cd2ee3b28cd1b57636f723b5/typescript2)[Xorg.3.log](/uploads/6dc91b82a51a136718a5716bf05e2231/Xorg.3.log)https://gitlab.alpinelinux.org/alpine/aports/-/issues/11900libevent issues on armv72021-11-25T04:32:12ZKoodalibevent issues on armv7On Alpine edge armv7, both packages depending on libevent that are installed on my machine have problems.
Tmux segfaults on startup, transmission-daemon doesn’t download or seed anything.
Installed packages:
- libevent-2.1.12-r1
- trans...On Alpine edge armv7, both packages depending on libevent that are installed on my machine have problems.
Tmux segfaults on startup, transmission-daemon doesn’t download or seed anything.
Installed packages:
- libevent-2.1.12-r1
- transmission-daemon-3.00-r0
- tmux-3.1b-r0
Here is the stack trace for the tmux segfault:
```
#0 0x00000000 in ?? ()
#1 0x76ef2622 in evbuffer_get_length () from /usr/lib/libevent-2.1.so.7
#2 0x004091b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
```
Transmissions’ log don’t show anything except this line:
```
[2020-08-30 12:19:43.668] UDP Failed to set receive buffer: requested 4194304, got 360448 (/home/buildozer/aports/community/transmission/src/transmission-3.00/libtransmission/tr-udp.c:97)
```https://gitlab.alpinelinux.org/alpine/aports/-/issues/15885Chromium Segfault inside Docker or other containerization.2024-03-18T20:31:00ZRyan KubaChromium Segfault inside Docker or other containerization.## Package Information
* Package name: chromium
* Package version: chromium-122.0.6261.128-r0
* Alpine version: 3.19.1
* Alpine architecture: all, but x86_64 specifically for this issue
## Summary
Chromium segfaults when run inside do...## Package Information
* Package name: chromium
* Package version: chromium-122.0.6261.128-r0
* Alpine version: 3.19.1
* Alpine architecture: all, but x86_64 specifically for this issue
## Summary
Chromium segfaults when run inside docker/bwrap/proot specifically only the Alpine version. I have maintained webtop and a chromium Docker image for a while and a couple months ago had to swap off chromium to default firefox in these images while rebasing chromium to Debian.
https://github.com/linuxserver/docker-webtop/issues/192
The Glibc versions of chromium on Arch/Debian/Fedora do not exhibit this behavior despite being the same version.
## Steps to reproduce
This is difficult to debug. I am hoping for a magic bullet, but not expecting one. I understand running these desktop applications in a jail like this is a corner case and a bare metal install of Alpine does not suffer from this issue.
The easiest way to reproduce would be on a system with Docker:
```
docker run --rm -it --shm-size=1gb -p 3000:3000 linuxserver/webtop bash
```
Access http://localhost:3000, open a terminal `sudo apk add chromium` `chromium --no-sandbox` (you can avoid no sandbox with `--security-opt seccomp=unconfined`)
Today I discovered something odd when giving another shot at trying to get it to run, it seems like there is some kind of race in the init as chromium can potentially be launched by spamming the command repeatedly as seen here:
![chromium](/uploads/1876da293f379ea4cf989908cdbfd59f/chromium.mp4)
When expanding the CLI options you can get it to launch more reliably, had the best luck with a clean session and `chromium --no-sandbox --disable-gpu --disable-dev-shm-usage --single-process --no-zygote` but it still suffers from the same segfault.
The youtube issue in the attached example happened to me when playing with namespacing and running apps in userspace with bubblewrap and proot even the Glibc versions that work reliably in Docker, it has me thinking all of this is connected somehow and revolves around the sandboxing that chromium is doing.
That is all the information I really have and have been unable to find any kind of reliable fix on my side.lauren n. liberdalauren n. liberdahttps://gitlab.alpinelinux.org/alpine/aports/-/issues/15628update libreoffice to 7.6.4.12024-01-08T22:07:43ZZoeyzoey@z0ey.deupdate libreoffice to 7.6.4.1Hello,
I'm running alpine Linux v3.19 and the included LibreOffice version is effected by a bug which was fixed in v7.6.4.1 ([PDF: Conversion of pdf to docx or doc collapses all content onto one page (tdf#157589) \[Kevin Suo\]](https://...Hello,
I'm running alpine Linux v3.19 and the included LibreOffice version is effected by a bug which was fixed in v7.6.4.1 ([PDF: Conversion of pdf to docx or doc collapses all content onto one page (tdf#157589) \[Kevin Suo\]](https://mirror1.hs-esslingen.de/pub/Mirrors/tdf/libreoffice/src/bugs-changelog-tag-libreoffice-7.6.4.1-release-7.6.4.1.log)). Is it possible to get this fix/update in v3.19 or at least in edge?
Thanks!Timo TeräsTimo Teräshttps://gitlab.alpinelinux.org/alpine/aports/-/issues/15575openssl1.1-compat is missing in alpine:3.192023-12-18T08:20:55Zjsolanaopenssl1.1-compat is missing in alpine:3.19Using alpine 3.19 version trying to add `openssl1.1-compat` package fails:
```
apk add --no-cache --update openssl1.1-compat
fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux...Using alpine 3.19 version trying to add `openssl1.1-compat` package fails:
```
apk add --no-cache --update openssl1.1-compat
fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz
ERROR: unable to select packages:
openssl1.1-compat (no such package):
required by: world[openssl1.1-compat]
```
It works in previous versions, eg, alpine 3.18:
```
apk add --no-cache --update openssl1.1-compat
fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz
(1/3) Installing libcrypto1.1 (1.1.1u-r1)
(2/3) Installing libssl1.1 (1.1.1u-r1)
(3/3) Installing openssl1.1-compat (1.1.1u-r1)
Executing busybox-1.36.1-r5.trigger
OK: 11 MiB in 18 packages
```
Any idea how to fix it?
Thanks a lot!https://gitlab.alpinelinux.org/alpine/aports/-/issues/15561Salt-Minion not working because of dependecies to pycryptodome and contextvar...2023-12-09T14:27:59ZjoniwSalt-Minion not working because of dependecies to pycryptodome and contextvars with setuptools installedHello,
i am using the salt minion and there are some issues because of the dependecies from the alpine package and the requirements.txt, this only occurs when setuptools are installed. I have tested on alpine 3.19, but this was already ...Hello,
i am using the salt minion and there are some issues because of the dependecies from the alpine package and the requirements.txt, this only occurs when setuptools are installed. I have tested on alpine 3.19, but this was already a problem on earlier versions.
<details>
<summary> This way the error is reproducible:
</summary>
```bash
root@alpine-dev ~ # docker run -it alpine:3.19 sh
/ # apk add salt-minion > /dev/null
/ # salt-minion -d;sleep 2 ; killall salt-minion
/ # salt-call --local test.ping
local:
True
/ # salt-call --local config.option redis.host
local:
salt
/ # apk add py3-setuptools
(1/2) Installing py3-setuptools-pyc (68.2.2-r0)
(2/2) Installing py3-setuptools (68.2.2-r0)
OK: 152 MiB in 93 packages
/ # salt-call --local config.option redis.host
/usr/lib/python3.11/site-packages/salt/utils/cloud.py:82: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources # pylint: disable=3rd-party-module-not-gated
[ERROR ] Failed to import module config, this is due most likely to a syntax error:
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 785, in _load_module
mod = self.run(spec.loader.load_module)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1245, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1260, in _run_as
return _func_or_method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap_external>", line 605, in _check_name_wrapper
File "<frozen importlib._bootstrap_external>", line 1120, in load_module
File "<frozen importlib._bootstrap_external>", line 945, in load_module
File "<frozen importlib._bootstrap>", line 290, in _load_module_shim
File "<frozen importlib._bootstrap>", line 721, in _load
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.11/site-packages/salt/modules/config.py", line 22, in <module>
import salt.utils.cloud
File "/usr/lib/python3.11/site-packages/salt/utils/cloud.py", line 82, in <module>
import pkg_resources # pylint: disable=3rd-party-module-not-gated
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3327, in <module>
@_call_aside
^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3302, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3340, in _initialize_master_working_set
working_set = WorkingSet._build_master()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 631, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 968, in require
needed = self.resolve(parse_requirements(requirements))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 829, in resolve
dist = self._resolve_dist(
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 870, in _resolve_dist
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pycryptodome>=3.9.8' distribution was not found and is required by salt
/usr/lib/python3.11/site-packages/salt/utils/pycrypto.py:26: DeprecationWarning: 'crypt' is deprecated and slated for removal in Python 3.13
import crypt
/usr/lib/python3.11/site-packages/salt/utils/cloud.py:82: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources # pylint: disable=3rd-party-module-not-gated
[ERROR ] Failed to import module glusterfs, this is due most likely to a syntax error:
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 785, in _load_module
mod = self.run(spec.loader.load_module)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1245, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1260, in _run_as
return _func_or_method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap_external>", line 605, in _check_name_wrapper
File "<frozen importlib._bootstrap_external>", line 1120, in load_module
File "<frozen importlib._bootstrap_external>", line 945, in load_module
File "<frozen importlib._bootstrap>", line 290, in _load_module_shim
File "<frozen importlib._bootstrap>", line 721, in _load
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.11/site-packages/salt/modules/glusterfs.py", line 10, in <module>
import salt.utils.cloud
File "/usr/lib/python3.11/site-packages/salt/utils/cloud.py", line 82, in <module>
import pkg_resources # pylint: disable=3rd-party-module-not-gated
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3327, in <module>
@_call_aside
^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3302, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3340, in _initialize_master_working_set
working_set = WorkingSet._build_master()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 631, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 968, in require
needed = self.resolve(parse_requirements(requirements))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 829, in resolve
dist = self._resolve_dist(
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 870, in _resolve_dist
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pycryptodome>=3.9.8' distribution was not found and is required by salt
/usr/lib/python3.11/site-packages/salt/utils/cloud.py:82: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources # pylint: disable=3rd-party-module-not-gated
[ERROR ] Failed to import utils cloud, this is due most likely to a syntax error:
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 785, in _load_module
mod = self.run(spec.loader.load_module)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1245, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1260, in _run_as
return _func_or_method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap_external>", line 605, in _check_name_wrapper
File "<frozen importlib._bootstrap_external>", line 1120, in load_module
File "<frozen importlib._bootstrap_external>", line 945, in load_module
File "<frozen importlib._bootstrap>", line 290, in _load_module_shim
File "<frozen importlib._bootstrap>", line 721, in _load
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.11/site-packages/salt/utils/cloud.py", line 82, in <module>
import pkg_resources # pylint: disable=3rd-party-module-not-gated
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3327, in <module>
@_call_aside
^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3302, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3340, in _initialize_master_working_set
working_set = WorkingSet._build_master()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 631, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 968, in require
needed = self.resolve(parse_requirements(requirements))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 829, in resolve
dist = self._resolve_dist(
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 870, in _resolve_dist
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pycryptodome>=3.9.8' distribution was not found and is required by salt
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.ifttt. Module will not be loaded: 'config.get'
[WARNING ] salt.loaded.int.module.ifttt.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'ifttt', please fix this.
/usr/lib/python3.11/site-packages/salt/modules/linux_shadow.py:21: DeprecationWarning: 'spwd' is deprecated and slated for removal in Python 3.13
import spwd
/usr/lib/python3.11/site-packages/salt/utils/cloud.py:82: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources # pylint: disable=3rd-party-module-not-gated
[ERROR ] Failed to import module lxc, this is due most likely to a syntax error:
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 785, in _load_module
mod = self.run(spec.loader.load_module)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1245, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1260, in _run_as
return _func_or_method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap_external>", line 605, in _check_name_wrapper
File "<frozen importlib._bootstrap_external>", line 1120, in load_module
File "<frozen importlib._bootstrap_external>", line 945, in load_module
File "<frozen importlib._bootstrap>", line 290, in _load_module_shim
File "<frozen importlib._bootstrap>", line 721, in _load
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.11/site-packages/salt/modules/lxc.py", line 27, in <module>
import salt.utils.cloud
File "/usr/lib/python3.11/site-packages/salt/utils/cloud.py", line 82, in <module>
import pkg_resources # pylint: disable=3rd-party-module-not-gated
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3327, in <module>
@_call_aside
^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3302, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3340, in _initialize_master_working_set
working_set = WorkingSet._build_master()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 631, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 968, in require
needed = self.resolve(parse_requirements(requirements))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 829, in resolve
dist = self._resolve_dist(
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 870, in _resolve_dist
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pycryptodome>=3.9.8' distribution was not found and is required by salt
/usr/lib/python3.11/site-packages/salt/utils/cloud.py:82: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources # pylint: disable=3rd-party-module-not-gated
[ERROR ] Failed to import module nova, this is due most likely to a syntax error:
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 785, in _load_module
mod = self.run(spec.loader.load_module)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1245, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1260, in _run_as
return _func_or_method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap_external>", line 605, in _check_name_wrapper
File "<frozen importlib._bootstrap_external>", line 1120, in load_module
File "<frozen importlib._bootstrap_external>", line 945, in load_module
File "<frozen importlib._bootstrap>", line 290, in _load_module_shim
File "<frozen importlib._bootstrap>", line 721, in _load
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.11/site-packages/salt/modules/nova.py", line 80, in <module>
import salt.utils.openstack.nova as suon
File "/usr/lib/python3.11/site-packages/salt/utils/openstack/nova.py", line 10, in <module>
import salt.utils.cloud
File "/usr/lib/python3.11/site-packages/salt/utils/cloud.py", line 82, in <module>
import pkg_resources # pylint: disable=3rd-party-module-not-gated
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3327, in <module>
@_call_aside
^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3302, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3340, in _initialize_master_working_set
working_set = WorkingSet._build_master()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 631, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 968, in require
needed = self.resolve(parse_requirements(requirements))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 829, in resolve
dist = self._resolve_dist(
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 870, in _resolve_dist
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pycryptodome>=3.9.8' distribution was not found and is required by salt
/usr/lib/python3.11/site-packages/salt/modules/pip.py:87: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources # pylint: disable=3rd-party-module-not-gated
[ERROR ] Failed to import module pip, this is due most likely to a syntax error:
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 785, in _load_module
mod = self.run(spec.loader.load_module)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1245, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1260, in _run_as
return _func_or_method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap_external>", line 605, in _check_name_wrapper
File "<frozen importlib._bootstrap_external>", line 1120, in load_module
File "<frozen importlib._bootstrap_external>", line 945, in load_module
File "<frozen importlib._bootstrap>", line 290, in _load_module_shim
File "<frozen importlib._bootstrap>", line 721, in _load
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.11/site-packages/salt/modules/pip.py", line 87, in <module>
import pkg_resources # pylint: disable=3rd-party-module-not-gated
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3327, in <module>
@_call_aside
^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3302, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3340, in _initialize_master_working_set
working_set = WorkingSet._build_master()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 631, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 968, in require
needed = self.resolve(parse_requirements(requirements))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 829, in resolve
dist = self._resolve_dist(
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 870, in _resolve_dist
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pycryptodome>=3.9.8' distribution was not found and is required by salt
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.postgres. Module will not be loaded: 'config.option'
[WARNING ] salt.loaded.int.module.postgres.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'postgres', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.pushbullet. Module will not be loaded: 'config.get'
[WARNING ] salt.loaded.int.module.pushbullet.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'pushbullet', please fix this.
/usr/lib/python3.11/site-packages/salt/utils/cloud.py:82: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources # pylint: disable=3rd-party-module-not-gated
[ERROR ] Failed to import module seed, this is due most likely to a syntax error:
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 785, in _load_module
mod = self.run(spec.loader.load_module)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1245, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1260, in _run_as
return _func_or_method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap_external>", line 605, in _check_name_wrapper
File "<frozen importlib._bootstrap_external>", line 1120, in load_module
File "<frozen importlib._bootstrap_external>", line 945, in load_module
File "<frozen importlib._bootstrap>", line 290, in _load_module_shim
File "<frozen importlib._bootstrap>", line 721, in _load
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.11/site-packages/salt/modules/seed.py", line 15, in <module>
import salt.utils.cloud
File "/usr/lib/python3.11/site-packages/salt/utils/cloud.py", line 82, in <module>
import pkg_resources # pylint: disable=3rd-party-module-not-gated
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3327, in <module>
@_call_aside
^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3302, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3340, in _initialize_master_working_set
working_set = WorkingSet._build_master()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 631, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 968, in require
needed = self.resolve(parse_requirements(requirements))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 829, in resolve
dist = self._resolve_dist(
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 870, in _resolve_dist
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pycryptodome>=3.9.8' distribution was not found and is required by salt
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.victorops. Module will not be loaded: 'config.get'
[WARNING ] salt.loaded.int.module.victorops.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'victorops', please fix this.
'config' __virtual__ returned False: The 'pycryptodome>=3.9.8' distribution was not found and is required by salt
```
</details>
The cryptodome error can be resolved in two ways:
- Install the pycryptodome package
```bash
apk add py3-pycryptodome
```
- Change the requirement to `pycryptodomex` in `/usr/lib/python3.11/site-packages/salt-3006.4-py3.11.egg-info/requires.txt`
```bash
sed -i "s/pycryptodome>/pycryptodomex>/g" /usr/lib/python3.11/site-packages/salt-3006.4-py3.11.egg-info/requires.txt
```
<details>
<summary>
After resolving this, the following error ist thrown:
</summary>
```bash
/ # salt-call --local config.option redis.host
/usr/lib/python3.11/site-packages/salt/utils/cloud.py:82: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources # pylint: disable=3rd-party-module-not-gated
[ERROR ] Failed to import module config, this is due most likely to a syntax error:
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 785, in _load_module
mod = self.run(spec.loader.load_module)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1245, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1260, in _run_as
return _func_or_method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap_external>", line 605, in _check_name_wrapper
File "<frozen importlib._bootstrap_external>", line 1120, in load_module
File "<frozen importlib._bootstrap_external>", line 945, in load_module
File "<frozen importlib._bootstrap>", line 290, in _load_module_shim
File "<frozen importlib._bootstrap>", line 721, in _load
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.11/site-packages/salt/modules/config.py", line 22, in <module>
import salt.utils.cloud
File "/usr/lib/python3.11/site-packages/salt/utils/cloud.py", line 82, in <module>
import pkg_resources # pylint: disable=3rd-party-module-not-gated
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3327, in <module>
@_call_aside
^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3302, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3340, in _initialize_master_working_set
working_set = WorkingSet._build_master()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 631, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 968, in require
needed = self.resolve(parse_requirements(requirements))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 829, in resolve
dist = self._resolve_dist(
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 870, in _resolve_dist
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'contextvars' distribution was not found and is required by salt
/usr/lib/python3.11/site-packages/salt/utils/pycrypto.py:26: DeprecationWarning: 'crypt' is deprecated and slated for removal in Python 3.13
import crypt
/usr/lib/python3.11/site-packages/salt/utils/cloud.py:82: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources # pylint: disable=3rd-party-module-not-gated
[ERROR ] Failed to import module glusterfs, this is due most likely to a syntax error:
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 785, in _load_module
mod = self.run(spec.loader.load_module)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1245, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1260, in _run_as
return _func_or_method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap_external>", line 605, in _check_name_wrapper
File "<frozen importlib._bootstrap_external>", line 1120, in load_module
File "<frozen importlib._bootstrap_external>", line 945, in load_module
File "<frozen importlib._bootstrap>", line 290, in _load_module_shim
File "<frozen importlib._bootstrap>", line 721, in _load
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.11/site-packages/salt/modules/glusterfs.py", line 10, in <module>
import salt.utils.cloud
File "/usr/lib/python3.11/site-packages/salt/utils/cloud.py", line 82, in <module>
import pkg_resources # pylint: disable=3rd-party-module-not-gated
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3327, in <module>
@_call_aside
^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3302, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3340, in _initialize_master_working_set
working_set = WorkingSet._build_master()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 631, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 968, in require
needed = self.resolve(parse_requirements(requirements))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 829, in resolve
dist = self._resolve_dist(
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 870, in _resolve_dist
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'contextvars' distribution was not found and is required by salt
/usr/lib/python3.11/site-packages/salt/utils/cloud.py:82: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources # pylint: disable=3rd-party-module-not-gated
[ERROR ] Failed to import utils cloud, this is due most likely to a syntax error:
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 785, in _load_module
mod = self.run(spec.loader.load_module)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1245, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1260, in _run_as
return _func_or_method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap_external>", line 605, in _check_name_wrapper
File "<frozen importlib._bootstrap_external>", line 1120, in load_module
File "<frozen importlib._bootstrap_external>", line 945, in load_module
File "<frozen importlib._bootstrap>", line 290, in _load_module_shim
File "<frozen importlib._bootstrap>", line 721, in _load
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.11/site-packages/salt/utils/cloud.py", line 82, in <module>
import pkg_resources # pylint: disable=3rd-party-module-not-gated
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3327, in <module>
@_call_aside
^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3302, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3340, in _initialize_master_working_set
working_set = WorkingSet._build_master()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 631, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 968, in require
needed = self.resolve(parse_requirements(requirements))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 829, in resolve
dist = self._resolve_dist(
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 870, in _resolve_dist
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'contextvars' distribution was not found and is required by salt
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.ifttt. Module will not be loaded: 'config.get'
[WARNING ] salt.loaded.int.module.ifttt.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'ifttt', please fix this.
/usr/lib/python3.11/site-packages/salt/modules/linux_shadow.py:21: DeprecationWarning: 'spwd' is deprecated and slated for removal in Python 3.13
import spwd
/usr/lib/python3.11/site-packages/salt/utils/cloud.py:82: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources # pylint: disable=3rd-party-module-not-gated
[ERROR ] Failed to import module lxc, this is due most likely to a syntax error:
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 785, in _load_module
mod = self.run(spec.loader.load_module)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1245, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1260, in _run_as
return _func_or_method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap_external>", line 605, in _check_name_wrapper
File "<frozen importlib._bootstrap_external>", line 1120, in load_module
File "<frozen importlib._bootstrap_external>", line 945, in load_module
File "<frozen importlib._bootstrap>", line 290, in _load_module_shim
File "<frozen importlib._bootstrap>", line 721, in _load
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.11/site-packages/salt/modules/lxc.py", line 27, in <module>
import salt.utils.cloud
File "/usr/lib/python3.11/site-packages/salt/utils/cloud.py", line 82, in <module>
import pkg_resources # pylint: disable=3rd-party-module-not-gated
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3327, in <module>
@_call_aside
^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3302, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3340, in _initialize_master_working_set
working_set = WorkingSet._build_master()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 631, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 968, in require
needed = self.resolve(parse_requirements(requirements))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 829, in resolve
dist = self._resolve_dist(
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 870, in _resolve_dist
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'contextvars' distribution was not found and is required by salt
/usr/lib/python3.11/site-packages/salt/utils/cloud.py:82: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources # pylint: disable=3rd-party-module-not-gated
[ERROR ] Failed to import module nova, this is due most likely to a syntax error:
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 785, in _load_module
mod = self.run(spec.loader.load_module)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1245, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1260, in _run_as
return _func_or_method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap_external>", line 605, in _check_name_wrapper
File "<frozen importlib._bootstrap_external>", line 1120, in load_module
File "<frozen importlib._bootstrap_external>", line 945, in load_module
File "<frozen importlib._bootstrap>", line 290, in _load_module_shim
File "<frozen importlib._bootstrap>", line 721, in _load
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.11/site-packages/salt/modules/nova.py", line 80, in <module>
import salt.utils.openstack.nova as suon
File "/usr/lib/python3.11/site-packages/salt/utils/openstack/nova.py", line 10, in <module>
import salt.utils.cloud
File "/usr/lib/python3.11/site-packages/salt/utils/cloud.py", line 82, in <module>
import pkg_resources # pylint: disable=3rd-party-module-not-gated
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3327, in <module>
@_call_aside
^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3302, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3340, in _initialize_master_working_set
working_set = WorkingSet._build_master()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 631, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 968, in require
needed = self.resolve(parse_requirements(requirements))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 829, in resolve
dist = self._resolve_dist(
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 870, in _resolve_dist
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'contextvars' distribution was not found and is required by salt
/usr/lib/python3.11/site-packages/salt/modules/pip.py:87: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources # pylint: disable=3rd-party-module-not-gated
[ERROR ] Failed to import module pip, this is due most likely to a syntax error:
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 785, in _load_module
mod = self.run(spec.loader.load_module)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1245, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1260, in _run_as
return _func_or_method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap_external>", line 605, in _check_name_wrapper
File "<frozen importlib._bootstrap_external>", line 1120, in load_module
File "<frozen importlib._bootstrap_external>", line 945, in load_module
File "<frozen importlib._bootstrap>", line 290, in _load_module_shim
File "<frozen importlib._bootstrap>", line 721, in _load
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.11/site-packages/salt/modules/pip.py", line 87, in <module>
import pkg_resources # pylint: disable=3rd-party-module-not-gated
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3327, in <module>
@_call_aside
^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3302, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3340, in _initialize_master_working_set
working_set = WorkingSet._build_master()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 631, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 968, in require
needed = self.resolve(parse_requirements(requirements))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 829, in resolve
dist = self._resolve_dist(
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 870, in _resolve_dist
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'contextvars' distribution was not found and is required by salt
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.postgres. Module will not be loaded: 'config.option'
[WARNING ] salt.loaded.int.module.postgres.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'postgres', please fix this.
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.pushbullet. Module will not be loaded: 'config.get'
[WARNING ] salt.loaded.int.module.pushbullet.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'pushbullet', please fix this.
/usr/lib/python3.11/site-packages/salt/utils/cloud.py:82: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources # pylint: disable=3rd-party-module-not-gated
[ERROR ] Failed to import module seed, this is due most likely to a syntax error:
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 785, in _load_module
mod = self.run(spec.loader.load_module)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1245, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1260, in _run_as
return _func_or_method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap_external>", line 605, in _check_name_wrapper
File "<frozen importlib._bootstrap_external>", line 1120, in load_module
File "<frozen importlib._bootstrap_external>", line 945, in load_module
File "<frozen importlib._bootstrap>", line 290, in _load_module_shim
File "<frozen importlib._bootstrap>", line 721, in _load
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.11/site-packages/salt/modules/seed.py", line 15, in <module>
import salt.utils.cloud
File "/usr/lib/python3.11/site-packages/salt/utils/cloud.py", line 82, in <module>
import pkg_resources # pylint: disable=3rd-party-module-not-gated
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3327, in <module>
@_call_aside
^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3302, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3340, in _initialize_master_working_set
working_set = WorkingSet._build_master()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 631, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 968, in require
needed = self.resolve(parse_requirements(requirements))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 829, in resolve
dist = self._resolve_dist(
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 870, in _resolve_dist
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'contextvars' distribution was not found and is required by salt
[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.int.module.victorops. Module will not be loaded: 'config.get'
[WARNING ] salt.loaded.int.module.victorops.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'victorops', please fix this.
'config' __virtual__ returned False: The 'contextvars' distribution was not found and is required by salt
```
</details>
This is also resolvable by either:
- Installing contextvars with pip:
```bash
apk add py3-pip && pip install contextvars --break-system-packages
```
- Comment or remove the requirement to `contextvars` in `/usr/lib/python3.11/site-packages/salt-3006.4-py3.11.egg-info/requires.txt`:
```bash
sed -i "s/contextvars/#contextvars/g" /usr/lib/python3.11/site-packages/salt-3006.4-py3.11.egg-info/requires.txt
```
After searching for these errors, i have come to the following solutions:
1. Remove the `fix-cryptodome-dependency.patch` in the package to use pycryptodomex as intended upstream
2. Add a patch to remove the dependecy to contextvars
Contextvars is only needed for salt-ssh when using a python version less than 3.7 as described [here](https://github.com/saltstack/salt/issues/61419#issuecomment-1148018294). As [Python 3.6 is out of support](https://devguide.python.org/versions/) now, there should be no real use case to keep it in the alpine package
I am willing to submit pull requests to fix this but please give me feedback, if this solutions are accepted.
With regards
JoniwKevin DaudtKevin Daudthttps://gitlab.alpinelinux.org/alpine/aports/-/issues/15560Error with recursive Python curses.wrapper() functions on Alpine 3.19/edge (o...2023-12-09T12:59:38ZRandall WinkhartError with recursive Python curses.wrapper() functions on Alpine 3.19/edge (older versions unaffected)First and foremost I must acknowledge that my example code is not code anyone _should_ be writing, however it is code I have found to work on all platforms apart from Alpine Linux 3.19/edge (3.18 and below are unaffected).
The following...First and foremost I must acknowledge that my example code is not code anyone _should_ be writing, however it is code I have found to work on all platforms apart from Alpine Linux 3.19/edge (3.18 and below are unaffected).
The following code results in an error (_curses.error: endwin() returned ERR) when run on Alpine 3.19/edge, but it runs successfully on every other platform I have tested:
```
#!/usr/bin/env python3
import curses
def main(i):
if i < 2:
i += 1
# recursively call this function with curses.wrapper()
curses.wrapper(lambda test: main(i))
if __name__ == "__main__":
main(0)
print("This script runs perfectly fine on this platform!")
```
I noticed this breaking a personal project of mine, the [sshyp password manager](https://github.com/rwinkhart/sshyp) (the error would appear after closing the initial setup curses menu). I should not have used a recursive wrapper function like this in the first place (Alpine 3.19's behavior helped me find and fix my sub-optimal code) and I was able to work around it for my project, however, I thought I should still report this as a bug since I am unable to reproduce this behavior on any other platform, including older versions of Alpine.
I have successfully reproduced the bug in three of the three Alpine Linux 3.19 configurations I tried:
1. x86_64 VM Image (running with kvm/qemu/libvirt)
2. x86_64 Standard Image (running with kvm/qemu/libvirt)
3. Raspberry Pi (armhf) image (Pi Zero W, bare-metal)
If this is not a bug and is instead now intended behavior, please let me know! Though I have fixed my own code and no longer need this fixed, I am genuinely curious as to why this behaves differently on Alpine 3.19. I do not believe the `python3` package is at fault, as I tried installing the `python3` package from 3.18 onto 3.19 and it resulted in the same error.https://gitlab.alpinelinux.org/alpine/aports/-/issues/15557grub error when upgrading to 3.19 error: symbol `grub_calloc' not found.2023-12-18T15:32:06ZFireMasterKgrub error when upgrading to 3.19 error: symbol `grub_calloc' not found.I've upgraded the system once, changed the repository from 3.18 to 3.19, upgraded again.
Ran `grub-install --bootloader-id=alpine --no-nvram --efi-directory=/boot/efi`
rebooted.
Now, I'm stuck in grub recovery with a message saying `e...I've upgraded the system once, changed the repository from 3.18 to 3.19, upgraded again.
Ran `grub-install --bootloader-id=alpine --no-nvram --efi-directory=/boot/efi`
rebooted.
Now, I'm stuck in grub recovery with a message saying `error: symbol `grub_calloc' not found.`
This is on aarch64.
I've tried `chroot`ing and running the grub-install command, but the error still occurs, and I can't boot.
I've upgraded 3/5 instances successfully with this method, so I'm not sure what's wrong :confused:
Any help would be greatly appreciated!https://gitlab.alpinelinux.org/alpine/aports/-/issues/15493community/ayatana-indicator-datetime-23.10.0-r0: test failure on aarch642024-03-27T19:28:39ZKevin Daudtcommunity/ayatana-indicator-datetime-23.10.0-r0: test failure on aarch64`ayatana-indicator-dateime` fails to build on aarch64 due to test failures
```
[ommitted large lines]
test-eds-ics-missing-trigger:
test-eds-ics-missing-trigger: [ FAILED ] VAlarmFixture.MissingTriggers (2500 ms)
test-eds-ics-missing-...`ayatana-indicator-dateime` fails to build on aarch64 due to test failures
```
[ommitted large lines]
test-eds-ics-missing-trigger:
test-eds-ics-missing-trigger: [ FAILED ] VAlarmFixture.MissingTriggers (2500 ms)
test-eds-ics-missing-trigger: [----------] 1 test from VAlarmFixture (2500 ms total)
test-eds-ics-missing-trigger:
test-eds-ics-missing-trigger: [----------] Global test environment tear-down
test-eds-ics-missing-trigger: [==========] 1 test from 1 test suite ran. (2500 ms total)
test-eds-ics-missing-trigger: [ PASSED ] 0 tests.
test-eds-ics-missing-trigger: [ FAILED ] 1 test, listed below:
test-eds-ics-missing-trigger: [ FAILED ] VAlarmFixture.MissingTriggers
test-eds-ics-missing-trigger:
test-eds-ics-missing-trigger: 1 FAILED TEST
test-eds-ics-missing-trigger: Exited with status 256
```
See: https://build.alpinelinux.org/buildlogs/build-3-19-aarch64/community/ayatana-indicator-datetime/ayatana-indicator-datetime-23.10.0-r0.log3.19.0Luca WeissLuca Weisshttps://gitlab.alpinelinux.org/alpine/aports/-/issues/15884erlang: `erl` returned `erl_child_setup closed`2024-03-19T04:27:53ZKomoerlang: `erl` returned `erl_child_setup closed`<!--
This is the issue template for reporting an issue with a specific package. You
can select a different issue template from the dropdown above. Also, feel free
to use the "No template" option in case no template applies to your issue....<!--
This is the issue template for reporting an issue with a specific package. You
can select a different issue template from the dropdown above. Also, feel free
to use the "No template" option in case no template applies to your issue.
Also note that this repository is intended for reporting issues with packages.
For other components, separate issue trackers exist:
* Installer issues: https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues
* Infrastructure issues: https://gitlab.alpinelinux.org/alpine/infra/infra/-/issues
* Initramfs issues: https://gitlab.alpinelinux.org/alpine/mkinitfs/-/issues
-->
## Package Information
* Package name: erlang
* Package version: 26.2.3-r1
* Alpine version: 3.18.4
* Alpine architecture: armv7
## Summary
The `erl` returned `erl_child_setup closed` error.
```
erl_child_setup closed
Crash dump is being written to: erl_crash.dump...done
```
## Steps to reproduce
1. Open up Terminal.
2. Type `erl` with/without arguments and press enter.
3. Error show up.CelesteCelestehttps://gitlab.alpinelinux.org/alpine/aports/-/issues/15309Request to patch latest gcc version to alpine v3.162024-01-24T13:27:03ZAkarsh ShettyRequest to patch latest gcc version to alpine v3.16Request to patch latest gcc version to alpine v3.16 to fix the CVE-2023-4039.Request to patch latest gcc version to alpine v3.16 to fix the CVE-2023-4039.Natanael CopaNatanael Copahttps://gitlab.alpinelinux.org/alpine/aports/-/issues/14457[3.16] Routing issues due to 'throw' routes appearing2022-12-14T19:19:53ZKevin Daudt[3.16] Routing issues due to 'throw' routes appearingOn a ppc64le host, after upgrading to Alpine Linux 3.16, there are issues with inserting certain routes.
Output from `ip route` (partial):
```
throw 172.16.0.254 proto static
172.16.0.254 dev gre1 proto zebra scope link metric 20
throw...On a ppc64le host, after upgrading to Alpine Linux 3.16, there are issues with inserting certain routes.
Output from `ip route` (partial):
```
throw 172.16.0.254 proto static
172.16.0.254 dev gre1 proto zebra scope link metric 20
throw 172.16.0.255 proto static
172.16.0.255 dev gre1 proto zebra scope link metric 20
```
These throw routes prevent traffic reaching those destinations, and also can prevent routes being installed (probably due to routes for those prefixes already existing). This happens for example with docker and lxc. I need to manually remove these routes and add the expected routes.
This host is running dmvpn. A possible cause may be strongswan, which searching online seems to make use of `throw` routes. a1ece8d enabled `bypass-lan`, but a build without that option does not appear to fix it.
Kernel: 5.15.76-0-lts, trying an older kernel does not fix it.https://gitlab.alpinelinux.org/alpine/aports/-/issues/15877py3-cryptography 42.0.5 - to mitigate CVE scanners2024-03-17T09:38:41ZBrandt, Sebastian (ITO-PC)py3-cryptography 42.0.5 - to mitigate CVE scanners<!--
This is the issue template for reporting an issue with a specific package. You
can select a different issue template from the dropdown above. Also, feel free
to use the "No template" option in case no template applies to your issue....<!--
This is the issue template for reporting an issue with a specific package. You
can select a different issue template from the dropdown above. Also, feel free
to use the "No template" option in case no template applies to your issue.
Also note that this repository is intended for reporting issues with packages.
For other components, separate issue trackers exist:
* Installer issues: https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues
* Infrastructure issues: https://gitlab.alpinelinux.org/alpine/infra/infra/-/issues
* Initramfs issues: https://gitlab.alpinelinux.org/alpine/mkinitfs/-/issues
-->
## Package Information
* Package name: *py3-cryptography*
* Package version: *41.0.7-r0*
* Alpine version: *3.19.1*
* Alpine architecture: *aarch64*
## Summary
CVE-2023-50782 and CVE-2024-26130 are within the current version not fixed. We would need to update at least to 42.0.4, so that CVE scanners are happy. Latest version currently is 42.0.5Duncan BellamyDuncan Bellamyhttps://gitlab.alpinelinux.org/alpine/aports/-/issues/15785OpenEXR is affected by CVE-2023-58412024-03-27T19:28:59ZAlex PyrgiotisOpenEXR is affected by CVE-2023-5841OpenEXR has made a [3.1.12](https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v3.1.12) release that tackles [CVE-2023-5841](https://takeonme.org/cves/CVE-2023-5841.html). Since this CVE has a Critical score, it will light...OpenEXR has made a [3.1.12](https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v3.1.12) release that tackles [CVE-2023-5841](https://takeonme.org/cves/CVE-2023-5841.html). Since this CVE has a Critical score, it will light up on most security scanners. Would it be feasible to update to the newest version?