aports issueshttps://gitlab.alpinelinux.org/alpine/aports/-/issues2020-11-24T03:10:51Zhttps://gitlab.alpinelinux.org/alpine/aports/-/issues/12132main/strace: static assertion failed: "IPPROTO_MAX != 256"2020-11-24T03:10:51ZKevin Daudtmain/strace: static assertion failed: "IPPROTO_MAX != 256"strace fails to build due to an update in musl:
```
xlat/inet_protocols.h:242:1: error: static assertion failed: "IPPROTO_MAX != 256"
242 | static_assert((IPPROTO_MAX) == (256), "IPPROTO_MAX != 256");
```
`IPPROTO_MAX` has been updat...strace fails to build due to an update in musl:
```
xlat/inet_protocols.h:242:1: error: static assertion failed: "IPPROTO_MAX != 256"
242 | static_assert((IPPROTO_MAX) == (256), "IPPROTO_MAX != 256");
```
`IPPROTO_MAX` has been updated, but not yet in strace.
Upstream issue: https://github.com/strace/strace/issues/1643.13.0https://gitlab.alpinelinux.org/alpine/aports/-/issues/12191Kernel 5.10.12020-12-15T09:55:05ZTBKKernel 5.10.1```
commit 841fca5a32cccd7d0123c0271f4350161ada5507
Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: Mon Dec 14 19:33:01 2020 +0100
Linux 5.10.1
Link: https://lore.kernel.org/r/20201214170452.563016590@linuxf...```
commit 841fca5a32cccd7d0123c0271f4350161ada5507
Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: Mon Dec 14 19:33:01 2020 +0100
Linux 5.10.1
Link: https://lore.kernel.org/r/20201214170452.563016590@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
commit 26934c83005e75eab2b8d54d0fa5adbee4f27535
Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: Mon Dec 14 17:51:18 2020 +0100
Revert "dm raid: fix discard limits for raid1 and raid10"
This reverts commit e0910c8e4f87bb9f767e61a778b0d9271c4dc512.
It causes problems :(
Reported-by: Dave Jones <davej@codemonkey.org.uk>
Reported-by: Mike Snitzer <snitzer@redhat.com>
Cc: Zdenek Kabelac <zkabelac@redhat.com>
Cc: Mikulas Patocka <mpatocka@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
commit 859f70354379ce53be23bca3580cb7f77978c7a2
Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: Mon Dec 14 17:48:11 2020 +0100
Revert "md: change mddev 'chunk_sectors' from int to unsigned"
This reverts commit 6ffeb1c3f8226244c08105bcdbeecc04bad6b89a.
It causes problems :(
Reported-by: Dave Jones <davej@codemonkey.org.uk>
Reported-by: Mike Snitzer <snitzer@redhat.com>
Cc: Song Liu <songliubraving@fb.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Linus Torvalds <torvalds@linux-foundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
```
Source: https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.10.13.13.0Natanael CopaNatanael Copahttps://gitlab.alpinelinux.org/alpine/aports/-/issues/12200community/smstools FTBFS2020-12-17T18:58:42ZTBKcommunity/smstools FTBFSGCC 10 -fno-common issue.
The APKBUILD file could also use a cleanup (modernize).
Debian got a patch for GCC 10
https://salsa.debian.org/debian-mobcom-team/smstools/-/tree/master/debian/patches
Some or all of the other patches are per...GCC 10 -fno-common issue.
The APKBUILD file could also use a cleanup (modernize).
Debian got a patch for GCC 10
https://salsa.debian.org/debian-mobcom-team/smstools/-/tree/master/debian/patches
Some or all of the other patches are perhaps also desired.Leonardo ArenaLeonardo Arenahttps://gitlab.alpinelinux.org/alpine/aports/-/issues/12206community/openvpn-auth-script FTBFS2020-12-26T10:30:07ZTBKcommunity/openvpn-auth-script FTBFShttps://build.alpinelinux.org/buildlogs/build-3-13-armhf/community/openvpn-auth-script/openvpn-auth-script-0_git20180315-r0.log
It errors out on `openssl/x509.h: No such file or directory` because the openssl-dev pkg is not pulled in d...https://build.alpinelinux.org/buildlogs/build-3-13-armhf/community/openvpn-auth-script/openvpn-auth-script-0_git20180315-r0.log
It errors out on `openssl/x509.h: No such file or directory` because the openssl-dev pkg is not pulled in during build.
Would it be best to move "main/openvpn"'s openssl-dev makedepends to depends_dev or add openssl-dev to openvpn-auth-script's makedepends?https://gitlab.alpinelinux.org/alpine/aports/-/issues/12225community/ansible-lint-4.2.0-r0: test failures2021-10-11T21:56:15ZKevin Daudtcommunity/ansible-lint-4.2.0-r0: test failuresansible-lint fails to build due to multiple test failures similar to:
```
> raise SystemExit("Couldn't parse task at %s (%s)\n%s" % (task_info, e.message, task_pprint))
E SystemExit: Couldn't parse task at test/alway...ansible-lint fails to build due to multiple test failures similar to:
```
> raise SystemExit("Couldn't parse task at %s (%s)\n%s" % (task_info, e.message, task_pprint))
E SystemExit: Couldn't parse task at test/always-run-failure.yml:4 (conflicting action statements: debug, always_run
E
E The error appears to be in '<unicode string>': line 4, column 5, but may
E be elsewhere in the file depending on the exact syntax problem.
```
See for example: https://build.alpinelinux.org/buildlogs/build-3-13-x86_64/community/ansible-lint/ansible-lint-4.2.0-r0.log3.13.0Fabian AffolterFabian Affolterhttps://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 Jirutkahttps://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/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/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/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/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/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/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/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/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/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/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/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/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/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 Copa