libqapt fails to build in xenial and yakkety

Bug #1597425 reported by Matthias Klose on 2016-06-29
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libqapt (Ubuntu)
High
Unassigned
Xenial
High
Unassigned

Bug Description

fails to build:

/«PKGBUILDDIR»/src/package.cpp: In member function ‘bool QApt::Package::isInUpdatePhase() const’:
/«PKGBUILDDIR»/src/package.cpp:888:5: error: ‘default_random_engine’ is not a member of ‘std’
     std::default_random_engine generator(a);
     ^
/«PKGBUILDDIR»/src/package.cpp:890:29: error: ‘generator’ was not declared in this scope
     int rand = distribution(generator);
                             ^
/«PKGBUILDDIR»/src/package.cpp:885:10: warning: unused variable ‘a’ [-Wunused-variable]
     uint a = seed.toUInt(&ok, 16);
          ^

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libqapt - 3.0.2-0ubuntu2

---------------
libqapt (3.0.2-0ubuntu2) yakkety; urgency=medium

  * LP: #1597425. Fix build failure.

 -- Matthias Klose <email address hidden> Wed, 29 Jun 2016 18:05:00 +0200

Changed in libqapt (Ubuntu):
status: New → Fix Released

Hello Matthias, or anyone else affected,

Accepted libqapt into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/libqapt/3.0.2-0ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in libqapt (Ubuntu Xenial):
status: New → Fix Committed
tags: added: verification-needed
Matthias Klose (doko) wrote :

package built successfully everywhere.

tags: added: verification-done
removed: verification-needed
Changed in libqapt (Ubuntu):
importance: Undecided → High
Changed in libqapt (Ubuntu Xenial):
importance: Undecided → High
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libqapt - 3.0.2-0ubuntu1.1

---------------
libqapt (3.0.2-0ubuntu1.1) xenial-proposed; urgency=medium

  * SRU: LP: #1597425. Fix build failure.

 -- Matthias Klose <email address hidden> Wed, 29 Jun 2016 18:05:00 +0200

Changed in libqapt (Ubuntu Xenial):
status: Fix Committed → Fix Released

The verification of the Stable Release Update for libqapt has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers