GNU bug report logs - #47561
MIA 2.4.6 fails to build

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Date: Fri, 2 Apr 2021 07:10:02 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

To reply to this bug, email your comments to 47561 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#47561; Package guix. (Fri, 02 Apr 2021 07:10:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ludovic Courtès <ludovic.courtes <at> inria.fr>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 02 Apr 2021 07:10:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: <bug-guix <at> gnu.org>
Subject: MIA 2.4.6 fails to build
Date: Fri, 02 Apr 2021 09:09:17 +0200
MIA 2.4.6 fails to build as of 9098745b181b3022587a35afd255f7ff1d41ac86
presumably due to CMake shenanigans as reported here:

  https://issues.guix.gnu.org/46724#9

Build failure looks like this:

--8<---------------cut here---------------start------------->8---
[ 13%] Building CXX object mia/core/CMakeFiles/test-core.dir/test_core_combined.cc.o
cd /tmp/guix-build-mia-2.4.6.drv-0/build/mia/core && /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/bin/c++  -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_VERSION=3 -DBOOST_SYSTEM_DYN_LINK -DBOOST_UNIT_TEST_FRAMEWORK_DYN_LINK -DHAVE_CONFIG_H -I/gnu/store/n50ikpnyzdda0zklwnmqasklcrif2csg-eigen-3.3.8/include/eigen3 -I/gnu/store/c8w9z48vvx2a3q3k44ch9yn00wk1qwhb-libxml2-2.9.10/include/libxml2 -I/tmp/guix-build-mia-2.4.6.drv-0/build -I/tmp/guix-build-mia-2.4.6.drv-0/mia-2.4.6  -fpermissive   -fvisibility=hidden -O2 -g -DNDEBUG   -o CMakeFiles/test-core.dir/test_core_combined.cc.o -c /tmp/guix-build-mia-2.4.6.drv-0/mia-2.4.6/mia/core/test_core_combined.cc
/tmp/guix-build-mia-2.4.6.drv-0/mia-2.4.6/addons/vtk/vtkmesh.cc: In function ‘void vtkmia::read_normals(mia::CTriangleMesh&, vtkPointData&)’:
/tmp/guix-build-mia-2.4.6.drv-0/mia-2.4.6/addons/vtk/vtkmesh.cc:179:12: error: ‘class vtkFloatArray’ has no member named ‘GetTupleValue’; did you mean ‘GetValue’?
   normals->GetTupleValue(i, &is->x);
            ^~~~~~~~~~~~~
            GetValue
/tmp/guix-build-mia-2.4.6.drv-0/mia-2.4.6/addons/vtk/vtkmesh.cc: In function ‘void vtkmia::read_colors(mia::CTriangleMesh&, vtkPointData&)’:
/tmp/guix-build-mia-2.4.6.drv-0/mia-2.4.6/addons/vtk/vtkmesh.cc:211:11: error: ‘class vtkFloatArray’ has no member named ‘GetTupleValue’; did you mean ‘GetValue’?
   colors->GetTupleValue(i, &is->x);
           ^~~~~~~~~~~~~
           GetValue
make[2]: *** [addons/vtk/CMakeFiles/mesh-io-vtkmesh-common.dir/build.make:66: addons/vtk/CMakeFiles/mesh-io-vtkmesh-common.dir/vtkmesh.cc.o] Error 1
make[2]: Leaving directory '/tmp/guix-build-mia-2.4.6.drv-0/build'
--8<---------------cut here---------------end--------------->8---

The problem here is what we’re missing -I flags for VTK, which might be
a CMake incompatibility issue.

Thoughts?

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#47561; Package guix. (Thu, 06 May 2021 11:52:01 GMT) Full text and rfc822 format available.

Message #8 received at 47561 <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Ludovic Courtès <ludovic.courtes <at> inria.fr>
Cc: 47561 <at> debbugs.gnu.org
Subject: Re: bug#47561: MIA 2.4.6 fails to build
Date: Thu, 6 May 2021 14:51:21 +0300
[Message part 1 (text/plain, inline)]
On Fri, Apr 02, 2021 at 09:09:17AM +0200, Ludovic Courtès wrote:
> MIA 2.4.6 fails to build as of 9098745b181b3022587a35afd255f7ff1d41ac86
> presumably due to CMake shenanigans as reported here:
> 
>   https://issues.guix.gnu.org/46724#9
> 
> Build failure looks like this:
> 
> --8<---------------cut here---------------start------------->8---
> [ 13%] Building CXX object mia/core/CMakeFiles/test-core.dir/test_core_combined.cc.o
> cd /tmp/guix-build-mia-2.4.6.drv-0/build/mia/core && /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/bin/c++  -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_VERSION=3 -DBOOST_SYSTEM_DYN_LINK -DBOOST_UNIT_TEST_FRAMEWORK_DYN_LINK -DHAVE_CONFIG_H -I/gnu/store/n50ikpnyzdda0zklwnmqasklcrif2csg-eigen-3.3.8/include/eigen3 -I/gnu/store/c8w9z48vvx2a3q3k44ch9yn00wk1qwhb-libxml2-2.9.10/include/libxml2 -I/tmp/guix-build-mia-2.4.6.drv-0/build -I/tmp/guix-build-mia-2.4.6.drv-0/mia-2.4.6  -fpermissive   -fvisibility=hidden -O2 -g -DNDEBUG   -o CMakeFiles/test-core.dir/test_core_combined.cc.o -c /tmp/guix-build-mia-2.4.6.drv-0/mia-2.4.6/mia/core/test_core_combined.cc
> /tmp/guix-build-mia-2.4.6.drv-0/mia-2.4.6/addons/vtk/vtkmesh.cc: In function ‘void vtkmia::read_normals(mia::CTriangleMesh&, vtkPointData&)’:
> /tmp/guix-build-mia-2.4.6.drv-0/mia-2.4.6/addons/vtk/vtkmesh.cc:179:12: error: ‘class vtkFloatArray’ has no member named ‘GetTupleValue’; did you mean ‘GetValue’?
>    normals->GetTupleValue(i, &is->x);
>             ^~~~~~~~~~~~~
>             GetValue
> /tmp/guix-build-mia-2.4.6.drv-0/mia-2.4.6/addons/vtk/vtkmesh.cc: In function ‘void vtkmia::read_colors(mia::CTriangleMesh&, vtkPointData&)’:
> /tmp/guix-build-mia-2.4.6.drv-0/mia-2.4.6/addons/vtk/vtkmesh.cc:211:11: error: ‘class vtkFloatArray’ has no member named ‘GetTupleValue’; did you mean ‘GetValue’?
>    colors->GetTupleValue(i, &is->x);
>            ^~~~~~~~~~~~~
>            GetValue
> make[2]: *** [addons/vtk/CMakeFiles/mesh-io-vtkmesh-common.dir/build.make:66: addons/vtk/CMakeFiles/mesh-io-vtkmesh-common.dir/vtkmesh.cc.o] Error 1
> make[2]: Leaving directory '/tmp/guix-build-mia-2.4.6.drv-0/build'
> --8<---------------cut here---------------end--------------->8---
> 
> The problem here is what we’re missing -I flags for VTK, which might be
> a CMake incompatibility issue.
> 
> Thoughts?
> 
> Ludo’.

Debian builds mia with vtk <at> 7, which is the one we're missing between 6
and 9.

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Wed, 23 Apr 2025 13:44:03 GMT) Full text and rfc822 format available.

Notification sent to Ludovic Courtès <ludovic.courtes <at> inria.fr>:
bug acknowledged by developer. (Wed, 23 Apr 2025 13:44:03 GMT) Full text and rfc822 format available.

Message #13 received at 47561-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Ludovic Courtès <ludovic.courtes <at> inria.fr>
Cc: 47561-done <at> debbugs.gnu.org
Subject: Re: bug#47561: MIA 2.4.6 fails to build
Date: Wed, 23 Apr 2025 22:43:39 +0900
Hi,

Ludovic Courtès <ludovic.courtes <at> inria.fr> writes:

> MIA 2.4.6 fails to build as of 9098745b181b3022587a35afd255f7ff1d41ac86
> presumably due to CMake shenanigans as reported here:
>
>   https://issues.guix.gnu.org/46724#9
>
> Build failure looks like this:
>
> [ 13%] Building CXX object mia/core/CMakeFiles/test-core.dir/test_core_combined.cc.o
> cd /tmp/guix-build-mia-2.4.6.drv-0/build/mia/core && /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/bin/c++  -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_VERSION=3 -DBOOST_SYSTEM_DYN_LINK -DBOOST_UNIT_TEST_FRAMEWORK_DYN_LINK -DHAVE_CONFIG_H -I/gnu/store/n50ikpnyzdda0zklwnmqasklcrif2csg-eigen-3.3.8/include/eigen3 -I/gnu/store/c8w9z48vvx2a3q3k44ch9yn00wk1qwhb-libxml2-2.9.10/include/libxml2 -I/tmp/guix-build-mia-2.4.6.drv-0/build -I/tmp/guix-build-mia-2.4.6.drv-0/mia-2.4.6  -fpermissive   -fvisibility=hidden -O2 -g -DNDEBUG   -o CMakeFiles/test-core.dir/test_core_combined.cc.o -c /tmp/guix-build-mia-2.4.6.drv-0/mia-2.4.6/mia/core/test_core_combined.cc
> /tmp/guix-build-mia-2.4.6.drv-0/mia-2.4.6/addons/vtk/vtkmesh.cc: In function ‘void vtkmia::read_normals(mia::CTriangleMesh&, vtkPointData&)’:
> /tmp/guix-build-mia-2.4.6.drv-0/mia-2.4.6/addons/vtk/vtkmesh.cc:179:12: error: ‘class vtkFloatArray’ has no member named ‘GetTupleValue’; did you mean ‘GetValue’?
>    normals->GetTupleValue(i, &is->x);
>             ^~~~~~~~~~~~~
>             GetValue
> /tmp/guix-build-mia-2.4.6.drv-0/mia-2.4.6/addons/vtk/vtkmesh.cc: In function ‘void vtkmia::read_colors(mia::CTriangleMesh&, vtkPointData&)’:
> /tmp/guix-build-mia-2.4.6.drv-0/mia-2.4.6/addons/vtk/vtkmesh.cc:211:11: error: ‘class vtkFloatArray’ has no member named ‘GetTupleValue’; did you mean ‘GetValue’?
>    colors->GetTupleValue(i, &is->x);
>            ^~~~~~~~~~~~~
>            GetValue
> make[2]: *** [addons/vtk/CMakeFiles/mesh-io-vtkmesh-common.dir/build.make:66: addons/vtk/CMakeFiles/mesh-io-vtkmesh-common.dir/vtkmesh.cc.o] Error 1
> make[2]: Leaving directory '/tmp/guix-build-mia-2.4.6.drv-0/build'
>
> The problem here is what we’re missing -I flags for VTK, which might be
> a CMake incompatibility issue.

Our 2.4.7 was failing again, apparently due to a newer hdf5 and GCC, so
I've applied patches from Debian among other tweaks in commit
d9831cd4399b0f81a8bd4eddab1a0c075bc7751f.

Sadly, its doc is currently non-deterministic, see bug#78012.

Anyway, closing this 4 yo one.

-- 
Thanks,
Maxim




This bug report was last modified 10 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.