aports issueshttps://gitlab.alpinelinux.org/alpine/aports/-/issues2021-01-23T19:21:08Zhttps://gitlab.alpinelinux.org/alpine/aports/-/issues/12329dnsmasq: Multiple CVEs (DNSpooq)2021-01-23T19:21:08ZDaniel Néridnsmasq: Multiple CVEs (DNSpooq)https://www.jsof-tech.com/disclosures/dnspooq/
http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2021q1/014599.html
## Branches
- [x] edge - b0ea8cb6658527d733f801d3183d555681f18da2
- [x] v3.13 - 8e0a99d327346c97a25d2e7103480d0...https://www.jsof-tech.com/disclosures/dnspooq/
http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2021q1/014599.html
## Branches
- [x] edge - b0ea8cb6658527d733f801d3183d555681f18da2
- [x] v3.13 - 8e0a99d327346c97a25d2e7103480d0c41c0f4e9
- [x] v3.12 - a15e4f2f871b2eba5b89654ccff9fb9b95f19cbc
- [x] v3.11 - 0f4744615c16
- [x] v3.10 - bee996464845c1b10b2fa0e22a0738dd9957130ehttps://gitlab.alpinelinux.org/alpine/aports/-/issues/12325main/linux-5.10: failure to find root fs on lvm volume2022-09-13T10:28:12ZKevin Daudtmain/linux-5.10: failure to find root fs on lvm volumeWhen booting a legacy bios server, and the rootfs is on lvm, nlplug-findfs fails to find the block devices that contain the lvm volumes, preventing these volumes from being activated and resulting in mkinitfs-init not being able to mount...When booting a legacy bios server, and the rootfs is on lvm, nlplug-findfs fails to find the block devices that contain the lvm volumes, preventing these volumes from being activated and resulting in mkinitfs-init not being able to mount / switch_root to the rootfs.
This works on Alpine 3.12 with linux 5.4.84. Just upgrading the kernel to 5.10.7 results in these issues.
When running nlplug-findfs with debugging on, on a working system, this is part of the output:
```
nlplug-findfs: uevent: action='add' subsystem='block' devname='sdc2' devpath='/devices/pci0000:00/0000:00:03.2/0000:01:00.0/host12/port-12:0/end_device-12:0/target12:0:0/12:0:0:0/block/sdc/sdc2'
```
With linux-5.10.7, this line (and other related lines) are missing.
If I manually run nlplug-findfs afterwards in the emergency shell, the lvm volumes are activated, so this is some kind of timing issue.https://gitlab.alpinelinux.org/alpine/aports/-/issues/12323main/bluez: 32-bit bug with musl 1.2 - Bluetooth AVRCP key events not reachin...2022-01-18T16:59:16Zmacmpimain/bluez: 32-bit bug with musl 1.2 - Bluetooth AVRCP key events not reaching input systemI'm transitioning a working PiZeroW 3.11 setup to 3.13: Pi sends audio to BT headsets, and gets AVRCP commands (play/pause/etc) from headset keys through _busybox acpi_.
On 3.13 bluetooth AVRCP events do no seem so come-up anymore from...I'm transitioning a working PiZeroW 3.11 setup to 3.13: Pi sends audio to BT headsets, and gets AVRCP commands (play/pause/etc) from headset keys through _busybox acpi_.
On 3.13 bluetooth AVRCP events do no seem so come-up anymore from connected headset at key press. Audio is ok (_bluez-alsa_).
Testing with _evtest_ does not give much clue, except no key press is detected...
Tested with several headsets which work fine on 3.11, and also ok on Ubuntu 18.04
Any hint?
```
tiny-radiocd:~$ sudo bluetoothctl
Agent registered
[Vivan BT600]# info
Device XX:XX:XX:XX:XX:XX (public)
Name: Vivan BT600
Alias: Vivan BT600
Class: 0x00240404
Icon: audio-card
Paired: yes
Trusted: yes
Blocked: no
Connected: yes
LegacyPairing: no
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: Handsfree (0000111e-0000-1000-8000-00805f9b34fb)
[Vivan BT600]#
tiny-radiocd:~$ sudo evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: Mitsumi Electric Apple USB Keyboard
/dev/input/event1: Logitech M4848
/dev/input/event2: MacALLY USB Two Button Mini Mouse
/dev/input/event3: Vivan BT600 (AVRCP)
Select the device event number [0-3]: 3
Input driver version is 1.0.1
Input device ID: bus 0x5 vendor 0x0 product 0x0 version 0x0
Input device name: "Vivan BT600 (AVRCP)"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 2 (KEY_1)
Event code 3 (KEY_2)
Event code 4 (KEY_3)
Event code 5 (KEY_4)
Event code 6 (KEY_5)
Event code 7 (KEY_6)
Event code 8 (KEY_7)
Event code 9 (KEY_8)
Event code 10 (KEY_9)
Event code 11 (KEY_0)
Event code 28 (KEY_ENTER)
Event code 52 (KEY_DOT)
Event code 59 (KEY_F1)
Event code 60 (KEY_F2)
Event code 61 (KEY_F3)
Event code 62 (KEY_F4)
Event code 63 (KEY_F5)
Event code 64 (KEY_F6)
Event code 65 (KEY_F7)
Event code 66 (KEY_F8)
Event code 67 (KEY_F9)
Event code 103 (KEY_UP)
Event code 105 (KEY_LEFT)
Event code 106 (KEY_RIGHT)
Event code 108 (KEY_DOWN)
Event code 113 (KEY_MUTE)
Event code 114 (KEY_VOLUMEDOWN)
Event code 115 (KEY_VOLUMEUP)
Event code 138 (KEY_HELP)
Event code 139 (KEY_MENU)
Event code 163 (KEY_NEXTSONG)
Event code 165 (KEY_PREVIOUSSONG)
Event code 166 (KEY_STOPCD)
Event code 167 (KEY_RECORD)
Event code 168 (KEY_REWIND)
Event code 171 (KEY_CONFIG)
Event code 174 (KEY_EXIT)
Event code 200 (KEY_PLAYCD)
Event code 201 (KEY_PAUSECD)
Event code 208 (KEY_FASTFORWARD)
Event code 353 (KEY_SELECT)
Event code 356 (KEY_POWER2)
Event code 358 (KEY_INFO)
Event code 362 (KEY_PROGRAM)
Event code 364 (KEY_FAVORITES)
Event code 395 (KEY_LIST)
Event code 398 (KEY_RED)
Event code 399 (KEY_GREEN)
Event code 400 (KEY_YELLOW)
Event code 401 (KEY_BLUE)
Event code 402 (KEY_CHANNELUP)
Event code 403 (KEY_CHANNELDOWN)
Event code 405 (KEY_LAST)
Event type 2 (EV_REL)
Key repeat handling:
Repeat type 20 (EV_REP)
Repeat code 0 (REP_DELAY)
Value 250
Repeat code 1 (REP_PERIOD)
Value 33
Properties:
Testing ... (interrupt to exit)
```https://gitlab.alpinelinux.org/alpine/aports/-/issues/123213.13.0 vs. edge - cmake fails to detect C compiler ABI info2021-04-22T08:02:49ZJake Buchholz Göktürk3.13.0 vs. edge - cmake fails to detect C compiler ABI infoRan into this issue while updating/fixing `testing/galera` for #12307 ...
### 3.13.0 works...
```
% docker run --rm -it alpine:latest /bin/sh
/ # apk -U upgrade
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.g...Ran into this issue while updating/fixing `testing/galera` for #12307 ...
### 3.13.0 works...
```
% docker run --rm -it alpine:latest /bin/sh
/ # apk -U upgrade
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz
(1/8) Upgrading musl (1.1.24-r8 -> 1.1.24-r10)
(2/8) Upgrading busybox (1.31.1-r16 -> 1.31.1-r19)
Executing busybox-1.31.1-r19.post-upgrade
(3/8) Upgrading alpine-baselayout (3.2.0-r6 -> 3.2.0-r7)
Executing alpine-baselayout-3.2.0-r7.pre-upgrade
Executing alpine-baselayout-3.2.0-r7.post-upgrade
(4/8) Upgrading libcrypto1.1 (1.1.1g-r0 -> 1.1.1i-r0)
(5/8) Upgrading libssl1.1 (1.1.1g-r0 -> 1.1.1i-r0)
(6/8) Upgrading ca-certificates-bundle (20191127-r2 -> 20191127-r4)
(7/8) Upgrading ssl_client (1.31.1-r16 -> 1.31.1-r19)
(8/8) Upgrading musl-utils (1.1.24-r8 -> 1.1.24-r10)
Executing busybox-1.31.1-r19.trigger
OK: 6 MiB in 14 packages
/ # apk add build-base cmake
(1/35) Installing libgcc (9.3.0-r2)
(2/35) Installing libstdc++ (9.3.0-r2)
(3/35) Installing binutils (2.34-r1)
(4/35) Installing libmagic (5.38-r0)
(5/35) Installing file (5.38-r0)
(6/35) Installing gmp (6.2.0-r0)
(7/35) Installing isl (0.18-r0)
(8/35) Installing libgomp (9.3.0-r2)
(9/35) Installing libatomic (9.3.0-r2)
(10/35) Installing libgphobos (9.3.0-r2)
(11/35) Installing mpfr4 (4.0.2-r4)
(12/35) Installing mpc1 (1.1.0-r1)
(13/35) Installing gcc (9.3.0-r2)
(14/35) Installing musl-dev (1.1.24-r10)
(15/35) Installing libc-dev (0.7.2-r3)
(16/35) Installing g++ (9.3.0-r2)
(17/35) Installing make (4.3-r0)
(18/35) Installing fortify-headers (1.1-r0)
(19/35) Installing patch (2.7.6-r6)
(20/35) Installing build-base (0.5-r2)
(21/35) Installing libacl (2.2.53-r0)
(22/35) Installing libbz2 (1.0.8-r1)
(23/35) Installing expat (2.2.9-r1)
(24/35) Installing lz4-libs (1.9.2-r0)
(25/35) Installing xz-libs (5.2.5-r0)
(26/35) Installing zstd-libs (1.4.5-r0)
(27/35) Installing libarchive (3.4.3-r1)
(28/35) Installing ca-certificates (20191127-r4)
(29/35) Installing nghttp2-libs (1.41.0-r0)
(30/35) Installing libcurl (7.69.1-r3)
(31/35) Installing ncurses-terminfo-base (6.2_p20200523-r0)
(32/35) Installing ncurses-libs (6.2_p20200523-r0)
(33/35) Installing rhash-libs (1.3.9-r1)
(34/35) Installing libuv (1.38.1-r0)
(35/35) Installing cmake (3.17.2-r0)
Executing busybox-1.31.1-r19.trigger
Executing ca-certificates-20191127-r4.trigger
OK: 252 MiB in 49 packages
/ # cat > CMakeLists.txt
message(STATUS "CMake version ${CMAKE_VERSION}")
cmake_minimum_required(VERSION 2.8)
project(galera-4)
/ # cmake .
-- CMake version 3.17.2
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /
```
### edge does not...
```
% docker run --rm -it alpine:latest /bin/sh -l
6a62cabdcfba:/# cat > /etc/apk/repositories
http://dl-cdn.alpinelinux.org/alpine/edge/main
http://dl-cdn.alpinelinux.org/alpine/edge/community
http://dl-cdn.alpinelinux.org/alpine/edge/testing
6a62cabdcfba:/# apk -U upgrade
fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
Upgrading critical system libraries and apk-tools:
(1/2) Upgrading musl (1.1.24-r8 -> 1.2.2-r0)
(2/2) Upgrading apk-tools (2.10.5-r1 -> 2.12.0-r4)
Executing busybox-1.31.1-r16.trigger
Continuing the upgrade transaction with new apk-tools:
(1/8) Upgrading busybox (1.31.1-r16 -> 1.32.1-r0)
Executing busybox-1.32.1-r0.post-upgrade
(2/8) Upgrading alpine-baselayout (3.2.0-r6 -> 3.2.0-r8)
Executing alpine-baselayout-3.2.0-r8.pre-upgrade
Executing alpine-baselayout-3.2.0-r8.post-upgrade
(3/8) Upgrading libcrypto1.1 (1.1.1g-r0 -> 1.1.1i-r0)
(4/8) Upgrading libssl1.1 (1.1.1g-r0 -> 1.1.1i-r0)
(5/8) Upgrading ca-certificates-bundle (20191127-r2 -> 20191127-r5)
(6/8) Upgrading ssl_client (1.31.1-r16 -> 1.32.1-r0)
(7/8) Upgrading scanelf (1.2.6-r0 -> 1.2.8-r0)
(8/8) Upgrading musl-utils (1.1.24-r8 -> 1.2.2-r0)
Executing busybox-1.32.1-r0.trigger
OK: 6 MiB in 14 packages
6a62cabdcfba:/# apk add build-base cmake
(1/36) Installing libgcc (10.2.1_pre1-r3)
(2/36) Installing libstdc++ (10.2.1_pre1-r3)
(3/36) Installing binutils (2.35.1-r1)
(4/36) Installing libmagic (5.39-r0)
(5/36) Installing file (5.39-r0)
(6/36) Installing libgomp (10.2.1_pre1-r3)
(7/36) Installing libatomic (10.2.1_pre1-r3)
(8/36) Installing libgphobos (10.2.1_pre1-r3)
(9/36) Installing gmp (6.2.1-r0)
(10/36) Installing isl22 (0.22-r0)
(11/36) Installing mpfr4 (4.1.0-r0)
(12/36) Installing mpc1 (1.2.0-r0)
(13/36) Installing gcc (10.2.1_pre1-r3)
(14/36) Installing musl-dev (1.2.2-r0)
(15/36) Installing libc-dev (0.7.2-r3)
(16/36) Installing g++ (10.2.1_pre1-r3)
(17/36) Installing make (4.3-r0)
(18/36) Installing fortify-headers (1.1-r0)
(19/36) Installing patch (2.7.6-r6)
(20/36) Installing build-base (0.5-r2)
(21/36) Installing libacl (2.2.53-r0)
(22/36) Installing libbz2 (1.0.8-r1)
(23/36) Installing expat (2.2.10-r1)
(24/36) Installing lz4-libs (1.9.2-r0)
(25/36) Installing xz-libs (5.2.5-r0)
(26/36) Installing zstd-libs (1.4.5-r3)
(27/36) Installing libarchive (3.5.1-r0)
(28/36) Installing ca-certificates (20191127-r5)
(29/36) Installing brotli-libs (1.0.9-r3)
(30/36) Installing nghttp2-libs (1.42.0-r1)
(31/36) Installing libcurl (7.74.0-r0)
(32/36) Installing ncurses-terminfo-base (6.2_p20210109-r0)
(33/36) Installing ncurses-libs (6.2_p20210109-r0)
(34/36) Installing rhash-libs (1.4.1-r0)
(35/36) Installing libuv (1.40.0-r1)
(36/36) Installing cmake (3.18.4-r1)
Executing busybox-1.32.1-r0.trigger
Executing ca-certificates-20191127-r5.trigger
OK: 245 MiB in 50 packages
6a62cabdcfba:/# cat > CMakeLists.txt
message(STATUS "CMake version ${CMAKE_VERSION}")
cmake_minimum_required(VERSION 2.8)
project(galera-4)
6a62cabdcfba:/# cmake .
-- CMake version 3.18.4
-- The C compiler identification is GNU 10.2.1
-- The CXX compiler identification is GNU 10.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - broken
CMake Error at usr/share/cmake/Modules/CMakeTestCCompiler.cmake:66 (message):
The C compiler
"/usr/bin/cc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: //CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_9a0ab/fast && /usr/bin/make -f CMakeFiles/cmTC_9a0ab.dir/build.make CMakeFiles/cmTC_9a0ab.dir/build
make: /usr/bin/make: Operation not permitted
make: *** [Makefile:140: cmTC_9a0ab/fast] Error 127
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
//CMakeLists.txt:3 (project)
-- Configuring incomplete, errors occurred!
See also "//CMakeFiles/CMakeOutput.log".
See also "//CMakeFiles/CMakeError.log".
6a62cabdcfba:/# cat CMakeFiles/CMakeOutput.log
The system is: Linux - 4.19.121-linuxkit - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/bin/cc
Build flags:
Id flags:
The output was:
0
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
The C compiler identification is GNU, found in "//CMakeFiles/3.18.4/CompilerIdC/a.out"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /usr/bin/c++
Build flags:
Id flags:
The output was:
0
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
The CXX compiler identification is GNU, found in "//CMakeFiles/3.18.4/CompilerIdCXX/a.out"
6a62cabdcfba:/# cat CMakeFiles/CMakeError.log
Detecting C compiler ABI info failed to compile with the following output:
Change Dir: //CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_9dbd3/fast && /usr/bin/make -f CMakeFiles/cmTC_9dbd3.dir/build.make CMakeFiles/cmTC_9dbd3.dir/build
make: /usr/bin/make: Operation not permitted
make: *** [Makefile:140: cmTC_9dbd3/fast] Error 127
Determining if the C compiler works failed with the following output:
Change Dir: //CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_9a0ab/fast && /usr/bin/make -f CMakeFiles/cmTC_9a0ab.dir/build.make CMakeFiles/cmTC_9a0ab.dir/build
make: /usr/bin/make: Operation not permitted
make: *** [Makefile:140: cmTC_9a0ab/fast] Error 127
```https://gitlab.alpinelinux.org/alpine/aports/-/issues/12320main/amavis: The removal of bdb, due to licensing issues, breaks amavis2022-03-15T08:36:00ZMartin Lantzmain/amavis: The removal of bdb, due to licensing issues, breaks amavisIn [Remove bdb due to licensing issues](https://gitlab.alpinelinux.org/alpine/aports/-/commit/cb9355ecc0f2ff3483a15ddae0a20bb4a0dc7d52) it was noted that
> removing the `perl-db` dep breaks `amavis`. Maybe it's just my config, but I get...In [Remove bdb due to licensing issues](https://gitlab.alpinelinux.org/alpine/aports/-/commit/cb9355ecc0f2ff3483a15ddae0a20bb4a0dc7d52) it was noted that
> removing the `perl-db` dep breaks `amavis`. Maybe it's just my config, but I get `Can't locate BerkeleyDB.pm in @INC`. Installing the `perl-db` package fixes the problem.
Filing this issue to make sure it gets attention.Leonardo ArenaLeonardo Arenahttps://gitlab.alpinelinux.org/alpine/aports/-/issues/12314Segfault on mdadm (because of Musl 1.2.2?)2021-02-24T10:45:31ZAdrienSegfault on mdadm (because of Musl 1.2.2?)Hi,
I have updated Alpine Linux from 3.12.0 to 3.13.0.
Since then, I see some segfaults in my logs:
```
mdadm[10989]: segfault at 7f9e094311db ip 00007f9e09483792 sp 00007fff90024c58 error 4 in ld-musl-x86_64.so.1[7f9e09448000+48000]
C...Hi,
I have updated Alpine Linux from 3.12.0 to 3.13.0.
Since then, I see some segfaults in my logs:
```
mdadm[10989]: segfault at 7f9e094311db ip 00007f9e09483792 sp 00007fff90024c58 error 4 in ld-musl-x86_64.so.1[7f9e09448000+48000]
Code: 84 c0 74 0d 48 8d 3c 06 48 8d 1c 01 48 39 c2 75 e3 c6 03 00 e8 0a 00 00 00 48 29 eb 5a 48 01 d8 5b 5d c3 48 89 f8 a8 07 74 0a <80> 38 00 74 3b 48 ff c0 eb f2 49 b8 ff fe fe fe fe fe fe fe 48 be
```
and
```
mdadm[11387]: segfault at 7fac20d6d283 ip 00007fac20dbf792 sp 00007ffe4047f2f8 error 4 in ld-musl-x86_64.so.1[7fac20d84000+48000]
Code: 84 c0 74 0d 48 8d 3c 06 48 8d 1c 01 48 39 c2 75 e3 c6 03 00 e8 0a 00 00 00 48 29 eb 5a 48 01 d8 5b 5d c3 48 89 f8 a8 07 74 0a <80> 38 00 74 3b 48 ff c0 eb f2 49 b8 ff fe fe fe fe fe fe fe 48 be
udevd[11249]: 'mdadm --incremental --export /dev/sde1 --offroot /dev/disk/by-id/scsi-36d0946604c1723002791c133fe851a9d-part1 /dev/disk/by-id/wwn-0x6d0946604c1723002791c133fe851a9d-part1 /dev/disk/by-partlabel/\x2fboot /dev/disk/by-partuuid/ce0c13cb-39f1-4c47-9fca-b895ae4c71ca /dev/disk/by-path/pci-0000:03:00.0-scsi-0:2:4:0-part1' [11387] terminated by signal 11 (Segmentation fault)
```
They are triggered by `udev` that executes `mdadm --incremental /dev/sda1`.
And indeed, if I run the command manually, I get a segfault:
```
# mdadm --incremental /dev/sda1
Segmentation fault
```
With gdb I got more informations:
```
(gdb) run --incremental /dev/sda1
Starting program: mdadm --incremental /dev/sda1
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7fb7792 in strlen () from /lib/ld-musl-x86_64.so.1
(gdb) backtrace
#0 0x00007ffff7fb7792 in strlen () from /lib/ld-musl-x86_64.so.1
#1 0x00007ffff7fb75ea in strdup () from /lib/ld-musl-x86_64.so.1
#2 0x0000000000002000 in ?? ()
#3 0x00007ffff7f5f133 in ?? ()
#4 0x00007fffffffa8d8 in ?? ()
#5 0x00005555555a7514 in ?? ()
#6 0x00005555555605d0 in ?? ()
#7 0x0000555555561473 in ?? ()
#8 0x000055555557f92e in ?? ()
#9 0x000055555555dcc8 in ?? ()
#10 0x00007ffff7f83a03 in ?? () from /lib/ld-musl-x86_64.so.1
#11 0x00007ffff7f839dc in ?? () from /lib/ld-musl-x86_64.so.1
#12 0x00007fffffffec00 in ?? ()
#13 0x0000000000000000 in ?? ()
```
And with ltrace:
```
opendir("/dev/disk/by-path/") = 0x7f4227613030
readdir(0x7f4227613030) = 0x7f4227613048
readdir(0x7f4227613030) = 0x7f4227613060
readdir(0x7f4227613030) = 0x7f4227613078
strncpy(0x7ffe0ca3ce4a, "pci-0000:01:00.0-scsi-0:2:2:0-pa"..., 4078) = 0x7ffe0ca3ce4a
stat(0x7ffe0ca3ce38, 0x7ffe0ca3cda8, 3, 0) = 0
readdir(0x7f4227613030) = 0x7f42276130b0
strncpy(0x7ffe0ca3ce4a, "pci-0000:01:00.0-scsi-0:2:2:0-pa"..., 4078) = 0x7ffe0ca3ce4a
stat(0x7ffe0ca3ce38, 0x7ffe0ca3cda8, 3, 0) = 0
readdir(0x7f4227613030) = 0x7f42276130e8
strncpy(0x7ffe0ca3ce4a, "pci-0000:01:00.0-scsi-0:2:0:0-pa"..., 4078) = 0x7ffe0ca3ce4a
stat(0x7ffe0ca3ce38, 0x7ffe0ca3cda8, 3, 0) = 0
closedir(0x7f4227613030) = 0
strdup("\373\374\375\376\377" <no return ...>
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
```
I copied `ld-musl-x86_64.so.1` from Alpine 3.12.0 and I don't have the segfault anymore (just a "Resource busy" which seems expected).
It seems that Musl have been updated from 1.1.24 to 1.2.2 so I suppose the problem is here (mdadm binary is the same between 3.12.0 and 3.13.0).
Note that I don't have a segfault if "/dev/disk/by-path/" is not populated.
Right now I don't know how to handle this more. Don't hesitate to ask me for more informations if I can help :)Natanael CopaNatanael Copahttps://gitlab.alpinelinux.org/alpine/aports/-/issues/12311write error: Invalid argument2021-01-30T14:19:03ZGeorgewrite error: Invalid argumentHaving an issue in a GitLab pipeline with the following code on the new alpine:latest (sha256:7731472c3f2a25edbb9c085c78f42ec71259f2b83485aa60648276d408865839).
```sh
for i in clean test none; do [[ "$i" = "$DATABASE" ]] && found=1; ...Having an issue in a GitLab pipeline with the following code on the new alpine:latest (sha256:7731472c3f2a25edbb9c085c78f42ec71259f2b83485aa60648276d408865839).
```sh
for i in clean test none; do [[ "$i" = "$DATABASE" ]] && found=1; done
if ! [[ "$found" = "1" ]] ;then
echo $DATABASE not valid
exit 1
fi
```
I get the error:
```
sh: write error: Invalid argument
```
Using the previous version everything runs fine. Any ideas what might be the issue here? Seems similar to issue [10854](https://gitlab.alpinelinux.org/alpine/aports/-/issues/10854) but as far as I'm aware there's no newlines involved. `$DATABASE` var is `clean` in the run I was testing.https://gitlab.alpinelinux.org/alpine/aports/-/issues/12310composer failing to install packages due to a dns resolving error on Docker i...2021-01-16T11:21:22ZAlbert Casademontcomposer failing to install packages due to a dns resolving error on Docker images with Alpine 3.13With a simple Dockerfile
```
FROM alpine:3.13 AS php-build
RUN apk --no-cache add composer
RUN composer require hashids/hashids
```
`
Failed to download hashids/hashids from dist: curl error 6 while downloading https://api.github.com/r...With a simple Dockerfile
```
FROM alpine:3.13 AS php-build
RUN apk --no-cache add composer
RUN composer require hashids/hashids
```
`
Failed to download hashids/hashids from dist: curl error 6 while downloading https://api.github.com/repos/vinkla/hashids/zipball/8cab111f78e0bd9c76953b082919fc9e251761be: Could not resolve host: api.github.com
`
On Alpine 3.12 everything works fine
```
FROM alpine:3.12 AS php-build
RUN apk --no-cache add composer
RUN composer require hashids/hashids
```https://gitlab.alpinelinux.org/alpine/aports/-/issues/12309net-snmp not working on Alpine 3.13 (amd64)2022-11-19T07:09:09ZStefano Marinellinet-snmp not working on Alpine 3.13 (amd64)Both on updated Alpine 3.12->3.13 hosts and newly created Alpine 3.13 hosts, snmpd kills itself just after being launched. dmesg reports:
`traps: snmpd[21440] general protection fault ip:7f7bbd9efc59 sp:7ffd4e6df8e0 error:0 in ld-musl-...Both on updated Alpine 3.12->3.13 hosts and newly created Alpine 3.13 hosts, snmpd kills itself just after being launched. dmesg reports:
`traps: snmpd[21440] general protection fault ip:7f7bbd9efc59 sp:7ffd4e6df8e0 error:0 in ld-musl-x86_64.so.1[7f7bbd9e1000+48000]`
Removing the trapsink on snmpd.conf, it seems to be running but dmesg reports:
`snmpd[22073]: segfault at 7f7598021110 ip 00007f759859d215 sp 00007ffed55515e0 error 6 in libnetsnmpmibs.so.40.0.0[7f759858b000+ab000]
Code: 09 f0 f3 48 0f 2a c8 f3 0f 58 c9 f3 0f 5e c1 f3 0f 58 05 22 b1 09 00 f3 0f 2c c0 c3 53 e8 53 0e ff ff 48 89 c7 48 85 c0 74 1a <48> 83 a7 70 20 00 00 df 48 c7 87 68 20 00 00 ff ff ff ff e8 c3 33`
Still, there seem to be some stability problems as after some pollings it seems to kill itself.Carlo LandmeterCarlo Landmeterhttps://gitlab.alpinelinux.org/alpine/aports/-/issues/12308/usr/bin/php symlink is not created when installing php8 on Alpine 3.13?2021-01-16T11:00:01ZAlbert Casademont/usr/bin/php symlink is not created when installing php8 on Alpine 3.13?Hi!
Normally a symlink from /usr/bin/php to /usr/bin/php7 was created when installing php7. Ideally the same should happen when installing php8 on Alpine 3.13. We had to manually create it in our Dockerfile.
Thanks!Hi!
Normally a symlink from /usr/bin/php to /usr/bin/php7 was created when installing php7. Ideally the same should happen when installing php8 on Alpine 3.13. We had to manually create it in our Dockerfile.
Thanks!https://gitlab.alpinelinux.org/alpine/aports/-/issues/12304Alpine release 3.13 => Nextcloud installation : failed with 10 errors2021-01-14T23:14:30ZdavidoAlpine release 3.13 => Nextcloud installation : failed with 10 errorsHi,
(my first ticket, my apologies if I am not doing rigth).
```bash
# cat /etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.13.0
PRETTY_NAME="Alpine Linux v3.13"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://bu...Hi,
(my first ticket, my apologies if I am not doing rigth).
```bash
# cat /etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.13.0
PRETTY_NAME="Alpine Linux v3.13"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://bugs.alpinelinux.org/"
# apk --no-cache add nextcloud
fetch http://dl-cdn.alpinelinux.org/alpine/latest-stable/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/latest-stable/community/x86_64/APKINDEX.tar.gz
(1/50) Installing ca-certificates (20191127-r5)
(2/50) Installing php7-common (7.4.14-r0)
(3/50) Installing argon2-libs (20190702-r1)
ERROR: argon2-libs-20190702-r1: BAD signature
(4/50) Installing pcre2 (10.36-r0)
(5/50) Installing libxml2 (2.9.10-r6)
(6/50) Installing php7 (7.4.14-r0)
(7/50) Installing php7-bcmath (7.4.14-r0)
(8/50) Installing php7-ctype (7.4.14-r0)
(9/50) Installing brotli-libs (1.0.9-r3)
(10/50) Installing nghttp2-libs (1.42.0-r1)
(11/50) Installing libcurl (7.74.0-r0)
(12/50) Installing php7-curl (7.4.14-r0)
(13/50) Installing php7-dom (7.4.14-r0)
(14/50) Installing libxau (1.0.9-r0)
ERROR: libxau-1.0.9-r0: BAD signature
(15/50) Installing libbsd (0.10.0-r0)
ERROR: libbsd-0.10.0-r0: BAD signature
(16/50) Installing libxdmcp (1.1.3-r0)
ERROR: libxdmcp-1.1.3-r0: BAD signature
(17/50) Installing libxcb (1.14-r1)
ERROR: libxcb-1.14-r1: BAD signature
(18/50) Installing libx11 (1.7.0-r0)
(19/50) Installing libxext (1.3.4-r0)
(20/50) Installing libice (1.0.10-r0)
ERROR: libice-1.0.10-r0: BAD signature
(21/50) Installing libuuid (2.36.1-r0)
(22/50) Installing libsm (1.2.3-r0)
(23/50) Installing libxt (1.2.0-r0)
ERROR: libxt-1.2.0-r0: BAD signature
(24/50) Installing libxpm (3.5.13-r0)
ERROR: libxpm-3.5.13-r0: BAD signature
(25/50) Installing libpng (1.6.37-r1)
ERROR: libpng-1.6.37-r1: BAD signature
(26/50) Installing freetype (2.10.4-r1)
(27/50) Installing libjpeg-turbo (2.0.6-r0)
(28/50) Installing libwebp (1.1.0-r0)
ERROR: libwebp-1.1.0-r0: BAD signature
(29/50) Installing php7-gd (7.4.14-r0)
(30/50) Installing php7-fileinfo (7.4.14-r0)
(31/50) Installing gmp (6.2.1-r0)
(32/50) Installing php7-gmp (7.4.14-r0)
(33/50) Installing php7-iconv (7.4.14-r0)
(34/50) Installing libstdc++ (10.2.1_pre1-r3)
(35/50) Installing icu-libs (67.1-r2)
(36/50) Installing php7-intl (7.4.14-r0)
(37/50) Installing php7-json (7.4.14-r0)
(38/50) Installing oniguruma (6.9.6-r0)
(39/50) Installing php7-mbstring (7.4.14-r0)
(40/50) Installing php7-openssl (7.4.14-r0)
(41/50) Installing php7-pcntl (7.4.14-r0)
(42/50) Installing php7-posix (7.4.14-r0)
(43/50) Installing php7-session (7.4.14-r0)
(44/50) Installing php7-simplexml (7.4.14-r0)
(45/50) Installing php7-xml (7.4.14-r0)
(46/50) Installing php7-xmlreader (7.4.14-r0)
(47/50) Installing php7-xmlwriter (7.4.14-r0)
(48/50) Installing libzip (1.7.3-r2)
(49/50) Installing php7-zip (7.4.14-r0)
(50/50) Installing nextcloud (20.0.4-r0)
Executing nextcloud-20.0.4-r0.pre-install
Executing busybox-1.32.1-r0.trigger
Executing ca-certificates-20191127-r5.trigger
10 errors; 248 MiB in 93 packages
```https://gitlab.alpinelinux.org/alpine/aports/-/issues/12302Alpine zone on SmartOS upgraded to 3.13 can't reboot anymore2023-09-09T21:12:13ZJan VlachAlpine zone on SmartOS upgraded to 3.13 can't reboot anymoreI'm running lots of alpine linux zones on Joyent's SmartOS since version 3.5, always only changing the version in /etc/apk/repositories and doing upgrade. Everything always worked just fine, many thanks for that!
I've upgraded my first ...I'm running lots of alpine linux zones on Joyent's SmartOS since version 3.5, always only changing the version in /etc/apk/repositories and doing upgrade. Everything always worked just fine, many thanks for that!
I've upgraded my first zone from 3.12 to 3.13 now and I have problems with reboot after I boot into 3.13 userspace:
```
66c60285-54af-ee40-ca60-904aade29c33:~# reboot
reboot: (null): Operation not permitted
66c60285-54af-ee40-ca60-904aade29c33:~# strace -s 65535 -f reboot
execve("/sbin/reboot", ["reboot"], 0x7fffffeffc58 /* 14 vars */) = 0
arch_prctl(ARCH_SET_FS, 0x7fffef38db48) = 0
set_tid_address(0x7fffef38df90) = 12430
brk(NULL) = 0x1000
brk(0x3000) = 0x3000
mmap(0x1000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1000
mprotect(0x7fffef38a000, 4096, PROT_READ) = 0
mprotect(0x7fffef456000, 16384, PROT_READ) = 0
getuid() = 0
nanosleep({tv_sec=0, tv_nsec=0}, 0x7fffffeffb50) = 0
sync() = 0
kill(1, SIGTERM) = -1 EPERM (Operation not permitted)
access("/proc/meminfo", F_OK) = 0
write(2, "reboot: (null): Operation not permitted\n", 40reboot: (null): Operation not permitted
) = 40
exit_group(1 <unfinished ...>
+++ exited with 1 +++
66c60285-54af-ee40-ca60-904aade29c33:~# kill -1 1
ash: can't kill pid 1: Operation not permitted
```
All these work just fine on anything <= 3.12, including sending TERM to init process.
Any idea what's happening here?
Thank you,
JVhttps://gitlab.alpinelinux.org/alpine/aports/-/issues/12299Alpine 3.13.0 release checklist2021-01-20T09:50:34ZKevin DaudtAlpine 3.13.0 release checklist* [x] check that kernel version are in sync (eg linux-lts and linux-rpi)
* [x] check that raspberrypi-bootloader is up-to-date
* [x] create new milestone https://gitlab.alpinelinux.org/alpine/aports/-/milestones
* [x] change milestone to...* [x] check that kernel version are in sync (eg linux-lts and linux-rpi)
* [x] check that raspberrypi-bootloader is up-to-date
* [x] create new milestone https://gitlab.alpinelinux.org/alpine/aports/-/milestones
* [x] change milestone to version-next on all unresolved issues
* [x] set version in main/alpine-base. see git log for commit message format
* [x] `git tag -a <version>`
* [x] before git push, verify that builders are idle. don’t push until they are
* [x] `git push && git push --tags`
* [x] For new stable branch
* [x] create new remote stable branch: `git checkout -b 3.13-stable && git push --set-upstream origin 3.13-stable`
on each builder do:
* [x] `cd ~/aports && git fetch origin && git checkout -b 3.13-stable -t origin/3.13-stable`
* [x] `sudo sed -i -e 's/git_branch=master/git_branch=3.13-stable/' /etc/conf.d/mqtt-exec.aports-build`
* [x] Wait til build server is idle
* [x] reboot
* [x] write release notes and publish on alpinelinux.org ([MR](alpine/infra/alpine-mksite!20))
* [x] update https://wiki.alpinelinux.org/wiki/Alpine_Linux:Releases
* [x] update alpine-mksite/alpine-releases.conf.yaml
* [x] verify that builders complete the release build successfully (check if release is uploaded to dl-master)
* [x] sign releases
* [x] make docker image release PR
* [x] update topic in IRC channels
* [x] send release announcement to mailto:~alpine/announce@lists.alpinelinux.org with BCC distro@distrowatch.org
* [x] Make sure pkgs.alpinelinux.org syncs the new release
* [x] Invalidate /alpine/latest-stable/* on dl-cdn
* [x] post a tweet (https://tweetdeck.twitter.com)
* [x] Celebrate 🎉3.13.0https://gitlab.alpinelinux.org/alpine/aports/-/issues/12282Certbot is broken due to idna dependency incompatibility2021-01-08T16:56:15ZÉloi RivardCertbot is broken due to idna dependency incompatibilityRecently, certbot got broken:
```
$ sudo certbot --help
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 567, in _build_master
ws.require(__requires__)
File "/usr/lib/pyt...Recently, certbot got broken:
```
$ sudo certbot --help
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 567, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 884, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 775, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (idna 3.1 (/usr/lib/python3.8/site-packages), Requirement.parse('idna<3,>=2.5'), {'requests'})
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/certbot", line 33, in <module>
sys.exit(load_entry_point('certbot==1.11.0', 'console_scripts', 'certbot')())
File "/usr/bin/certbot", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.8/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 783, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/lib/python3.8/site-packages/certbot/main.py", line 2, in <module>
from certbot._internal import main as internal_main
File "/usr/lib/python3.8/site-packages/certbot/_internal/main.py", line 17, in <module>
from certbot import crypto_util
File "/usr/lib/python3.8/site-packages/certbot/crypto_util.py", line 32, in <module>
from certbot import util
File "/usr/lib/python3.8/site-packages/certbot/util.py", line 24, in <module>
from certbot._internal import constants
File "/usr/lib/python3.8/site-packages/certbot/_internal/constants.py", line 4, in <module>
import pkg_resources
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3239, in <module>
def _initialize_master_working_set():
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3222, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3251, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 569, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 582, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 770, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'idna<3,>=2.5' distribution was not found and is required by requests
$ apk search idna
py3-idna-ssl-1.1.0-r4
py3-idna-3.1-r0
```3.13.0LeoLeohttps://gitlab.alpinelinux.org/alpine/aports/-/issues/12260community/synapse-1.24.0: test failures on armhf, armv72021-01-09T17:55:24ZKevin Daudtcommunity/synapse-1.24.0: test failures on armhf, armv7synapse fails to build with test failures on armhf and armv7:
```
[ERROR]
Traceback (most recent call last):
Failure: twisted.internet.defer.TimeoutError: <tests.api.test_filtering.FilteringTestCase testMethod=test_filter_presence_match...synapse fails to build with test failures on armhf and armv7:
```
[ERROR]
Traceback (most recent call last):
Failure: twisted.internet.defer.TimeoutError: <tests.api.test_filtering.FilteringTestCase testMethod=test_filter_presence_match> (test_filter_presence_match) still running at 20.0 secs
tests.api.test_filtering.FilteringTestCase.test_filter_presence_match
===============================================================================
[ERROR]
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/twisted/internet/defer.py", line 1475, in gotResult
_inlineCallbacks(r, g, status)
File "/usr/lib/python3.8/site-packages/twisted/internet/defer.py", line 1421, in _inlineCallbacks
status.deferred.callback(getattr(e, "value", None))
File "/usr/lib/python3.8/site-packages/twisted/internet/defer.py", line 460, in callback
self._startRunCallbacks(result)
File "/usr/lib/python3.8/site-packages/twisted/internet/defer.py", line 561, in _startRunCallbacks
raise AlreadyCalledError
twisted.internet.defer.AlreadyCalledError:
```3.13.0LeoLeohttps://gitlab.alpinelinux.org/alpine/aports/-/issues/12257community/gnome-podcasts-0.4.8: test_stuff test failure on armv72020-12-31T09:56:37ZKevin Daudtcommunity/gnome-podcasts-0.4.8: test_stuff test failure on armv7gnome-podcasts has a test failure on armv7:
```
test test_stuff ...
(podcasts_gtk-fe06606cd8c179fc:21416): Gtk-ERROR **: 18:27:23.350: failed to add UI: The resource at “/org/gnome/Podcasts/gtk/headerbar.ui†failed to decompress
er...gnome-podcasts has a test failure on armv7:
```
test test_stuff ...
(podcasts_gtk-fe06606cd8c179fc:21416): Gtk-ERROR **: 18:27:23.350: failed to add UI: The resource at “/org/gnome/Podcasts/gtk/headerbar.ui†failed to decompress
error: test failed, to rerun pass '-p podcasts-gtk --bin podcasts-gtk'
Caused by:
process didn't exit successfully: `/home/buildozer/aports/community/gnome-podcasts/src/gnome-podcasts-0.4.8/output/target/debug/deps/podcasts_gtk-fe06606cd8c179fc --test-threads=1 --nocapture` (signal: 5, SIGTRAP: trace/breakpoint trap)
```
See: https://build.alpinelinux.org/buildlogs/build-3-13-armv7/community/gnome-podcasts/gnome-podcasts-0.4.8-r0.log3.13.0Rasmus Thomsenoss@cogitri.devRasmus Thomsenoss@cogitri.devhttps://gitlab.alpinelinux.org/alpine/aports/-/issues/12241Build failure: kompare on ppc64le2020-12-29T10:44:08ZLeoBuild failure: kompare on ppc64le```
/home/buildozer/aports/community/kompare/src/kompare-20.08.3/komparepart/kompare_part.cpp: In member function 'void KomparePart::slotFilePrint()':
/home/buildozer/aports/community/kompare/src/kompare-20.08.3/komparepart/kompare_part....```
/home/buildozer/aports/community/kompare/src/kompare-20.08.3/komparepart/kompare_part.cpp: In member function 'void KomparePart::slotFilePrint()':
/home/buildozer/aports/community/kompare/src/kompare-20.08.3/komparepart/kompare_part.cpp:613:13: error: 'class QPrinter' has no member named 'setOrientation'; did you mean 'Orientation'?
613 | printer.setOrientation(QPrinter::Landscape);
| ^~~~~~~~~~~~~~
| Orientation
/home/buildozer/aports/community/kompare/src/kompare-20.08.3/komparepart/kompare_part.cpp: In member function 'void KomparePart::slotFilePrintPreview()':
/home/buildozer/aports/community/kompare/src/kompare-20.08.3/komparepart/kompare_part.cpp:628:13: error: 'class QPrinter' has no member named 'setOrientation'; did you mean 'Orientation'?
628 | printer.setOrientation(QPrinter::Landscape);
| ^~~~~~~~~~~~~~
| Orientation
```3.13.0Bart RibbersBart Ribbershttps://gitlab.alpinelinux.org/alpine/aports/-/issues/12232community/xmlsec-1.2.30-r0: test failures2023-07-04T13:51:48ZKevin Daudtcommunity/xmlsec-1.2.30-r0: test failuresxmlsec has a lot of test failures, most similar to:
```
/keys/rsakey.p12 --pwd secret123 --url-map:http://www.w3.org/TR/xml-stylesheet /home/buildozer/aports/community/xmlsec/src/xmlsec-xmlsec-1_2_30/tests/external-data/xml-stylesheet-2...xmlsec has a lot of test failures, most similar to:
```
/keys/rsakey.p12 --pwd secret123 --url-map:http://www.w3.org/TR/xml-stylesheet /home/buildozer/aports/community/xmlsec/src/xmlsec-xmlsec-1_2_30/tests/external-data/xml-stylesheet-2018 /home/buildozer/aports/community/xmlsec/src/xmlsec-xmlsec-1_2_30/tests/aleksey-xmldsig-01/signature-two-keynames.xml
func=xmlSecNssAppPkcs12LoadSECItem:file=app.c:line=781:obj=unknown:subj=SEC_PKCS12DecoderValidateBags:error=4:crypto library function failed:NSS error: -8099
func=xmlSecNssAppKeyLoadSECItem:file=app.c:line=353:obj=unknown:subj=xmlSecNssAppPkcs12LoadSECItem:error=1:xmlsec library function failed:
func=xmlSecNssAppKeyLoad:file=app.c:line=276:obj=unknown:subj=xmlSecNssAppKeyLoadSECItem:error=1:xmlsec library function failed:
Error: xmlSecCryptoAppKeyLoad failed: filename=/home/buildozer/aports/community/xmlsec/src/xmlsec-xmlsec-1_2_30/tests/keys/rsakey.p12
Error: failed to load pkcs12 key from "/home/buildozer/aports/community/xmlsec/src/xmlsec-xmlsec-1_2_30/tests/keys/rsakey.p12".
Error: keys manager creation failed
Unknown command
```
See for example: https://build.alpinelinux.org/buildlogs/build-3-13-x86_64/community/xmlsec/xmlsec-1.2.30-r0.logSander MaijersSander Maijershttps://gitlab.alpinelinux.org/alpine/aports/-/issues/12230community/kbuild-0.1.9998.3149-r0: buid failure due to mssing arith.tab.h2020-12-24T16:58:23ZKevin Daudtcommunity/kbuild-0.1.9998.3149-r0: buid failure due to mssing arith.tab.hkbuild fails to build with:
```
In file included from /home/buildozer/aports/community/kbuild/src/kbuild-0.1.9998.3149/src/kash/error.h:63,
from /home/buildozer/aports/community/kbuild/src/kbuild-0.1.9998.3149/src/kash/...kbuild fails to build with:
```
In file included from /home/buildozer/aports/community/kbuild/src/kbuild-0.1.9998.3149/src/kash/error.h:63,
from /home/buildozer/aports/community/kbuild/src/kbuild-0.1.9998.3149/src/kash/arith_lex.l:77:
/usr/include/setjmp.h:35: note: this is the location of the previous definition
35 | #define setjmp setjmp
|
/home/buildozer/aports/community/kbuild/src/kbuild-0.1.9998.3149/out/linux.x86/release/obj/kash/arith.c:160:10: fatal error: arith.tab.h: No such file or directory
160 | #include "arith.tab.h"
| ^~~~~~~~~~~~~
```
See: https://build.alpinelinux.org/buildlogs/build-3-13-x86/community/kbuild/kbuild-0.1.9998.3149-r0.log3.13.0Natanael CopaNatanael Copahttps://gitlab.alpinelinux.org/alpine/aports/-/issues/12228crystal fails to pass compiler test on edge2021-01-09T18:00:29ZMilan P. Stanićcrystal fails to pass compiler test on edge```
.build/all_spec --no-color --verbose
Compiler
has a valid version
compiles a file
Invalid memory access (signal 11) at address 0x7f592d74f4f8
[0x55b0d35261c6] *Exception::CallStack::print_backtrace:Int32 +118
[0x55b0d2c8721c] __c...```
.build/all_spec --no-color --verbose
Compiler
has a valid version
compiles a file
Invalid memory access (signal 11) at address 0x7f592d74f4f8
[0x55b0d35261c6] *Exception::CallStack::print_backtrace:Int32 +118
[0x55b0d2c8721c] __crystal_sigfault_handler +316
[0x7f593b85fc4b] ???
make: *** [Makefile:84: spec] Error 11
>>> ERROR: crystal: check failed
>>> crystal: Uninstalling dependencies...
```
I tested it in lxc and by skipping this compiler test all other tests/specs passes.
Also I tried compiler test with gdb and result is here:
```
mps-edge-x86_64:~/aports/community/crystal/src/crystal-0.35.1 > make compiler_spec master
Using /usr/bin/llvm-config [version=10.0.1]
CRYSTAL_CONFIG_LIBRARY_PATH="" CRYSTAL_CONFIG_BUILD_COMMIT="7f9cdb61fd" SOURCE_DATE_EPOCH="1607447069" ./bin/crystal build --exclude-warnings spec/std --exclude-warnings spec/compiler -o .build/compiler_spec spec/compiler_spec.cr
Using compiled compiler at .build/crystal
Using compiled compiler at .build/crystal
.build/compiler_spec
..Invalid memory access (signal 11) at address 0x7f7034396358
[0x561545e44436] *Exception::CallStack::print_backtrace:Int32 +118
[0x561545c1ea4c] __crystal_sigfault_handler +316
[0x7f70427e6c84] ???
make: *** [Makefile:92: compiler_spec] Error 11
mps-edge-x86_64:~/aports/community/crystal/src/crystal-0.35.1 > gdb --args ".build/crystal" "build" "--exclude-warnings spec/std" "--exclude-warnings spec/compiler" "-o .build/compiler_spec spec/compiler_spec.cr"
GNU gdb (GDB) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-alpine-linux-musl".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from .build/crystal...
(gdb) run
Starting program: /home/mps/aports/community/crystal/src/crystal-0.35.1/.build/crystal build --exclude-warnings\ spec/std --exclude-warnings\ spec/compiler -o\ .build/compiler_spec\ spec/compiler_spec.cr
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff3e09524 in GC_find_limit_with_bound () from /usr/lib/libgc.so.1
(gdb) bt
#0 0x00007ffff3e09524 in GC_find_limit_with_bound () from /usr/lib/libgc.so.1
#1 0x00007ffff3e095e3 in GC_init_linux_data_start () from /usr/lib/libgc.so.1
#2 0x00007ffff3e08389 in GC_init () from /usr/lib/libgc.so.1
#3 0x0000555555566808 in main ()
(gdb)
```
looks like the bug is in gc libs but I'm not sure3.13.0Jakub JirutkaJakub Jirutka