Package Details: qutepart-git 3.3.3.r4.g9cca26c-2

Git Clone URL: https://aur.archlinux.org/qutepart-git.git (read-only, click to copy)
Package Base: qutepart-git
Description: Code editor component for PyQt and Pyside
Upstream URL: https://github.com/hlamer/qutepart
Licenses: LGPL
Conflicts: qutepart
Provides: qutepart
Submitter: Rax_Garfield
Maintainer: None
Last Packager: willemw
Votes: 7
Popularity: 0.000000
First Submitted: 2013-08-14 15:15 (UTC)
Last Updated: 2024-04-20 08:57 (UTC)

Required by (0)

Sources (1)

Latest Comments

willemw commented on 2024-07-03 14:49 (UTC)

@simona: it looks like the same upstream issue, which was already reported here (see also my previous comments). Your one-line build output is very hard to read. Can you put it in a markdown code block?

simona commented on 2024-07-03 14:38 (UTC) (edited on 2024-07-03 14:52 (UTC) by simona)

qutepart/syntax/cParser.c: In function ‘isDeliminatorNoCache’:
qutepart/syntax/cParser.c:401:36: error: implicit declaration of function ‘PyUnicode_GET_SIZE’; did you mean ‘PyDict_GET_SIZE’? [-Wimplicit-function-declaration]
401 | Py_ssize_t deliminatorSetLen =
PyUnicode_GET_SIZE(setAsUnicodeString); | ^~
| PyDict_GET_SIZE
qutepart/syntax/cParser.c:404:41: error: implicit declaration of function ‘PyUnicode_AS_UNICODE’; did you mean ‘PyUnicode_AsUCS4’? [-Wimplicit-function-declaration]
404 | Py_UNICODE deliminatorSetUnicode =
PyUnicode_AS_UNICODE(setAsUnicodeString);
| ^~~~
| PyUnicode_AsUCS4
qutepart/syntax/cParser.c:404:41: error: initialization of ‘Py_UNICODE
’ {aka ‘int ’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
qutepart/syntax/cParser.c: In function ‘AbstractRuleParams_init’:
qutepart/syntax/cParser.c:492:26: error: implicit declaration of function ‘PyUnicode_AsUnicode’; did you mean ‘PyUnicode_Decode’? [-Wimplicit-function-declaration]
492 | self->textType = PyUnicode_AsUnicode(textType)[0];
| ^~~
| PyUnicode_Decode
qutepart/syntax/cParser.c:492:55: error: subscripted value is neither array nor pointer nor vector
492 | self->textType = PyUnicode_AsUnicode(textType)[0];
| ^
qutepart/syntax/cParser.c: In function ‘TextToMatchObject_internal_update’:
qutepart/syntax/cParser.c:614:42: error: initialization of ‘Py_UNICODE
’ {aka ‘int ’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
614 | Py_UNICODE
wholeLineUnicodeBuffer = PyUnicode_AS_UNICODE(self->wholeLineUnicodeText);
| ^~
qutepart/syntax/cParser.c:615:47: error: initialization of ‘Py_UNICODE ’ {aka ‘int ’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
615 | Py_UNICODE wholeLineUnicodeBufferLower = PyUnicode_AS_UNICODE(self->wholeLineUnicodeTextLower);
| ^~~~
qutepart/syntax/cParser.c: In function ‘Detect2Chars_init’:
qutepart/syntax/cParser.c:1127:13: error: assignment to ‘Py_UNICODE
’ {aka ‘int ’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1127 | unicode = PyUnicode_AS_UNICODE(string);
| ^
qutepart/syntax/cParser.c: In function ‘AnyChar_tryMatch’:
qutepart/syntax/cParser.c:1158:27: error: initialization of ‘Py_UNICODE
’ {aka ‘int ’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1158 | Py_UNICODE
unicode = PyUnicode_AS_UNICODE(self->string);
| ^
~
qutepart/syntax/cParser.c: In function ‘RangeDetect_init’:
qutepart/syntax/cParser.c:2323:46: error: subscripted value is neither array nor pointer nor vector
2323 | self->char
= PyUnicode_AS_UNICODE(char_)[0];
| ^
qutepart/syntax/cParser.c:2324:48: error: subscripted value is neither array nor pointer nor vector
2324 | self->char1_ = PyUnicode_AS_UNICODE(char1_)[0];
| ^
qutepart/syntax/cParser.c: In function ‘Context_setValues’:
qutepart/syntax/cParser.c:2743:57: error: subscripted value is neither array nor pointer nor vector
2743 | self->textType = PyUnicode_AsUnicode(textTypePython)[0];
| ^
error: command '/bin/gcc' failed with exit code 1

willemw commented on 2024-06-26 07:48 (UTC)

Reported upstream: Python 3.12 build error

willemw commented on 2024-04-30 11:27 (UTC)

@simona: qutenpart is does not seem compatible with Python 3.12. It is compatible with Python 3.11.

A temporary fix is:

1) Ignore the compile errors, by adding the PKGBUILD file:

export CFLAGS="$CFLAGS -Wno-deprecated-declarations -Wno-int-conversion -Wno-implicit-function-declaration"

2) Remove "[0]" in lines that still cause compile errors.

simona commented on 2024-04-30 10:34 (UTC)

qutepart/syntax/cParser.c:2323:46: error: subscripted value is neither array nor pointer nor vector 2323 | self->char_ = PyUnicode_AS_UNICODE(char_)[0]; | ^ qutepart/syntax/cParser.c:2324:48: error: subscripted value is neither array nor pointer nor vector
2324 | self->char1_ = PyUnicode_AS_UNICODE(char1_)[0];
| ^
qutepart/syntax/cParser.c: In function ‘Context_setValues’:
qutepart/syntax/cParser.c:2743:57: error: subscripted value is neither array nor pointer nor vector
2743 | self->textType = PyUnicode_AsUnicode(textTypePython)[0];
| ^
error: command '/bin/gcc' failed with exit code 1

willemw commented on 2016-01-02 17:31 (UTC)

Thanks. Updated to Python 3 and Qt5.

tastyminerals commented on 2016-01-02 16:31 (UTC)

==> Starting package()... Traceback (most recent call last): File "setup.py", line 12, in <module> import qutepart File "/tmp/yaourt-tmp-tastyminerals/aur-qutepart-git/src/qutepart-git/qutepart/__init__.py", line 50, in <module> import qutepart.syntax.loader File "/tmp/yaourt-tmp-tastyminerals/aur-qutepart-git/src/qutepart-git/qutepart/syntax/loader.py", line 543 print('When opening %s:' % filePath, file=sys.stderr) ^ SyntaxError: invalid syntax

contrebasse commented on 2014-03-18 15:31 (UTC)

I get the following error: fatal: unable to connect to github.com: github.com[0: 192.30.252.131]: errno=Connexion terminée par expiration du délai d'attente The error means "Connection terminated by expiration of the waiting period"