** Description changed:

- When using submitubuntu or package --extras, a snippit is added to
+ IMPACT:
+ 
+ When using submitubuntu or package --extras, a snippet is added to
  debian/rules that calls glib-compile-schemas, but there is no build
  dependency on  libglib2.0-bin. This can cause the produced package to
- fail to build from source in a clean chroot. Here's an example:
+ fail to build from source in a clean chroot. See the DETAILED EXAMPLE
+ section below for more details.
+ 
+ We are currently running the Ubuntu App Showdown contest, and we're at
+ the stage were all participants are starting to submit their apps. Many,
+ if not all, are affected by this bug, which severely affects the
+ submission step.
+ 
+ TEST CASE:
+ 
+ To reproduce this bug, run this set of commands:
+ 
+ $ quickly create ubuntu-application foo
+ $ cd foo
+ $ quickly package --extras
+ $ cat debian/control | grep -A 5 "Build"
+ 
+ To verify that the bug can be reproduced, libglib2.0-bin should *not* be
+ listed in the 'Build-Depends' list in the output.
+ 
+ Once the bug is fixed, libglib2.0-bin should be listed in the 'Build-
+ Depends' list in the output.
+ 
+ REGRESSION POTENTIAL:
+ 
+ The code change is minimal, as it affects only the 'package --extras'
+ and 'submitubuntu' paths and simply adds a build dependency to
+ debian/control. Therefore the regression potential is low.
+ 
+ The change can be reviewed at:
+ http://bazaar.launchpad.net/~quickly-committers/quickly/trunk/revision/674 
+ 
+ DETAILED EXAMPLE:
  
  https://launchpadlibrarian.net/108711786/buildlog_ubuntu-precise-i386
  .indicator-launcher_12.06.24_FAILEDTOBUILD.txt.gz
  
  andrew@andrew-laptop:~/Desktop$ quickly create ubuntu-application foo
  Creating project directory foo
  Creating bzr repository and committing
  Launching your newly created project!
  /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:391: Warning: 
g_object_set_property: construct property "type" for object `Window' can't be 
set after construction
-   Gtk.Window.__init__(self, type=type, **kwds)
+   Gtk.Window.__init__(self, type=type, **kwds)
  /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:391: Warning: 
g_object_set_property: construct property "type" for object `FooWindow' can't 
be set after construction
-   Gtk.Window.__init__(self, type=type, **kwds)
+   Gtk.Window.__init__(self, type=type, **kwds)
  Congrats, your new project is setup! cd /home/andrew/Desktop/foo/ to start 
hacking.
  andrew@andrew-laptop:~/Desktop$ cd foo/
  andrew@andrew-laptop:~/Desktop/foo$ quickly package --extras
  .......Ubuntu packaging created in debian/
  
.............................................................................................................................................................................................................................
  Command returned some WARNINGS:
  ----------------------------------
  ** (setup.py:2505): WARNING **: Error sending credentials: Error sending 
message: Operation not permitted
  ----------------------------------
  Ubuntu package has been successfully created in ../foo_0.1_all.deb
  andrew@andrew-laptop:~/Desktop/foo$ cat debian/rules | grep "glib"
-       if [ -d debian/foo/opt/extras.ubuntu.com/foo/share/glib-2.0/schemas ]; 
then glib-compile-schemas 
debian/foo/opt/extras.ubuntu.com/foo/share/glib-2.0/schemas; fi
+  if [ -d debian/foo/opt/extras.ubuntu.com/foo/share/glib-2.0/schemas ]; then 
glib-compile-schemas 
debian/foo/opt/extras.ubuntu.com/foo/share/glib-2.0/schemas; fi
  andrew@andrew-laptop:~/Desktop/foo$ cat debian/control | grep -A 5 "Build"
  Build-Depends: cdbs (>= 0.4.43),
-  debhelper (>= 6),
-  python (>= 2.6.6-3~),
-  python-distutils-extra (>= 2.10)
+  debhelper (>= 6),
+  python (>= 2.6.6-3~),
+  python-distutils-extra (>= 2.10)
  Maintainer: UNKNOWN <UNKNOWN>
  Standards-Version: 3.8.3

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1018038

Title:
  When using submitubuntu, should build depend on libglib2.0-bin

To manage notifications about this bug go to:
https://bugs.launchpad.net/quickly/+bug/1018038/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to