Skip Menu |

This queue is for tickets about the Term-Size-Perl CPAN distribution.

Report information
The Basics
Id: 99120
Status: new
Priority: 0/
Queue: Term-Size-Perl

People
Owner: Nobody in particular
Requestors: REHSACK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Probe.pm is weird - suggest switch to Config::AutoConf
Hi Adriano, currently I package some modules to run some service scripts on an embedded platform. Newer MooX::Options require Term::Size::Any which leads for Unix based to Term::Size::Perl. However, this leads to: DEBUG: Executing shell function do_compile NOTE: make -j 18 -e MAKEFLAGS= PASTHRU_INC= -O2 -pipe -g -feliminate-unused-debug-types LD=arm-poky-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/homes/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/sysroots/curie /homes/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/sysroots/x86_64-linux/usr/bin/perl-native/perl inc/Probe.pm inc/Probe.pm: writing C probe... inc/Probe.pm: error writing to 'probe.c': Inappropriate ioctl for device ok inc/Probe.pm: compiling C probe... arm-poky-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/homes/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/sysroots/curie -I/homes/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/sysroots/curie/usr/lib/perl/5.14.3/CORE -fPIC -c -O2 -pipe -g -feliminate-unused-debug-types -O2 -o probe.o probe.c ok inc/Probe.pm: linking C probe... arm-poky-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/homes/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/sysroots/curie -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o probe probe.o ok inc/Probe.pm: running C probe... ./probe: 1: ./probe: Syntax error: word unexpected (expecting ")") NO make: *** [Params.pm] Error 1 ERROR: oe_runmake failed WARNING: exit code 1 from a shell command. ERROR: Function failed: do_compile (log file is located at /homes/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/term-size-perl-perl/0.029-r0/temp/log.do_compile.18810) Which is likely caused by unfortunate Probe. For the records, you're not able to run any compiled code in a cross-compiled environment. All you can do is compile and likely link. You should have any fallback for such situations. Please have a look to https://github.com/i-scream/Unix-Statgrab for proper working probes even for cross-compiling. Cheers, Jens