[Debian-olpc-devel] facing problems while updating sugar-pippy-activity

Kandarp Kaushik kandarp at seeta.in
Tue Aug 3 17:02:04 UTC 2010


Hello all,

I was trying to update the sugar-pippy-activity, but after completing all
the necessary steps ( file attached ), failed to install the .deb produced
due to the following error :
--------------------------------------------------------------------
$ sudo gdebi sugar-pippy-activity_37-1_all.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
Building data structures... Done
This package is uninstallable
Dependency is not satisfiable: python-box2d
---------------------------------------------------------------------


lintian too gave some errors like ( for complete lintian output, see
attachment ):

E: sugar-pippy-activity: arch-independent-package-contains-binary-or-object
./usr/share/sugar/activities/Pippy.activity/library/pippy/physics/box2d/box2d_linux64/_Box2D2.so
E: sugar-pippy-activity: arch-dependent-file-in-usr-share
./usr/share/sugar/activities/Pippy.activity/library/pippy/physics/box2d/box2d_linux64/_Box2D2.so


Please let me know where do I need to correct my steps so as to successfully
install pippy activity.

Regards,
Kandarp.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-olpc-devel/attachments/20100803/bc725286/attachment.htm>
-------------- next part --------------
$ lintian -iIv sugar-pippy-activity_37-1_i386.changes


N: Setting up lab in /tmp/QsDOQCYDqa ...
N: Processing 3 packages...
N: ----
N: Processing changes file sugar-pippy-activity_37-1_i386 (version 37-1) ...
N: ----
N: Processing source package sugar-pippy-activity (version 37-1) ...
W: sugar-pippy-activity source: changelog-should-mention-nmu
N: 
N:    When you NMU a package, that fact should be mentioned on the first line
N:    in the changelog entry. Use the words "NMU" or "Non-maintainer upload"
N:    (case insensitive).
N:    
N:    Maybe you didn't intend this upload to be a NMU, in that case, please
N:    doublecheck that the most recent entry in the changelog is byte-for-byte
N:    identical to the maintainer or one of the uploaders. If this is a local
N:    package (not intended for Debian), you can suppress this warning by
N:    putting "local" in the version number or "local package" on the first
N:    line of the changelog entry.
N:    
N:    Refer to Debian Developer's Reference section 5.11.3 (Using the DELAYED/
N:    queue) for details.
N:    
N:    Severity: normal, Certainty: certain
N: 
W: sugar-pippy-activity source: source-nmu-has-incorrect-version-number 37-1
N: 
N:    A source NMU should have a Debian revision of "-x.x" (or "+nmuX" for a
N:    native package). This is to prevent stealing version numbers from the
N:    maintainer.
N:    
N:    Maybe you didn't intend this upload to be a NMU, in that case, please
N:    doublecheck that the most recent entry in the changelog is byte-for-byte
N:    identical to the maintainer or one of the uploaders. If this is a local
N:    package (not intended for Debian), you can suppress this warning by
N:    putting "local" in the version number or "local package" on the first
N:    line of the changelog entry.
N:    
N:    Refer to Debian Developer's Reference section 5.11.2 (NMUs and
N:    debian/changelog) for details.
N:    
N:    Severity: normal, Certainty: certain
N: 
W: sugar-pippy-activity source: build-depends-on-python-dev-with-no-arch-any
N: 
N:    The given package appears to have a Python development package
N:    (python-dev, python-all-dev or pythonX.Y-dev) listed in its
N:    Build-Depends or Build-Depends-Indep fields, but only "Architecture:
N:    all" packages are built by this source package. Python applications and
N:    modules do not usually require those dev packages, so you should
N:    consider removing them in favour of python, python-all or pythonX.Y.
N:    
N:    If you are building a Python extension instead, you should have
N:    development packages listed in Build-Depends, but normally there should
N:    be at least one Architecture: any package.
N:    
N:    Severity: normal, Certainty: possible
N: 
N: ----
N: Processing binary package sugar-pippy-activity (version 37-1) ...
W: sugar-pippy-activity: virtual-package-depends-without-real-package-depends depends: python-sugar
N: 
N:    The package declares a depends on a virtual package without listing a
N:    real package as an alternative first.
N:    
N:    If this package could ever be a build dependency, it should list a real
N:    package as the first alternative to any virtual package in its Depends.
N:    Otherwise, the build daemons will not be able to provide a consistent
N:    build environment.
N:    
N:    If it will never be a build dependency, this isn't necessary, but you
N:    may want to consider doing so anyway if there is a real package
N:    providing that virtual package that most users will want to use.
N:    
N:    Severity: normal, Certainty: possible
N: 
W: sugar-pippy-activity: virtual-package-depends-without-real-package-depends depends: python-sugar-toolkit
W: sugar-pippy-activity: virtual-package-depends-without-real-package-depends depends: sugar-presence-service
E: sugar-pippy-activity: package-depends-on-multiple-libstdc-versions lib64stdc++6 libstdc++6
N: 
N:    The package seems to declare several relations to a libstdc version.
N:    This is not only sloppy but in the case of libraries, it may well break
N:    the runtime execution of programs.
N:    
N:    Severity: important, Certainty: possible
N: 
W: sugar-pippy-activity: script-not-executable ./usr/share/sugar/activities/Pippy.activity/data/graphics/xolympics
N: 
N:    This file starts with the #! sequence that marks interpreted scripts,
N:    but it is not executable.
N:    
N:    Severity: normal, Certainty: certain
N: 
W: sugar-pippy-activity: executable-not-elf-or-script ./usr/share/sugar/activities/Pippy.activity/library/pippy/physics/box2d/__init__.py
N: 
N:    This executable file is not an ELF format binary, and does not start
N:    with the #! sequence that marks interpreted scripts. It might be a sh
N:    script that fails to name /bin/sh as its shell, or it may be incorrectly
N:    marked as executable. Sometimes upstream files developed on Windows are
N:    marked unnecessarily as executable on other systems.
N:    
N:    If you are using debhelper to build your package, running dh_fixperms
N:    will often correct this problem for you.
N:    
N:    Refer to Debian Policy Manual section 10.4 (Scripts) for details.
N:    
N:    Severity: normal, Certainty: certain
N: 
W: sugar-pippy-activity: executable-not-elf-or-script ./usr/share/sugar/activities/Pippy.activity/library/pippy/physics/box2d/box2d_linux64/Box2D2.py
W: sugar-pippy-activity: executable-not-elf-or-script ./usr/share/sugar/activities/Pippy.activity/library/pippy/physics/box2d/box2d_linux32/__init__.py
W: sugar-pippy-activity: executable-not-elf-or-script ./usr/share/sugar/activities/Pippy.activity/library/pippy/physics/__init__.py
W: sugar-pippy-activity: executable-not-elf-or-script ./usr/share/sugar/activities/Pippy.activity/library/pippy/physics/Box2D2.py
W: sugar-pippy-activity: executable-not-elf-or-script ./usr/share/sugar/activities/Pippy.activity/library/pippy/physics/box2d/box2d_linux64/__init__.py
W: sugar-pippy-activity: executable-not-elf-or-script ./usr/share/sugar/activities/Pippy.activity/library/pippy/physics/camera.py
W: sugar-pippy-activity: executable-not-elf-or-script ./usr/share/sugar/activities/Pippy.activity/library/pippy/physics/drawing.py
W: sugar-pippy-activity: executable-not-elf-or-script ./usr/share/sugar/activities/Pippy.activity/library/pippy/physics/locals.py
W: sugar-pippy-activity: executable-not-elf-or-script ./usr/share/sugar/activities/Pippy.activity/library/pippy/physics/tools_poly.py
W: sugar-pippy-activity: executable-not-elf-or-script ./usr/share/sugar/activities/Pippy.activity/library/pippy/physics/tools.py
W: sugar-pippy-activity: executable-not-elf-or-script ./usr/share/sugar/activities/Pippy.activity/library/pippy/physics/callbacks.py
W: sugar-pippy-activity: executable-not-elf-or-script ./usr/share/sugar/activities/Pippy.activity/library/pippy/physics/box2d/box2d_linux32/Box2D2.py
W: sugar-pippy-activity: extra-license-file usr/share/sugar/activities/Pippy.activity/COPYING
N: 
N:    All license information should be collected in the debian/copyright
N:    file. This usually makes it unnecessary for the package to install this
N:    information in other places as well.
N:    
N:    Refer to Debian Policy Manual section 12.5 (Copyright information) for
N:    details.
N:    
N:    Severity: normal, Certainty: possible
N: 
W: sugar-pippy-activity: extra-license-file usr/share/sugar/activities/Pippy.activity/library/pippy/physics/LICENSE
E: sugar-pippy-activity: arch-independent-package-contains-binary-or-object ./usr/share/sugar/activities/Pippy.activity/library/pippy/physics/box2d/box2d_linux32/_Box2D2.so
N: 
N:    The package contains a binary or object file but is tagged Architecture:
N:    all.
N:    
N:    If this package contains binaries or objects for cross-compiling or
N:    binary blobs for other purposes independent of the host architecture
N:    (such as BIOS updates or firmware), please add a Lintian override.
N:    
N:    Severity: serious, Certainty: possible
N: 
E: sugar-pippy-activity: arch-dependent-file-in-usr-share ./usr/share/sugar/activities/Pippy.activity/library/pippy/physics/box2d/box2d_linux32/_Box2D2.so
N: 
N:    This package installs an ELF binary in the /usr/share hierarchy, which
N:    is reserved for architecture-independent files.
N:    
N:    Refer to Filesystem Hierarchy Standard (/usr/share :
N:    Architecture-independent data) for details.
N:    
N:    Severity: serious, Certainty: certain
N: 
E: sugar-pippy-activity: arch-independent-package-contains-binary-or-object ./usr/share/sugar/activities/Pippy.activity/library/pippy/physics/box2d/box2d_linux64/_Box2D2.so
E: sugar-pippy-activity: arch-dependent-file-in-usr-share ./usr/share/sugar/activities/Pippy.activity/library/pippy/physics/box2d/box2d_linux64/_Box2D2.so
N: Removing /tmp/QsDOQCYDqa ...
-------------- next part --------------
$ mkdir pippy

