all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: "Ludovic Courtès" <ludovic.courtes@inria.fr>
Cc: 47561@debbugs.gnu.org
Subject: bug#47561: MIA 2.4.6 fails to build
Date: Thu, 6 May 2021 14:51:21 +0300	[thread overview]
Message-ID: <YJPYOUCGTk+hfNKJ@3900XT> (raw)
In-Reply-To: <87a6qh40yq.fsf@inria.fr>

[-- Attachment #1: Type: text/plain, Size: 2724 bytes --]

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@7, which is the one we're missing between 6
and 9.

-- 
Efraim Flashner   <efraim@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2021-05-06 11:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-02  7:09 bug#47561: MIA 2.4.6 fails to build Ludovic Courtès
2021-05-06 11:51 ` Efraim Flashner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YJPYOUCGTk+hfNKJ@3900XT \
    --to=efraim@flashner.co.il \
    --cc=47561@debbugs.gnu.org \
    --cc=ludovic.courtes@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.