Bug 1898153 - Rebuild Fails: Errors while running CTest
Summary: Rebuild Fails: Errors while running CTest
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: geos
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sandro Mani
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-16 14:23 UTC by Joseph D. Wagner
Modified: 2020-11-28 22:38 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-11-28 22:38:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Joseph D. Wagner 2020-11-16 14:23:49 UTC
Description of problem:
This package fails to rebuild when using "rpmbuild --rebuild"

Version-Release number of selected component (if applicable):
geos-3.8.1-3.fc33.src.rpm

How reproducible: 100%

Steps to Reproduce: rpmbuild --rebuild geos-3.8.1-3.fc33.src.rpm

Actual results:
The following tests FAILED:
         11 - unit-algorithm-LocatePointInRing (Failed)
         14 - unit-algorithm-OrientationIndexFailure (Failed)
         17 - unit-algorithm-RobustLineIntersector (Failed)
         68 - unit-capi-GEOSVoronoiDiagram (Failed)
        100 - unit-geom-Triangle (Failed)
        112 - unit-linearref-LengthIndexedLine (Failed)
        113 - unit-math-DD (Failed)
        125 - unit-operation-distance-DistanceOp (Failed)
        159 - general-TestCentroid (Failed)
        173 - general-TestFunctionPLPrec (Failed)
        204 - issue-issue-geos-350 (Failed)
        251 - robust-TestRobustRelate (Failed)
        261 - test_docs (Failed)
Errors while running CTest
error: Bad exit status from /var/tmp/rpm-tmp.cxFTjj (%check)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.cxFTjj (%check)

Expected results:
The package rebuilds successfully.

Additional info:
This might be a missing prerequisite in the spec file.

Comment 1 Tom Hughes 2020-11-16 14:47:50 UTC
I think the fact that it built, and the tests pass, in koji kind of disproves this claim... Or rather it tells us that it is more complex than you are suggesting.

It won't be a missing prerequisite because koji builds start from a clean state and only install those things the spec requests so nothing can be accidentally installed.

More likely it's that you have something extra installed that is somehow peturbing the tests, or you have a newer version of some underlying component that it uses.

Looking at koschei it seems to have started failing between 23rd and 30th August but the build logs have expired so we can't be 100% sure the failure is the same. The odd thing is that none of the underlying packages which changed between those two builds look like something likely to start causing this sort of failure.

Comment 2 Sandro Mani 2020-11-28 22:38:10 UTC
A current koji build succeeds [1], hence I'd say either this issue is since solved or something specific to your environment.

https://koji.fedoraproject.org/koji/taskinfo?taskID=56379342


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