MM 7508 fails to build

Help with using MiniMyth's build system

Moderator: Pablo

Post Reply
pleeke
Contributor
Posts: 203
Joined: Thu Jun 30, 2005 10:25 pm

MM 7508 fails to build

Post by pleeke » Thu Nov 18, 2010 3:40 pm

Pablo,

I'm trying to build recent MM (rev 7508) and am getting this error;

Code: Select all

 ==> Building devel/autoconf-2.65 as a dependency
make[12]: Entering directory `/home/pleeke/svnroot/minimyth/gar-minimyth/script/devel/autoconf-2.65'
[===== NOW BUILDING:	autoconf-2.65	=====]
install -d cookies/build.d
	[fetch] complete for autoconf.
 ==> Running checksum on autoconf-2.65.tar.bz2
a6de1cc6434cd64038b0a0ae4e252b33  download/autoconf-2.65.tar.bz2
file autoconf-2.65.tar.bz2 passes checksum test!
 ==> Running checksum on autoconf-2.65-dash.patch
0f0cd14cc7eb8f6aa87b74fb2159276b  download/autoconf-2.65-dash.patch
file autoconf-2.65-dash.patch passes checksum test!
 ==> Running checksum on autoconf-2.65-bash.patch.gar
9783ba0b9b0d7a7c582062925c899c4c  download/autoconf-2.65-bash.patch.gar
file autoconf-2.65-bash.patch.gar passes checksum test!
	[checksum] complete for autoconf.
install -d work/build.d
 ==> Extracting download/autoconf-2.65.tar.bz2
	[extract] complete for autoconf.
 ==> Applying patch download/autoconf-2.65-dash.patch
patching file m4/m4.m4
 ==> Applying patch download/autoconf-2.65-bash.patch.gar
patching file lib/m4sugar/m4sh.m4
	[patch] complete for autoconf.
make[13]: Entering directory `/home/pleeke/svnroot/minimyth/gar-minimyth/script/devel/autoconf-2.65'
make[13]: `../../perl/perl/cookies/build.d/install' is up to date.
make[13]: `../../utils/bash/cookies/build.d/install' is up to date.
make[13]: `../../devel/build-system-bins/cookies/build.d/install' is up to date.
make[13]: Leaving directory `/home/pleeke/svnroot/minimyth/gar-minimyth/script/devel/autoconf-2.65'
 ==> Running configure in work/build.d/autoconf-2.65
checking for a BSD-compatible install... //home/pleeke/svnroot/minimyth/gar-minimyth/images/build/usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... //home/pleeke/svnroot/minimyth/gar-minimyth/images/build/usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether /bin/sh -n is known to work... no
checking for characters that cannot appear in file names... none
checking whether directories can have trailing spaces... yes
checking for expr... //home/pleeke/svnroot/minimyth/gar-minimyth/images/build/usr/bin/expr
checking for GNU M4 that supports accurate traces... configure: error: no acceptable m4 could be found in $PATH.
GNU M4 1.4.6 or later is required; 1.4.13 is recommended
make[12]: *** [configure-work/build.d/autoconf-2.65/configure] Error 1
make[12]: Leaving directory `/home/pleeke/svnroot/minimyth/gar-minimyth/script/devel/autoconf-2.65'
make[11]: *** [../../devel/autoconf-2.65/cookies/build.d/install] Error 2
make[11]: Leaving directory `/home/pleeke/svnroot/minimyth/gar-minimyth/script/python/python'
make[10]: *** [imgdep-build] Error 2
make[10]: Leaving directory `/home/pleeke/svnroot/minimyth/gar-minimyth/script/python/python'
make[9]: *** [../../python/python/cookies/build.d/install] Error 2
make[9]: Leaving directory `/home/pleeke/svnroot/minimyth/gar-minimyth/script/lib/libxml2'
make[8]: *** [imgdep-build] Error 2
make[8]: Leaving directory `/home/pleeke/svnroot/minimyth/gar-minimyth/script/lib/libxml2'
make[7]: *** [../../lib/libxml2/cookies/build.d/install] Error 2
make[7]: Leaving directory `/home/pleeke/svnroot/minimyth/gar-minimyth/script/devel/gettext'
make[6]: *** [imgdep-build] Error 2
make[6]: Leaving directory `/home/pleeke/svnroot/minimyth/gar-minimyth/script/devel/gettext'
make[5]: *** [../../devel/gettext/cookies/build.d/install] Error 2
make[5]: Leaving directory `/home/pleeke/svnroot/minimyth/gar-minimyth/script/lang/c'
make[4]: *** [imgdep-build] Error 2
make[4]: Leaving directory `/home/pleeke/svnroot/minimyth/gar-minimyth/script/lang/c'
make[3]: *** [../../lang/c/cookies/build.d/install] Error 2
make[3]: Leaving directory `/home/pleeke/svnroot/minimyth/gar-minimyth/script/utils/coreutils'
make[2]: *** [imgdep-build] Error 2
make[2]: Leaving directory `/home/pleeke/svnroot/minimyth/gar-minimyth/script/utils/coreutils'
make[1]: *** [../../utils/coreutils/cookies/build.d/install] Error 2
make[1]: Leaving directory `/home/pleeke/svnroot/minimyth/gar-minimyth/script/meta/minimyth'
make: *** [imgdep-build] Error 2
pleeke@f8-mythtv:~/svnroot/minimyth/gar-minimyth/script/meta/minimyth$ 
This is the same/ similar error I was getting here viewtopic.php?f=14&t=2721 but I can't really see what has changed. This is on a Ubuntu 10.04 64 bit host building a 64 bit MM version.

The host server has m4 installed (if its actually needed on the host server);

Code: Select all

pleeke@f8-mythtv:~$ sudo dpkg -l | grep m4
ii  m4                                    1.4.13-3                                        a macro processing language
pleeke@f8-mythtv:~$ which m4
/usr/bin/m4
Any ideas?

Thanks
Peter

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: MM 7508 fails to build

Post by Pablo » Thu Nov 18, 2010 7:19 pm

What changed is that autoconf-2.65 is being built earlier than before, resulting it being built before all the other autotools rather than after. As a result, no longer runs autoreconf, which must be run for the dash patch to take effect. I have updated the dash patch so that autoreconf does not need to be run for it to take effect. I have committed this fix in 7514.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

pleeke
Contributor
Posts: 203
Joined: Thu Jun 30, 2005 10:25 pm

Re: MM 7508 fails to build

Post by pleeke » Sun Nov 21, 2010 9:11 am

Thanks Pablo, that works fine now. Excellent as always!

Post Reply