30d99041ce
cpanminus is currently responsible for about half of the autobuilder failures, due to the missing dependency on host-qemu. However, even with the host-qemu proposed by Arnout, cpanminus will still not work properly: it will try to execute on the build machine executables built for the target. While qemu is here to emulate the instruction set, there is still the unsolved problem of kernel headers version mismatch between the target and the build environments. So the whole approach that consists in using host-qemu for building simply cannot work properly, and until it is solved, the package should be marked as broken. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
41 lines
1.0 KiB
Plaintext
41 lines
1.0 KiB
Plaintext
config BR2_PACKAGE_CPANMINUS
|
|
bool "cpanminus"
|
|
# Requires host-qemu, which cannot work properly due to kernel
|
|
# headers mismatch between the build environment and the
|
|
# target.
|
|
depends on BR2_BROKEN
|
|
help
|
|
cpanminus is a script to get, unpack, build and install Perl modules
|
|
from CPAN.
|
|
|
|
Why? It's dependency free, requires zero configuration, and stands
|
|
alone. When running, it requires only 10MB of RAM.
|
|
|
|
http://github.com/miyagawa/cpanminus
|
|
|
|
if BR2_PACKAGE_CPANMINUS
|
|
|
|
config BR2_PACKAGE_CPANMINUS_MIRROR
|
|
string "mirror"
|
|
help
|
|
Specifies the base URL for the CPAN mirror to use,
|
|
such as http://cpan.cpantesters.org/.
|
|
|
|
config BR2_PACKAGE_CPANMINUS_MODULES
|
|
string "Perl modules from CPAN"
|
|
default "Curses::UI"
|
|
help
|
|
List of space-separated Perl modules to install from CPAN.
|
|
|
|
Examples: Try::Tiny Dancer YAML Moo
|
|
|
|
Install the listed modules and their dependencies.
|
|
|
|
config BR2_PACKAGE_CPANMINUS_NATIVE_DEPENDENCIES
|
|
string "native dependencies"
|
|
default "ncurses"
|
|
help
|
|
Some XS modules require native libraries.
|
|
|
|
endif
|