After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 744653 - GStreamer iOS build failed on bootstrap process at tar configure step
GStreamer iOS build failed on bootstrap process at tar configure step
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: cerbero
git master
Other Mac OS
: Normal critical
: 1.5.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-02-17 11:51 UTC by Shahab
Modified: 2015-02-18 17:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Shahab 2015-02-17 11:51:43 UTC
GStreamer iOS universal build fails on bootstrap process at tar configure step

It has been tried multiple times, with fresh build process (wipe command and manually cleaned $HOME/cerbero folder. 

Installed recipe sequence is as follows: 

1. libiconv 
2. gettext 
3. xz 
4. m4 
5. autoconf 
6. automake 
7. tar 

Error log: 

... 
[(6/23) automake -> post_install ] 
[(7/23) tar -> fetch ] 
-----> Fetching tarball http://ftp.gnu.org/gnu/tar/tar-1.28.tar.bz2 to /Users/shahabuddin/cerbero/sources/local/tar-1.28/tar-1.28.tar.bz2 
Downloading http://ftp.gnu.org/gnu/tar/tar-1.28.tar.bz2
[(7/23) tar -> extract ] 
-----> Extracting tarball to /Users/shahabuddin/cerbero/sources/build-tools/tar-1.28 
Unpacking /Users/shahabuddin/cerbero/sources/local/tar-1.28/tar-1.28.tar.bz2 in /Users/shahabuddin/cerbero/sources/build-tools 
[(7/23) tar -> configure ] 
Can't exec "autopoint": No such file or directory at /Users/shahabuddin/cerbero/build-tools/share/autoconf/Autom4te/FileUtils.pm line 345. 
autoreconf: failed to run autopoint: No such file or directory 
autoreconf: autopoint is needed because this package uses Gettext 
Running command 'autoreconf -f -i' 

Recipe 'tar' failed at the build step 'configure' 
Select an action to proceed: 
[0] Enter the shell 
...
Comment 1 Edward Hervey 2015-02-17 13:13:16 UTC
What's on line 345 of  /Users/shahabuddin/cerbero/build-tools/share/autoconf/Autom4te/FileUtils.pm ?
Comment 2 Shahab 2015-02-17 13:22:13 UTC
(331) =item C<xsystem_hint ($msg, @argv)>
(332)
(333) Same as C<xsystem>, but allows to pass a hint that will be displayed
(334) in case the command failed to run at all.
(335)
(336) =cut
(337)
(338) sub xsystem_hint (@)
(339) {
(340)  my ($hint, @command) = @_;
(341)
(342)  verb "running: @command";
(343)
(344)  $! = 0;
(345)  handle_exec_errors "@command", 0, $hint
(346)    if system @command;
(347) }
Comment 3 Edward Hervey 2015-02-17 15:02:13 UTC
What's the content of ~/cerbero/build-tools/bin/ ? It should contain all the build tools built previously
Comment 4 Shahab 2015-02-17 15:13:40 UTC
screenshot of the bin folder.

http://s9.postimg.org/aydtgohwf/Screen_Shot_2015_02_17_at_9_09_04_PM.png
Comment 5 Edward Hervey 2015-02-18 07:19:51 UTC
Can you paste the exact output of the bootstrap command ? It shouldn't be building gettext at the bootstrap step, but gettext-tools and gettext-m4
Comment 6 Edward Hervey 2015-02-18 08:40:03 UTC
I just pushed this commit that should fix the issue. Can you update and confirm ?
commit 5baf224824a5de725cff95c711cc444d5dcc0dce
Author: Edward Hervey <bilboed@bilboed.com>
Date:   Wed Feb 18 09:35:38 2015 +0100

    recipes/automake: Ensure gettext-{tools|m4} is present
    
    automake doesn't require it per-se, but this way we ensure that once
    automake is installed we are guaranteed that the gettext tools/m4 are
    also present.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=744653
Comment 7 Shahab 2015-02-18 15:48:31 UTC
(In reply to Edward Hervey from comment #5)
> Can you paste the exact output of the bootstrap command ? It shouldn't be
> building gettext at the bootstrap step, but gettext-tools and gettext-m4

~$./cerbero-uninstalled -c config/cross-ios-universal.cbc bootstrap
WARNING: Using default configuration because /Users/shahabuddin/.cerbero/cerbero.cbc is missing
WARNING: No bootstrapper for the distro version ios_8_1
WARNING: No bootstrapper for the distro version osx_yosemite
File /var/folders/l8/dlr1zqsn2mx8dzdj0w0qcsgc0000gn/T/tmpMggJPh already downloaded.
Running command 'chmod +x /var/folders/l8/dlr1zqsn2mx8dzdj0w0qcsgc0000gn/T/tmpMggJPh'
Running command 'sudo /var/folders/l8/dlr1zqsn2mx8dzdj0w0qcsgc0000gn/T/tmpMggJPh XML::Parser'
Password:
WARNING: Using default configuration because /Users/shahabuddin/.cerbero/cerbero.cbc is missing
WARNING: Could not recover status
Building the following recipes: libiconv gettext xz m4 autoconf automake tar libtool pkg-config orc-tool gettext-m4 sed gettext-tools gtk-doc-lite gperf gas-preprocessor libffi zlib glib-tools intltool yasm bison flex
[(1/23) libiconv -> fetch ]
-----> Fetching tarball http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz to /Users/shahabuddin/cerbero/sources/local/libiconv-1.14/libiconv-1.14.tar.gz
Downloading http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz
[(1/23) libiconv -> extract ]
-----> Extracting tarball to /Users/shahabuddin/cerbero/sources/build-tools/libiconv-1.14
Unpacking /Users/shahabuddin/cerbero/sources/local/libiconv-1.14/libiconv-1.14.tar.gz in /Users/shahabuddin/cerbero/sources/build-tools
[(1/23) libiconv -> configure ]
-----> copying /Users/shahabuddin/Documents/Sourcecode/Current/Trace/trace-platform/cerbero/data/autotools/config.guess to /Users/shahabuddin/cerbero/sources/build-tools/libiconv-1.14/build-aux/config.guess
-----> copying /Users/shahabuddin/Documents/Sourcecode/Current/Trace/trace-platform/cerbero/data/autotools/config.guess to /Users/shahabuddin/cerbero/sources/build-tools/libiconv-1.14/libcharset/build-aux/config.guess
-----> copying /Users/shahabuddin/Documents/Sourcecode/Current/Trace/trace-platform/cerbero/data/autotools/config.sub to /Users/shahabuddin/cerbero/sources/build-tools/libiconv-1.14/build-aux/config.sub
-----> copying /Users/shahabuddin/Documents/Sourcecode/Current/Trace/trace-platform/cerbero/data/autotools/config.sub to /Users/shahabuddin/cerbero/sources/build-tools/libiconv-1.14/libcharset/build-aux/config.sub
[(1/23) libiconv -> compile ]
[(1/23) libiconv -> install ]
[(1/23) libiconv -> post_install ]
[(2/23) gettext -> fetch ]
-----> Fetching tarball http://ftp.gnu.org/pub/gnu/gettext/gettext-0.19.4.tar.gz to /Users/shahabuddin/cerbero/sources/local/gettext-0.19.4/gettext-0.19.4.tar.gz
Downloading http://ftp.gnu.org/pub/gnu/gettext/gettext-0.19.4.tar.gz
[(2/23) gettext -> extract ]
-----> Extracting tarball to /Users/shahabuddin/cerbero/sources/build-tools/gettext-0.19.4
Unpacking /Users/shahabuddin/cerbero/sources/local/gettext-0.19.4/gettext-0.19.4.tar.gz in /Users/shahabuddin/cerbero/sources/build-tools
[(2/23) gettext -> configure ]
[(2/23) gettext -> compile ]
[(2/23) gettext -> install ]
[(2/23) gettext -> post_install ]
[(3/23) xz -> fetch ]
-----> Fetching tarball http://tukaani.org/xz/xz-5.2.0.tar.bz2 to /Users/shahabuddin/cerbero/sources/local/xz-5.2.0/xz-5.2.0.tar.bz2
Downloading http://tukaani.org/xz/xz-5.2.0.tar.bz2
[(3/23) xz -> extract ]
-----> Extracting tarball to /Users/shahabuddin/cerbero/sources/build-tools/xz-5.2.0
Unpacking /Users/shahabuddin/cerbero/sources/local/xz-5.2.0/xz-5.2.0.tar.bz2 in /Users/shahabuddin/cerbero/sources/build-tools
[(3/23) xz -> configure ]
-----> copying /Users/shahabuddin/Documents/Sourcecode/Current/Trace/trace-platform/cerbero/data/autotools/config.guess to /Users/shahabuddin/cerbero/sources/build-tools/xz-5.2.0/build-aux/config.guess
-----> copying /Users/shahabuddin/Documents/Sourcecode/Current/Trace/trace-platform/cerbero/data/autotools/config.sub to /Users/shahabuddin/cerbero/sources/build-tools/xz-5.2.0/build-aux/config.sub
[(3/23) xz -> compile ]
[(3/23) xz -> install ]
[(3/23) xz -> post_install ]
[(4/23) m4 -> fetch ]
-----> Fetching tarball http://ftp.gnu.org/gnu/m4/m4-1.4.17.tar.xz to /Users/shahabuddin/cerbero/sources/local/m4-1.4.17/m4-1.4.17.tar.xz
Downloading http://ftp.gnu.org/gnu/m4/m4-1.4.17.tar.xz
[(4/23) m4 -> extract ]
-----> Extracting tarball to /Users/shahabuddin/cerbero/sources/build-tools/m4-1.4.17
Unpacking /Users/shahabuddin/cerbero/sources/local/m4-1.4.17/m4-1.4.17.tar.xz in /Users/shahabuddin/cerbero/sources/build-tools
[(4/23) m4 -> configure ]
-----> copying /Users/shahabuddin/Documents/Sourcecode/Current/Trace/trace-platform/cerbero/data/autotools/config.guess to /Users/shahabuddin/cerbero/sources/build-tools/m4-1.4.17/build-aux/config.guess
-----> copying /Users/shahabuddin/Documents/Sourcecode/Current/Trace/trace-platform/cerbero/data/autotools/config.sub to /Users/shahabuddin/cerbero/sources/build-tools/m4-1.4.17/build-aux/config.sub
[(4/23) m4 -> compile ]
[(4/23) m4 -> install ]
[(4/23) m4 -> post_install ]
[(5/23) autoconf -> fetch ]
-----> Fetching tarball http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.xz to /Users/shahabuddin/cerbero/sources/local/autoconf-2.69/autoconf-2.69.tar.xz
Downloading http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.xz
[(5/23) autoconf -> extract ]
-----> Extracting tarball to /Users/shahabuddin/cerbero/sources/build-tools/autoconf-2.69
Unpacking /Users/shahabuddin/cerbero/sources/local/autoconf-2.69/autoconf-2.69.tar.xz in /Users/shahabuddin/cerbero/sources/build-tools
[(5/23) autoconf -> configure ]
-----> copying /Users/shahabuddin/Documents/Sourcecode/Current/Trace/trace-platform/cerbero/data/autotools/config.guess to /Users/shahabuddin/cerbero/sources/build-tools/autoconf-2.69/build-aux/config.guess
-----> copying /Users/shahabuddin/Documents/Sourcecode/Current/Trace/trace-platform/cerbero/data/autotools/config.sub to /Users/shahabuddin/cerbero/sources/build-tools/autoconf-2.69/build-aux/config.sub
[(5/23) autoconf -> compile ]
[(5/23) autoconf -> install ]
[(5/23) autoconf -> post_install ]
[(6/23) automake -> fetch ]
-----> Fetching tarball http://ftp.gnu.org/gnu/automake/automake-1.15.tar.xz to /Users/shahabuddin/cerbero/sources/local/automake-1.15/automake-1.15.tar.xz
Downloading http://ftp.gnu.org/gnu/automake/automake-1.15.tar.xz
[(6/23) automake -> extract ]
-----> Extracting tarball to /Users/shahabuddin/cerbero/sources/build-tools/automake-1.15
Unpacking /Users/shahabuddin/cerbero/sources/local/automake-1.15/automake-1.15.tar.xz in /Users/shahabuddin/cerbero/sources/build-tools
[(6/23) automake -> configure ]
-----> copying /Users/shahabuddin/Documents/Sourcecode/Current/Trace/trace-platform/cerbero/data/autotools/config.guess to /Users/shahabuddin/cerbero/sources/build-tools/automake-1.15/lib/config.guess
-----> copying /Users/shahabuddin/Documents/Sourcecode/Current/Trace/trace-platform/cerbero/data/autotools/config.sub to /Users/shahabuddin/cerbero/sources/build-tools/automake-1.15/lib/config.sub
[(6/23) automake -> compile ]
[(6/23) automake -> install ]
[(6/23) automake -> post_install ]
[(7/23) tar -> fetch ]
-----> Fetching tarball http://ftp.gnu.org/gnu/tar/tar-1.28.tar.bz2 to /Users/shahabuddin/cerbero/sources/local/tar-1.28/tar-1.28.tar.bz2
Downloading http://ftp.gnu.org/gnu/tar/tar-1.28.tar.bz2
[(7/23) tar -> extract ]
-----> Extracting tarball to /Users/shahabuddin/cerbero/sources/build-tools/tar-1.28
Unpacking /Users/shahabuddin/cerbero/sources/local/tar-1.28/tar-1.28.tar.bz2 in /Users/shahabuddin/cerbero/sources/build-tools
[(7/23) tar -> configure ]
Can't exec "autopoint": No such file or directory at /Users/shahabuddin/cerbero/build-tools/share/autoconf/Autom4te/FileUtils.pm line 345.
autoreconf: failed to run autopoint: No such file or directory
autoreconf: autopoint is needed because this package uses Gettext
Running command 'autoreconf -f -i'

Recipe 'tar' failed at the build step 'configure'
Select an action to proceed:
[0] Enter the shell
[1] Rebuild the recipe from scratch
[2] Rebuild starting from the failed step
[3] Skip recipe
[4] Abort
Comment 8 Shahab 2015-02-18 16:58:27 UTC
(In reply to Edward Hervey from comment #6)
> I just pushed this commit that should fix the issue. Can you update and
> confirm ?
> commit 5baf224824a5de725cff95c711cc444d5dcc0dce
> Author: Edward Hervey <bilboed@bilboed.com>
> Date:   Wed Feb 18 09:35:38 2015 +0100
> 
>     recipes/automake: Ensure gettext-{tools|m4} is present
>     
>     automake doesn't require it per-se, but this way we ensure that once
>     automake is installed we are guaranteed that the gettext tools/m4 are
>     also present.
>     
>     https://bugzilla.gnome.org/show_bug.cgi?id=744653


Yes, the bootstrap process has been completed successfully without any error. 
Thanks for the fix. :-)
Comment 9 Edward Hervey 2015-02-18 17:02:15 UTC
You're welcome :)