← Back to issue list

snapcraft-examples opencv example cannot run on armhf

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1534531
Type
issue
State
closed
Author
~sangshuduo
Labels
—
Created
Updated
Closed

Current evaluation

Duplicate of snapcraft#1534530, where the armhf OpenCV failure was attributed to building on Wily for an older target; building on Xenial worked, so no code fix was needed.

Resolution: closed superseded

Reason: The author explicitly identified snapcraft#1534530 as the tracking report and apologized for the duplicate. That report records a target-release mismatch and confirmation that the example worked when built on Xenial.

Evaluated by: mr-cal-bot

No scores available.

Issue body

reproduce steps: 1, add-apt-repository ppa:snapcraft-dev/tools and apt install snapcraft-examples on ARM hardware 2, cd snapcraft-examples/examples/opencv and run "snapcraft" 3, copy open-examples_1.0_armhf.snap to snappy on RaspBerry Pi 2 and install by side load 4, run opencv-example.example expected: opencv example working smoothly actual: # opencv-example.example /apps/opencv-example.sideload/IKMPdbJaaTGX/bin/example: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /apps/opencv-example.sideload/IKMPdbJaaTGX/usr/lib/arm-linux-gnueabihf/libopencv_core.so.2.4)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed superseded Duplicate of snapcraft#1534530, where the armhf OpenCV failure was attributed to building on Wily for an older target; building on Xenial worked, so no code fix was needed.
stealth/space-bunny-alpha — closed superseded Closed as a duplicate of snapcraft#1534530, which became the tracking issue; no resolving PR or commit is identified here.
stealth/space-bunny-alpha — closed superseded Reporter closed the duplicate opencv armhf GLIBCXX_3.4.21 failure himself, noting the real fix is tracked in Launchpad bug #1534530 (snapcraft); the author also apologised for submitting the report twice.
stealth/space-bunny-alpha — closed stale Closed without a fix or explanation after prolonged inactivity; the armhf OpenCV example still failed with missing GLIBCXX_3.4.21.
qwen/qwen3.6-35b-a3b — — OpenCV snap example fails on armhf hardware due to missing GLIBCXX_3.4.21 in libstdc++.so.6. The report was closed without comments or a fix, indicating it was abandoned.
qwen/qwen3.6-35b-a3b — — Closed and abandoned due to prolonged inactivity. No comments or fixes were provided for the ARMhf OpenCV snap build failure. The compatibility problem remains unresolved.
qwen/qwen3.6-35b-a3b — — Abandoned without resolution or comments. The OpenCV snap example fails on armhf due to a missing GLIBCXX_3.4.21 symbol in libstdc++. The issue remains closed due to prolonged inactivity.
qwen3.6-35b-a3b-mtp-q6 — — Closed without resolution due to inactivity. The OpenCV snap example failed on armhf due to a missing GLIBCXX_3.4.21 dependency in libstdc++.so.6. No fix or workaround was implemented.

Update history

Date Change
created

Related work

Related issues

Issue Project State Summary Similarity
#1534530 snapcraft-examples opencv example cannot run on armhf snapcraft (launchpad) closed Reporter built snapcraft-examples opencv snap on Wily and ran it on a device with older libstdc++ (GLIBCXX_3.4.21 missing). Maintainer explained it must be built on the target release; reporter verified on Xenial and closed the report as invalid.
89%
#1769551 snapcraft 2.42 not working in trusty armhf snapcraft (launchpad) closed Snapcraft 2.42's armhf startup failure was fixed by merged PR #2126 (commit 5230460c7); the reporter confirmed it in edge rev 1561.
73%
#1530149 snappy app example downloader-with-wiki-part cannot run on armhf snapcraft (launchpad) closed User reported the downloader-with-wiki-part example snap built on armhf failed with OPENSSL_1.0.2 not found. Not a Snapcraft bug; maintainer closed it after reproducing a successful build/run on the matching 16.04 core.
72%
#1650458 snaps tests fail in armhf snapcraft (launchpad) closed Armhf snap test builds were fixed by snapcore/snapcraft#990, merged as f467e55bc; installation testing remained deferred because runners used LXC.
71%
#2015091 snapcraft download debian package from incorrect arch snapcraft (launchpad) open Cross-building for arm64 on amd64 resolved explicitly qualified bsdmainutils:arm64 to an amd64 package; the valid report remains untriaged and a similar bug is still open.
70%
#5638 Snapcraft fails to run on 32bit userspace container on 64bit ARM kernel. snapcraft closed Fixed by merged PR #6394 (commit e51640488): Snapcraft now maps armv8l to armv7l, supporting ARMHF builds in 32-bit ARM userspace on 64-bit ARM kernels.
70%