Sync opennebula 2.0.1-5 (universe) from Debian unstable (main)

Bug #688666 reported by Damien Raude-Morvan
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
opennebula (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Please sync opennebula 2.0.1-5 (universe) from Debian unstable (main)

Explanation of the Ubuntu delta and why it can be dropped:
OpenNebula package is now maintained as a team on alioth:
<https://alioth.debian.org/projects/pkg-opennebula/>

Packaging is now handled in GIT:
<http://git.debian.org/?p=pkg-opennebula/opennebula.git>

Current packaging of 2.x release is based on original work from
Soren Hansen <email address hidden> as you can see here :
<http://git.debian.org/?p=pkg-opennebula/opennebula.git;a=blob;f=debian/changelog;hb=HEAD>
or here
<bugs.debian.org/500716>

Changelog entries since current natty version 1.2-0ubuntu6:

 opennebula (2.0.1-5) unstable; urgency=low

   * d/patches/ldflags_build.diff: Proposed patch from Jaime Melis to allow
     LDFLAGS setting in OpenNebula build process. Will be included in next
     upstream release.
   * d/rules: Use dpkg-buildflags to get LDFLAGS.
     Set DEB_LDFLAGS_APPEND=-Wl,--no-as-needed to fix build with
     no-add-needed linker changes.
   * d/patches/fortify-source.diff: Fix FTBFS when build with
     -D_FORTIFY_SOURCE=2 flag.
   * d/rules: Remove d/opennebula-node.postinst in clean target.
   * d/opennebula-node.postinst.in: opennebula-node on node without libvirt
     but with xen-utils was failing as group `libvirt' does not exist.
     Thanks to Łukasz Oleś for report and patch.

 -- Damien Raude-Morvan <email address hidden> Thu, 30 Dec 2010 02:33:32 +0100

opennebula (2.0.1-4) unstable; urgency=low

  * d/opennebula{-node,}.{postint,postrm}: Fix puiparts failure in postrm.
    We cannot rely on adduser being present at package purge time.
    General cleanup of maintainer scripts.
  * d/opennebula-common.postrm: Don't delete user opennebula
    (keep uid/gid permanently) but disable it.

 -- Damien Raude-Morvan <email address hidden> Tue, 07 Dec 2010 00:25:50 +0100

opennebula (2.0.1-3) unstable; urgency=low

  * d/control: move Depends on openssh-client from opennebula to
    opennebula-common (for ssh-keygen). Closes: #605110.
  * Using dpkg-statoverride instead of chown for postinst.

 -- Damien Raude-Morvan <email address hidden> Sun, 05 Dec 2010 18:05:37 +0100

opennebula (2.0.1-2) unstable; urgency=low

  * d/rules: Fix FTBFS (Closes: #605042) by using dh_listpackages to detect if
    arch all packages (ie. opennebula-node) debhelper commands will act on.

 -- Damien Raude-Morvan <email address hidden> Fri, 26 Nov 2010 20:15:09 +0100

opennebula (2.0.1-1) unstable; urgency=low

  * New upstream release.
  * d/rules: Use share/etc/init.d/one.debian as init.d script.
  * Refresh all patches.
  * d/{control, rules}: Allow users of cloud group to launch xm & xmtop
    from xen-utils-common (Closes: #604567):
    - Depends on libvirt-bin | xen-utils-4.0
    - Bump dependencies on sudo to (>= 1.7.2p1) for /etc/sudoers.d feature.
    - Install /etc/sudoers.d/opennebula-node (in opennebula-node package).
  * d/opennebula.install: Install /var/lib/one/remotes
  * d/control: Set Maintainer as Debian OpenNebula Maintainers
    and myself as Uploaders.

 -- Damien Raude-Morvan <email address hidden> Fri, 26 Nov 2010 01:52:15 +0100

opennebula (2.0-1) experimental; urgency=low

  * First upload to Debian (Closes: #500716):
    - Drop d/patches/fix_cppflags.diff: Merged upstream.
    - Drop d/*.examples: Already handled by upstream install.sh
  * New upstream release (2.0).
  * d/control: Add Recommends: lvm2, sudo, wget, genisoimage.
    - d/patches/genisoimage.diff: Use genisoimage instead of mkisofs.
  * d/rules, d/opennebula-node.postinst.in: Handle group assignment for
    oneadmin user, libvirt (Debian) and libvirtd (Ubuntu).
  * d/opennebula.{postinst,dirs}: creation of /var/lib/one/images with
    proper permissions.
  * d/control: Suggests libamazonec2-ruby for Amazon EC2 access.

 -- Damien Raude-Morvan <email address hidden> Tue, 02 Nov 2010 19:01:04 +0100

opennebula (2.0~rc1-1) UNRELEASED; urgency=low

  * New upstream release (2.0 RC1).
  * Add d/opennebula.README and d/opennebula-node.README as simple
    startup how-to.
  * d/rules: Fix perms for non-executables files.
  * d/opennebula.init: Handle creation of /var/lock.
  * d/patches/default_conf.diff: Switch to tm_ssh as default Transport Manager.
  * d/control: Add Jaime Melis <email address hidden> as Uploader.
  * Disable SSH keys distribution functionality (too much unstable for now):
    - d/patches/series: disable patch.
    - d/rules: Don't chmod shell script.
    - d/opennebula.cron.hourly is disabled.

 -- Damien Raude-Morvan <email address hidden> Mon, 18 Oct 2010 20:15:11 +0200

opennebula (2.0~beta1-1) UNRELEASED; urgency=low

  * New upstream release (2.0 beta1):
    - shlib_links.diff: disabled.
    - refreshed other patches.
    - add B-D on libxml2-dev and libxslt1-dev
  * Drop libopennebula1 and libopennebula-dev packages
    (not provided by upstream for this release as OCA binding are preferred)
  * Add Java OCA bindings in libopennebula-java package
    - B-D on libws-commons-util-java, libxmlrpc3-common-java,
      libxmlrpc3-client-java, javahelper, default-jdk
  * Add Java OCA bindings javadoc to libopennebula-java-doc package
  * Enable mysql support:
    - B-D on libmysql++-dev
    - Recommends libmysql-ruby
    - Suggests mysql-server
  * Add "libvirt" and "cloud" group to oneadmin user in postinst.
  * Depends on libsequel-ruby for oneauth (DB access).
  * Rebuild parser/lexer during build:
    - B-D on flex and bison
    - add "parser=yes" option to scons
  * Harden cron.hourly: don't do anything if onehost binary is uninstalled.
  * Set myself as Maintainer and Soren Hansen as Uploaders
  * Install bash completion feature for one* CLI.

 -- Damien Raude-Morvan <email address hidden> Fri, 20 Aug 2010 00:50:13 +0200

opennebula (1.4.0-1) UNRELEASED; urgency=low

  * New upstream release (LP: #510904):
    - freecpu_kvm.diff: merged.
    - libvirt_smp.diff: fixed by upstream.
    - kvm_by_default.diff: merged.
    - fix-gcc44-ftbfs.patch: merged.
    - tools_table_output.diff: fixed by upstream.
    - acpi-inverted.diff: fixed by upstream.
    - refreshed other patches.
    - Fixed issues with KVM migration (LP: #323359, #322779)
  * d/control: Add myself tu Uploaders.
  * Switch to 3.0 (quilt) source format.
  * d/control: Improve packages descriptions.
  * d/control: Hardening dependencies between opennebula packages.
  * d/control: Add Depends on rubygems and libpassword-ruby for OCCI API.
  * d/copyright: Use DEP-5 format and complete review.
  * Bump Standards-Version to 3.9.1:
    - d/watch: Add a watch file to monitor upstream releases.
    - d/control: Move libopennebula-dev to libdevel section.
    - Add manpages (from help2man).
    - d/control: Add Vcs-* fields to GIT.
    - d/rules: Don't install /var/run and /var/lock directory
      (created by init script).
  * Switch to dh 7 style for debian/rules.

 -- Damien Raude-Morvan <email address hidden> Sun, 01 Aug 2010 17:00:28 +0200

Changed in opennebula (Ubuntu):
assignee: nobody → Stefano Rivera (stefanor)
importance: Undecided → Wishlist
status: New → In Progress
Revision history for this message
Stefano Rivera (stefanor) wrote :

FTBFS:

Testing recipe: hardcoded libraries for Mac OS X (installed using port)
g++ .xmlrpc_test/xmlrpc_test.669e8d.cc -o .xmlrpc_test/xmlrpc_test.669e8d.cc.out -I/opt/local/include -L/opt/local/
lib -lcurl -lxmlrpc_client++ -lxmlrpc_client -lxmlrpc++ -lxmlrpc -lxmlrpc_util -lxmlrpc_xmlparse -lxmlrpc_xmltok -l
wwwxml -lxmltok -lxmlparse -lwwwzip -lwwwinit -lwwwapp -lwwwtelnet -lwwwhtml -lwwwnews -lwwwhttp -lwwwmime -lwwwgop
her -lwwwftp -lwwwfile -lwwwdir -lwwwcache -lwwwstream -lwwwmux -lwwwtrans -lwwwcore -lwwwutils -lm -lmd5 1>>.xmlrp
c_test/xmlrpc_test.669e8d.cc.log 2>&1

OSError: '../../share/scons/get_xmlrpc_config client' exited 1:
  File "/tmp/buildd/opennebula-2.0.1/SConstruct", line 189:
    SConscript(script, exports='env')
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 614:
    return method(*args, **kw)
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 551:
    return _SConscript(self.fs, *files, **subst_kw)
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 260:
    exec _file_ in call_stack[-1].globals
  File "/tmp/buildd/opennebula-2.0.1/src/scheduler/SConstruct", line 73:
    main_env.ParseConfig('../../share/scons/get_xmlrpc_config client')
  File "/usr/lib/scons/SCons/Environment.py", line 1460:
    return function(self, self.backtick(command))
  File "/usr/lib/scons/SCons/Environment.py", line 593:
    raise OSError("'%s' exited %d" % (command, status))
make[1]: *** [override_dh_auto_clean] Error 2
make[1]: Leaving directory `/tmp/buildd/opennebula-2.0.1'
make: *** [clean] Error 2

Changed in opennebula (Ubuntu):
assignee: Stefano Rivera (stefanor) → Damien Raude-Morvan (drazzib)
status: In Progress → Incomplete
Revision history for this message
Jaime Melis (j-melis) wrote :

The problem is that gcc-4.5 (default version of gcc in Ubuntu Natty) does not link correctly with the xmlrpc-c library. We have openened a bug in order to fix this:

https://bugs.launchpad.net/ubuntu/+source/gcc-4.5/+bug/690779

Revision history for this message
Stefano Rivera (stefanor) wrote :

No, what it really needs is either a workaround patch (preferably against the Debian version you wanted to sync) or xmlrpc-c needs to be patched to handle no-as-needed correctly

Revision history for this message
Damien Raude-Morvan (drazzib) wrote :

I've uploaded a new release (2.0.1-5) to Debian Unstable with a workaround (force -Wl,--no-as-needed for LDFLAGS).
I've managed to build this version in a Natty Chroot.

Could you please try a new sync ?

Changed in opennebula (Ubuntu):
status: Incomplete → In Progress
Revision history for this message
Artur Rona (ari-tczew) wrote :

Please set status New and don't assign if your request is ready to review. Sponsors use In Progress and assign to themselve if they are having a look.

Changed in opennebula (Ubuntu):
assignee: Damien Raude-Morvan (drazzib) → nobody
status: In Progress → New
Revision history for this message
Bhavani Shankar (bhavi) wrote :

Builds fine on my updated natty pbuilder

Sync request ACK'ed

regards

summary: - Sync opennebula 2.0.1-4 (universe) from Debian unstable (main)
+ Sync opennebula 2.0.1-5 (universe) from Debian unstable (main)
description: updated
Changed in opennebula (Ubuntu):
status: New → Triaged
Revision history for this message
Colin Watson (cjwatson) wrote :

[Updating] opennebula (1.2-0ubuntu6 [Ubuntu] < 2.0.1-5 [Debian])
 * Trying to add opennebula...
2011-01-05 17:38:32 INFO - <opennebula_2.0.1.orig.tar.gz: downloading from http://ftp.debian.org/debian/>
2011-01-05 17:38:32 INFO - <opennebula_2.0.1-5.debian.tar.gz: downloading from http://ftp.debian.org/debian/>
2011-01-05 17:38:32 INFO - <opennebula_2.0.1-5.dsc: downloading from http://ftp.debian.org/debian/>
I: opennebula [universe] -> opennebula_1.2-0ubuntu6 [universe].
I: opennebula [universe] -> opennebula-common_1.2-0ubuntu6 [universe].
I: opennebula [universe] -> opennebula-node_1.2-0ubuntu6 [universe].

Changed in opennebula (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.