All of lore.kernel.org
 help / color / mirror / Atom feed
* help2man-native: task configure fails with `configure: error: perl module Locale::gettext required`
@ 2011-03-10 14:40 Paul Menzel
  2011-03-10 15:04 ` Tom Rini
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Paul Menzel @ 2011-03-10 14:40 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 995 bytes --]

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

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: help2man-native: task configure fails with `configure: error: perl module Locale::gettext required`
  2011-03-10 14:40 help2man-native: task configure fails with `configure: error: perl module Locale::gettext required` Paul Menzel
@ 2011-03-10 15:04 ` Tom Rini
  2011-03-10 15:40   ` Marco Cavallini
  2011-03-10 15:24 ` Marco Cavallini
  2011-03-10 15:25 ` Peter Gsellmann
  2 siblings, 1 reply; 9+ messages in thread
From: Tom Rini @ 2011-03-10 15:04 UTC (permalink / raw)
  To: openembedded-devel

On 03/10/2011 07:40 AM, Paul Menzel wrote:
> 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?

Is this a uclibc target perhaps?

-- 
Tom Rini
Mentor Graphics Corporation



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: help2man-native: task configure fails with `configure: error: perl module Locale::gettext required`
  2011-03-10 14:40 help2man-native: task configure fails with `configure: error: perl module Locale::gettext required` Paul Menzel
  2011-03-10 15:04 ` Tom Rini
@ 2011-03-10 15:24 ` Marco Cavallini
  2011-03-10 15:25 ` Peter Gsellmann
  2 siblings, 0 replies; 9+ messages in thread
From: Marco Cavallini @ 2011-03-10 15:24 UTC (permalink / raw)
  To: openembedded-devel

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



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: help2man-native: task configure fails with `configure: error: perl module Locale::gettext required`
  2011-03-10 14:40 help2man-native: task configure fails with `configure: error: perl module Locale::gettext required` Paul Menzel
  2011-03-10 15:04 ` Tom Rini
  2011-03-10 15:24 ` Marco Cavallini
@ 2011-03-10 15:25 ` Peter Gsellmann
  2 siblings, 0 replies; 9+ messages in thread
From: Peter Gsellmann @ 2011-03-10 15:25 UTC (permalink / raw)
  To: openembedded-devel

Am Donnerstag, 10. März 2011, 15:40:51 schrieb Paul Menzel:
> 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?
> 
After removing perl-native from ASSUME_PROVIDED and adding help2man-native it worked for me.
But this is only work-around, no solution.

Peter



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: help2man-native: task configure fails with `configure: error: perl module Locale::gettext required`
  2011-03-10 15:04 ` Tom Rini
@ 2011-03-10 15:40   ` Marco Cavallini
  2011-03-10 16:07     ` Paul Menzel
                       ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Marco Cavallini @ 2011-03-10 15:40 UTC (permalink / raw)
  To: openembedded-devel

Tom Rini ha scritto, Il 10/03/2011 16:04:

> 
> Is this a uclibc target perhaps?
> 

Hi Tom,

Not mine, is this

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"



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: help2man-native: task configure fails with `configure: error: perl module Locale::gettext required`
  2011-03-10 15:40   ` Marco Cavallini
@ 2011-03-10 16:07     ` Paul Menzel
  2011-03-10 16:22     ` Peter Gsellmann
  2011-03-10 16:39     ` Tom Rini
  2 siblings, 0 replies; 9+ messages in thread
From: Paul Menzel @ 2011-03-10 16:07 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 623 bytes --]

Am Donnerstag, den 10.03.2011, 16:40 +0100 schrieb Marco Cavallini:
> Tom Rini ha scritto, Il 10/03/2011 16:04:

> > Is this a uclibc target perhaps?

> Not mine, is this
> 
> 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"

No, I get this error using `angstrom-2008.1`, `minimal` and
`minimal-uclibc`.


Thanks,

Paul

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: help2man-native: task configure fails with `configure: error: perl module Locale::gettext required`
  2011-03-10 15:40   ` Marco Cavallini
  2011-03-10 16:07     ` Paul Menzel
@ 2011-03-10 16:22     ` Peter Gsellmann
  2011-03-10 17:40       ` Tom Rini
  2011-03-10 16:39     ` Tom Rini
  2 siblings, 1 reply; 9+ messages in thread
From: Peter Gsellmann @ 2011-03-10 16:22 UTC (permalink / raw)
  To: openembedded-devel

Am Donnerstag, 10. März 2011, 16:40:36 schrieb Marco Cavallini:
> Tom Rini ha scritto, Il 10/03/2011 16:04:
> 
> > 
> > Is this a uclibc target perhaps?
> > 
> 
> Hi Tom,
> 
> Not mine, is this
> 
> 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"
> 

here also glibc-2.9

Found this: reverting patch bccf626b1428d7087d261bf4ad91744b5b5d5418 helped.

'inherit gettext' is not a full replacement for DEPENDS = "gettext-native"

Same problem and solution for packages e2fsprogs, classpath, util-linux-ng


Peter



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: help2man-native: task configure fails with `configure: error: perl module Locale::gettext required`
  2011-03-10 15:40   ` Marco Cavallini
  2011-03-10 16:07     ` Paul Menzel
  2011-03-10 16:22     ` Peter Gsellmann
@ 2011-03-10 16:39     ` Tom Rini
  2 siblings, 0 replies; 9+ messages in thread
From: Tom Rini @ 2011-03-10 16:39 UTC (permalink / raw)
  To: openembedded-devel

On 03/10/2011 08:40 AM, Marco Cavallini wrote:
> Tom Rini ha scritto, Il 10/03/2011 16:04:
>
>>
>> Is this a uclibc target perhaps?
>>
>
> Hi Tom,
>
> Not mine, is this
>
> 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"

Blarg.  I guess this will finally teach me my lesson.  Reverted.

-- 
Tom Rini
Mentor Graphics Corporation



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: help2man-native: task configure fails with `configure: error: perl module Locale::gettext required`
  2011-03-10 16:22     ` Peter Gsellmann
@ 2011-03-10 17:40       ` Tom Rini
  0 siblings, 0 replies; 9+ messages in thread
From: Tom Rini @ 2011-03-10 17:40 UTC (permalink / raw)
  To: openembedded-devel

On 03/10/2011 09:22 AM, Peter Gsellmann wrote:
> Am Donnerstag, 10. März 2011, 16:40:36 schrieb Marco Cavallini:
>> Tom Rini ha scritto, Il 10/03/2011 16:04:
>>
>>>
>>> Is this a uclibc target perhaps?
>>>
>>
>> Hi Tom,
>>
>> Not mine, is this
>>
>> 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"
>>
>
> here also glibc-2.9
>
> Found this: reverting patch bccf626b1428d7087d261bf4ad91744b5b5d5418 helped.
>
> 'inherit gettext' is not a full replacement for DEPENDS = "gettext-native"
>
> Same problem and solution for packages e2fsprogs, classpath, util-linux-ng

OK, I've dug a bit more (sorry for all the breakage) and e2fsprogs / 
classpath should be fine already, but not util-linux-ng (due to 
modifying DEPENDS_virtclass-native).  I've posted a patch I think will 
fix this as it's a real problem and gettext.bbclass _should_ be a 
replacement for DEPENDS = "gettext-native".

-- 
Tom Rini
Mentor Graphics Corporation



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-03-10 17:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-10 14:40 help2man-native: task configure fails with `configure: error: perl module Locale::gettext required` Paul Menzel
2011-03-10 15:04 ` Tom Rini
2011-03-10 15:40   ` Marco Cavallini
2011-03-10 16:07     ` Paul Menzel
2011-03-10 16:22     ` Peter Gsellmann
2011-03-10 17:40       ` Tom Rini
2011-03-10 16:39     ` Tom Rini
2011-03-10 15:24 ` Marco Cavallini
2011-03-10 15:25 ` Peter Gsellmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.