$ cd pippy



$ gbp-clone git+ssh://git.debian.org/git/collab-maint/sugar-pippy-activity.git

	Initialized empty Git repository in /home/kandarp/pippy/sugar-pippy-activity/.git/
	Enter passphrase for key '/home/kandarp/.ssh/id_rsa': 
	remote: Counting objects: 2085, done.
	remote: Compressing objects: 100% (750/750), done.
	remote: Total 2085 (delta 1246), reused 2046 (delta 1217)
	Receiving objects: 100% (2085/2085), 1.05 MiB | 67 KiB/s, done.
	Resolving deltas: 100% (1246/1246), done.
	Branch upstream set up to track remote branch upstream from origin.

 

$ cd sugar-pippy-activity/



$ git remote add upstream-repo git://git.sugarlabs.org/pippy/mainline.git



$ git fetch --tags upstream-repo

	remote: Counting objects: 74, done.
	remote: Compressing objects: 100% (47/47), done.
	remote: Total 47 (delta 32), reused 0 (delta 0)
	Unpacking objects: 100% (47/47), done.
	From git://git.sugarlabs.org/pippy/mainline
	 * [new tag]         v37        -> v37



$  git checkout upstream

	Switched to branch 'upstream'



$ git merge v37

	Removing data/graphics/slideshow
	Merge made by recursive.
	 NEWS                    |    5 ++
	 activity/activity.info  |    2 +-
	 data/graphics/bounce    |   32 ++++++-----
	 data/graphics/camera    |   29 ++++++----
	 data/graphics/jump      |    6 +-
	 data/graphics/lines     |   11 ++--
	 data/graphics/physics   |   16 ++---
	 data/graphics/pong      |   29 +++++-----
	 data/graphics/slideshow |   65 ---------------------
	 data/graphics/snow      |   11 ++--
	 data/graphics/tree      |  143 ++++++++++++++++++++++++-----------------------
	 data/graphics/xolympics |   70 ++++++++++++------------
	 data/sound/playSine     |    2 +-
	 data/sound/playWave     |    2 +-
	 data/string/thanks      |   12 +++-
	 pippy_app.py            |    2 +-
	 16 files changed, 196 insertions(+), 241 deletions(-)
	 delete mode 100644 data/graphics/slideshow
	


$ git checkout maste$ git checkout master

	Switched to branch 'master'



$  uscan --force-download --rename

	sugar-pippy-activity: Version (37) available on remote site:
	  http://download.sugarlabs.org/sources/sucrose/fructose/Pippy/Pippy-37.tar.bz2
	  (local version is 36~dfsg)
	sugar-pippy-activity: Successfully downloaded updated package Pippy-37.tar.bz2
	    and renamed it as sugar-pippy-activity_37.orig.tar.bz2
	


