#1041201 FTBFS when libscotchparmetis-dev is installed

Package:
src:freefem++
Source:
src:freefem++
Submitter:
Sébastien Villemot
Date:
2025-10-05 16:31:02 UTC
Severity:
normal
Tags:
#1041201#5
Date:
2023-07-15 15:52:50 UTC
From:
To:
Dear Maintainer,

freefem++ fails to build from source when libscotchparmetis-dev is installed.
It fails with:

parmetis.cpp:31:10: fatal error: parmetis.h: No such file or directory
   31 | #include <parmetis.h>
      |          ^~~~~~~~~~~~

Iattach a build log.

The easiest solution is to add a Build-Conflicts against libscotchparmetis-dev.

Cheers,

#1041201#10
Date:
2025-10-05 16:29:27 UTC
From:
To:
Adding a conflict will workaround the issue,

but I see this as a bug in the freefem++ configuration scripts. They're
detecting the availability of parmetis (via scotch emulation in this
case) but they are not at the same time setting up the corresponding
include path to parmetis.h.