Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1923590 - gtengine: FTBFS in Fedora rawhide/f34
Summary: gtengine: FTBFS in Fedora rawhide/f34
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gtengine
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Antonio T. sagitter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1909564
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-01 17:17 UTC by Fedora Release Engineering
Modified: 2021-02-15 17:13 UTC (History)
1 user (show)

Fixed In Version: gtengine-5.6-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-15 17:11:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (deleted)
2021-02-01 17:17 UTC, Fedora Release Engineering
no flags Details
root.log (deleted)
2021-02-01 17:17 UTC, Fedora Release Engineering
no flags Details
state.log (deleted)
2021-02-01 17:17 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2021-02-01 17:17:54 UTC
gtengine failed to build from source in Fedora rawhide/f34

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Please fix gtengine at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
gtengine will be orphaned. Before branching of Fedora 35,
gtengine will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2021-02-01 17:17:56 UTC
Created attachment 1753725 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2021-02-01 17:17:57 UTC
Created attachment 1753726 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2021-02-01 17:17:58 UTC
Created attachment 1753727 [details]
state.log

Comment 4 Ben Cotton 2021-02-09 15:57:11 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle.
Changing version to 34.

Comment 5 Fedora Release Engineering 2021-02-14 04:27:02 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 34.
Action is required from you.

If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this Bugzilla report.

Following the policy for such packages [2], your package will be orphaned if
this bug remains in NEW state more than 8 weeks (not sooner than 2021-03-29).

A week before the mass branching of Fedora 35 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 33 will be
retired regardless of the status of this bug.

[1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/
[2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
[3] https://fedorapeople.org/groups/schedule/f-35/f-35-key-tasks.html

Comment 6 Antonio T. sagitter 2021-02-14 11:40:24 UTC
gtengine is failing with GCC-11 on PPC64le and s390x

Comment 7 Dan Horák 2021-02-15 12:08:46 UTC
Have you tried building without -Werror? Either there is false positive warning from gcc11 or there is a real issue in the code.

...
make[2]: Entering directory '/builddir/build/BUILD/GeometricTools-GTE-version-5.6/GTE/Samples'
[  2%] Building CXX object Distance/DistancePointHyperellipsoid/CMakeFiles/DistancePointHyperellipsoid.dir/DistancePointHyperellipsoidConsole.cpp.o
cd /builddir/build/BUILD/GeometricTools-GTE-version-5.6/GTE/Samples/Distance/DistancePointHyperellipsoid && /usr/bin/g++ -DGTE_DISABLE_PCH -DGTE_USE_LINUX -DGTE_USE_MAT_VEC -DGTE_USE_OPENGL -DGTE_USE_ROW_MAJOR -DNDEBUG -I/builddir/build/BUILD/GeometricTools-GTE-version-5.6/GTE/Samples/Distance/DistancePointHyperellipsoid/../../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -c -Wall -Werror -O3 -std=c++14 -o CMakeFiles/DistancePointHyperellipsoid.dir/DistancePointHyperellipsoidConsole.cpp.o -c /builddir/build/BUILD/GeometricTools-GTE-version-5.6/GTE/Samples/Distance/DistancePointHyperellipsoid/DistancePointHyperellipsoidConsole.cpp
make[2]: Leaving directory '/builddir/build/BUILD/GeometricTools-GTE-version-5.6/GTE/Samples'
In file included from /builddir/build/BUILD/GeometricTools-GTE-version-5.6/GTE/Samples/Distance/DistancePointHyperellipsoid/DistancePointHyperellipsoidConsole.cpp:9:
/builddir/build/BUILD/GeometricTools-GTE-version-5.6/GTE/Samples/Distance/DistancePointHyperellipsoid/DistancePointHyperellipsoidConsole.cpp: In member function 'DistancePointHyperellipsoidConsole::TestDistancePointEllipse()':
/builddir/build/BUILD/GeometricTools-GTE-version-5.6/GTE/Samples/Distance/DistancePointHyperellipsoid/../../../Mathematics/DistPointHyperellipsoid.h:140:29: error: 'MEM[(double &)&locX + 8]' may be used uninitialized in this function [-Werror=maybe-uninitialized]
  140 |                     locX[j] = -locX[j];
      |                     ~~~~~~~~^~~~~~~~
/builddir/build/BUILD/GeometricTools-GTE-version-5.6/GTE/Samples/Distance/DistancePointHyperellipsoid/../../../Mathematics/DistPointHyperellipsoid.h:131:29: note: 'MEM[(double &)&locX + 8]' was declared here
  131 |             Vector<N, Real> locX;
      |                             ^~~~
cc1plus: all warnings being treated as errors

Comment 8 Antonio T. sagitter 2021-02-15 17:11:09 UTC
Without '-Werror' gtengine is compiled.
Thank you Dan.


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