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 792726 - Cerbero bootstrap is failing on [(11/15)] orc-tool -> fetch
Cerbero bootstrap is failing on [(11/15)] orc-tool -> fetch
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: cerbero
git master
Other Windows
: Normal critical
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-01-20 13:59 UTC by David
Modified: 2018-01-22 21:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David 2018-01-20 13:59:52 UTC
When running cerbero-uninstalled bootstrap the following git error occurs


[(10/15) pkg-config -> gen_library_file ]
[(11/15) orc-tool -> fetch ]
Running command 'mkdir -p C:/MinGW/msys/1.0/home/bcis/cerbero/build/sources/local/orc-tool'
Running command 'git init'
Initialized empty Git repository in C:/MinGW/msys/1.0/home/bcis/cerbero/build/sources/local/orc-tool/.git/
Running command 'git config user.email'
Running command 'git config user.email "cerbero@gstreamer.freedesktop.org"'
Running command 'git config user.name'
Running command 'git config user.name "Cerbero Build System"'
Running command 'git remote add origin git://anongit.freedesktop.org/gstreamer/orc'
Running command 'git fetch --all'
Fetching origin
From git://anongit.freedesktop.org/gstreamer/orc
 * [new branch]      0.5        -> origin/0.5
 * [new branch]      master     -> origin/master
 * [new tag]         0.4.23     -> 0.4.23
 * [new tag]         merge-base -> merge-base
 * [new tag]         orc-0.4.0  -> orc-0.4.0
 * [new tag]         orc-0.4.10 -> orc-0.4.10
 * [new tag]         orc-0.4.11 -> orc-0.4.11
 * [new tag]         orc-0.4.12 -> orc-0.4.12
 * [new tag]         orc-0.4.13 -> orc-0.4.13
 * [new tag]         orc-0.4.14 -> orc-0.4.14
 * [new tag]         orc-0.4.15 -> orc-0.4.15
 * [new tag]         orc-0.4.16 -> orc-0.4.16
 * [new tag]         orc-0.4.17 -> orc-0.4.17
 * [new tag]         orc-0.4.18 -> orc-0.4.18
 * [new tag]         orc-0.4.19 -> orc-0.4.19
 * [new tag]         orc-0.4.2  -> orc-0.4.2
 * [new tag]         orc-0.4.20 -> orc-0.4.20
 * [new tag]         orc-0.4.21 -> orc-0.4.21
 * [new tag]         orc-0.4.22 -> orc-0.4.22
 * [new tag]         orc-0.4.23 -> orc-0.4.23
 * [new tag]         orc-0.4.24 -> orc-0.4.24
 * [new tag]         orc-0.4.25 -> orc-0.4.25
 * [new tag]         orc-0.4.26 -> orc-0.4.26
 * [new tag]         orc-0.4.27 -> orc-0.4.27
 * [new tag]         orc-0.4.28 -> orc-0.4.28
 * [new tag]         orc-0.4.3  -> orc-0.4.3
 * [new tag]         orc-0.4.4  -> orc-0.4.4
 * [new tag]         orc-0.4.5  -> orc-0.4.5
 * [new tag]         orc-0.4.6  -> orc-0.4.6
 * [new tag]         orc-0.4.7  -> orc-0.4.7
 * [new tag]         orc-0.4.8  -> orc-0.4.8
 * [new tag]         orc-0.4.9  -> orc-0.4.9
Running command 'git reset --hard origin/master'
error: unable to stat just-written file .gitignore: No such file or directory
error: unable to stat just-written file COPYING: No such file or directory
error: unable to stat just-written file Makefile.am: No such file or directory
error: unable to stat just-written file README: No such file or directory
error: unable to stat just-written file RELEASE: No such file or directory
error: unable to stat just-written file ROADMAP: No such file or directory
error: unable to stat just-written file TODO: No such file or directory
error: unable to stat just-written file autogen.sh: No such file or directory
error: unable to stat just-written file configure.ac: No such file or directory
warning: unable to unlink 'doc': Directory not empty
fatal: cannot create directory at 'doc': Directory not empty

Recipe 'orc-tool' failed at the build step 'fetch'
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 1 Nicolas Dufresne (ndufresne) 2018-01-20 14:26:27 UTC
Did you run out of disk space ? Something got corrupted, but it's not the upstream repo, that I just tested. Assuming this is local corruption, you should just wipe everything.

  ./cerbero-uninstalled wipe --force --build-tools

I doubt we can help you more on this.
Comment 2 David 2018-01-20 14:34:20 UTC
Thank you for your response. I have more than enough disk space. I will try the wipe command and reboot my machine. 

