aports issueshttps://gitlab.alpinelinux.org/alpine/aports/-/issues2024-03-27T19:28:37Zhttps://gitlab.alpinelinux.org/alpine/aports/-/issues/15494community/opencv: build failed on ppc64le2024-03-27T19:28:37ZAndy Postnikovcommunity/opencv: build failed on ppc64leIt produce a tons of warnings and fails with
```
/home/buildozer/aports/community/opencv/src/opencv-4.8.1/modules/core/include/opencv2/core/vsx_utils.hpp:1039:1: warning: Implicit conversion between vector types (''__vector long long' (...It produce a tons of warnings and fails with
```
/home/buildozer/aports/community/opencv/src/opencv-4.8.1/modules/core/include/opencv2/core/vsx_utils.hpp:1039:1: warning: Implicit conversion between vector types (''__vector long long' (vector of 2 'long long' values)' and ''const vec_udword2' (vector │
/home/buildozer/aports/community/opencv/src/opencv-4.8.1/modules/core/include/opencv2/core/vsx_utils.hpp:1027:13: note: expanded from macro 'VSX_IMPL_ST_INTERLEAVE_3CH_2' │
1027 | st_func(vec_mergel(b, c), 4, ptr); \ │
| ^ │
/home/buildozer/aports/community/opencv/src/opencv-4.8.1/modules/core/include/opencv2/core/vsx_utils.hpp:1040:1: warning: Implicit conversion between vector types (''__vector unsigned long long' (vector of 2 'unsigned long long' values)' and ''const vec│
1040 | VSX_IMPL_ST_INTERLEAVE_3CH_2(uint64, vec_udword2, vsx_ld2, vsx_st2) │
| ^ │
/home/buildozer/aports/community/opencv/src/opencv-4.8.1/modules/core/include/opencv2/core/vsx_utils.hpp:1025:13: note: expanded from macro 'VSX_IMPL_ST_INTERLEAVE_3CH_2' │
1025 | st_func(vec_mergeh(a, b), 0, ptr); \ │
| ^ │
/home/buildozer/aports/community/opencv/src/opencv-4.8.1/modules/core/include/opencv2/core/vsx_utils.hpp:1040:1: warning: Implicit conversion between vector types (''const vec_udword2' (vector of 2 'unsigned long long' values)' and ''const vec_dword2' (│
/home/buildozer/aports/community/opencv/src/opencv-4.8.1/modules/core/include/opencv2/core/vsx_utils.hpp:1026:13: note: expanded from macro 'VSX_IMPL_ST_INTERLEAVE_3CH_2' │
1026 | st_func(vec_permi(c, a, 1), 2, ptr); \ │
| ^ │
/usr/lib/llvm17/lib/clang/17/include/altivec.h:13176:3: note: expanded from macro 'vec_permi' │
13176 | _Generic((__a), vector signed long long \ │
| ^ │
In file included from /home/buildozer/aports/community/opencv/src/opencv-4.8.1/modules/imgproc/src/connectedcomponents.cpp:49: │
In file included from /home/buildozer/aports/community/opencv/src/opencv-4.8.1/modules/imgproc/src/precomp.hpp:46: │
In file included from /home/buildozer/aports/community/opencv/src/opencv-4.8.1/modules/imgproc/include/opencv2/imgproc.hpp:46: │
In file included from /home/buildozer/aports/community/opencv/src/opencv-4.8.1/modules/core/include/opencv2/core.hpp:53: │
In file included from /home/buildozer/aports/community/opencv/src/opencv-4.8.1/modules/core/include/opencv2/core/base.hpp:661: │
/home/buildozer/aports/community/opencv/src/opencv-4.8.1/modules/core/include/opencv2/core/vsx_utils.hpp:1040:1: warning: Implicit conversion between vector types (''__vector unsigned long long' (vector of 2 'unsigned long long' values)' and ''const vec│
/home/buildozer/aports/community/opencv/src/opencv-4.8.1/modules/core/include/opencv2/core/vsx_utils.hpp:1027:13: note: expanded from macro 'VSX_IMPL_ST_INTERLEAVE_3CH_2' │
1027 | st_func(vec_mergel(b, c), 4, ptr); \ │
| ^ │
611 warnings generated. │
[274/770] Linking CXX shared library lib/libopencv_imgproc.so.4.8.1 │
ninja: job failed: : && /usr/bin/clang++ -fPIC -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -g -g1 -fsigned-char -W -Wall -Wreturn-t│
LLVM ERROR: Do not know how to widen this operator's operand! │
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. │
Stack dump: │
0. Running pass 'Function Pass Manager' on module 'modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/bilateral_filter.dispatch.cpp.o'. │
1. Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on function '@_ZNK2cv12cpu_baseline12_GLOBAL__N_126BilateralFilter_8u_InvokerclERKNS_5RangeE' │
clang++: error: unable to execute command: Aborted │
clang++: error: linker command failed due to signal (use -v to see invocation) │
ninja: subcommand failed │
>>> ERROR: opencv: build failed
```3.19.0Bart RibbersBart Ribbershttps://gitlab.alpinelinux.org/alpine/aports/-/issues/14457[3.16] Routing issues due to 'throw' routes appearing2022-12-14T19:19:53ZKevin Daudt[3.16] Routing issues due to 'throw' routes appearingOn a ppc64le host, after upgrading to Alpine Linux 3.16, there are issues with inserting certain routes.
Output from `ip route` (partial):
```
throw 172.16.0.254 proto static
172.16.0.254 dev gre1 proto zebra scope link metric 20
throw...On a ppc64le host, after upgrading to Alpine Linux 3.16, there are issues with inserting certain routes.
Output from `ip route` (partial):
```
throw 172.16.0.254 proto static
172.16.0.254 dev gre1 proto zebra scope link metric 20
throw 172.16.0.255 proto static
172.16.0.255 dev gre1 proto zebra scope link metric 20
```
These throw routes prevent traffic reaching those destinations, and also can prevent routes being installed (probably due to routes for those prefixes already existing). This happens for example with docker and lxc. I need to manually remove these routes and add the expected routes.
This host is running dmvpn. A possible cause may be strongswan, which searching online seems to make use of `throw` routes. a1ece8d enabled `bypass-lan`, but a build without that option does not appear to fix it.
Kernel: 5.15.76-0-lts, trying an older kernel does not fix it.https://gitlab.alpinelinux.org/alpine/aports/-/issues/12367testing/singularity-3.7.1-r0: fails to build on ppc64le2022-07-21T14:45:36ZTBKtesting/singularity-3.7.1-r0: fails to build on ppc64le```sh
>>> ERROR: singularity*: Found non-PIE files that has SUID:
/usr/libexec/singularity/bin/starter-suid
>>> ERROR: singularity*: prepare_subpackages failed
>>> ERROR: singularity: rootpkg failed
```
Source: https://build.alpinelinu...```sh
>>> ERROR: singularity*: Found non-PIE files that has SUID:
/usr/libexec/singularity/bin/starter-suid
>>> ERROR: singularity*: prepare_subpackages failed
>>> ERROR: singularity: rootpkg failed
```
Source: https://build.alpinelinux.org/buildlogs/build-edge-ppc64le/testing/singularity/singularity-3.7.1-r0.log
It seems the ppc64le buildozer does not respect `options="... suid ..."` (https://git.alpinelinux.org/aports/tree/testing/singularity/APKBUILD#n12)https://gitlab.alpinelinux.org/alpine/aports/-/issues/11718main/ldb: test failures on ppc64le2020-07-17T04:52:56ZKevin Daudtmain/ldb: test failures on ppc64leAfter upgrading to [v2.1.4](4f5db102), ldb has [test failures](https://build.alpinelinux.org/buildlogs/build-edge-ppc64le/main/ldb/ldb-2.1.4-r0.log) on ppc64le
```
Failed to connect to 'mdb://lmdb_free_list_test.ldb' with backend 'mdb':...After upgrading to [v2.1.4](4f5db102), ldb has [test failures](https://build.alpinelinux.org/buildlogs/build-edge-ppc64le/main/ldb/ldb-2.1.4-r0.log) on ppc64le
```
Failed to connect to 'mdb://lmdb_free_list_test.ldb' with backend 'mdb': Unable to load ltdb cache records for backend 'ldb_mdb backend'
Could not run test: 0x1 != 0
[..]
Could not run test: 0x1 != 0
[ LINE ] --- ../../tests/ldb_lmdb_free_list_test.c:165: error: Failure!Test setup failed
```LeoLeo