Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
aports
aports
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 645
    • Issues 645
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 166
    • Merge Requests 166
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • aportsaports
  • Issues
  • #12276

Closed
Open
Opened Jan 06, 2021 by Bruno Verachten@gounthar
  • Report abuse
  • New issue
Report abuse New issue

libprotobuf.so.24 (missing) but required by: android-tools (ARMV7)

Hi there,

I'm trying to build a Docker image on an ARMV7 machine (OrangePi Zero running Armbian (Debian GNU/Linux 10 (buster) with Linux 5.9.14-sunxi). I'm running Docker 18.09.1.

FROM alpine:3.12

# Set up insecure default key
RUN mkdir -m 0750 /root/.android
ADD files/insecure_shared_adbkey /root/.android/adbkey
ADD files/insecure_shared_adbkey.pub /root/.android/adbkey.pub

RUN set -xeo pipefail && \
    apk upgrade --update --available && \
    apk add wget ca-certificates tini 
RUN apk add libprotobuf --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ android-tools --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ && \
    rm -r /var/cache/apk/APKINDEX.* && \
    adb --version

# Expose default ADB port
EXPOSE 5037

# Hook up tini as the default init system for proper signal handling
ENTRYPOINT ["/sbin/tini", "--"]

# Start the server by default
CMD ["adb", "-a", "-P", "5037", "server", "nodaemon"]

I know it's not beautiful nor smart, but I'm trying to get it to work. A simpler version already worked for aarch64.

The problem I'm facing is that I get this error:

+ apk upgrade --update --available
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/armv7/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/armv7/APKINDEX.tar.gz
OK: 4 MiB in 14 packages
+ apk add wget ca-certificates tini
(1/5) Installing ca-certificates (20191127-r4)
(2/5) Installing tini (0.19.0-r0)
(3/5) Installing libunistring (0.9.10-r0)
(4/5) Installing libidn2 (2.3.0-r0)
(5/5) Installing wget (1.20.3-r1)
Executing busybox-1.31.1-r19.trigger
Executing ca-certificates-20191127-r4.trigger
OK: 6 MiB in 19 packages
Removing intermediate container b259a3b2d60a
 ---> dee3cd881857
Step 6/9 : RUN apk add libprotobuf --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ android-tools --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ &&     rm -r /var/cache/apk/APKINDEX.* &&     adb --version
 ---> Running in b1477f394038
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/armv7/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
  so:libprotobuf.so.24 (missing):
    required by: android-tools-30.0.5-r0[so:libprotobuf.so.24]

Is there anything I can do, or should I just wait for this package to appear?

Thanks.

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
4
Labels
arch:armv7 category:docker triage:upstream-issue type:support
Assign labels
  • View project labels
Reference: alpine/aports#12276