Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 882405 - sci-libs/vtk-9.1.0-r4 fails to compile on ppc
Summary: sci-libs/vtk-9.1.0-r4 fails to compile on ppc
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 778293
  Show dependency tree
 
Reported: 2022-11-21 18:21 UTC by Arthur Zamarin
Modified: 2022-12-12 22:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log on ppc (sci-libs_vtk-9.1.0-r4_use_s92GA.log.xz,85.42 KB, application/octet-stream)
2022-11-21 18:22 UTC, Arthur Zamarin
Details
LastTest.log (LastTest.log,121 bytes, text/plain)
2022-11-21 18:22 UTC, Arthur Zamarin
Details
build.log.xz (ppc, 9.2.2) (vtk-9.2.2:20221212-200832.log.xz,42.90 KB, application/x-xz)
2022-12-12 22:32 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2022-11-21 18:21:09 UTC
Tested on timberdoodle.ppc64 devbox, on a ppc32-testing container
Comment 1 Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2022-11-21 18:22:13 UTC
Created attachment 835613 [details]
build.log on ppc
Comment 2 Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2022-11-21 18:22:40 UTC
Created attachment 835615 [details]
LastTest.log
Comment 3 ernsteiswuerfel archtester 2022-12-12 22:32:53 UTC
Created attachment 842313 [details]
build.log.xz (ppc, 9.2.2)

9.2.2 fails for a different reason:

[...]
/usr/include/eigen3/Eigen/src/SVD/BDCSVD.h:294:3:   required from 'Eigen::BDCSVD<_MatrixType>& Eigen::BDCSVD<MatrixType>::compute(const MatrixType&, unsigned int) [with _MatrixType = Eigen::Matrix<double, -1, -1>; Eigen::BDCSVD<MatrixType>::MatrixType = Eigen::Matrix<double, -1, -1>]'
/usr/include/eigen3/Eigen/src/SVD/BDCSVD.h:143:12:   required from 'Eigen::BDCSVD<MatrixType>::BDCSVD(const MatrixType&, unsigned int) [with _MatrixType = Eigen::Matrix<double, -1, -1>; Eigen::BDCSVD<MatrixType>::MatrixType = Eigen::Matrix<double, -1, -1>]'
/var/tmp/portage/sci-libs/vtk-9.2.2/work/VTK-9.2.2/Filters/Statistics/vtkPCAStatistics.cxx:664:64:   required from here
/usr/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProduct.h:1042:9: error: subscripted value is neither array nor pointer
 1042 |     lhsV[i] = lhs[i];
      |     ~~~~^
ninja: build stopped: subcommand failed.
 * ERROR: sci-libs/vtk-9.2.2::gentoo failed (compile phase):


Whereas 9.1.0-r4 (probably) fails due to not linking against libatomic
[...]
/usr/lib/gcc/powerpc-unknown-linux-gnu/12/../../../../powerpc-unknown-linux-gnu/bin/ld: lib/libvtkCommon-9.1.so.9.1.0: undefined reference to `__atomic_fetch_add_8'
collect2: error: ld returned 1 exit status