Package Details: coccinelle 1.3.0-1

Git Clone URL: https://aur.archlinux.org/coccinelle.git (read-only, click to copy)
Package Base: coccinelle
Description: C source code matching and transformation engine
Upstream URL: https://coccinelle.lip6.fr
Licenses: GPL-2.0-or-later
Submitter: hsyl20
Maintainer: meadow
Last Packager: meadow
Votes: 20
Popularity: 0.22
First Submitted: 2010-03-26 18:18 (UTC)
Last Updated: 2024-12-10 17:12 (UTC)

Dependencies (12)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

rogerzanoni commented on 2014-03-26 21:34 (UTC)

Just updated to latest release

intgr commented on 2014-01-18 21:16 (UTC)

@hsyl20, please update or disown.

dimorphpromid commented on 2014-01-14 19:14 (UTC)

1.0.0-rc19 has been released -- please update... Simple replace rc17 with rc19 and use this sha256 d2ded0d2777f64e25ba8458e4f70f1e68ae47b394cb310ebbc097dacb75bfbbc coccinelle-1.0.0-rc19.tgz

lfleischer commented on 2012-08-10 03:38 (UTC)

1.0.0-rc14 has been released -- please update.

intgr commented on 2012-04-06 18:01 (UTC)

@gaby: No, patch is already included in the base-devel group. You must install base-devel before building any packages

gaby commented on 2012-04-06 17:49 (UTC)

this PKGBUILD is missing a build dependency against 'patch' diff -ru coccinelle/PKGBUILD coccinelle.new/PKGBUILD --- coccinelle/PKGBUILD 2011-10-17 09:39:47.000000000 -0700 +++ coccinelle.new/PKGBUILD 2012-04-06 10:46:22.296620380 -0700 @@ -15,7 +15,7 @@ arch=('i686' 'x86_64') url="http://coccinelle.lip6.fr" license=('GPL2') -makedepends=('ocaml') +makedepends=('ocaml' 'patch') depends=('ocaml-findlib' 'python2') options=(!strip) source=(

intgr commented on 2012-02-17 11:41 (UTC)

I debugged this a little; it seems that the functions it's complaining about have been changed to macros in Python 3.2 (or Python 3). The Py_LIMITED_API flag isn't the problem. In the pycaml_ml.c file, it creates a table like: python_func_table the_python_func_table[] = { [...] { (void *)PyRun_SimpleString, 5, "PyRun_SimpleString" }, But PyRun_SimpleString is now a macro, not a function, so it can't get the function's address. I have no idea where this table comes from, but it simply won't work with Python 3.2. Please just use './configure --with-python=/usr/bin/python2' meanwhile and report the problem upstream.

hsyl20 commented on 2012-02-17 09:43 (UTC)

I'm having a hard time making the last rc9 working. They have integrated upstream support for Python 3 but they used wrong predefined paths. For instance ${MY_PREFIX}/includes/python${PY_VERSION} where PY_VERSION is 3.2, while on ArchLinux the correct path should be ${MY_PREFIX}/includes/python{$PY_VERSION}mu. I tried to make new patchs to use pkg-config (that provides correct paths) but I still encounter errors on building pycaml (see below). It seems to be related to the Py_LIMITED_API flag but I don't know how to fix this yet. If someone wants to try to make this work, I've put files on https://github.com/hsyl20/abs/tree/master/coccinelle make[4]: Entering directory `/home/shenry/.abs/coccinelle/src/coccinelle-1.0.0-rc9/pycaml' ocamlc -c -cc "cc" -ccopt "-fPIC -fPIC -I/usr/include/python3.2mu \ -DPIC \ -o pycaml_ml.o " pycaml_ml.c pycaml_ml.c: In function 'camlwrap': pycaml_ml.c:93:5: warning: return makes pointer from integer without a cast [enabled by default] pycaml_ml.c: In function 'caml_aux': pycaml_ml.c:97:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pycaml_ml.c: In function 'pycall_callback': pycaml_ml.c:109:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pycaml_ml.c: In function 'pyunwrapvalue': pycaml_ml.c:956:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pycaml_ml.c: At top level: pycaml_ml.c:982:15: error: 'PyRun_SimpleString' undeclared here (not in a function) pycaml_ml.c:984:15: error: 'PyRun_AnyFile' undeclared here (not in a function) pycaml_ml.c:985:15: error: 'PyRun_SimpleFile' undeclared here (not in a function) pycaml_ml.c:986:15: error: 'PyRun_InteractiveOne' undeclared here (not in a function) pycaml_ml.c:987:15: error: 'PyRun_InteractiveLoop' undeclared here (not in a function) pycaml_ml.c:990:15: error: 'PyRun_AnyFileEx' undeclared here (not in a function) pycaml_ml.c:991:15: error: 'PyRun_SimpleFileEx' undeclared here (not in a function) pycaml_ml.c:1005:15: error: 'PyRun_String' undeclared here (not in a function) pycaml_ml.c:1007:15: error: 'PyRun_File' undeclared here (not in a function) pycaml_ml.c:1009:15: error: 'PyRun_FileEx' undeclared here (not in a function) pycaml_ml.c:1011:15: error: 'Py_CompileString' undeclared here (not in a function) pycaml_ml.c:1019:15: error: 'PyObject_Unicode' undeclared here (not in a function) pycaml_ml.c:1032:15: error: 'PyObject_Compare' undeclared here (not in a function) pycaml_ml.c:1041:15: error: 'PyNumber_Coerce' undeclared here (not in a function) pycaml_ml.c:1042:15: error: 'PyNumber_CoerceEx' undeclared here (not in a function) [...]

hsyl20 commented on 2011-06-17 16:23 (UTC)

@proger: Thanks. It's uploaded.

<deleted-account> commented on 2011-06-17 07:46 (UTC)

I've updated to 1.0.0-rc3: https://github.com/proger/abs/tree/master/coccinelle