Search Criteria
Package Details: ampi-openmpi 8.0.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/ampi-openmpi.git (read-only, click to copy) |
---|---|
Package Base: | ampi-openmpi |
Description: | Adaptive Message Passing Interface, OpenMPI backend |
Upstream URL: | http://charm.cs.uiuc.edu/research/ampi |
Licenses: | Apache-2.0 |
Submitter: | marmistrz |
Maintainer: | carlosal1015 |
Last Packager: | carlosal1015 |
Votes: | 1 |
Popularity: | 0.000000 |
First Submitted: | 2019-05-12 09:00 (UTC) |
Last Updated: | 2024-06-07 21:25 (UTC) |
Dependencies (2)
- openmpi (openmpi-gitAUR)
- gcc-fortran (gcc-fortran-gitAUR, gcc11-fortranAUR, gcc-fortran-snapshotAUR) (make)
Latest Comments
carlosal1015 commented on 2022-01-17 02:16 (UTC)
Hi @hexd, thanks for the detailed explanation, totally agree for change the installation way only with cmake, like this.
I'll check out other charm's packages on repology for inspiration, I will read the
CMakeLists.txt
in detail. I hope to get it soon.hexd commented on 2022-01-16 22:21 (UTC) (edited on 2022-01-17 04:37 (UTC) by hexd)
@carlosal1015, I wasn't able to open your testing runner link, HTTP 404 error.
The issue has to do with the custom build process performed by the shell script found upstream, as it "switches" depending on whether the build environment has
cmake
installed or not. Thebuildold
script is the one it runs whencmake
isn't found, and this shell script properly works, creating theinstall
target formake
. The default alternative when it detectscmake
doesn't create this target, breaking the packaging process (yes, the error in this case happens onpackage()
, not onbuild()
, but when you try to run it again without--force
then it'll break onbuild()
with the configure step message I've sent, because thesrc
directory is somehow "dirty"; with--force
you don't need to erase it manually). Just try to installcmake
(e.g. by inserting it onmakedepends
) and you'll seemakepkg
breaking like it did here.I've already modified the
PKGBUILD
here to install this package locally (I've just replaced./build [...]
by.buildold [...] --force
). I actually did that before reporting it here. I believe the relevant parts of the log you requested are already in my previous message, and there's nothing special/customized that could make any difference in this case (apart from the fact that I havecmake
installed).Perhaps you can also try the default
cmake
-style installation instead of relying onmake install
. That means usingcmake --install <BUILD_DIRECTORY> --prefix <PREFIX>
or something similar, but I haven't tried this. Probably thecmake
-only approach is better in the sense that the "old" inbuildold
suggests it will no longer exist in the future. Either way, temporarily settingmakedepends=(gcc-fortran cmake)
will let you test the behavior in environments withcmake
installed.carlosal1015 commented on 2022-01-06 02:57 (UTC) (edited on 2022-01-09 15:11 (UTC) by carlosal1015)
Edited 2022-01-09: We could suggest this line for clean build directory.
Hi @hexd, thanks for reporting.
I would like to know if maybe the file
/etc/makepkg.conf
has some customization w.r.t the runner that I am testing.I will follow the https://wiki.archlinux.org/title/Arch_User_Repository#Debugging_the_package_build_process for verification.
I am not sure if is running over x86-64 or another architecture. I understand that
build()
function pass, butpackage()
function failed. I would like to look the full log, when success or failed. (Hint$ makepkg -s 2>&1 | tee log.txt
).hexd commented on 2022-01-04 02:17 (UTC)
Either the
makedepends
should include thecmake
(and something else should be done for installing), or./buildold
should be called instead of./build
(that's the simplest solution).With
cmake
installed, it builds, but on packagingmakepkg
complains and fails with:And running
makepkg
again doesn't resume the process, on the contrary: it breaks on trying to build the already built stuff, requiring a manual cleanup for building it again:Perhaps the
--force
should always be there (in the./build
or./buildold
command) to avoid requiring a manual intervention (and perhaps to avoid breaking AUR package managers).The same is happening with
charm++-openmpi
.