void-linux / void-linux/void-packages

arduino package links against glibc on musl

Open
#19,290 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Shell
Stars
3.4k
Forks
2.8k
Avg merge
2d 5h
Merged PRs (30d)
299

Description

System
  • xuname:
    Void 5.4.18_1 x86_64-musl GenuineIntel uptodate rrFFFFFFFFFFFFFFFF
  • package:
    arduino-1.8.9_2
Expected behavior
/usr/lib/arduino/lib/liblistSerialsj.so
/usr/lib/arduino/tools-builder/arduino-preprocessor/0.1.5/arduino-preprocessor
/usr/lib/arduino/tools-builder/ctags/5.8-arduino11/ctags

should link against musl and not glibc

Actual behavior
# xbps-install arduino
arduino-1.8.9_2: broken, unresolvable shlib `ld-linux-x86-64.so.2'
arduino-1.8.9_2: broken, unresolvable shlib `libc.so.6'
arduino-1.8.9_2: broken, unresolvable shlib `libdl.so.2'
arduino-1.8.9_2: broken, unresolvable shlib `libm.so.6'
arduino-1.8.9_2: broken, unresolvable shlib `libpthread.so.0'
arduino-1.8.9_2: broken, unresolvable shlib `librt.so.1'
Transaction aborted due to unresolved shlibs.
Steps to reproduce the behavior

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with xbps-install arduino on the stated x86_64-musl system, then inspect the listed binaries: liblistSerialsj.so, arduino-preprocessor, and ctags. Done means the arduino package installs without unresolved glibc shlibs and those binaries link against musl rather than glibc.

Written by the indexing model from the issue text.

Assessment

Tech stack
arduino
Domain
build-system, embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.