Advertisement
Guest User

Mario

a guest
Aug 18th, 2015
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 9.80 KB | None | 0 0
  1. $ ./deb/build-dsc.sh fixes/0.27 /tmp
  2. Requested to build fixes/0.27 but running on master.
  3. Repeating checkout process.
  4. Branch fixes/0.27 set up to track remote branch fixes/0.27 from origin.
  5. Switched to a new branch 'fixes/0.27'
  6. Building for fixes, v0.27 in /tmp
  7. fatal: Not a git repository (or any of the parent directories): .git
  8. #checkout mythtv/mythplugins
  9. if [ -d .git ]; then \
  10.                 git fetch ;\
  11.                 git checkout fixes/0.27 || git checkout master;\
  12.                 git pull --rebase; \
  13.         else \
  14.                 git clone git://github.com/MythTV/mythtv.git tmp ;\
  15.                 mv tmp/.git* tmp/* . ;\
  16.                 rm -rf tmp ;\
  17.                 git checkout fixes/0.27 || git checkout master;\
  18.         fi
  19. Cloning into 'tmp'...
  20. remote: Counting objects: 347817, done.
  21. remote: Compressing objects: 100% (559/559), done.
  22. remote: Total 347817 (delta 402), reused 0 (delta 0), pack-reused 347258
  23. Receiving objects: 100% (347817/347817), 300.63 MiB | 3.86 MiB/s, done.
  24. Resolving deltas: 100% (278572/278572), done.
  25. Checking connectivity... done.
  26. Branch fixes/0.27 set up to track remote branch fixes/0.27 from origin.
  27. Switched to a new branch 'fixes/0.27'
  28. #checkout mythweb
  29. if [ -d mythplugins/mythweb/.git ]; then \
  30.                 cd mythplugins/mythweb; \
  31.                 git fetch ;\
  32.                 git checkout fixes/0.27 || git checkout master;\
  33.                 git pull --rebase ;\
  34.         else \
  35.                 mkdir -p mythplugins/mythweb ;\
  36.                 git clone git://github.com/MythTV/mythweb.git tmp ;\
  37.                 mv tmp/.git* tmp/* mythplugins/mythweb ;\
  38.                 rm -rf tmp ;\
  39.                 cd mythplugins/mythweb ;\
  40.                 git checkout fixes/0.27 || git checkout master;\
  41.         fi
  42. Cloning into 'tmp'...
  43. remote: Counting objects: 19525, done.
  44. remote: Compressing objects: 100% (7/7), done.
  45. remote: Total 19525 (delta 0), reused 0 (delta 0), pack-reused 19518
  46. Receiving objects: 100% (19525/19525), 14.41 MiB | 2.08 MiB/s, done.
  47. Resolving deltas: 100% (11004/11004), done.
  48. Checking connectivity... done.
  49. Branch fixes/0.27 set up to track remote branch fixes/0.27 from origin.
  50. Switched to a new branch 'fixes/0.27'
  51. #checkout mythbuntu theme
  52. if [ -d Mythbuntu/.git ]; then \
  53.                 cd Mythbuntu; \
  54.                 git fetch ;\
  55.                 git checkout fixes/0.27 || git checkout master;\
  56.                 git pull --rebase ;\
  57.         else \
  58.                 mkdir -p Mythbuntu ;\
  59.                 git clone git://github.com/MythTV-Themes/Mythbuntu.git tmp ;\
  60.                 mv tmp/.git* tmp/* Mythbuntu ;\
  61.                 rm -rf tmp ;\
  62.                 cd Mythbuntu ;\
  63.                 git checkout fixes/0.27 || git checkout master;\
  64.         fi
  65. Cloning into 'tmp'...
  66. remote: Counting objects: 1563, done.
  67. remote: Total 1563 (delta 0), reused 0 (delta 0), pack-reused 1563
  68. Receiving objects: 100% (1563/1563), 33.65 MiB | 1.04 MiB/s, done.
  69. Resolving deltas: 100% (877/877), done.
  70. Checking connectivity... done.
  71. Branch fixes/0.27 set up to track remote branch fixes/0.27 from origin.
  72. Switched to a new branch 'fixes/0.27'
  73. #fixup --version
  74. DESCRIBE=`git describe` ;\
  75.         echo "BRANCH=\"fixes/0.27\"" > debian/DESCRIBE ;\
  76.         echo "SOURCE_VERSION=\"$DESCRIBE\"" >> debian/DESCRIBE ;\
  77.  
  78. #fixup changelog
  79. #1) Check if the hash in the changelog (GIT_HASH) matches what the tree has
  80. #   ->If not, then set the new HASH we are diffing to as the one from the tree
  81. #     and the old HASH we are diffing from as the one from the changelog
  82. #   ->If so , then set the current HASH to the one from the tree
  83. #2) Check for autobuild.
  84. #   ->If not, do nothing
  85. #   ->If so,  then query the PPA for a revision number
  86. #3) Check for an empty last git hash, and fill if empty
  87. CURRENT_GIT_HASH=`git log -1 --oneline | awk '{ print $1 }'` ;\
  88.         echo "Current hash: $CURRENT_GIT_HASH" ;\
  89.         if [ "" != "$CURRENT_GIT_HASH" ]; then \
  90.                 GIT_HASH=$CURRENT_GIT_HASH ;\
  91.                 LAST_GIT_HASH= ;\
  92.                 if [ -n "" ]; then \
  93.                         LAST_GIT_HASH=`python debian/PPA-published-git-checker.py 0.27` ;\
  94.                         AUTOBUILD="Automated Build: " ;\
  95.                 fi ;\
  96.                 dch -b -v 2:0.27.0"+"fixes.20150818.$GIT_HASH-0ubuntu1 "${AUTOBUILD}New upstream checkout ($GIT_HASH)";\
  97.         else \
  98.                 GIT_HASH= ;\
  99.         fi ;\
  100.         [ -n "$LAST_GIT_HASH" ] || LAST_GIT_HASH= ;\
  101.         if [ -n "$LAST_GIT_HASH" ] && [ "$GIT_HASH" != "$LAST_GIT_HASH" ]; then \
  102.                 echo "Appending upstream changes between $LAST_GIT_HASH and $GIT_HASH" ;\
  103.                 dch -a ">>Upstream changes since last upload ($LAST_GIT_HASH):" ;\
  104.                 if [ -d .git ]; then \
  105.                         git log --oneline $LAST_GIT_HASH..$GIT_HASH | sed 's,^,[,; s, ,] ,; s,Version,version,' > .gitout ;\
  106.                         while read line; do \
  107.                                 dch -a "$line"; \
  108.                         done < .gitout ;\
  109.                         rm -f .gitout ;\
  110.                 fi \
  111.         fi
  112. Current hash: e2a11c9
  113. #build the tarball
  114. tar czf /tmp/mythtv/../mythtv_0.27.0"+"fixes.20150818.e2a11c9.orig.tar.gz * --exclude-vcs --exclude .pc --exclude debian
  115. rm -f debian/control
  116. sed "s/#TYPE#/fixes/; s/#ABI#/0.27/" debian/control.in > debian/control
  117. cp debian/libmyth.install.in debian/libmyth-0.27-0.install
  118. if [ "fixes" = "master" ]; then \
  119.                 sed -i debian/control -e 's/Recommends:\ mythtv-themes.*/Recommends:\ mythtv-themes, mythtv-dbg/' ;\
  120.         fi
  121. Testing all patches before building the packages
  122. Applying patch default_directories
  123. Applying patch bindings_install_paths.patch
  124. Applying patch allow_no_tuners.patch
  125. Applying patch configure_mythplugins_without_mythtv_installed.patch
  126. Now at patch configure_mythplugins_without_mythtv_installed.patch
  127. Removing patch configure_mythplugins_without_mythtv_installed.patch
  128. Removing patch allow_no_tuners.patch
  129. Removing patch bindings_install_paths.patch
  130. Removing patch default_directories
  131. No patches applied
  132. Building the packages
  133.  dpkg-buildpackage -rfakeroot -d -us -uc -S -i -I.git
  134. dpkg-buildpackage: source package mythtv
  135. dpkg-buildpackage: source version 2:0.27.0+fixes.20150818.e2a11c9-0ubuntu1
  136. dpkg-buildpackage: source distribution trusty
  137. dpkg-buildpackage: source changed by supermario <Mario_Limonciello@Dell.com>
  138.  dpkg-source -i -I.git --before-build mythtv
  139. dpkg-source: info: applying default_directories
  140. dpkg-source: info: applying bindings_install_paths.patch
  141. dpkg-source: info: applying allow_no_tuners.patch
  142. dpkg-source: info: applying configure_mythplugins_without_mythtv_installed.patch
  143.  fakeroot debian/rules clean
  144. dh clean --parallel
  145.    dh_testdir -O--parallel
  146.    debian/rules override_dh_auto_clean
  147. make[1]: Entering directory `/tmp/mythtv'
  148. [ -f mythtv/config.mak ] && /usr/bin/make -C mythtv distclean || true
  149. [ -f mythplugins/config.pro ] && /usr/bin/make -C mythplugins distclean || true
  150. [ -f mythtv/VERSION.old ] && mv mythtv/VERSION.old mythtv/VERSION || true
  151. dh_auto_clean
  152. debconf-updatepo
  153. rm -rf /tmp/mythtv/debian/home
  154. make[1]: Leaving directory `/tmp/mythtv'
  155.    dh_clean -O--parallel
  156.  dpkg-source -i -I.git -b mythtv
  157. dpkg-source: warning: Version number suggests Ubuntu changes, but there is no XSBC-Original-Maintainer field
  158. dpkg-source: info: using source format `3.0 (quilt)'
  159. dpkg-source: info: building mythtv using existing ./mythtv_0.27.0+fixes.20150818.e2a11c9.orig.tar.gz
  160. dpkg-source: info: building mythtv in mythtv_0.27.0+fixes.20150818.e2a11c9-0ubuntu1.debian.tar.gz
  161. dpkg-source: info: building mythtv in mythtv_0.27.0+fixes.20150818.e2a11c9-0ubuntu1.dsc
  162. dpkg-genchanges -S >../mythtv_0.27.0+fixes.20150818.e2a11c9-0ubuntu1_source.changes
  163. dpkg-genchanges: including full source code in upload
  164. dpkg-source -i -I.git --after-build mythtv
  165. dpkg-source: info: unapplying configure_mythplugins_without_mythtv_installed.patch
  166. dpkg-source: info: unapplying allow_no_tuners.patch
  167. dpkg-source: info: unapplying bindings_install_paths.patch
  168. dpkg-source: info: unapplying default_directories
  169. dpkg-buildpackage: full upload (original source is included)
  170. Now running lintian...
  171. E: mythtv source: source-is-missing mythplugins/mythweb/js/jquery-1.9.1.min.js
  172. E: mythtv source: source-is-missing mythtv/html/js/jquery-ui.min.js
  173. E: mythtv source: source-is-missing mythtv/html/js/jquery.contextmenu.js
  174. E: mythtv source: source-is-missing mythtv/html/js/jquery.jqGrid.min.js
  175. E: mythtv source: source-is-missing mythtv/html/js/jquery.min.js
  176. E: mythtv source: source-is-missing mythplugins/mythweb/modules/tv/MFPlayer.swf
  177. E: mythtv source: source-is-missing mythplugins/mythweb/modules/tv/MFPlayer_styles.swf
  178. E: mythtv source: source-is-missing mythplugins/mythweb/modules/tv/playerProductInstall.swf
  179. E: mythtv source: source-is-missing mythplugins/mythweb/js/libs/flowplayer/flowplayer.controls.swf
  180. E: mythtv source: source-is-missing mythplugins/mythweb/js/libs/flowplayer/flowplayer.js
  181. E: mythtv source: source-is-missing mythplugins/mythweb/js/libs/flowplayer/flowplayer.swf
  182. E: mythtv source: python-depends-but-no-python-helper libmyth-python
  183. E: mythtv source: build-depends-on-obsolete-package build-depends: texi2html
  184. E: mythtv source: missing-build-dependency po-debconf
  185. W: mythtv source: ancient-standards-version 3.9.3 (current is 3.9.5)
  186. Finished running lintian.
  187. Cleaning up
  188. No patch removed
  189. dh clean --parallel
  190.   dh_testdir -O--parallel
  191.   debian/rules override_dh_auto_clean
  192. make[1]: Entering directory `/tmp/mythtv'
  193. [ -f mythtv/config.mak ] && /usr/bin/make -C mythtv distclean || true
  194. [ -f mythplugins/config.pro ] && /usr/bin/make -C mythplugins distclean || true
  195. [ -f mythtv/VERSION.old ] && mv mythtv/VERSION.old mythtv/VERSION || true
  196. dh_auto_clean
  197. debconf-updatepo
  198. rm -rf /tmp/mythtv/debian/home
  199. make[1]: Leaving directory `/tmp/mythtv'
  200.   dh_clean -O--parallel
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement