← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1597425] [NEW] libqapt fails to build in xenial and yakkety

 

Public bug reported:

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);
          ^

** Affects: libqapt (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: libqapt (Ubuntu Xenial)
     Importance: Undecided
         Status: New


** Tags: ftbfs

** Also affects: libqapt (Ubuntu Xenial)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1597425

Title:
  libqapt fails to build in xenial and yakkety

Status in libqapt package in Ubuntu:
  New
Status in libqapt source package in Xenial:
  New

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);
            ^

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libqapt/+bug/1597425/+subscriptions


Follow ups