New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
autofs: do not strip needed symbols #31038
Conversation
@Ericson2314 ping |
@GrahamcOfBorg autofs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For system: x86_64-linux
error: attribute ‘autofs’ in selection path ‘autofs’ not found
@grahamc Somehow the attribute is Can I do this? @GrahamcOfBorg autofs5 |
@GrahamcOfBorg autofs5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For system: x86_64-linux
shrinking /nix/store/y19ha5f1i7sj6gsdhiq7lqn15pq40668-autofs-5.1.3/lib/autofs/mount_ext2.so
shrinking /nix/store/y19ha5f1i7sj6gsdhiq7lqn15pq40668-autofs-5.1.3/lib/autofs/lookup_nisplus.so
shrinking /nix/store/y19ha5f1i7sj6gsdhiq7lqn15pq40668-autofs-5.1.3/lib/autofs/mount_nfs.so
shrinking /nix/store/y19ha5f1i7sj6gsdhiq7lqn15pq40668-autofs-5.1.3/lib/autofs/mount_bind.so
gzipping man pages under /nix/store/y19ha5f1i7sj6gsdhiq7lqn15pq40668-autofs-5.1.3/share/man/
stripping (with flags -S) in /nix/store/y19ha5f1i7sj6gsdhiq7lqn15pq40668-autofs-5.1.3/lib /nix/store/y19ha5f1i7sj6gsdhiq7lqn15pq40668-autofs-5.1.3/sbin
patching script interpreter paths in /nix/store/y19ha5f1i7sj6gsdhiq7lqn15pq40668-autofs-5.1.3
checking for references to /tmp/nix-build-autofs-5.1.3.drv-0 in /nix/store/y19ha5f1i7sj6gsdhiq7lqn15pq40668-autofs-5.1.3...
moving /nix/store/y19ha5f1i7sj6gsdhiq7lqn15pq40668-autofs-5.1.3/sbin/* to /nix/store/y19ha5f1i7sj6gsdhiq7lqn15pq40668-autofs-5.1.3/bin
/nix/store/y19ha5f1i7sj6gsdhiq7lqn15pq40668-autofs-5.1.3
Thanks! Backported to 17.09: 4200dcd |
Was the makefile just adding that flag? |
The Makefile contains this snippet: ifdef DONTSTRIP
STRIP ?= :
else
STRIP ?= strip --strip-debug
endif and then invokes something like |
Motivation for this change
Fixes #28282 after #27415. See #28282 (comment) and #28282 (comment) .
@Ericson2314 Is this fine or should we not unset STRIP here? Maybe export
STRIP="${STRIP:-strip} --strip-debug
?Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)