Skip to content

muchsync: set XAPIAN_CONFIG to fix cross compilation#237327

Merged
1 commit merged intomasterfrom
unknown repository
Jul 20, 2023
Merged

muchsync: set XAPIAN_CONFIG to fix cross compilation#237327
1 commit merged intomasterfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Jun 12, 2023

Description of changes

When cross compiling, muchsync needs to be given an explicit location for Xapian; this commit does that. Without it, cross compilation fails with:

> checking for xapian-config... no
> configure: error: Cannot find xapian-config
For full logs, run 'nix log /nix/store/gajxjvvi8mizb1zgahrnlcwpw2lapky7-muchsync-aarch64-unknown-linux-gnu-6.drv'.
Things done
  • Built on platform(s)
    • aarch64-linux (cross from x86_64-linux)
  • Fits CONTRIBUTING.md.

When cross compiling, muchsync needs to be given an explicit
location for Xapian; this commit does that.  Without it, cross
compilation fails with:

```
> checking for xapian-config... no
> configure: error: Cannot find xapian-config
For full logs, run 'nix log /nix/store/gajxjvvi8mizb1zgahrnlcwpw2lapky7-muchsync-aarch64-unknown-linux-gnu-6.drv'.
```
@ofborg ofborg bot added 6.topic: cross-compilation Building packages on a different platform than they will be used on 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Jun 12, 2023
@ghost ghost merged commit 5fcb10e into NixOS:master Jul 20, 2023
@ghost ghost deleted the pr/muchsync/fixcross branch July 20, 2023 22:44
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: cross-compilation Building packages on a different platform than they will be used on 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants