-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
hello: make sure libiconv is linked #346939
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 tasks
ofborg
bot
added
10.rebuild-darwin: 1-10
10.rebuild-darwin: 1
10.rebuild-linux: 0
This PR does not cause any packages to rebuild on Linux
labels
Oct 6, 2024
emilazy
requested changes
Oct 7, 2024
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.
This breaks the build on master
and needs stacking on top of the SDK rework.
reckenrode
changed the base branch from
master
to
reckenrode/darwin-sdk-refactor
October 7, 2024 02:51
reckenrode
force-pushed
the
push-umprpqvmsktr
branch
from
October 7, 2024 02:51
7b1138e
to
3d68317
Compare
ofborg
bot
added
2.status: merge conflict
This PR has merge conflicts with the target branch
and removed
2.status: merge conflict
This PR has merge conflicts with the target branch
labels
Oct 7, 2024
reckenrode
force-pushed
the
push-umprpqvmsktr
branch
from
October 7, 2024 03:49
3d68317
to
d2da470
Compare
github-actions
bot
added
6.topic: python
6.topic: nixos
Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS
6.topic: haskell
8.has: documentation
This PR adds or changes documentation
8.has: changelog
8.has: module (update)
This PR changes an existing module in `nixos/`
6.topic: emacs
Text editor
6.topic: ruby
6.topic: nodejs
6.topic: pantheon
The Pantheon desktop environment
6.topic: module system
About "NixOS" module system internals
6.topic: systemd
6.topic: nim
Nim programing language
6.topic: vscode
6.topic: lib
The Nixpkgs function library
8.has: maintainer-list (update)
This PR changes `maintainers/maintainer-list.nix`
labels
Oct 7, 2024
reckenrode
force-pushed
the
reckenrode/darwin-sdk-refactor
branch
2 times, most recently
from
October 8, 2024 02:51
183877a
to
1fd30e4
Compare
reckenrode
force-pushed
the
push-umprpqvmsktr
branch
from
October 8, 2024 02:56
d2da470
to
e27687a
Compare
github-actions
bot
removed
8.has: changelog
8.has: module (update)
This PR changes an existing module in `nixos/`
6.topic: emacs
Text editor
6.topic: ruby
6.topic: nodejs
6.topic: pantheon
The Pantheon desktop environment
6.topic: module system
About "NixOS" module system internals
6.topic: systemd
6.topic: nim
Nim programing language
6.topic: vscode
6.topic: lib
The Nixpkgs function library
8.has: maintainer-list (update)
This PR changes `maintainers/maintainer-list.nix`
labels
Oct 8, 2024
reckenrode
force-pushed
the
push-umprpqvmsktr
branch
from
October 8, 2024 03:29
e27687a
to
9aefbb8
Compare
reckenrode
force-pushed
the
reckenrode/darwin-sdk-refactor
branch
2 times, most recently
from
October 9, 2024 02:16
a240201
to
4112f1a
Compare
Because the Darwin SDK automatically propagates libiconv, it is no longer linked automatically (because that would link libiconv to everything whether it wanted it or not). hello is failing to link not because it assumes libiconv comes with libc but because of a bug in its build system. The `configure` script detects how to link libiconv, but `Makefile.am` does not make use of that to link libiconv when it is needed. Unfortunately, patching `Makefile.am` can’t be done because using `autoreconfHook` will update some gettext stuff with an incompatible version, causing an error when building.
reckenrode
force-pushed
the
push-umprpqvmsktr
branch
from
October 10, 2024 05:18
9aefbb8
to
42a6b87
Compare
reckenrode
force-pushed
the
reckenrode/darwin-sdk-refactor
branch
2 times, most recently
from
October 10, 2024 20:25
a1adff0
to
e3f2829
Compare
emilazy
changed the base branch from
reckenrode/darwin-sdk-refactor
to
staging
October 11, 2024 00:07
emilazy
approved these changes
Oct 11, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
10.rebuild-darwin: 1-10
10.rebuild-darwin: 1
10.rebuild-linux: 0
This PR does not cause any packages to rebuild on Linux
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Because the Darwin SDK after #346043 will automatically propagate libiconv, it is no longer linked automatically (because that would link libiconv to everything whether it wanted it or not).
hello is failing to link not because it assumes libiconv comes with libc but because of a bug in its build system. The
configure
script detects how to link libiconv, butMakefile.am
does not make use of that to link libiconv when it is needed.Unfortunately, patching
Makefile.am
can’t be done because usingautoreconfHook
will update some gettext stuff with an incompatible version, causing an error when building.Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.