Wind River Support Network

HomeDefectsLIN6-626
Not to be fixed

LIN6-626 : buildhistory-diff fails on ubuntu 12.04 hosts becuase version of GitPython is too old

Created: Oct 24, 2013    Updated: Apr 19, 2018
Resolved Date: Apr 17, 2018
Found In Version: 6.0
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Build & Config

Description

Problem Description
======================
buildhistory-diff requires GitPython 0.3.1 or later, but the latest version is 0.1.6-1 in the offical package feed of ubuntu 12.04.

Expected Behavior
======================
Run buildhistory-diff tool on ubuntu 12.04 without error.

Observed Behavior
======================
[bitbake_build]$ buildhistory-diff -p /buildarea1/build/10201836-buildhist_local_prserver_LX22/combo1-qemux86-standard-glibc-std/bitbake_build/buildhistory HEAD^
Version of GitPython is too old, please install GitPython (python-git) 0.3.1 or later in order to use this script

Misc Info 
======================
The Ubuntu 12.04 has been updated to the latest version:
# cat /etc/issue
Ubuntu 12.04.3 LTS \n \l

Workaround

Install GitPython 0.3.1 or later on Ubuntu 12.04 host using pip:



# aptitude install python-pip

[...]

# pip install GitPython

Steps to Reproduce

step 1; Logon ubuntu 12.04 host
step 2; /buildarea1/product/WRL60_LX22/wrlinux-6/wrlinux/configure --enable-board=qemux86 --enable-kernel=standard --enable-rootfs=glibc-std --enable-buildhist=yes --enable-prserver=local --enable-parallel-pkgbuilds=5 --enable-jobs=5
step 3; make fs
step 4; make bbs
step 5; buildhistory-diff -p buildhistory HEAD^
Live chat
Online