-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Closed
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: cross-compilationBuilding packages on a different platform than they will be used onBuilding packages on a different platform than they will be used on
Description
Describe the bug
I cannot cross-compile libjack2: waf: error: no such option: --cross-compile
To Reproduce
Steps to reproduce the behavior:
nix-shell -p pkgsCross.armv7l-hf-multiplatform.libjack2
Expected behavior
The package builds
Additional context
Build log:
patching sources
updateAutotoolsGnuConfigScriptsPhase
configuring
configure flags: --prefix=/nix/store/ik12fv3y0vyirzv4dajw2c71h1qsk4x1-libjack2-1.9.14-armv7l-unknown-linux-gnueabihf --classic --autostart=dbus --dbus configure --cross-compile --cross-execute=/nix/store/j44q9fa4jg5zbwf30bpcimpw8qx816px-qemu-5.0.0/bin/qemu-arm
waf [commands] [options]
Main commands (example: ./waf build -j4)
build : executes the build
clean : cleans the project
configure: configures the project
dist : creates an archive containing the project source code
distcheck: checks if the project compiles (tarball from 'dist')
distclean: removes build folders and data
install : installs the targets on the system
list : lists the targets to execute
mm_hook : Alias .mm files to be compiled the same as .cpp files, gcc will do the right thing.
step : executes tasks in a step-by-step fashion, for debugging
uninstall: removes the targets installed
xcode6 :
Options:
--version show
program's
version
number and
exit
-c COLORS, --color=COLORS
whether to
use colors
(yes/no/aut
o)
[default:
auto]
-j JOBS, --jobs=JOBS amount of
parallel
jobs (4)
-k, --keep continue
despite
errors (-kk
to try
harder)
-v, --verbose verbosity
level -v
-vv or -vvv
[default:
0]
--zones=ZONES debugging
zones
(task_gen,
deps,
tasks, etc)
-h, --help show this
help
message and
exit
--htmldir=HTMLDIR HTML docume
ntation
directory
[Default: <
prefix>/sha
re/jack-
audio-
connection-
kit/referen
ce/html/
--libdir=LIBDIR Library
directory
[Default: <
prefix>/lib
]
--libdir32=LIBDIR32 32bit
Library
directory
[Default: <
prefix>/lib
32]
--mandir=MANDIR Manpage
directory
[Default: <
prefix>/sha
re/man/man1
]
--platform=PLATFORM Target
platform
for cross-
compiling,
e.g. cygwin
or win32
--mixed Build with
32/64 bits
mixed mode
--debug Build
debuggable
binaries
--classic Force
enable
standard
JACK
(jackd)
even if
D-Bus JACK
(jackdbus)
is enabled
too
--dbus Enable
D-Bus JACK
(jackdbus)
--autostart=AUTOSTART
Autostart
method.
Possible
values:
"default",
"classic",
"dbus",
"none"
--profile Build with
engine
profiling
--clients=CLIENTS Maximum
number of
JACK
clients
--ports-per-application=APPLICATION_PORTS
Maximum
number of
ports per
application
--systemd-unit Install
systemd
units.
--doxygen=no|yes Build
doxygen doc
umentation
(disabled
by default)
--alsa=no|yes Enable ALSA
driver
(enabled by
default if
possible)
--firewire=no|yes Enable
FireWire
driver
(FFADO)
(enabled by
default if
possible)
--iio=no|yes Enable IIO
driver
(enabled by
default if
possible)
--portaudio=no|yes Enable
Portaudio
driver
(enabled by
default if
possible)
--winmme=no|yes Enable
WinMME
driver
(enabled by
default if
possible)
--celt=no|yes Build with
CELT
(enabled by
default if
possible)
--opus=no|yes Build Opus
netjack2
(enabled by
default if
possible)
--samplerate=no|yes Build with
libsamplera
te (enabled
by default
if
possible)
--sndfile=no|yes Build with
libsndfile
(enabled by
default if
possible)
--readline=no|yes Build with
readline
(enabled by
default if
possible)
--systemd=no|yes Use systemd
notify
(enabled by
default if
possible)
--db=no|yes Use
Berkeley DB
(metadata)
(enabled by
default if
possible)
--enable-pkg-config-dbus-service-dir
force D-Bus
service
install dir
to be one
returned by
pkg-config
Configuration options:
-o OUT, --out=OUT build dir
for the
project
-t TOP, --top=TOP src dir for
the project
--prefix=PREFIX installatio
n prefix
[default: '
/usr/local/
']
--bindir=BINDIR bindir
--check-cxx-compiler=CHECK_CXX_COMPILER
list of C++
compilers
to try [g++
clang++
icpc]
--check-c-compiler=CHECK_C_COMPILER
list of C
compilers
to try [gcc
clang icc]
Build and installation options:
-p, --progress -p:
progress
bar; -pp:
ide output
--targets=TARGETS task
generators,
e.g. "targe
t1,target2"
Step options:
--files=FILES files to
process, by
regexp,
e.g. "*/mai
n.c,*/test/
main.o"
Installation and uninstallation options:
--destdir=DESTDIR installatio
n root
[default:
'']
-f, --force force file
installatio
n
--distcheck-args=ARGS
arguments
to pass to
distcheck
waf: error: no such option: --cross-compile
builder for '/nix/store/04hfp0x9y02jsvvrsg38r4kzqlybbcq0-libjack2-1.9.14-armv7l-unknown-linux-gnueabihf.drv' failed with exit code 2
Notify maintainers
Metadata
- system:
"x86_64-linux" - host os:
Linux 5.7.12-arch1-1, Arch Linux, noversion - multi-user?:
no - sandbox:
yes - version:
nix-env (Nix) 2.3.3 - channels:
"home-manager, nixpkgs-20.09pre237079.d418434d127" - nixpkgs:
~/.nix-defexpr/channels/nixpkgs
Maintainer information:
pkgsCross.armv7l-hf-multiplatform.libjack2nix-shellReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: cross-compilationBuilding packages on a different platform than they will be used onBuilding packages on a different platform than they will be used on