alpine issueshttps://gitlab.alpinelinux.org/groups/alpine/-/issues2022-07-09T23:19:03Zhttps://gitlab.alpinelinux.org/alpine/aports/-/issues/11223Chromium instability in Alpine2022-07-09T23:19:03ZJean-Louis Fuchsjean-louis.fuchs@adfinis.comChromium instability in Alpine**edit: 2020-07-18** still relevant, see !10399
Chromium on alpine 3.11 is unstable for me. Tabs running complex web-apps like Gitlab often die with `Aw, Snap!`
Is anybody else experiencing this?
I run: Version 79.0.3945.130 (Develope...**edit: 2020-07-18** still relevant, see !10399
Chromium on alpine 3.11 is unstable for me. Tabs running complex web-apps like Gitlab often die with `Aw, Snap!`
Is anybody else experiencing this?
I run: Version 79.0.3945.130 (Developer Build) (64-bit) on Alpine 3.11.3
The traces look like this:
```
Received signal 11 SEGV_MAPERR 000000000008
r8: 0000000000000000 r9: 0000000000000000 r10: 00005614fd93db40 r11: 0000000000014561
r12: 00007f3d9d607bb0 r13: 0000000000000000 r14: 0000000000000010 r15: 0000000000000000
di: 00007f3d9d607bb0 si: 0000000000000000 bp: 0000000000000000 bx: 000000000000003f
dx: 0000000000000000 ax: 00005614fe085ee3 cx: 0000000000000001 sp: 00007f3d9d5fdf10
ip: 00007f3da3ce2722 efl: 0000000000010202 cgf: 002b000000000033 erf: 0000000000000004
trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000008
[end of stack trace]
```
There are some [reports](https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1702501) on debian/ubuntu. I tried disabling extensions and had at least one crash without any extensions.
I currently run: echo 0 > /proc/sys/kernel/randomize_va_space under the assumption that it is some JIT problem. I don't have definite results, yet.https://gitlab.alpinelinux.org/alpine/aports/-/issues/11222vault: Please build with the UI2022-02-08T18:31:27ZTy Sarnavault: Please build with the UINormally Vault's UI is disabled by default but can be enabled by configuration, however the vault package (currently in edge/community) is compiled without the UI support at all.
There is also a slightly newer version available (1.3.1 -...Normally Vault's UI is disabled by default but can be enabled by configuration, however the vault package (currently in edge/community) is compiled without the UI support at all.
There is also a slightly newer version available (1.3.1 -> 1.3.2)https://gitlab.alpinelinux.org/alpine/aports/-/issues/11221unzip: "lchmod (file attributes) error: Not supported" when extracting symlinks2020-07-22T18:41:57ZSandrounzip: "lchmod (file attributes) error: Not supported" when extracting symlinksWhen I try extracting [this file](https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.2.0.1873-linux.zip) with the ``unzip`` command from the ``unzip`` package I get the following errors:
````
....
sona...When I try extracting [this file](https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.2.0.1873-linux.zip) with the ``unzip`` command from the ``unzip`` package I get the following errors:
````
....
sonar-scanner-4.2.0.1873-linux/jre/legal/java.smartcardio/LICENSE -> ../java.base/LICENSE
lchmod (file attributes) error: Not supported
sonar-scanner-4.2.0.1873-linux/jre/legal/java.xml.crypto/ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
lchmod (file attributes) error: Not supported
sonar-scanner-4.2.0.1873-linux/jre/legal/java.xml.crypto/ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
lchmod (file attributes) error: Not supported
sonar-scanner-4.2.0.1873-linux/jre/legal/java.xml.crypto/LICENSE -> ../java.base/LICENSE
lchmod (file attributes) error: Not supported
sonar-scanner-4.2.0.1873-linux/jre/legal/jdk.internal.ed/ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
lchmod (file attributes) error: Not supported
sonar-scanner-4.2.0.1873-linux/jre/legal/jdk.internal.ed/ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
lchmod (file attributes) error: Not supported
sonar-scanner-4.2.0.1873-linux/jre/legal/jdk.internal.ed/LICENSE -> ../java.base/LICENSE
lchmod (file attributes) error: Not supported
sonar-scanner-4.2.0.1873-linux/jre/legal/java.prefs/ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
lchmod (file attributes) error: Not supported
sonar-scanner-4.2.0.1873-linux/jre/legal/java.prefs/ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
lchmod (file attributes) error: Not supported
sonar-scanner-4.2.0.1873-linux/jre/legal/java.prefs/LICENSE -> ../java.base/LICENSE
lchmod (file attributes) error: Not supported
````
After a quick google I think this is a compile error.
Steps to reproduce:
````
apk add unzip
wget https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.2.0.1873-linux.zip
unzip sonar-scanner-cli-4.2.0.1873-linux.zip
````
I am using the latest alpine image of today with the tag 3.11. I hope this makes no difference.https://gitlab.alpinelinux.org/alpine/aports/-/issues/11220[package] gvmd, greenbone-security-assistant, openvas2020-02-12T12:05:47ZTobias Martin[package] gvmd, greenbone-security-assistant, openvasHello,
the packages gvmd (9.0.0-r2), greenbone-security-assistant (9.0.0-r1) and openvas (7.0.0-r1) are missing configuration files:
`install -Dm644 "$srcdir/$pkgname.logrotate" "$pkgdir/etc/logrotate.d/$pkgname"`
`install -Dm755 "$sr...Hello,
the packages gvmd (9.0.0-r2), greenbone-security-assistant (9.0.0-r1) and openvas (7.0.0-r1) are missing configuration files:
`install -Dm644 "$srcdir/$pkgname.logrotate" "$pkgdir/etc/logrotate.d/$pkgname"`
`install -Dm755 "$srcdir/$pkgname.initd" "$pkgdir/etc/init.d/$pkgname"`
`install -Dm755 "$srcdir/$pkgname.confd" "$pkgdir/etc/conf.d/$pkgname"`
For openvas, it looks like the whole config() section got skipped according build log.https://gitlab.alpinelinux.org/alpine/aports/-/issues/11219linux-rpi versions inconsistencies (5.4.16-5.4.20, etc)2023-10-29T09:25:54Zmacmpilinux-rpi versions inconsistencies (5.4.16-5.4.20, etc)There seem to be a problem with linux-rpi-5.4.18-r0 package.
From Alpine 3.11.3 (5.4.12) armhf, I installed 5.4.18 from Edge repo but got 5.4.16 !...
```
sudo apk add -u linux-rpi
apk info linux-rpi
linux-rpi-5.4.18-r0 description:
Lin...There seem to be a problem with linux-rpi-5.4.18-r0 package.
From Alpine 3.11.3 (5.4.12) armhf, I installed 5.4.18 from Edge repo but got 5.4.16 !...
```
sudo apk add -u linux-rpi
apk info linux-rpi
linux-rpi-5.4.18-r0 description:
Linux kernel with Raspberry Pi patches
linux-rpi-5.4.18-r0 webpage:
https://github.com/raspberrypi/linux
linux-rpi-5.4.18-r0 installed size:
66879488
uname -a
Linux myDevice 5.4.16-0-rpi #1-Alpine Thu Feb 6 09:28:08 UTC 2020 armv6l Linux
```
Indeed opening linux-rpi-5.4.18-r0.apk shows `libs/modules/5.4.16-0-rpi` directory in it.
Maybe some version check fail in [APKBUILD](https://gitlab.alpinelinux.org/alpine/aports/blob/master/main/linux-rpi/APKBUILD) when pulling Pi Foundation repo or something?Natanael CopaNatanael Copahttps://gitlab.alpinelinux.org/alpine/aports/-/issues/11218flatpak segfault, missing fuse2020-02-12T09:57:06ZRaattyflatpak segfault, missing fuseby default after installing flatpak it will segfault when you try installing anything without root should probably make it so installing flatpak auto enables fuse?by default after installing flatpak it will segfault when you try installing anything without root should probably make it so installing flatpak auto enables fuse?https://gitlab.alpinelinux.org/alpine/aports/-/issues/11217openldap: Add support for sha2 password2020-02-12T13:48:48Zenumuraopenldap: Add support for sha2 passwordAlthough there is a pbkdf2 module already and is sufficient from security perspective,
I think it might be a good to have more choices for migrating from existing LDAP server.
I'll create PR which generates new subpackage `openldap-pass...Although there is a pbkdf2 module already and is sufficient from security perspective,
I think it might be a good to have more choices for migrating from existing LDAP server.
I'll create PR which generates new subpackage `openldap-passwd-sha2` .https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/10673apk add with empty world file purges all packages2020-02-14T12:14:10ZCarl Chaveapk add with empty world file purges all packagesIssue: If /etc/apk/world is an empty file and "apk add" with no arguments is run, apk purges all installed packages including busybox and everything else that makes the system function.
This probably could be filed under the "don't do t...Issue: If /etc/apk/world is an empty file and "apk add" with no arguments is run, apk purges all installed packages including busybox and everything else that makes the system function.
This probably could be filed under the "don't do that" category but it was just something I noticed when experimenting with apk on an armel port. I created an x86_64 chroot and see the same behavior there also. Seems like there should be some base set of packages that apk should never purge? Not sure if that's true for all use cases of Alpine but I would think that this behavior is at least undesirable?https://gitlab.alpinelinux.org/alpine/aports/-/issues/1121670 seconds delay during boot of raspberry pi due to lack of entropy?2020-02-12T19:56:21ZDavy Landman70 seconds delay during boot of raspberry pi due to lack of entropy?I've been enjoying alpine on the raspberry pi, after the initial setup struggle (#11210) it works quite nicely.
But I did notice a quite long delay during booting. It's after the loading progress bar and the `creating initramfs image` m...I've been enjoying alpine on the raspberry pi, after the initial setup struggle (#11210) it works quite nicely.
But I did notice a quite long delay during booting. It's after the loading progress bar and the `creating initramfs image` message. Looking at the dmesg, there seems to be a 70 seconds before `random` is done initializing. Seeing #9960 and comments about not having an ARM solution, I guess this is related to entropy?
So I did 2 things:
1. As suggested in #9960 I installed rng-tools and added `rngd` at boot level
2. Flashed lastest rasbian on same SD card.
Here is what I learned.
## Raspian Lite
```
[ 0.000000] Linux version 4.19.97+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1294 Thu Jan 30 13:10:54 GMT 2020
....
[ 0.000000] random: get_random_bytes called from start_kernel+0x8c/0x494 with crng_init=0
....
[ 2.246096] random: fast init done
....
[ 8.755949] random: systemd: uninitialized urandom read (16 bytes read)
[ 8.787834] random: systemd: uninitialized urandom read (16 bytes read)
[ 8.797997] systemd[1]: Listening on udev Control Socket.
[ 8.809610] random: systemd: uninitialized urandom read (16 bytes read)
....
[ 24.256082] random: crng init done
[ 24.256107] random: 7 urandom warning(s) missed due to ratelimiting
```
[raspbian-dmesg.log](/uploads/b76e9cb5b852a25d0a860185e6765315/raspbian-dmesg.log)
## Alpine 3.11.3
```
[ 0.000000] Linux version 5.4.12-0-rpi (buildozer@build-3-11-armhf) (gcc version 9.2.0 (Alpine 9.2.0)) #1-Alpine Thu Jan 16 14:37:06 UTC 2020
....
[ 0.000000] random: get_random_u32 called from __kmem_cache_create+0x20/0x310 with crng_init=0
....
[ 2.306888] random: fast init done
....
[ 3.609602] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-20980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:e9:4e:e0
[ 76.841124] random: crng init done
```
[alpine-rngd-dmesg.log](/uploads/07902b2e7262f281decb07552e5bd2ec/alpine-rngd-dmesg.log)
(there are no messages excluded between 3.6 and 76.8)
## Analysis
Raspbian takes 30s to boot the kernel, alpine takes 93s. More than a minute slower.
I love to help and debug this, but I'm a bit lost what else to try.
(For installation I followed the [Wiki's instructions](https://wiki.alpinelinux.org/wiki/Raspberry_Pi))https://gitlab.alpinelinux.org/alpine/aports/-/issues/11215libc-dev - FILE ... has incomplete type2020-02-18T11:08:41ZJochnickellibc-dev - FILE ... has incomplete typeIn C, if i `#include <stdio.h>` with libc-dev, i can't create a `FILE f;` variable without `error: field 'f' has incomplete type`. In debian, it works..
Reason is, i want to compile picoc for alpine linux.In C, if i `#include <stdio.h>` with libc-dev, i can't create a `FILE f;` variable without `error: field 'f' has incomplete type`. In debian, it works..
Reason is, i want to compile picoc for alpine linux.https://gitlab.alpinelinux.org/alpine/aports/-/issues/11214[postfix] Default configuration is broken for IPv6 only networks2021-02-03T18:46:01ZNico Schottelius[postfix] Default configuration is broken for IPv6 only networks```
diamond2:~# grep inet_protocols /etc/postfix/main.cf
inet_protocols = ipv4
diamond2:~#
```
This breaks all postconf commands, as postfix does not find any active interfaces.
```
diamond2:/var/lib/cdist# postconf -h myorigin
postco...```
diamond2:~# grep inet_protocols /etc/postfix/main.cf
inet_protocols = ipv4
diamond2:~#
```
This breaks all postconf commands, as postfix does not find any active interfaces.
```
diamond2:/var/lib/cdist# postconf -h myorigin
postconf: fatal: could not find any active network interfaces
diamond2:/var/lib/cdist# echo $?
1
diamond2:/var/lib/cdist#
```
Just removing that line allows to configure postfix again:
```
diamond2:/etc/postfix# postconf -h myorigin
$myhostname
diamond2:/etc/postfix#
```https://gitlab.alpinelinux.org/alpine/aports/-/issues/11213[Package] Consider bumping erlang to 22.2+2020-05-14T08:15:31ZHaelwenn Monnier[Package] Consider bumping erlang to 22.2+Hi,
Pleroma developer here, we have a lot of instance admins using Alpine as a distro and having Erlang 22.2+ would result in having the possibility of using code which works much better (reliability but also speed).
I could also lend a...Hi,
Pleroma developer here, we have a lot of instance admins using Alpine as a distro and having Erlang 22.2+ would result in having the possibility of using code which works much better (reliability but also speed).
I could also lend a hand if needed for it as I run alpine on some of my machines.Daniel Isaksendisaksen@alpinelinux.orgDaniel Isaksendisaksen@alpinelinux.orghttps://gitlab.alpinelinux.org/alpine/aports/-/issues/11212Add package snappy-static2020-02-25T21:03:50ZSascha Brawersascha@brawer.chAdd package snappy-staticWould it be possible to add a package `snappy-static`, so that applications can statically link to the snappy library? I believe the following patch would do the trick; please verify.
See [here](https://github.com/netdata/netdata/blob/m...Would it be possible to add a package `snappy-static`, so that applications can statically link to the snappy library? I believe the following patch would do the trick; please verify.
See [here](https://github.com/netdata/netdata/blob/master/packaging/makeself/install-alpine-packages.sh#L42) for an example where people are currently working around the missing `snappy-static` package in Alpine Linux.
This patch would also address half of https://gitlab.alpinelinux.org/alpine/aports/issues/9809.
```diff
diff --git a/main/snappy/APKBUILD b/main/snappy/APKBUILD
index 3ad4a42437..51e985b6ce 100644
--- a/main/snappy/APKBUILD
+++ b/main/snappy/APKBUILD
@@ -8,7 +8,7 @@ url="https://google.github.io/snappy/"
arch="all"
license="BSD-3-Clause"
makedepends="cmake"
-subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc"
+subpackages="$pkgname-static $pkgname-dbg $pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/google/snappy/archive/$pkgver.tar.gz
optimize-mips-s390x.patch
"
```https://gitlab.alpinelinux.org/alpine/aports/-/issues/11211tshark-3.X.X-r0.apk needs to be linked against libnghttp2 to parse http2 json...2020-05-19T12:09:12Zsatheeshtshark-3.X.X-r0.apk needs to be linked against libnghttp2 to parse http2 json contentpls have "**apk add nghttp2 nghttp2-dev**" as part of the tshark build environment. As long as tshark cmake detects this libnghttp2 library & headers files(.h files) it will add support to parse http2-json. Sample below
```
roy@ubuntu:/...pls have "**apk add nghttp2 nghttp2-dev**" as part of the tshark build environment. As long as tshark cmake detects this libnghttp2 library & headers files(.h files) it will add support to parse http2-json. Sample below
```
roy@ubuntu:/home/roy/code/build/wireshark_NEWBUILD$ ldd /usr/bin/tshark | grep http2
libnghttp2.so.14 => /usr/lib/x86_64-linux-gnu/libnghttp2.so.14 (0x00007f2aa4745000)
```
CMAKE reports states this,
-- The following OPTIONAL packages have been found:
* GMODULE2
* Gettext
* GNUTLS (required version >= 3.2.0)
* ZLIB
* **NGHTTP2, HTTP/2 C library and tools, <https://nghttp2.org>**
Header decompression in HTTP2
* LibXml2
* SETCAP
* XSLTPROCmake
Kindly do this simple fix so that http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/tshark-3.0.8-r0.apk support http2 json content parsing.https://gitlab.alpinelinux.org/alpine/aports/-/issues/11210Pi: Support headless installation2021-02-03T15:48:16ZA. KlitzingPi: Support headless installationI love to use Alpine on my Raspberry Pis. But it is a pain to use classic sys [1] installation without a keyboard and monitor.
Please allow to enable ssh on initial startup with a simple "ssh" file like raspbian does. [2]
This is all I ...I love to use Alpine on my Raspberry Pis. But it is a pain to use classic sys [1] installation without a keyboard and monitor.
Please allow to enable ssh on initial startup with a simple "ssh" file like raspbian does. [2]
This is all I need and is so helpful!
[1] https://wiki.alpinelinux.org/wiki/Classic_install_or_sys_mode_on_Raspberry_Pi
[2] https://www.raspberrypi.org/documentation/configuration/wireless/headless.mdhttps://gitlab.alpinelinux.org/alpine/aports/-/issues/11209wrong paths in /etc/zfs/zfs-functions (zfs-0.8.3-r0)2020-05-09T20:19:55ZMichael Figielwrong paths in /etc/zfs/zfs-functions (zfs-0.8.3-r0)file: /etc/zfs/zfs-functions
lines 91-94: /usr/local/sbin
should be /usr/sbinfile: /etc/zfs/zfs-functions
lines 91-94: /usr/local/sbin
should be /usr/sbinhttps://gitlab.alpinelinux.org/alpine/aports/-/issues/11208OpenJDK packages don't build on my machine2020-02-14T09:10:53ZGhost UserOpenJDK packages don't build on my machineI tried using `abuild -rd` to build openjdk8 and `abuild rootbld` to build openjdk8, 9 and 11; but none of them work, with the following error: (or similar, with version n-1 and n for jdk version n)
```
…
checking if packaged modules ar...I tried using `abuild -rd` to build openjdk8 and `abuild rootbld` to build openjdk8, 9 and 11; but none of them work, with the following error: (or similar, with version n-1 and n for jdk version n)
```
…
checking if packaged modules are kept... yes (default)
checking for version string... 11.0.6+10-alpine-r0
checking for javac... no
checking for java... /usr/bin/java
configure: Found potential Boot JDK using java(c) in PATH
configure: Potential Boot JDK found at /usr/lib/jvm/java-10-openjdk is incorrect JDK version (Picked up _JAVA_OPTIONS: ); ignoring
configure: (Your Boot JDK version must be one of: 10 11)
configure: Found potential Boot JDK using well-known locations (in /usr/lib/jvm/java-10-openjdk)
configure: Potential Boot JDK found at /usr/lib/jvm/java-10-openjdk is incorrect JDK version (Picked up _JAVA_OPTIONS: ); ignoring
configure: (Your Boot JDK version must be one of: 10 11)
configure: Found potential Boot JDK using well-known locations (in /usr/lib/jvm/default-jvm)
configure: Potential Boot JDK found at /usr/lib/jvm/default-jvm is incorrect JDK version (Picked up _JAVA_OPTIONS: ); ignoring
configure: (Your Boot JDK version must be one of: 10 11)
configure: Could not find a valid Boot JDK.
configure: This might be fixed by explicitly setting --with-boot-jdk
configure: error: Cannot continue
configure exiting with result code 1
>>> ERROR: openjdk11: build failed
>>> ERROR: openjdk11: rootbld failed
>>> openjdk11: Cleaning up build chroot
```
Here's a full log: [jdk.log](/uploads/5d2476bc0262051ad782596f09e2e504/jdk.log)
Could someone try to reproduce?https://gitlab.alpinelinux.org/alpine/aports/-/issues/11207polkitd SEGFAULTs when rules containing regex are invoked.2021-11-25T02:38:23ZDanct12danct12@disroot.orgpolkitd SEGFAULTs when rules containing regex are invoked.When connecting to a Wi-Fi hotspot, or changing the brightness on GNOME (or Phosh), polkitd segfaults.
Tested on PinePhone (aarch64) on postmarketOS.
Here is backtrace:
```
(gdb) run
Starting program: /usr/lib/polkit-1/polkitd
Success...When connecting to a Wi-Fi hotspot, or changing the brightness on GNOME (or Phosh), polkitd segfaults.
Tested on PinePhone (aarch64) on postmarketOS.
Here is backtrace:
```
(gdb) run
Starting program: /usr/lib/polkit-1/polkitd
Successfully changed to user polkitd
[New LWP 4824]
[LWP 4824 exited]
[New LWP 4825]
[New LWP 4826]
[New LWP 4827]
[New LWP 4828]
[New LWP 4829]
[New LWP 4830]
[New LWP 4831]
15:43:44.634: Loading rules from directory /etc/polkit-1/rules.d
15:43:44.634: Loading rules from directory /usr/share/polkit-1/rules.d
15:43:44.637: Finished loading, compiling and executing 5 rules
[New LWP 4832]
Entering main event loop
Connected to the system bus
15:43:44.642: Acquired the name org.freedesktop.PolicyKit1 on the system bus
15:43:44.653: Registered Authentication Agent for unix-session:c2 (system bus name :1.179 [/usr/libexec/phosh], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
[LWP 4832 exited]
Thread 1 "polkitd" received signal SIGSEGV, Segmentation fault.
0x0000fffff780878c in js::RegExpShared::CompilationIndex (mode=mode@entry=(unknown: 4294957472), latin1=<optimized out>)
at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/vm/RegExpShared.h:122
122 /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/vm/RegExpShared.h: No such file or directory.
(gdb) bt
#0 0x0000fffff780878c in js::RegExpShared::CompilationIndex (mode=mode@entry=(unknown: 4294957472), latin1=<optimized out>)
at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/vm/RegExpShared.h:122
#1 0x0000fffff780b564 in js::RegExpShared::compilation (latin1=<optimized out>, mode=(unknown: 4294957472), this=0x700001a3040)
at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/vm/RegExpShared.h:183
#2 js::RegExpShared::isCompiled (force=js::RegExpShared::ForceByteCode, latin1=<optimized out>, mode=(unknown: 4294957472),
this=0x700001a3040) at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/vm/RegExpShared.h:183
#3 js::RegExpShared::compileIfNecessary (cx=cx@entry=0xaaaaaab1ea60, re=re@entry=..., input=input@entry=...,
mode=mode@entry=(unknown: 4294957472), force=force@entry=js::RegExpShared::ForceByteCode)
at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/vm/RegExpObject.cpp:912
#4 0x0000fffff780cd28 in js::RegExpShared::execute (cx=cx@entry=0xaaaaaab1ea60, re=..., input=..., start=start@entry=0,
matches=matches@entry=0x0, endIndex=endIndex@entry=0xffffffffdc50)
at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/vm/RegExpObject.cpp:1017
#5 0x0000fffff7512610 in ExecuteRegExpImpl (cx=cx@entry=0xaaaaaab1ea60, res=res@entry=0xaaaaaaed1f40, re=re@entry=...,
input=input@entry=..., searchIndex=searchIndex@entry=0, matches=matches@entry=0x0, endIndex=endIndex@entry=0xffffffffdc50)
at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/builtin/RegExp.cpp:124
#6 0x0000fffff7512860 in ExecuteRegExp (cx=0xaaaaaab1ea60, regexp=regexp@entry=..., string=string@entry=..., lastIndex=0,
matches=matches@entry=0x0, endIndex=endIndex@entry=0xffffffffdc50)
at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/dist/include/js/RootingAPI.h:1116
#7 0x0000fffff7512b58 in js::RegExpTester (cx=<optimized out>, argc=<optimized out>, vp=0xaaaaaadbf908)
at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/dist/include/js/RootingAPI.h:1090
#8 0x0000fffff757e080 in js::CallJSNative (args=...,
native=0xfffff7512a9c <js::RegExpTester(JSContext*, unsigned int, JS::Value*)>, cx=0xaaaaaab1ea60)
at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/dist/include/js/CallArgs.h:270
#9 js::InternalCallOrConstruct (cx=0xaaaaaab1ea60, args=..., construct=construct@entry=js::NO_CONSTRUCT)
at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/vm/Interpreter.cpp:435
#10 0x0000fffff757e168 in InternalCall (cx=<optimized out>, args=...)
at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/vm/Interpreter.cpp:484
#11 0x0000fffff757a294 in js::CallFromStack (args=..., cx=<optimized out>)
at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/vm/Interpreter.cpp:2873
#12 Interpret (cx=<optimized out>, cx@entry=0xaaaaaab1ea60, state=...)
at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/vm/Interpreter.cpp:2873
#13 0x0000fffff757dc44 in js::RunScript (cx=cx@entry=0xaaaaaab1ea60, state=...)
at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/vm/Interpreter.cpp:385
#14 0x0000fffff757dfc4 in js::InternalCallOrConstruct (cx=0xaaaaaab1ea60, args=..., construct=construct@entry=js::NO_CONSTRUCT)
at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/vm/Interpreter.cpp:457
#15 0x0000fffff757e168 in InternalCall (cx=<optimized out>, args=...) at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/vm/Interpreter.cpp:484
#16 0x0000fffff757a294 in js::CallFromStack (args=..., cx=<optimized out>) at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/vm/Interpreter.cpp:2873
#17 Interpret (cx=<optimized out>, cx@entry=0xaaaaaab1ea60, state=...) at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/vm/Interpreter.cpp:2873
#18 0x0000fffff757dc44 in js::RunScript (cx=cx@entry=0xaaaaaab1ea60, state=...) at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/vm/Interpreter.cpp:385
#19 0x0000fffff757dfc4 in js::InternalCallOrConstruct (cx=0xaaaaaab1ea60, args=..., construct=construct@entry=js::NO_CONSTRUCT) at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/vm/Interpreter.cpp:457
#20 0x0000fffff757e168 in InternalCall (cx=<optimized out>, args=...) at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/vm/Interpreter.cpp:484
#21 0x0000fffff757a294 in js::CallFromStack (args=..., cx=<optimized out>) at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/vm/Interpreter.cpp:2873
#22 Interpret (cx=<optimized out>, cx@entry=0xaaaaaab1ea60, state=...) at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/vm/Interpreter.cpp:2873
#23 0x0000fffff757dc44 in js::RunScript (cx=cx@entry=0xaaaaaab1ea60, state=...) at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/vm/Interpreter.cpp:385
#24 0x0000fffff757dfc4 in js::InternalCallOrConstruct (cx=0xaaaaaab1ea60, args=..., construct=construct@entry=js::NO_CONSTRUCT) at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/vm/Interpreter.cpp:457
#25 0x0000fffff757e168 in InternalCall (cx=<optimized out>, args=...) at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/vm/Interpreter.cpp:484
#26 0x0000fffff757a294 in js::CallFromStack (args=..., cx=<optimized out>) at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/vm/Interpreter.cpp:2873
#27 Interpret (cx=<optimized out>, cx@entry=0xaaaaaab1ea60, state=...) at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/vm/Interpreter.cpp:2873
#28 0x0000fffff757dc44 in js::RunScript (cx=cx@entry=0xaaaaaab1ea60, state=...) at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/vm/Interpreter.cpp:385
#29 0x0000fffff757dfc4 in js::InternalCallOrConstruct (cx=0xaaaaaab1ea60, args=..., construct=construct@entry=js::NO_CONSTRUCT) at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/vm/Interpreter.cpp:457
#30 0x0000fffff757e168 in InternalCall (cx=<optimized out>, args=...) at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/vm/Interpreter.cpp:484
#31 0x0000fffff757e1a0 in js::Call (cx=<optimized out>, fval=..., fval@entry=..., thisv=..., thisv@entry=..., args=..., rval=...) at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/vm/Interpreter.cpp:500
#32 0x0000fffff77337a8 in JS_CallFunctionName (cx=<optimized out>, obj=..., name=<optimized out>, args=..., rval=...) at /home/buildozer/aports/main/mozjs60/src/firefox-60.9.0/js/src/dist/include/js/RootingAPI.h:1090
#33 0x0000aaaaaaab627c in call_js_function_with_runaway_killer(_PolkitBackendJsAuthority*, char const*, JS::HandleValueArray const&, JS::Rooted<JS::Value>*) [clone .constprop.0] ()
#34 0x0000aaaaaaab86f0 in polkit_backend_js_authority_check_authorization_sync(_PolkitBackendInteractiveAuthority*, _PolkitSubject*, _PolkitSubject*, _PolkitIdentity*, int, int, char const*, _PolkitDetails*, PolkitImplicitAuthorization) ()
#35 0x0000aaaaaaabbc4c in check_authorization_sync ()
#36 0x0000aaaaaaabc290 in polkit_backend_interactive_authority_check_authorization ()
#37 0x0000aaaaaaab4db8 in server_handle_method_call ()
#38 0x0000fffff7e62db0 in ?? () from /usr/lib/libgio-2.0.so.0
#39 0x0000fffff7c2fbdc in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#40 0x0000fffff7c2fe24 in ?? () from /usr/lib/libglib-2.0.so.0
#41 0x0000fffff7c30294 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#42 0x0000aaaaaaab4168 in main ()
(gdb)
```
Interestingly, if I comment this line from `/usr/share/polkit-1/rules.d/01-org.freedesktop.ModemManager.rules`:
```
if (/^org\.freedesktop\.ModemManager1\.(Device\.Control|Contacts|Messaging|Location)$/.test(action.id) &&
```
and replace it with `if (`, polkitd seems to happy again.
CC: @Cogitrihttps://gitlab.alpinelinux.org/alpine/aports/-/issues/11206integrate Anbox into Alpine2020-03-08T08:39:57ZGhost Userintegrate Anbox into AlpineHi, I've worked to make Anbox work on Alpine these days, and since it is now working, it'd like to get it merged.
[Anbox](anbox.io) is a solution using LXC to run Android apps natively on regular Linux. It uses the system's kernel and r...Hi, I've worked to make Anbox work on Alpine these days, and since it is now working, it'd like to get it merged.
[Anbox](anbox.io) is a solution using LXC to run Android apps natively on regular Linux. It uses the system's kernel and runs an Android image inside a container.
![image](/uploads/c3118757ee0318fc76e7984635b99afa/image.png)
Its inclusion creates the following changes:
## Kernel Config change
here's the diff for `linux-lts.x86_64`. It should be similar for all kernels and architectures.
```diff
@@ -6946,6 +6946,9 @@ CONFIG_SPEAKUP_SYNTH_TXPRT=m
#
# Android
#
+CONFIG_ASHMEM=y
+# CONFIG_ANDROID_VSOC is not set
+# CONFIG_ION is not set
# end of Android
# CONFIG_LTE_GDM724X is not set
@@ -7709,7 +7712,11 @@ CONFIG_THUNDERBOLT=m
#
# Android
#
-# CONFIG_ANDROID is not set
+CONFIG_ANDROID=y
+CONFIG_ANDROID_BINDER_IPC=y
+CONFIG_ANDROID_BINDERFS=y
+CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
+CONFIG_ANDROID_BINDER_IPC_SELFTEST=y
# end of Android
```
## Packaging properties-cpp and cmake-extras
Two packages are needed,
[properties-cpp](https://gitlab.com/afontain/pmaports/-/blob/anbox-fix/main/properties-cpp/APKBUILD) and [cmake-extras](https://gitlab.com/afontain/pmaports/-/blob/anbox-fix/unity8/cmake-extras/APKBUILD).
## Providing an Android image (?)
Anbox needs an image to function. There is a [prebuilt one](https://gitlab.com/afontain/pmaports/-/blob/anbox-fix/main/anbox-image/APKBUILD), but I saw on IRC that Alpine doesn't like prebuilt binairies. While I'm trying to build it from source, it may be quite long. In the meantime, it is possible to merge Anbox without an image, explaining in the post-install that one need to provide an image to /var/lib/anbox/android.img, either one they'll have built or the premade one.
---
What do you think about these points?https://gitlab.alpinelinux.org/alpine/aports/-/issues/11205alpine 3.11.3 won't boot from USB over UEFI2021-01-28T19:41:35ZCassio Batistaalpine 3.11.3 won't boot from USB over UEFIHello,
I'm new to alpine. I just flashed `alpine-standard-3.11.3-x86_64.iso` (latest stable to date) into a USB stick using `dd`.
Although I'm able to make the first root login on my Dell Inspiron 5480, there is only a black screen wh...Hello,
I'm new to alpine. I just flashed `alpine-standard-3.11.3-x86_64.iso` (latest stable to date) into a USB stick using `dd`.
Although I'm able to make the first root login on my Dell Inspiron 5480, there is only a black screen when I try to boot on my [LG Slim 14U380](https://www.lg.com/br/computadores/lg-14U380-LBJ36P1-notebook-lg-ultra-slim-com-display-de-14-hd-led-lcd). Here's some info about the LG's graphic card:
```text
[cassio@rouss 17:08] home/cassio $ sudo lspci -knnv | grep -i vga -A 20
00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 605 [8086:3185] (rev 03) (prog-if 00 [VGA controller])
DeviceName: Onboard IGD
Subsystem: LG Electronics, Inc. UHD Graphics 605 [1854:0314]
Flags: bus master, fast devsel, latency 0, IRQ 127
Memory at a0000000 (64-bit, non-prefetchable) [size=16M]
Memory at 90000000 (64-bit, prefetchable) [size=256M]
I/O ports at f000 [size=64]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: [40] Vendor Specific Information: Len=0c <?>
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [100] Process Address Space ID (PASID)
Capabilities: [200] Address Translation Service (ATS)
Capabilities: [300] Page Request Interface (PRI)
Kernel driver in use: i915
Kernel modules: i915
```