Package Details: pycdc-git r340.fbf9d24-1

Git Clone URL: https://aur.archlinux.org/pycdc-git.git (read-only, click to copy)
Package Base: pycdc-git
Description: C++ python bytecode disassembler and decompiler.
Upstream URL: https://github.com/zrax/pycdc
Licenses: GPL
Conflicts: pycdc
Submitter: PumpkinCheshire
Maintainer: PumpkinCheshire
Last Packager: PumpkinCheshire
Votes: 2
Popularity: 0.025146
First Submitted: 2021-06-20 08:34 (UTC)
Last Updated: 2021-06-20 08:34 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

yataro commented on 2024-06-04 15:27 (UTC)

I forgot to mention that I reported it to upstream and they fixed it :D

coz commented on 2024-06-04 12:26 (UTC)

It built just fine for me right now

yataro commented on 2024-05-30 10:57 (UTC) (edited on 2024-05-30 14:13 (UTC) by yataro)

Can't build it (upstream issue):

/pycdc-git/src/pycdc-git/pyc_object.h:28:5: error: template-id not allowed for destructor in C++20 [-Werror=template-id-cdtor]
   28 |     ~PycRef<_Obj>()
      |     ^

Should disable -Werror:

diff --git a/PKGBUILD b/PKGBUILD
index b1adbd1..3aa4d1d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 # co-maintainer: Pierre-Olivier Vauboin <povauboin at gmail dot com>

 pkgname=pycdc-git
-pkgver=r340.fbf9d24
+pkgver=r492.6467c2c
 pkgrel=1
 pkgdesc="C++ python bytecode disassembler and decompiler."
 url="https://github.com/zrax/pycdc"
@@ -19,6 +19,11 @@ pkgver() {
     printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 }

+prepare() {
+    cd "$pkgname"
+    sed -i -e 's/-Werror//g' CMakeLists.txt
+}
+
 build() {
     mkdir -p build
     cmake -B build -S "${pkgname}" \