Release 1.7.90 bootstrap fails on Ubuntu 12.04 for 'ARCH' platform

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Release 1.7.90 bootstrap fails on Ubuntu 12.04 for 'ARCH' platform

Chikkamath
Hello Everyone,
I'm finding trouble in building 1.7.90 release. Basically issue found with cerbero -c config/cross-android-armv7.cbc bootstrap. Bootstrap fails for registering for ARCH platform.Please find below system log for the same. For earlier builds (1.4.0) I didn't found register_bootstrapper for 'ARCH' platform.

ice@ice-VBox:~/cerbero$ cerbero -c config/cross-android-armv7.cbc bootstrap
Traceback (most recent call last):
  File "/home/ice/cerbero/cerbero-uninstalled", line 9, in <module>
    main()
  File "/home/ice/cerbero/cerbero/main.py", line 130, in main
    Main(sys.argv[1:])
  File "/home/ice/cerbero/cerbero/main.py", line 52, in __init__
    self.load_commands()
  File "/home/ice/cerbero/cerbero/main.py", line 92, in load_commands
    commands.load_commands(subparsers)
  File "/home/ice/cerbero/cerbero/commands/__init__.py", line 66, in load_commands
    __import__('cerbero.commands.%s' % name)
  File "/home/ice/cerbero/cerbero/commands/bootstrap.py", line 22, in <module>
    from cerbero.bootstrap.bootstrapper import Bootstrapper
  File "/home/ice/cerbero/cerbero/bootstrap/bootstrapper.py", line 75, in <module>
    linux.register_all()
  File "/home/ice/cerbero/cerbero/bootstrap/linux.py", line 155, in register_all
    register_bootstrapper(Distro.ARCH, ArchBootstrapper, DistroVersion.ARCH_ROLLING)
AttributeError: class Distro has no attribute 'ARCH'

I'm building gstreamer 1.7.90 on Ubuntu 12.04 LTS however issue reproduced on Ubuntu 14.04 LTS also and I followed the below steps to build 1.7.90

Step 1: git clone http://anongit.freedesktop.org/git/gstreamer/cerbero.git
Step 2: git checkout 85ecdfbfc8968ae417b798804239c22e50be38df (This commit points to gstreamer 1.7.90 release)
Step 3: echo "alias cerbero='~/cerbero/cerbero-uninstalled'" >> ~/.bashrc
Step 4: source ~/.bashrc
Step 5: cerbero -c config/cross-android-armv7.cbc bootstrap

Thanks,
-Umashankar
Reply | Threaded
Open this post in threaded view
|

Re: Release 1.7.90 bootstrap fails on Ubuntu 12.04 for 'ARCH' platform

Sebastian Dröge-3
On Mo, 2016-03-14 at 19:38 -0700, Chikkamath wrote:

> Hello Everyone,
> I'm finding trouble in building 1.7.90 release. Basically issue found with
> cerbero -c config/cross-android-armv7.cbc bootstrap. Bootstrap fails for
> registering for ARCH platform.Please find below system log for the same. For
> earlier builds (1.4.0) I didn't found register_bootstrapper for 'ARCH'
> platform. 
>
> [...]
>   File "/home/ice/cerbero/cerbero/bootstrap/linux.py", line 155, in
> register_all
>     register_bootstrapper(Distro.ARCH, ArchBootstrapper,
> DistroVersion.ARCH_ROLLING)
> AttributeError: class Distro has no attribute 'ARCH'
Does cerbero/enums.py contain the ARCH value in the Distro enum for
you? It should and does here.

Check if you have any changes in your cerbero GIT repository compared
to the fd.o repository

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (968 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Release 1.7.90 bootstrap fails on Ubuntu 12.04 for 'ARCH' platform

Chikkamath
Hi Sebastian,
Thanks for inputs however I'm facing another issue with bootstrap (pls find below system log) but it's related our network issue and I'll fix it.
Thanks,
-Umashankar

Initialized empty Git repository in /home/ice/cerbero/sources/local/orc-tool/.git/
Fetching origin
fatal: unable to connect to anongit.freedesktop.org:
anongit.freedesktop.org[0: 131.252.210.161]: errno=Connection timed out
anongit.freedesktop.org[1: 2610:10:20:722:a800:ff:fe24:61cf]: errno=Network is unreachable

error: Could not fetch origin
fatal: ambiguous argument 'origin/master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
Running command 'mkdir -p /home/ice/cerbero/sources/local/orc-tool'
Running command 'git init'
Running command 'git remote add origin git://anongit.freedesktop.org/gstreamer/orc'
Running command 'git fetch --all'
Running command 'git reset --hard origin/master'

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
[(8/10) orc-tool -> fetch ]
fatal: remote origin already exists.
Fetching origin
fatal: unable to connect to anongit.freedesktop.org:
anongit.freedesktop.org[0: 131.252.210.161]: errno=Connection timed out
anongit.freedesktop.org[1: 2610:10:20:722:a800:ff:fe24:61cf]: errno=Network is unreachable

error: Could not fetch origin
fatal: ambiguous argument 'origin/master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
Running command 'git remote add origin git://anongit.freedesktop.org/gstreamer/orc'
Running command 'git remote set-url origin git://anongit.freedesktop.org/gstreamer/orc'
Running command 'git fetch --all'
Running command 'git reset --hard origin/master'

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