Search Criteria
Package Details: otf2 3.0.3-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/otf2.git (read-only, click to copy) |
---|---|
Package Base: | otf2 |
Description: | Scalable, memory efficient event trace data format and support library. |
Upstream URL: | http://www.vi-hps.org/projects/score-p/ |
Licenses: | BSD |
Submitter: | jspencer |
Maintainer: | jspencer (disc-kuraudo) |
Last Packager: | disc-kuraudo |
Votes: | 2 |
Popularity: | 0.000000 |
First Submitted: | 2015-02-17 16:23 (UTC) |
Last Updated: | 2024-08-30 05:56 (UTC) |
Dependencies (0)
Required by (5)
- cubegui-plugin-blade
- eztrace2-git
- scalasca (make)
- scorep
- vite-git (make)
Latest Comments
Zyten commented on 2024-07-01 06:44 (UTC) (edited on 2024-07-01 07:16 (UTC) by Zyten)
The error "ModuleNotFoundError: no module named 'imp'" happens because of the patched autoconf being used to build the tarball. This patched version did not include later patches for Python 3.12.
There are several ways to work around this issue. The Fedora people do reconfigure which will throw several warnings during this step, but works at the end:
https://src.fedoraproject.org/rpms/otf2/blob/rawhide/f/otf2.spec#_80
The issue itself should be fixed once OTF2 3.1 is released. The current release candidate is still broken.
hheinzer commented on 2024-05-15 10:42 (UTC) (edited on 2024-05-15 11:08 (UTC) by hheinzer)
When building otf2 I get the python error "ModuleNotFoundError: No module named 'imp'". This appears to be due to python 3.12 dropping the imp module in favor of importlib (https://docs.python.org/3.11/library/imp.html). Apparently, one just needs to change all "import imp" to "import importlib". Could we change the PKGBUILD file to modify the source files in this way, or maybe request a change from upstream?
Edit: Specifically, it is only the file src/otf2-3.0.3/build-config/py-compile that needs to be changed.
Edit 2: adding this line at the top of the package() section in the PKGBUILD gets rid of the error: sed -i "s/import sys, os, py_compile, imp/import sys, os, py_compile, importlib as imp/" "${srcdir}/${pkgname}-${pkgver}/build-config/py-compile". This is most likely not the best fix, but should suffice until this is changed upstream.
bert.wesarg commented on 2021-06-21 07:36 (UTC)
Please use https://score-p.org as primary URL. This is the one intended to be last forever.
Second, the defaults is
--enable-static --disable-shared
, thus you may want to enable shared libraries.junfengqiao commented on 2019-04-08 03:29 (UTC)
The 2.1.1 version has released:
https://www.vi-hps.org/cms/upload/packages/otf2/otf2-2.1.1.tar.gz
gdolle commented on 2018-12-29 17:51 (UTC)
I got the problem mentioned by @Tomatopaste using yay AUR helper.
jspencer commented on 2018-11-20 22:44 (UTC)
Builds fine using makepkg.
Tomatopaste commented on 2018-06-19 01:15 (UTC) (edited on 2018-06-19 01:16 (UTC) by Tomatopaste)
While upgrading the package via
pacman
, I receive the following warning:I would suggest to remove the following line from your
PKGBUILD
: