[oe] help2man-native: task configure fails with `configure: error: perl module Locale::gettext required`

Marco Cavallini koansoftware at gmail.com
Thu Mar 10 15:24:38 UTC 2011


Paul Menzel ha scritto, Il 10/03/2011 15:40:
> Dear OE folks,
> 
> 
> some recent commit indirectly seems to have broken `help2man-native` and
> task configure fails.
> 
>     checking whether gcc accepts -g... yes
>     checking for gcc option to accept ISO C89... none needed
>     checking for library containing dlsym... -ldl
>     checking for library containing bindtextdomain... none required
>     configure: error: perl module Locale::gettext required
> 
> Adding `liblocale-gettext-perl-native` to `DEPENDS_virtclass-native`
> does not fix the problem but causes a dependency loop.
> 
> I do not understand the dependency for the native package anyway.
> 
>         DEPENDS = "gettext-native perl-native liblocale-gettext-perl-native"
>         DEPENDS_virtclass-native = "perl-native autoconf-native automake-native"
>         RDEPENDS_${PN} = "gettext perl liblocale-gettext-perl"
>         RDEPENDS_${PN}_virtclass-native = ""
> 
> I though that `DEPENDS_virtclass-native` has `DEPENDS` as a subset
> automatically.
> 
> Any ideas?
> 
> 
> Thanks,
> 
> Paul
> 
> 
> ------------------------------------------------------------------------


Same problem here.



$ bitbake meta-toolchain


Build Configuration:
BB_VERSION        = "1.10.2"
METADATA_BRANCH   = "master"
METADATA_REVISION = "40a8506"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "ronetix-pm9263"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2010.7-test-20110310"
TARGET_FPU        = "soft"

WARNING: oestats: exception <class 'urllib2.HTTPError'>, value HTTP
Error 404: Not Found
WARNING: oestats: error starting build, disabling stats
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
...
NOTE: Running task 273 of 1027 (ID: 541,
/home/koan/devel/openembedded/recipes/gcc/gcc-cross-sdk_4.3.3.bb,
do_setscene)
ERROR: TaskFailed event exception, aborting
ERROR: Build of
virtual:native:/home/koan/devel/openembedded/recipes/help2man/help2man_1.38.2.bb
do_configure failed
NOTE: package gcc-cross-sdk-4.3.3-r23.4: task do_setscene: Started
NOTE: package gcc-cross-sdk-4.3.3-r23.4: task do_setscene: Succeeded
ERROR: Task 320
(virtual:native:/home/koan/devel/openembedded/recipes/help2man/help2man_1.38.2.bb,
do_configure) failed with 256
ERROR: Function do_configure failed
NOTE: Task failed: ('function do_configure failed',
'/home/koan/devel/build/angstrom/tmp/work/x86_64-linux/help2man-native-1.38.2-r2/temp/log.do_configure.9893')
ERROR: Logfile of failure stored in:
/home/koan/devel/build/angstrom/tmp/work/x86_64-linux/help2man-native-1.38.2-r2/temp/log.do_configure.9893
Log data follows:
| configure: WARNING: unrecognized options: --enable-largefile,
--enable-ipv6
| checking for perl... perl
| checking for module Locale::gettext... no
| checking for msgfmt... /usr/bin/msgfmt
| checking for x86_64-linux-gcc... gcc
| checking whether the C compiler works... yes
| checking for C compiler default output file name... a.out
| checking for suffix of executables...
| checking whether we are cross compiling... no
| checking for suffix of object files... o
| checking whether we are using the GNU C compiler... yes
| checking whether gcc accepts -g... yes
| checking for gcc option to accept ISO C89... none needed
| checking for library containing dlsym... -ldl
| checking for library containing bindtextdomain... none required
| configure: error: perl module Locale::gettext required
| ERROR: Function do_configure failed
NOTE: package help2man-native-1.38.2-r2: task do_configure: Failed
ERROR: TaskFailed event exception, aborting
NOTE: Running task 274 of 1027 (ID: 539,
/home/koan/devel/openembedded/recipes/gcc/gcc-cross-sdk_4.3.3.bb, do_fetch)
ERROR: Build of
virtual:native:/home/koan/devel/openembedded/recipes/help2man/help2man_1.38.2.bb
do_configure failed
ERROR: Task 320
(virtual:native:/home/koan/devel/openembedded/recipes/help2man/help2man_1.38.2.bb,
do_configure) failed with 256
NOTE: package gcc-cross-sdk-4.3.3-r23.4: task do_fetch: Started
Waiting for 1 active tasks to finish:
1: gcc-cross-sdk-4.3.3-r23.4 do_fetch (pid 10169)
ERROR:
'virtual:native:/home/koan/devel/openembedded/recipes/help2man/help2man_1.38.2.bb'
failed
NOTE: package gcc-cross-sdk-4.3.3-r23.4: task do_fetch: Succeeded
ERROR:
'virtual:native:/home/koan/devel/openembedded/recipes/help2man/help2man_1.38.2.bb'
failed
ERROR:
'virtual:native:/home/koan/devel/openembedded/recipes/help2man/help2man_1.38.2.bb'
failed


--
Marco




More information about the Openembedded-devel mailing list