Bug 1898153

Summary: Rebuild Fails: Errors while running CTest
Product: [Fedora] Fedora Reporter: Joseph D. Wagner <joe>
Component: geosAssignee: Sandro Mani <manisandro>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: devrim, jmlich83, manisandro, tom
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-28 22:38:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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