Thank you for your quick response.
Comment 3 David 2018-01-20 15:41:44 UTC
If I may, I understand this is a problem on my side, but my knowledge and experience is limited. If there are other suggestions, ideas or logs to review, that I will help solve this problem, It would be very much appreciated to get direction. 

After doing the wipe command and rebooting, I am still getting error at same step.

[(11/15) orc-tool -> fetch ]
Running command 'git remote add origin git://anongit.freedesktop.org/gstreamer/orc'
fatal: remote origin already exists.
Running command 'git remote set-url origin git://anongit.freedesktop.org/gstreamer/orc'
Running command 'git fetch --all'
Fetching origin
Running command 'git reset --hard origin/master'
error: unable to stat just-written file examples/example1.c: No such file or directory
error: unable to stat just-written file examples/example1orc.orc: No such file or directory
error: unable to stat just-written file examples/example2.c: No such file or directory
error: unable to stat just-written file examples/example2orc.orc: No such file or directory
error: unable to stat just-written file examples/example3.c: No such file or directory
error: unable to stat just-written file examples/example3orc.orc: No such file or directory
error: unable to stat just-written file examples/meson.build: No such file or directory
error: unable to stat just-written file examples/mt19937ar.c: No such file or directory
error: unable to stat just-written file examples/mt19937arorc.orc: No such file or directory
error: unable to stat just-written file examples/volscale.c: No such file or directory
error: unable to stat just-written file gtk-doc.make: No such file or directory
warning: unable to unlink 'm4': Directory not empty
fatal: cannot create directory at 'm4': Directory not empty

Recipe 'orc-tool' failed at the build step 'fetch'
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
2
[(11/15) orc-tool -> fetch ]
Running command 'git remote add origin git://anongit.freedesktop.org/gstreamer/orc'
fatal: remote origin already exists.
Running command 'git remote set-url origin git://anongit.freedesktop.org/gstreamer/orc'
Running command 'git fetch --all'
Fetching origin
Running command 'git reset --hard origin/master'
error: unable to stat just-written file m4/as-compiler-flag.m4: No such file or directory
error: unable to stat just-written file m4/as-host-defines.m4: No such file or directory
error: unable to stat just-written file m4/as-nano.m4: No such file or directory
error: unable to stat just-written file m4/ax_create_stdint_h.m4: No such file or directory
error: unable to stat just-written file m4/gtk-doc.m4: No such file or directory
error: unable to stat just-written file m4/pkg.m4: No such file or directory
error: unable to stat just-written file meson.build: No such file or directory
error: unable to stat just-written file meson_options.txt: No such file or directory
warning: unable to unlink 'orc-test': Directory not empty
fatal: cannot create directory at 'orc-test': Directory not empty

***** Error running 'bootstrap' command:
Recipe 'orc-tool' failed at the build step 'fetch'


I am running on windows 7 64 bit. 
I used https://gstreamer.freedesktop.org/documentation/installing/building-from-source-using-cerbero.html link as template to set up machine and installed required programs
use 'git clone git://anongit.freedesktop.org/gstreamer/cerbero' command to get cerbero
then used the ReadMe file down loaded with cerbero to ensure I'm following the latest proceedure.
Comment 4 Nicolas Dufresne (ndufresne) 2018-01-20 15:53:16 UTC
I have never seen git failing this way on windows before, so I have no common knowledge to share I'm sorry. You should maybe test your git installation and get in thouch with the git community ?
Comment 5 David 2018-01-20 21:01:49 UTC
The only information I could find has to do with the path being too long.
I reviewed window's path and it was over 255 characters. I made adjustments making it shorter, but this still generated same error.

If you will, please verify I have what I need in my path. This machine is dedicated to compiling gstreamer. It is Windows 7 64 bit. Visual Studio 10 installed. 

C:\Python27;C:\Python27\Scripts;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0;C:\CMake\bin;%TOOL_KIT%;c:\MinGW\bin;c:\MinGW\msys\1.0\bin;C:\Git\cmd;C:\Git\mingw64\bin;C:\Git\usr\bin

The TOOL_KIT = C:\Program Files\Microsoft Windows Performance Toolkit\

I uninstalled git and reinstalled it. I am using version git for windows verion 2.16.0(2). 

Also, .profile has following line => 
export PATH="$PATH:/c/Python27:/c/Git/bin:/c/MinGW/bin/"
Comment 6 David 2018-01-22 21:53:04 UTC
There was an apparent installation order or installation error I missed. 
I Started over with a clean Win 7 64bit image and then installed all dependent. And this round bootstrapping finished without error.

Thank you.