Bug 1307279 - LabPlot: FTBFS in rawhide
LabPlot: FTBFS in rawhide
Product: Fedora
Classification: Fedora
Component: LabPlot (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Mukundan Ragavan
Fedora Extras Quality Assurance
Depends On:
Blocks: F24FTBFS
  Show dependency treegraph
Reported: 2016-02-13 15:56 EST by Fedora Release Engineering
Modified: 2016-02-16 23:01 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-02-16 23:01:43 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
build.log (302.44 KB, text/plain)
2016-02-13 15:56 EST, Fedora Release Engineering
no flags Details
root.log (139.25 KB, text/plain)
2016-02-13 15:56 EST, Fedora Release Engineering
no flags Details
state.log (621 bytes, text/plain)
2016-02-13 15:56 EST, Fedora Release Engineering
no flags Details

  None (edit)
Description Fedora Release Engineering 2016-02-13 15:56:16 EST
Your package LabPlot failed to build from source in current rawhide.


For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
Comment 1 Fedora Release Engineering 2016-02-13 15:56:18 EST
Created attachment 1123908 [details]
Comment 2 Fedora Release Engineering 2016-02-13 15:56:20 EST
Created attachment 1123909 [details]
Comment 3 Fedora Release Engineering 2016-02-13 15:56:22 EST
Created attachment 1123910 [details]
Comment 4 Yaakov Selkowitz 2016-02-16 22:11:28 EST
/builddir/build/BUILD/labplot-kf5-2.1.0/src/backend/worksheet/TextLabel.cpp: In member function 'virtual void TextLabelPrivate::mouseReleaseEvent(QGraphicsSceneMouseEvent*)':
/builddir/build/BUILD/labplot-kf5-2.1.0/src/backend/worksheet/TextLabel.cpp:538:38: error: call of overloaded 'abs(qreal)' is ambiguous
  if (abs(point.x()-position.point.x())>20 && qAbs(point.y()-position.point.y())>20 ) {

This both gives away the solution and makes you wonder what they were thinking at the same time.  Use qAbs() instead of abs() there.

Fix that though, and you get another issue further along:

/builddir/build/BUILD/labplot-kf5-2.1.0/src/backend/worksheet/plots/cartesian/CartesianCoordinateSystem.cpp: In member function ‘virtual QList<QLineF> CartesianCoordinateSystem::mapLogicalToScene(const QList<QLineF>&, const MappingFlags&) const’:
/builddir/build/BUILD/labplot-kf5-2.1.0/src/backend/worksheet/plots/cartesian/CartesianCoordinateSystem.cpp:560:27: error: ‘isnan’ was not declared in this scope
      if (!isnan(xGapBefore)) {
/builddir/build/BUILD/labplot-kf5-2.1.0/src/backend/worksheet/plots/cartesian/CartesianCoordinateSystem.cpp:560:27: note: suggested alternative:
In file included from /builddir/build/BUILD/labplot-kf5-2.1.0/src/backend/worksheet/plots/cartesian/CartesianCoordinateSystem.cpp:32:0:
/usr/include/c++/6.0.0/cmath:655:5: note:   ‘std::isnan’
     isnan(_Tp __x)

Use <math.h> there instead of <cmath> in src/backend/worksheet/plots/cartesian/CartesianCoordinateSystem.cpp.
Comment 5 Upstream Release Monitoring 2016-02-16 23:00:21 EST
nonamedotc's LabPlot-2.1.0-5.fc24 completed http://koji.fedoraproject.org/koji/buildinfo?buildID=736469
Comment 6 Mukundan Ragavan 2016-02-16 23:01:43 EST
Thanks a ton, Yaakov! Appreciate the help very much!

Note You need to log in before you can comment on or make changes to this bug.