| Summary: | Cannot compile valgrind on Ubuntu 20.04 docker due to failed compilation libmpiwrap.c | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | Rafał Mikrut <mikrutrafal> |
| Component: | general | Assignee: | Julian Seward <jseward> |
| Status: | REOPENED --- | ||
| Severity: | major | CC: | meven.car, tom |
| Priority: | NOR | ||
| Version First Reported In: | 3.15 SVN | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
As far as I cam tell this has nothing to do with any kde community project. Please report this to ubuntu bug tracker of valgrind's. While valgrind is not a KDE project it does use the KDE bug tracker so this is the upstream bug tracker! https://valgrind.org/support/bug_reports.html points to this site and even here is a category: "valgrind", so probably I'm in correct place. I stand corrected. I didn't now kde bugtracker was not only for kde community projects. |
Hi, I can't compile valgrind with this instructions on docker Ubuntu 20.04 ``` - sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list - export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true - apt update - apt build-dep -y valgrind - ./autogen.sh - ./configure - make -j8 ``` Errors: ``` In file included from libmpiwrap.c:116: libmpiwrap.c: In function 'showTy': /usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:322:57: error: expected expression before '_Static_assert' 322 | #define THIS_SYMBOL_WAS_REMOVED_IN_MPI30(func, newfunc) _Static_assert(0, #func " was removed in MPI-3.0. Use " #newfunc " instead.") | ^~~~~~~~~~~~~~ /usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1112:24: note: in expansion of macro 'THIS_SYMBOL_WAS_REMOVED_IN_MPI30' 1112 | # define MPI_UB THIS_SYMBOL_WAS_REMOVED_IN_MPI30(MPI_UB, MPI_Type_create_resized); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpiwrap.c:281:19: note: in expansion of macro 'MPI_UB' 281 | else if (ty == MPI_UB) fprintf(f,"UB"); | ^~~~~~ /usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:322:57: error: expected expression before '_Static_assert' 322 | #define THIS_SYMBOL_WAS_REMOVED_IN_MPI30(func, newfunc) _Static_assert(0, #func " was removed in MPI-3.0. Use " #newfunc " instead.") | ^~~~~~~~~~~~~~ ``` Failed job CI - https://gitlab.com/qarmin/valgrind/-/jobs/525966751 Gitlab CI - https://gitlab.com/qarmin/valgrind/-/blob/master/.gitlab-ci.yml