$ git-import-orig --pristine-tar --keyid=4AE3FF0B  -u ''37'' ../sugar-pippy-activity_37.orig.tar.bz2 

	Upstream version is 37
	Importing '../sugar-pippy-activity_37.orig.tar.bz2' to branch 'upstream'...
	Switched to branch 'upstream'
	rm 'data/graphics/slideshow'
	[upstream 90a677e] Imported Upstream version 37
	 40 files changed, 15364 insertions(+), 241 deletions(-)
	 delete mode 100644 data/graphics/slideshow
	 create mode 100644 library/pippy/__init__.py
	 create mode 100644 library/pippy/console.py
	 create mode 100644 library/pippy/game.py
	 create mode 100755 library/pippy/physics/Box2D2.py
	 create mode 100644 library/pippy/physics/LICENSE
	 create mode 100755 library/pippy/physics/__init__.py
	 create mode 100644 library/pippy/physics/add_objects.py
	 create mode 100755 library/pippy/physics/box2d/__init__.py
	 create mode 100755 library/pippy/physics/box2d/box2d_linux32/Box2D2.py
	 create mode 100755 library/pippy/physics/box2d/box2d_linux32/_Box2D2.so
	 create mode 100755 library/pippy/physics/box2d/box2d_linux32/__init__.py
	 create mode 100755 library/pippy/physics/box2d/box2d_linux64/Box2D2.py
	 create mode 100755 library/pippy/physics/box2d/box2d_linux64/_Box2D2.so
	 create mode 100755 library/pippy/physics/box2d/box2d_linux64/__init__.py
	 create mode 100755 library/pippy/physics/callbacks.py
	 create mode 100755 library/pippy/physics/camera.py
	 create mode 100755 library/pippy/physics/drawing.py
	 create mode 100644 library/pippy/physics/elements.py
	 create mode 100755 library/pippy/physics/locals.py
	 create mode 100644 library/pippy/physics/menu.py
	 create mode 100755 library/pippy/physics/tools.py
	 create mode 100755 library/pippy/physics/tools_poly.py
	 create mode 100644 library/pippy/query.py
	 create mode 100755 library/pippy/sound.py
	Branch pristine-tar set up to track remote branch pristine-tar from origin.
	pristine-tar: committed sugar-pippy-activity_37.orig.tar.bz2.delta to branch pristine-tar
	
	You need a passphrase to unlock the secret key for
	user: "Kandarp Kaushik (key for debian packaging) <kandarp at seeta.in>"
	2048-bit RSA key, ID 4AE3FF0B, created 2010-07-06
	
	Merging to 'master'
	Switched to branch 'master'
	Removing data/graphics/slideshow
	Merge made by recursive.
	Succesfully imported version 37 of ../sugar-pippy-activity_37.orig.tar.bz2
	
	

$ git add debian/


$ git commit -m'Added changelog entry'

	[master 5937330] Added changelog entry
	 1 files changed, 6 insertions(+), 0 deletions(-)


$ git add debian/


$ git commit -m'Added self to uploaders in debian/control.in'

	[master 7ee5048] Added self to uploaders in debian/control.in
	 1 files changed, 1 insertions(+), 0 deletions(-)


$ DEB_MAINTAINER_MODE=1 fakeroot debian/rules clean

	dpkg-checkbuilddeps -B
	test -x debian/rules
	dh_testroot
	[ ! -e ./MANIFEST.upstream ] || mv -f ./MANIFEST.upstream ./MANIFEST
	rm -f debian/cdbs-install-list debian/cdbs-package-list debian/stamp-copyright-check debian/stamp-buildinfo
	dh_clean 


$ git add debian/


$ git commit -m'Regenerated debian/control from debian/control.in'

	[master 895fdf5] Regenerated debian/control from debian/control.in
	 1 files changed, 1 insertions(+), 0 deletions(-)


$ git add debian/


$ git commit -m'Added pippy_app.py under Files, self under copyright in debian/copyright'
	
	[master 1cd94a1] Added pippy_app.py under Files, self under copyright in debian/copyright
	 1 files changed, 10 insertions(+), 8 deletions(-)


$ export  LD_LIBRARY_PATH=/home/kandarp/pippy/sugar-pippy-activity/library/


$ git-buildpackage --git-ignore-new --git-compression=bzip2


More information about the Debian-olpc-devel mailing list