Skip to contentSkip to conversation

Autotools problem

DISCUSSION Gary Thomas 2 participants 3 messages Mar 30, 2011 – Apr 1, 2011

lore
Share & tools
lore
#0 lore raw

I'm trying to build a recipe I imported from OE (tcpdump_4.1.1.bb) This used to build on Poky, but now fails. I fixed the issue with the LIC_CHKSUM_FILES, but now I have a problem with the automatic [re]generation of the config files.

Rebuilding in a fresh tree from today's master (6f4fbfe272f5d85cee95660a9278f3031533aec4), I'm getting this error

| Perl lib version (5.12.2) doesn't match executable version (v5.10.1) at /home/local/p60_poky/tmp/sysroots/i686-linux/usr/lib/perl/5.12.2/Config.pm line 50.
| Compilation failed in require at /home/local/p60_poky/tmp/sysroots/i686-linux/usr/lib/perl/5.12.2/File/Copy.pm line 14.
| BEGIN failed--compilation aborted at /home/local/p60_poky/tmp/sysroots/i686-linux/usr/lib/perl/5.12.2/File/Copy.pm line 14.
| Compilation failed in require at /home/local/p60_poky/tmp/sysroots/i686-linux/usr/share/autoconf/Autom4te/FileUtils.pm line 166.
| BEGIN failed--compilation aborted at /home/local/p60_poky/tmp/sysroots/i686-linux/usr/share/autoconf/Autom4te/FileUtils.pm line 166.
| Compilation failed in require at /home/local/p60_poky/tmp/sysroots/i686-linux/usr/bin/autom4te line 41.
| BEGIN failed--compilation aborted at /home/local/p60_poky/tmp/sysroots/i686-linux/usr/bin/autom4te line 41.

This leads to a cascade of other problems because the configure script is out of date :-(

Any ideas what's going on?

Note: you can look at the recipe at http://www.mlbassoc.com/poky/recipes/tcpdump

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw
Quoted 31 lines

From: Gary Thomas
Sent: Thursday, March 31, 2011 1:28 AM

I'm trying to build a recipe I imported from OE (tcpdump_4.1.1.bb) This used to build on Poky, but now fails. I fixed the issue with the LIC_CHKSUM_FILES, but now I have a problem with the automatic [re]generation of the config files.

Rebuilding in a fresh tree from today's master (6f4fbfe272f5d85cee95660a9278f3031533aec4),
I'm getting this error
| Perl lib version (5.12.2) doesn't match executable version (v5.10.1) at /home/local/p60_poky/tmp/sysroots/i686-linux/usr/lib/perl/5.12.2/Config.pm line 50.
| Compilation failed in require at /home/local/p60_poky/tmp/sysroots/i686-linux/usr/lib/perl/5.12.2/File/Copy.p m line 14.
| BEGIN failed--compilation aborted at /home/local/p60_poky/tmp/sysroots/i686-linux/usr/lib/perl/5.12.2/File/Copy.p m line 14.
| Compilation failed in require at /home/local/p60_poky/tmp/sysroots/i686-linux/usr/share/autoconf/Autom4te/ FileUtils.pm line 166.
| BEGIN failed--compilation aborted at /home/local/p60_poky/tmp/sysroots/i686-linux/usr/share/autoconf/Autom4te/ FileUtils.pm line 166.
| Compilation failed in require at /home/local/p60_poky/tmp/sysroots/i686-linux/usr/bin/autom4te line 41. | BEGIN failed--compilation aborted at /home/local/p60_poky/tmp/sysroots/i686-linux/usr/bin/autom4te line 41.

Quoted 2 lines

This leads to a cascade of other problems because the configure script is out of date :-(

could you post other problems too? Though above does be an issue, it may cause real problem...

Thanks
Kevin

Quoted 5 lines

Any ideas what's going on?

Note: you can look at the recipe at
http://www.mlbassoc.com/poky/recipes/tcpdump

#2 lore raw
Quoted 31 lines · Kevin
Quoted 31 lines

From: Gary Thomas
Sent: Thursday, March 31, 2011 1:28 AM

I'm trying to build a recipe I imported from OE (tcpdump_4.1.1.bb) This used to build on Poky, but now fails. I fixed the issue with the LIC_CHKSUM_FILES, but now I have a problem with the automatic [re]generation of the config files.

Rebuilding in a fresh tree from today's master (6f4fbfe272f5d85cee95660a9278f3031533aec4),
I'm getting this error
| Perl lib version (5.12.2) doesn't match executable version (v5.10.1) at /home/local/p60_poky/tmp/sysroots/i686-linux/usr/lib/perl/5.12.2/Config.pm line 50.
| Compilation failed in require at /home/local/p60_poky/tmp/sysroots/i686-linux/usr/lib/perl/5.12.2/File/Copy.p m line 14.
| BEGIN failed--compilation aborted at /home/local/p60_poky/tmp/sysroots/i686-linux/usr/lib/perl/5.12.2/File/Copy.p m line 14.
| Compilation failed in require at /home/local/p60_poky/tmp/sysroots/i686-linux/usr/share/autoconf/Autom4te/ FileUtils.pm line 166.
| BEGIN failed--compilation aborted at /home/local/p60_poky/tmp/sysroots/i686-linux/usr/share/autoconf/Autom4te/ FileUtils.pm line 166.
| Compilation failed in require at /home/local/p60_poky/tmp/sysroots/i686-linux/usr/bin/autom4te line 41. | BEGIN failed--compilation aborted at /home/local/p60_poky/tmp/sysroots/i686-linux/usr/bin/autom4te line 41.

Quoted 5 lines
Quoted 2 lines

This leads to a cascade of other problems because the configure script is out of date :-(

could you post other problems too? Though above does be an issue, it may cause real problem...

The autotools problem has been filed as bug #941

My other problem with this recipe was actually the fact that configure sanity errors are now treated as fatal (they used to just be warnings). This particular configure script was trying to access some non-existent [Solaris only] libraries with absolute paths. That set off the sanity checker, but was fairly easy to identify and remove.

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------