openwrt / openwrt/packages

samba4: Files installed unstripped

Open
#16,528 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

release/21.02 stale
Dominant language
Makefile
Stars
4.6k
Forks
4k
Avg merge
3d 12h
Merged PRs (30d)
134

Description

Maintainer: @Andy2244 (Andy Walsh andy.walsh44+github@gmail.com)
Environment: mipsel_24kc_musl (mt7620a) v21.02

Samba's executables are making it to squashfs unstripped. I'm running with -g3, so it was more noticeable:

debug_size               file
772181      (0x000bc855) build_dir/target-mipsel_24kc_musl/root-ramips/usr/bin/pdbedit
868903      (0x000d4227) build_dir/target-mipsel_24kc_musl/root-ramips/usr/bin/smbpasswd
994409      (0x000f2c69) build_dir/target-mipsel_24kc_musl/root-ramips/usr/sbin/smbd
1037067     (0x000fd30b) build_dir/target-mipsel_24kc_musl/root-ramips/usr/bin/nmblookup
1366895     (0x0014db6f) build_dir/target-mipsel_24kc_musl/root-ramips/usr/sbin/nmbd

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

Start with the OpenWrt package rules responsible for Samba and the listed target paths under build_dir/target-mipsel_24kc_musl/root-ramips. Reproduce the package build for the mipsel_24kc_musl target and inspect whether pdbedit, smbpasswd, smbd, nmblookup, and nmbd are stripped before entering squashfs. Done means the installed executables no longer contain the reported debug symbols.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.